3:I[39275,[],""]
5:I[61343,[],""]
6:I[23053,["7699","static/chunks/8e1d74a4-5fcc24cf3a9fd8c2.js","7240","static/chunks/53c13509-baa86b522e6ae78c.js","4740","static/chunks/4740-14bdf05e7ce04a11.js","9617","static/chunks/9617-544346a1cd0024b4.js","3185","static/chunks/app/layout-8c4bc5784f5090d9.js"],"StateProvider"]
7:I[19593,["7699","static/chunks/8e1d74a4-5fcc24cf3a9fd8c2.js","7240","static/chunks/53c13509-baa86b522e6ae78c.js","4740","static/chunks/4740-14bdf05e7ce04a11.js","9617","static/chunks/9617-544346a1cd0024b4.js","3185","static/chunks/app/layout-8c4bc5784f5090d9.js"],""]
8:I[18709,["7699","static/chunks/8e1d74a4-5fcc24cf3a9fd8c2.js","5706","static/chunks/9c4e2130-08078aeb5700c43b.js","5505","static/chunks/385cb88d-fd2f37c33b8aa92c.js","5452","static/chunks/5e22fd23-9bf9fa71e7554411.js","9956","static/chunks/ee560e2c-f551c028fd538293.js","4740","static/chunks/4740-14bdf05e7ce04a11.js","6648","static/chunks/6648-3bc9d66179346fb0.js","9160","static/chunks/app/not-found-5850ce7843ba4d5a.js"],"default"]
9:I[45723,["7699","static/chunks/8e1d74a4-5fcc24cf3a9fd8c2.js","7240","static/chunks/53c13509-baa86b522e6ae78c.js","4740","static/chunks/4740-14bdf05e7ce04a11.js","9617","static/chunks/9617-544346a1cd0024b4.js","3185","static/chunks/app/layout-8c4bc5784f5090d9.js"],"default"]
4:["all","general","c"]
0:["79z6y6ppLce0GndJRjYzJ",[[["",{"children":[["all","general","c"],{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":[["all","general","c"],{"children":["__PAGE__",{},[["$L1","$L2"],null],null]},["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children","$4","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/402d889fee29bde2.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/0ff6cecb1d0e96f8.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","2",{"rel":"stylesheet","href":"/_next/static/css/cb4e98a4c2dc4d80.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","3",{"rel":"stylesheet","href":"/_next/static/css/a246b44e33111fd9.css","precedence":"next","crossOrigin":"$undefined"}],["$","link","4",{"rel":"stylesheet","href":"/_next/static/css/9d9d0f6a85930e46.css","precedence":"next","crossOrigin":"$undefined"}]]}],null]},[["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","$L6",null,{"children":[["$","$L7",null,{}],["$","$L3",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":["$","$L8",null,{}],"notFoundStyles":[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cb4e98a4c2dc4d80.css","precedence":"next","crossOrigin":"$undefined"}]],"styles":null}],["$","$L9",null,{}]]}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/0cc2495744a38244.css","precedence":"next","crossOrigin":"$undefined"}]],"$La"]]]]
b:I[30043,["7699","static/chunks/8e1d74a4-5fcc24cf3a9fd8c2.js","5706","static/chunks/9c4e2130-08078aeb5700c43b.js","5505","static/chunks/385cb88d-fd2f37c33b8aa92c.js","5452","static/chunks/5e22fd23-9bf9fa71e7554411.js","9956","static/chunks/ee560e2c-f551c028fd538293.js","7240","static/chunks/53c13509-baa86b522e6ae78c.js","6051","static/chunks/795d4814-d7614a20709c27af.js","614","static/chunks/3d47b92a-f2bb54912083012c.js","9212","static/chunks/59650de3-13cfd2620b7240d2.js","522","static/chunks/94730671-a8ad9eca65504500.js","7675","static/chunks/b563f954-501d993050fd0717.js","1994","static/chunks/e34aaff9-cd556a7ee1a90c03.js","6990","static/chunks/13b76428-5a68792917164904.js","5957","static/chunks/30a37ab2-a5fc2d8864b3152b.js","6844","static/chunks/f25cdb8d-30c837856fb6d42d.js","7259","static/chunks/479ba886-8536ff4966e1aaf8.js","4740","static/chunks/4740-14bdf05e7ce04a11.js","6648","static/chunks/6648-3bc9d66179346fb0.js","4349","static/chunks/4349-c8f0646a83cc4179.js","4791","static/chunks/4791-6c93b9aca8a9f315.js","5225","static/chunks/5225-dc21c87d99338f19.js","9293","static/chunks/9293-d1b040d0324d0d5a.js","5919","static/chunks/5919-545104f05818203e.js","1413","static/chunks/1413-986ad1f4cd2d661e.js","2499","static/chunks/2499-61bd3b514e9c4cb8.js","4175","static/chunks/4175-fb05509a4e1790ec.js","5653","static/chunks/app/%5B...all%5D/page-f1bbbeae9a681a62.js"],"default"]
c:T3d31,<p>We have Categorized SolarWinds Interview Questions into the below Sections</p>
<ul>
<li style="line-height: 1.5;"><a title="For Freshers" href="#for-freshers"><strong>For Freshers</strong></a></li>
<li style="line-height: 1.5;"><a title="For Experienced" href="#for-experienced"><strong>For Experienced</strong></a></li>
</ul>
<p>Let us go through SolarWinds Interview Questions</p>
<h2><a id="for-freshers"></a><span style="color: #ffa234;">SolarWinds Interview Questions for Freshers</span></h2>
<h3><span style="font-size: 18px;">1. What does SAP Business Technology Platform mean?</span></h3>
<p>The SAP Business Technology tool is a tool that runs in the cloud and helps businesses run more smoothly. Many tools and services on the platform can be used to handle business processes, data, and apps. Businesses of all kinds can use the platform because it is made to be scalable and adaptable.&nbsp;</p>
<h3><span style="font-size: 18px;">2. How do SAP BTP's architecture layers enable a uniform development and deployment platform for developers?&nbsp;</span></h3>
<p>The different parts of SAP BTP's design work together to give developers a single framework for development and deployment. This framework provides the whole platform with a uniform set of tools and services that can be used. Cloud services like SAP SuccessFactors, HANA, and Ariba are included. On the SAP Cloud Platform, SAP BTP is produced.&nbsp;</p>
<h3><span style="font-size: 18px;">3. Could you describe the SAP BTP Cloud Foundry Environment?&nbsp;</span></h3>
<p>The Cloud Foundry platform in SAP BTP gives you all the tools and services needed to run modern apps in the cloud. It's like a spot where you can use well-known computer languages and tools to create web and mobile apps. This is a great place to work for writers who want to make software that can run on the internet and is flexible and scalable.&nbsp;</p>
<p>The Cloud Foundry Foundation runs the open-source application platform that runs this system. Multiple runtimes, computer languages, libraries, and services are supported, which lets us make new business apps and services.&nbsp;</p>
<p>For example, we can use Cloud Foundry to create a web app using Node.js or the SAP Cloud Application programming model. This app can join an SAP HANA database and show real-time sales data.&nbsp;</p>
<p>To make business apps with SAP Business Application Studio, a developer would first make a project, then add the files and dependencies that the app needs, and finally build and release the app.&nbsp;</p>
<h3><span style="font-size: 18px;">4. How does SAP Data Warehouse Cloud help combine data from different places into a single store?&nbsp;</span></h3>
<p>The SAP Data Warehouse Cloud tool can connect multiple data sources and combine the data into a single view. This makes it easier to store data from various sources in one place. This can be useful when you combine info from different sources to research or write a report.&nbsp;</p>
<h3><span style="font-size: 18px;">5. What are some of the most essential parts of the SAP Analytics Hub?&nbsp;</span></h3>
<p>The SAP Insights Hub helps businesses make better decisions by providing real-time data and insights. Business Intelligence, Predictive Analytics, and Data Warehouse are key SAP Analytics Hub components.&nbsp;</p>
<table style="border-collapse: collapse; width: 99.9823%; border-color: #D2D4D8; border-style: solid;" border="1px" cellpadding="10">
<tbody>
<tr style="border-color: #d2d4d8; border-style: solid;">
<td style="width: 98.8871%; border-color: #d2d4d8; border-style: solid; text-align: center;"><strong>If you want to enrich your career and become a professional in SAP ABAP, then enroll in <span style="color: #3598db;">"<a style="color: #3598db;" title="SAP ABAP Training" href="https://tekslate.com/sap-abap-training" target="_blank" rel="noopener">SAP ABAP Training</a>"</span> - This course will help you to achieve excellence in this domain.</strong></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px;">6. Can developers use ABAP RESTful programming model APIs to build SAP Business Technology Platform cloud-native business apps?&nbsp;</span></h3>
<p>ABAP RESTful is a new way for developers to make business apps that work on the SAP Business Technology Platform and in the cloud. The Open Data Protocol (OData) standard lets you use data and functions as RESTful web services. This programming model is based on Representational State Transfer (REST) ideas. These web services allow developers to make cloud-native apps that are movable, scalable, and simple to keep up to date.&nbsp;</p>
<h3><span style="font-size: 18px;">7. What is the SAP Cloud SDK, and how do you utilize it? &nbsp;</span></h3>
<p>The SAP Cloud SDK includes packages and tools for creating cloud-native apps using the SAP Business Technology Platform. Connecting to SAP cloud services is easy with the Software Development Kit (SDK), which has libraries and tools for handling cloud operations and keeping an eye on cloud-based apps. &nbsp;</p>
<h3><span style="font-size: 18px;">8. How is SAP Business Technology Platform superior to AWS, Azure, and GCP? &nbsp;</span></h3>
<p>Firstly, it was made to work with applications used in the office.&nbsp;</p>
<p>Thus, it includes all the tools and functionality enterprises need to run successfully. Second, it's easy to adapt to a growing firm. Finally, it is safe and reliable, essential for companies with private info. &nbsp;</p>
<h3><span style="font-size: 18px;">9. Do you know SAP Fiori? It works; could you explain it? &nbsp;</span></h3>
<p>Flexibility in SAP Fiori means users have the same experience on all devices and systems. It uses a system called SAPUI5 and a programming style known as Model View Controller (MVC). Toolkits like HTML5, CSS, and JavaScript are used to make SAP Fiori apps. &nbsp;</p>
<h3><span style="font-size: 18px;">10. Meaning of SAP HANA? What is the problem that it fixes? &nbsp;</span></h3>
<p>Real-time apps can use SAP HANA, a database that runs in memory. Thanks to its quick access to information, it helps businesses make better decisions. Additionally, SAP HANA can help companies run their operations more smoothly by reducing the need to duplicate and change data.&nbsp;</p>
<h3><span style="font-size: 18px;">11. What kinds of services does the SAP Business Technology Platform offer?&nbsp;</span></h3>
<p>The different services that come with the SAP Business Technology Platform are:&nbsp;</p>
<p>Concur, SAP Ariba, Fieldglass, Hybris, SuccessFactors, and Jam are cloud-based.</p>
<h2><span style="color: #ffa234;"><a id="for-experienced"></a>SolarWinds Interview Questions for Experienced</span></h2>
<h3><span style="font-size: 18px;">12. What are SAP BTP user requirements?&nbsp;</span></h3>
<p>To become an SAP BTP user, you must meet three requirements:&nbsp;</p>
<ol>
<li style="line-height: 1.5;">You need to be logged in to SAP.&nbsp;</li>
<li style="line-height: 1.5;">You need to be signed up for the SAP Cloud Platform.&nbsp;</li>
<li style="line-height: 1.5;">You need to have an account with SAP BTP.&nbsp;</li>
</ol>
<p>SAP BTP is accessible with all three.&nbsp;</p>
<h3><span style="font-size: 18px;">13. How can I pay for the SAP Business Technology Platform?&nbsp;</span></h3>
<p>Payment options for the SAP Business Technology Platform include: &nbsp;</p>
<p><strong>SAP BTP Free Tier: </strong>Free service. Newcomers can browse use cases to find ones they like. Its uses are limited. &nbsp;</p>
<p><strong>Pay-As-You-Go: </strong>A business idea. SAP BTP is perfect for budget-conscious users who wish to try new business processes because you only pay for what you use.&nbsp;</p>
<p><strong>CPEA stands for "Cloud Platform Enterprise Agreement.": </strong>This is a business plan. Cloud credits are paid for ahead of time. You can use all of CPEA's services, but your cloud points will only be used for the ones you used.&nbsp;</p>
<p><strong>Subscription: </strong>This is a business plan. You have to choose a set of services at a set price, no matter how much you use them.&nbsp;</p>
<h3><span style="font-size: 18px;">14. What does the SAP Business Technology Platform path hold?&nbsp;</span></h3>
<p>You should be very optimistic about the future of the SAP Business Technology Platform. The tool is powerful, flexible, and can be used for many business tasks. It's something that we think will grow and become even more popular in the future.&nbsp;</p>
<h3><span style="font-size: 18px;">15. Why does the SAP Cloud Application Programming Model affect the SAP Business Technology Platform? &nbsp;</span></h3>
<p>Developers may simply construct versatile, expandable, and up-to-date cloud-native apps with the SAP Cloud Application Programming Model in the SAP Business Technology Platform. To help developers build cloud-based apps without worrying about technology. &nbsp;</p>
<h3><span style="font-size: 18px;">16. Why should I pick SAP Business Technology Platform over Microsoft Azure?&nbsp;</span></h3>
<p>SAP Business Technology Platform includes everything you need to build and launch cloud-native apps. A controlled runtime environment, a cloud-based development environment, and app building, deployment, and management services are included. There is also tight integration between the SAP Business Technology tool and SAP applications and data. This makes it an excellent tool for creating and deploying SAP-based solutions.&nbsp;</p>
<p style="text-align: right;"><strong>Also CheckOut: <a title="SAP BTP Tutorial" href="https://tekslate.com/sap-btp-tutorial" target="_blank">SAP BTP Tutorial</a></strong></p>
<h3><span style="font-size: 18px;">17. How should I begin using the SAP Business Technology Platform in the best way?&nbsp;</span></h3>
<p>You must understand the basics of the SAP Business Technology Platform to use it properly. Once you know the software, you can explore its features. The information on the online SAP Business Technology Platform is abundant, so use it. &nbsp;</p>
<h3><span style="font-size: 18px;">18. Can the SAP Business Technology Platform provide data? What are the methods? &nbsp;</span></h3>
<p>Yes, the SAP Business Technology Platform provides information. Data Export Service, Export to Excel, and others are choices. &nbsp;</p>
<h3><span style="font-size: 18px;">19. Why use SAP HANA as your database back end with SAP Business Technology Platform?&nbsp;</span></h3>
<p>HANA, as a database server with SAP Business Technology Platform, helps. The fast SAP HANA database can handle real-time data. This allows data entry management, which can improve efficiency and response time. SAP HANA's columnar data store improves speed and reduces storage costs. SAP HANA and the SAP Business Technology Platform help people collaborate and be more productive.&nbsp;</p>
<h3><span style="font-size: 18px;">20. What do you know about SAP BTP's Role Collections?</span></h3>
<p>A role collection is made up of at least one job. You can change the jobs that are assigned to users and the groups of users that are assigned to those roles. The user should have management access to do these maintenance tasks.&nbsp;</p>
<p>Users can be given job collections but no single roles. Collecting roles can be done at both the general account level and the subaccount level. The subaccounts don't have access to the role groups in the global account. Collecting roles at the subaccount level in the international account is also impossible.&nbsp;</p>
<p>If not BTP cockpit, is there another way to handle and oversee SAP BTP accounts?&nbsp;</p>
<p>We can also manage our SAP BTP accounts with SAP BTP CLI, a command-line tool.&nbsp;</p>
<p>If you'd rather work on the command line, the BTP CLI is an option for the cockpit. A client and a server make it up. The client is on your computer and talks to SAP BTP through a server. When you use the btp CLI to log in to your global account, connect to this CLI server at https://cli.btp.cloud.sap/.&nbsp;</p>
<p>On the command line, type btp for the base call. We can make subaccounts and directories, manage users and their permissions in global accounts and subaccounts, subscribe to apps, and more.&nbsp;</p>
<h3><span style="font-size: 18px;">21. Explain what "multi-cloud" means in terms of SAP BTP.</span></h3>
<p>SAP encourages customers and partners to easily use SAP BTP on their preferred cloud platform. The functionality that lets SAP BTP be used with any infrastructure service is termed "multi-cloud." You may choose which cloud provider to use, and there are more places to choose. Multi-cloud lets you employ hyper scaler infrastructures and features, making it more reliable. A more comprehensive choice of development services and more development paradigms make things more adaptable.&nbsp;</p>
<h3><span style="font-size: 18px;">22. Could you explain what SAP BTP global accounts and subaccounts are and how they work?&nbsp;</span></h3>
<p>Customer deals with SAP are fulfilled using SAP BTP global accounts. Global accounts govern subaccounts, users, permissions, and constraints. Global account customers have permissions and constraints on platform resource consumption. Permissions and limits are transferred to the subaccount for use.&nbsp;</p>
<p>Global accounts can have multiple subaccounts. Subaccounts allow us to use services, deploy apps, and manage subscriptions. In a world account, each subaccount works independently.&nbsp;</p>
<p>Cloud Foundry divides subaccounts into spaces. Applications are built, deployed, and maintained here.&nbsp;</p>
<p>Geography and environment don't affect global accounts. You manage all regional subaccounts from your international account.</p>
<h3><span style="font-size: 18px;">23. In SAP BTP, what do you mean by "service"?&nbsp;</span></h3>
<p>In Cloud Computing, the word "Service" is used a lot. If you use the internet, a service is any kind of technology or skill you can get.&nbsp;</p>
<p>Instead of genuine products, you get software, computing power, or storage space delivered to your home. &nbsp;</p>
<p><strong>Services often fall into three categories: &nbsp;</strong></p>
<p>Infrastructure as a Service (IaaS)&mdash;The cloud provides hardware and operating systems. The customer offers runtime and handles all other aspects. &nbsp;</p>
<p>Platform as a Service (PaaS) &mdash; It helps build, run, and manage apps. Databases, programming tools, and similar software delivery methods can help.&nbsp;</p>
<p>Think SAP BTP as PaaS. SAP handles complex tech this time so that you may focus on add-ons and related solutions. &nbsp;</p>
<p>Software as a Service (SaaS): Customers pay monthly for internet apps. Customers don't set up or maintain anything. Email services like Gmail, work tools like Google Docs, and business software like SAP S/4HANA Cloud are examples.&nbsp;</p>
<p><strong>Services in SAP BTP&nbsp;</strong></p>
<p>"SAP BTP services" are the terms for the functions or features that SAP offers under the SAP BTP name.&nbsp;</p>
<p>For instance, "SAP Business Application Studio" is an SAP BTP service that gives developers a place to work on making apps and adding to SAP solutions.&nbsp;</p>
<p>It is possible to find a list of all SAP BTP services in SEDC.</p>
<h4><span style="font-size: 16px; color: #ffa234;">Conclusion:</span></h4>
<p>In conclusion, good job! We think the above SAP BTP Interview Questions will help you prepare for your interview and also help you understand the concepts better. It's called SAP BTP, a cloud technology base for ERP. It's also one of the first steps in SAP's move to the cloud. Best wishes!!! &nbsp;</p>d:T489b,<p>We have Categorized SolarWinds Interview Questions into the below Sections</p>
<ul>
<li style="line-height: 1.5;"><a title="SolarWinds Interview Questions for Freshers" href="#for-freshers"><strong>For Freshers</strong></a></li>
<li style="line-height: 1.5;"><a title="SolarWinds Interview Questions for Experienced" href="#for-experienced"><strong>For Experienced</strong></a></li>
</ul>
<p><span style="font-size: 22px; color: #ffa234;"><strong>Top SolarWinds Interview Questions</strong></span></p>
<ol>
<li style="line-height: 1.5;"><a title="What is SolarWinds?" href="#what"><strong>What is SolarWinds?</strong></a></li>
<li style="line-height: 1.5;"><a title="How do NPM alerts work?" href="#npm"><strong>How do NPM alerts work?</strong></a></li>
<li style="line-height: 1.5;"><a title="Give some information about NPM data." href="#npm-data"><strong>Give some information about NPM data.</strong></a></li>
<li style="line-height: 1.5;"><a title="Describe the Orion platform." href="#orion-platform."><strong>Describe the Orion platform.</strong></a></li>
<li style="line-height: 1.5;"><a title="Discuss polling methodologies." href="#polling-methodologies"><strong>Discuss polling methodologies.</strong></a></li>
<li style="line-height: 1.5;"><a title="What does SolarWinds NetFlow mean?" href="#solarwinds-netflow"><strong>What does SolarWinds NetFlow mean?</strong></a></li>
<li style="line-height: 1.5;"><a title="Who uses SolarWinds?" href="#who-uses"><strong>Who uses SolarWinds?</strong></a></li>
<li style="line-height: 1.5;"><a title="What are APM and NPM?" href="#apm-and-npm"><strong>What are APM and NPM?</strong></a></li>
</ol>
<p>Let us go through SolarWinds Interview Questions</p>
<h2><span style="color: #ffa234;"><a id="for-freshers"></a>SolarWinds Interview Questions for Freshers</span></h2>
<h3><span style="font-size: 18px;"><a id="what"></a>1. What is SolarWinds?</span></h3>
<p>SolarWinds is a famous software company based in Austin, Texas. This business was started in 1999 by Donald and David Yonce. Its main job is to give robust tools to IT professionals so they can handle infrastructure, networks, and systems well. Efficiency, usability, and friendliness distinguish SolarWinds IT management software.</p>
<h3><span style="font-size: 18px;">2. What are some good things about SolarWinds?</span></h3>
<p>SolarWinds is well-known for its many perks, such as:</p>
<ul>
<li style="line-height: 1.5;">A unified console is used to watch multiple devices at the same time.</li>
<li style="line-height: 1.5;">Automatic finding and integrating of devices that are tied to a network.</li>
<li style="line-height: 1.5;">Made it easier to find problems with the network.</li>
<li style="line-height: 1.5;">User-friendly graphical interface.</li>
<li style="line-height: 1.5;">Detailed health data to help you make intelligent choices.</li>
</ul>
<h3><span style="font-size: 18px;">3. What does SolarWinds NPM mean?</span></h3>
<p>SolarWinds Network Speed Monitor (NPM) is a flexible tool that helps IT teams locate and fix slow network problems in hybrid, on-premises, and cloud settings. With NPM, adding and keeping an eye on network devices is more accessible, and the system can be expanded as needed.</p>
<h3><span style="font-size: 18px;">4. What are the most essential things about SolarWinds?</span></h3>
<p>Some of the most essential parts of SolarWinds NPM are:</p>
<ul>
<li style="line-height: 1.5;">Monitoring of all faults, performance, and uptime in detail.</li>
<li style="line-height: 1.5;">Perform and availability records that can be changed to fit your needs.</li>
<li style="line-height: 1.5;">In-depth study of each hop.</li>
<li style="line-height: 1.5;">Automated mapping of network devices.</li>
<li style="line-height: 1.5;">Network data from different stacks can be linked to each other.</li>
<li style="line-height: 1.5;">Advanced tools for alerting.</li>
</ul>
<h3><span style="font-size: 18px;">5. How do you migrate data from SolarWinds?</span></h3>
<p>Data can be moved from one version of SolarWinds to another. First, you must use the SolarWinds Export Utility to save the data from the first instance. The next step is to use the SolarWinds Import Utility to move the data to the new instance. Last but not least, you will need to run the SolarWinds Configuration Wizard to finish the transfer.</p>
<table style="border-collapse: collapse; width: 99.9823%; border-color: #D2D4D8; border-style: solid;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.8871%; border-color: #d2d4d8; border-style: solid; text-align: center;"><strong>If you want to enrich your career and become a professional in SolarWinds, then enroll in "<span style="color: #3598db;"><a style="color: #3598db;" title="SolarWinds Online Training" href="https://tekslate.com/solarwinds-training" target="_blank" rel="noopener">SolarWinds Online Training</a></span>" - This course will help you to achieve excellence in this domain.</strong></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px;">6. Why do you think using SolarWinds or another monitoring tool is essential?</span></h3>
<p>A tracking tool like SolarWinds is necessary to keep an eye on what's going on in your network. Before they become big problems, this can help you see and fix possible issues. Additionally, SolarWinds lets you track the development of your network over time. This way, you can find patterns and make adjustments that will usually enhance its performance.</p>
<h3><span style="font-size: 18px;">7. How can we add objects instantly to be watched?</span></h3>
<p>SolarWinds lets you run a discovery job through the Network Sonar Discovery Wizard to add devices automatically for tracking. This function can be used regularly to find new devices and add them to the monitoring setup.</p>
<h3><span style="font-size: 18px;">8. Why would you want to use discovery tagging?</span></h3>
<p>Discovery tagging is an intelligent tool in SolarWinds that checks to see if a device is already being watched. It helps find duplicate devices, especially when a device is given to more than one person, which makes management more accurate.</p>
<h3><span style="font-size: 18px;"><a id="npm"></a>9. How do NPM alerts work?</span></h3>
<p>SolarWinds NPM sends alerts when problems happen with devices that are being watched. These alerts are shown clearly on the "Active Alerts widgets" on the Orion Home page, and they can be set up to send email messages.</p>
<h3><span style="font-size: 18px;">10. List some SolarWinds NPM pre-configured notifications.</span></h3>
<p>SolarWinds NPM comes with the following pre-configured alerts:</p>
<ul>
<li style="line-height: 1.5;">Notifications when the server is down.</li>
<li style="line-height: 1.5;">Notifications when a component fails.</li>
<li style="line-height: 1.5;">Warnings when the place is not available.</li>
<li style="line-height: 1.5;">Notifications when a transaction fails or when a state is essential.</li>
</ul>
<h3><span style="font-size: 18px;"><a id="npm-data"></a>11. Give some information about NPM data.</span></h3>
<p>SolarWinds NPM reports give you much information about how network devices work. Users can make these reports, change them, and even set them to be sent automatically by email or as PDFs.</p>
<h3><span style="font-size: 18px;">12. Could you explain what an account view means in the SolarWinds world?&nbsp;</span></h3>
<p>You can organise and take care of your SolarWinds account with an account view. It shows you a list of all the devices connected to your account, their present status and any alerts sent. You can also do different things with your devices from the account view, like adding or removing them from the account.</p>
<h3><span style="font-size: 18px;">13. How do I go about making a custom report?</span></h3>
<p>In SolarWinds, go to the Orion Web Console, find "Reports," and click "Create New Report" to make a custom report. Before you finish your report, choose the filters and features you want.</p>
<h3><span style="font-size: 18px;">14. How do we go about setting up a web-based report?</span></h3>
<p>SolarWinds users can plan a web-based report by going to "Settings" in the Orion Web Console, selecting "Manage Reports," and then creating a new schedule under "Create New Schedule." This process includes giving information about the frequency and other important factors.</p>
<h3><span style="font-size: 18px;">15. Could you describe how SolarWinds is put together?&nbsp;</span></h3>
<p>SolarWinds is a type of distributed software. SolarWinds' computer, <span style="color: #3598db;"><a style="color: #3598db;" title="Database Login Module - JBoss" href="https://tekslate.com/database-login-module-jboss" target="_blank">database</a></span>, and bots are the main parts. The SolarWinds servers get data from the SolarWinds devices and store it in the SolarWinds database. When objects on your network send data to the SolarWinds computer, it is handled by the SolarWinds agents.</p>
<h4><span style="font-size: 18px;"><a id="orion-platform."></a>16. Describe the Orion platform.</span></h4>
<p>SolarWinds' unified backend framework is the Orion platform, which has a central web console for setting up and controlling network devices. It includes settings, alerts, and managing reports, among other things.</p>
<h3><span style="font-size: 18px;">17. Tell me about SolarWinds SAM.&nbsp;</span></h3>
<p>When networks and their apps are on-premises, in the cloud, or in a mixed setting, SolarWinds Server &amp; Application Monitor (SAM) monitors them. It gives a complete map of how applications and servers work together.</p>
<h3><span style="font-size: 18px;">18. In what place do SolarWinds SAM logs live?</span></h3>
<p>SolarWinds SAM logs usually are saved in "C:\Program Data\SolarWinds\Logs\APM." For easy reading and viewing, all log files are in text format.</p>
<h3><span style="font-size: 18px;">19. Why is SolarWinds so simple to get?</span></h3>
<p>If the primary server fails, SolarWinds High Availability (HA) can switch to a backup server and continue providing services. Deploy across one or more subnets with this tool.</p>
<h3><span style="font-size: 18px;">20. Is Unix, Linux, or Windows compatible with SolarWinds? So how do you do it?&nbsp;</span></h3>
<p>SolarWinds operates on Windows, Linux, and Unix. SolarWinds has an agent that can be put on any kind of machine. This agent will gather information and send it to the SolarWinds server. SunPower also has a web-based tool that lets you see information and change the system's settings.</p>
<h2><span style="color: #ffa234;"><a id="for-experienced"></a>SolarWinds Interview Questions for Experienced</span></h2>
<h3><span style="font-size: 18px;"><a id="polling-methodologies"></a>21. Discuss polling methodologies.</span></h3>
<p>Polling your network's computers gives SolarWinds information about how well they're running. Polling methods include SNMP, Windows Management Instrumentation (WMI), Agents, Internet Control Message Protocol (ICMP), and SNMP.&nbsp;</p>
<h3><span style="font-size: 18px;">22. What's the difference between WMI Polling and Agent Polling?</span></h3>
<p>WMI polls for information using network devices, apps, and parts built on Windows. Agent polling needs plugins to be put on the agents to collect data and send it back.</p>
<h3><span style="font-size: 18px;">23. What does DPA stand for?</span></h3>
<p>SolarWinds Database Performance Analyzer helps assess database performance. It keeps track of SQL statements, processing plans, blocking, deadlocks, and more. It also uses machine learning to find strange things before they happen.</p>
<h3><span style="font-size: 18px;">24. What does SolarWinds Log Analyzer do?</span></h3>
<p>SolarWinds Log Analyzer is used to gather, organise, and keep track of logs. It ensures that all records from all Orion Platform products can be seen and combined with alerts to take action on certain events.</p>
<h3><span style="font-size: 18px;">25. What is the Log Analyzer's most essential parts?</span></h3>
<p>The SolarWinds Log Analyzer's most essential functions are:</p>
<ul>
<li style="line-height: 1.5;">Getting logs and events and analysing them.</li>
<li style="line-height: 1.5;">Strong search and filtering tools.</li>
<li style="line-height: 1.5;">Log live in real-time.</li>
<li style="line-height: 1.5;">Tags in the event log.</li>
<li style="line-height: 1.5;">Taking in flat log files.</li>
<li style="line-height: 1.5;">Adding support for the Orion Platform.</li>
</ul>
<h3><span style="font-size: 18px;">26. Why would you use SolarWinds NCM?</span></h3>
<p>SolarWinds NCM configures routers, switches, and other network equipment. It helps maintain device settings, reduces configuration errors, and provides alarms, backups, and rollbacks.</p>
<h3><span style="font-size: 18px;">27. What does SolarWinds Security Event Manager do?&nbsp;</span></h3>
<p>SolarWinds Security Event Manager manages security events and information. It gathers, organises, and normalises logs in a single location so IT teams can look at them.</p>
<h3><span style="font-size: 18px;"><a id="solarwinds-netflow"></a>28. What does SolarWinds NetFlow mean?</span></h3>
<p>The SolarWinds NetFlow Traffic Analyzer (NTA) turns data from network traffic into simple charts and tables. Network traffic and bandwidth trends are tracked to find people or programs that use a lot of bandwidth.</p>
<p style="text-align: right;"><strong>CheckOut: <a title="Solarwinds Tutorial" href="http://tekslate.com/solarwinds-tutorial" target="_blank"><span style="color: #3598db;">SolarWinds Tutorial</span></a></strong></p>
<h3><span style="font-size: 18px;">29. How do I stop a service from SolarWinds?</span></h3>
<p>Open the Orion Web Console, go to "Product Specific Settings," and find "Orion Service Manager." Then, choose the service you want to stop and click "Stop."</p>
<h3><span style="font-size: 18px;">30. How can we see if the gear is in good shape?</span></h3>
<p>In the Orion Web Console, go to "Settings &gt; All Settings" and then "Node &amp; Group Management." From there, choose "Manage Hardware Sensors" to see how healthy the hardware is. You can see all the hardware sensors offered here, as well as information like the vendor, parent, status, etc.</p>
<h3><span style="font-size: 18px;">31. What does UDT stand for?</span></h3>
<p>SolarWinds User Device Tracker (UDT) keeps track of IP devices' network access needs and risks. It shows you a list of all the switches, ports, and devices connected to your network and lets you control the ports.</p>
<h3><span style="font-size: 18px;">32. How does licencing work for SolarWinds?</span></h3>
<p>Each SolarWinds product has a different licencing model based on the number of devices, nodes, and interfaces that need to be managed. It works with both permanent licences and subscription licences.</p>
<h3><span style="font-size: 18px;">33. Tell me about SolarWinds' cloud log management.</span></h3>
<p>SolarWinds' cloud-based log management lets you access logs immediately without installing hardware on-site. Additionally, it makes full-text log searches easy to use and speeds up debugging.</p>
<h3><span style="font-size: 20px;">34. What are the ways that SolarWinds makes merging possible?</span></h3>
<p>SolarWinds offers three kinds of connection tools: those for users, those for events, and those for APIs.</p>
<h3><span style="font-size: 18px;"><a id="who-uses"></a>35. Who uses SolarWinds?</span></h3>
<p>More than three lakh customers use SolarWinds. These customers include Fortune 500 companies, government bodies, and military groups. Ford Motor Company, Kodak, MasterCard, the New York Times, NASA, Telenor, Volvo, Yahoo, and other companies are customers.</p>
<h3><span style="font-size: 18px;">36. Does SolarWinds let you change the SNMP community string on all devices simultaneously?</span></h3>
<p>In SolarWinds, you can simultaneously change the SNMP community string on all devices. Click "All Settings" in the "Settings" tab. Select the "Polling" tab and then "SNMP Settings" from then on. You can change the SNMP community string for all nodes from then on.&nbsp;</p>
<h3><span style="font-size: 18px;"><a id="apm-and-npm"></a>37. What are APM and NPM?</span></h3>
<p>APM and NPM monitor application and network performance. APM monitors app performance, while NPM monitors network devices and services.</p>
<h3><span style="font-size: 18px;">38. How can SolarWinds help reduce IT system costs?&nbsp;</span></h3>
<p>SolarWinds is an essential part of lowering the costs of IT systems. It tells us how resources are being used and helps us find places to better use them or change how they are distributed. Supporting capacity planning keeps us from over-provisioning, which can be expensive. SolarWinds improves IT ROI and reduces IT costs.&nbsp;</p>
<h3><span style="font-size: 18px;">39. How can SolarWinds be optimised?&nbsp;</span></h3>
<p>Maintaining the database, updating the software, and monitoring system resources can increase SolarWind's efficiency. You must also know about SolarWinds updates and patches to use the latest features and improvements for network control.</p>
<h3><span style="font-size: 18px;">40. How can SolarWinds help me track how well my network is doing over time?</span></h3>
<p>SolarWinds helps you track how well your network is doing over time by collecting past data and making performance reports. This trend analysis is crucial for identifying long-term performance patterns, finding trouble spots, and planning network improvements. It's a must-have for proactive network control.</p>
<h3><span style="font-size: 18px;">41. How do you use SolarWinds to back up your files for disaster recovery?</span></h3>
<p>At SolarWinds, you set up regular data backups, including monitoring data and network device settings. You set up automatic backup schedules and ensure backups are saved safely, including copies kept off-site. You need these backups to swiftly restore network settings and track data in a disaster.</p>
<h4><span style="font-size: 16px;">Conclusion:&nbsp;</span></h4>
<p>Finally, it's essential to be well-prepared for a SolarWinds interview, no matter how much experience you have or if you're a recent college graduate wanting to start a network and systems management job. These SolarWinds interview questions and answers cover basic to advanced features. Providing sensible replies to these questions during the interview will demonstrate your knowledge and skill.&nbsp;</p>e:T3e10,<p><span style="font-size: 22px; color: #ffa234;"><strong>SAP BTP Tutorial - Table of Content</strong></span></p>
<ul>
<li style="line-height: 1.5;"><a title="What is SAP BTP?" href="#what"><strong>What is SAP BTP?</strong></a></li>
<li style="line-height: 1.5;"><a title="SAP BTP Cloud Foundry" href="#cloud-foundry"><strong>SAP BTP Cloud Foundry</strong></a></li>
<li style="line-height: 1.5;"><a title="SAP BTP Pricing Models" href="#pricing-models"><strong>SAP BTP Pricing Models</strong></a></li>
<li style="line-height: 1.5;"><a title="SAP Business Application Studio (BAS)" href="#bas"><strong>SAP Business Application Studio (BAS)</strong></a></li>
<li style="line-height: 1.5;"><a title="SAP BTP Kyma" href="#kyma"><strong>SAP BTP Kyma</strong></a></li>
</ul>
<h2 style="line-height: 1.5;"><span style="color: #ffa234;"><a id="what"></a>What is SAP BTP?</span></h2>
<p>SAP Business Technology Platform (BTP) lets firms combine, grow, and value multiple data and programs in one place. SAP BTP helps businesses maximize their data through tools and services, resulting in wiser decisions and innovative business ideas. A complete digital transformation solution, the SAP BTP includes database management, application development, analytics, and machine learning. They succeed in today's digital market.</p>
<p><strong>Overview of Tutorial:</strong></p>
<p>SAP BTP's many capabilities can be confusing for new users. That's why we've compiled many lessons to maximize this powerful instrument. Let's examine SAP BTP's essential component tutorials.</p>
<h3><span style="font-size: 18px; color: #ffa234;"><a id="cloud-foundry"></a>SAP BTP Cloud Foundry</span></h3>
<p>SAP BTP Cloud Foundry enables scalable, flexible app and service launches. SAP BTP Cloud Foundry gives developers and IT workers many alternatives for creating new apps and optimizing resources. Start SAP BTP Cloud Foundry with these critical tutorials:</p>
<p><strong>ACDOCA Table in SAP S/4HANA:</strong></p>
<p>What No One Tells You: Learn more about the ACDOCA table in SAP S/4HANA and discover secret features that can improve your reporting and analytics.</p>
<p><strong>SAP BTP Cockpit Costs and Usage:&nbsp;</strong></p>
<p>Learn how to use the SAP BTP Cockpit to manage costs and usage in a way that maximizes resource use and saves money.</p>
<p><strong>SAP BTP Terraform Provider 1.0.0:</strong></p>
<p>Learn how to use the Terraform provider for SAP BTP to handle infrastructure provisioning, which makes deployment faster and allows for growth.</p>
<p><strong>How to Install Neptune Software DXP 2023 LTS:</strong></p>
<p>How to install Neptune Software DXP 2023 LTS step by step for better app creation and user experience.</p>
<p><strong>Elevate Your ABAP Skills:</strong></p>
<p>The "Core Data Services for ABAP" Handbook goes over the basics of Core Data Services (CDS) for ABAP development, which opens up new ways to describe and change data.</p>
<p><strong>Powerful SAP Build Apps 30-Day Guide:</strong></p>
<p>During the 30-day trial, you can use the SAP Build Apps Guided Experience to make robust apps, allowing you to see what SAP BTP can do.</p>
<p><strong>Cheap SAP ABAP System Access $9:</strong></p>
<p>Accessing SAP ABAP systems for a low cost is an excellent way to improve your development skills and get real-world practice with ABAP programming.</p>
<table style="border-collapse: collapse; width: 99.9823%; border-color: #d2d4d8; border-style: solid;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.8871%; border-color: #d2d4d8; border-style: solid; text-align: center;"><strong>If you want to enrich your career and become a professional in SAP ABAP, then enroll in "<a title="SAP ABAP Training" href="https://tekslate.com/sap-abap-training" target="_blank">SAP ABAP Training</a>" - This course will help you to achieve excellence in this domain.</strong></td>
</tr>
</tbody>
</table>
<p><strong>SAP For Me Incidents/Cases:</strong></p>
<p>A Beginners Guide (2023): Learn how to navigate the SAP For Me platform and handle issues and cases to solve them quickly and satisfy customers.</p>
<p><strong>Comprehensive SAP Cloud Integration Platform Overview:</strong></p>
<p>Check out SAP's different cloud integration tools and learn about the best ways to integrate data across your entire organization.</p>
<p><strong>Best unified data platform (2023): SAP Datasphere</strong></p>
<p>Find out what SAP Datasphere can do as a unified data tool for collecting, processing, and analyzing data from different sources to make decisions based on data.</p>
<p><strong>Free SAP Build Process Automation Licence:</strong></p>
<p>With the free SAP Build Process Automation Licence, you can learn to automate business processes, making them run more smoothly and efficiently.</p>
<p><strong>Due Diligence Service for SAP Security:</strong></p>
<p>Two Ways to Make a Business Transformation Work: With SAP's Security Due Diligence Service, you can make sure that a business change goes smoothly by lowering risks and protecting your company's assets.</p>
<p><strong>Alternative to SAP Fiori Client: SAP Mobile Start</strong></p>
<p>Check out SAP Mobile Start as an option for the SAP Fiori Client for better mobile experiences. It lets users quickly access business apps while they're on the go.</p>
<p><strong>A Complete Guide to SAP for Me (2023):</strong></p>
<p>Learn everything you need to know about the SAP for Me platform and how it works so that you can handle your SAP products and services effectively.</p>
<p><strong>Intelligent charging using SAP E-Mobility:</strong></p>
<p>Explore the world of electric mobility and learn about SAP's innovative charging options that help you use less energy and have less of an effect on the environment.</p>
<p><strong>Unique New ABAP Platform 2021 Features:</strong></p>
<p>Stay updated on the ABAP platform's newest features and improvements to make development faster and easier.</p>
<p><strong>SAP Work Zone: Digital Efficiency 2022:</strong></p>
<p>Use SAP Work Zone to get the most out of your digital experience and make it easier for people to work together and get things done. It will help teams work faster on a variety of projects and efforts.</p>
<p><strong>Everything You Need to Know About SAP Solution RISE</strong></p>
<p>Learn more about the RISE with SAP system and how it can transform businesses and help them become more intelligent enterprises faster.</p>
<p><strong>The Most Powerful ABAP Library: SAP XCO Library</strong></p>
<p>Use the power of SAP XCO Library to speed up ABAP development. You'll get an extensive collection of libraries and components that can be used repeatedly.</p>
<p><strong>Scaffolding UI5 Projects Made Easy (UI5 Generator)</strong></p>
<p>The Easy UI5 Generator makes building UI5 projects easier, cutting down on development time and work while maintaining high code quality and consistency.</p>
<p><strong>SAP BTP Boosters 101:</strong></p>
<p>By learning how to use SAP BTP Boosters to improve your development projects, you'll have access to a wide range of tools and resources meant to speed up innovation and help your business grow.</p>
<h2><span style="color: #ffa234;"><a id="pricing-models"></a>Three SAP BTP Pricing Models:</span></h2>
<p>Learn about SAP BTP's price models and pick one that fits your business and budget.</p>
<p><strong>Connecting DBeaver to SAP HANA Cloud:</strong></p>
<p>How to link DBeaver to <a title="SAP HANA Training" href="https://tekslate.com/sap-hana-training" target="_blank">SAP HANA</a> Cloud for easy database management and administration. It will let your apps use all of SAP HANA's features.</p>
<p><strong>Install Visual C++ 2013 Redistributable Package x86, Remote Tools for Visual Studio 2019, and KDiff:</strong></p>
<p>Please find out how to install the most essential development tools and packages for SAP BTP so that it works well and is compatible with other programs.</p>
<p><strong>SAP Intelligent RPA 2.0 Installation:</strong></p>
<p>Step-by-step instructions are provided for installing SAP Intelligent Robotic Process Automation 2.0, which lets businesses automate boring chores and improve their processes.</p>
<p><strong>Installing DBeaver Community Edition:</strong></p>
<p>How to set up the DBeaver Community Edition for database management and development. It gives users a powerful, easy-to-use way to connect to different database systems.</p>
<p><strong>SAP Business Application Studio HANA Native Application Development:</strong></p>
<p>Start making native apps in SAP BTP with SAP Business Application Studio. Use the power of SAP HANA to create apps that dash and can be scaled up or down.</p>
<p><strong>SAP Business Application Studio [October 2020]: 4 New Features</strong></p>
<p>Keep up with the latest additions and changes to SAP Business Application Studio to take advantage of your development projects' latest features and functions.</p>
<p><strong>SAP Cloud Platform CI/CD:</strong></p>
<p>Set up continuous integration and delivery routines on the SAP Cloud Platform to make development more accessible and deliver apps and updates quickly and reliably.</p>
<p><strong>SAP Cloud Platform Cloud Foundry Launchpad Service:</strong></p>
<p>Check out the launchpad service in SAP Cloud Platform Cloud Foundry for easy access to relevant apps and content and a smooth application browsing and user experience.</p>
<p><strong>SAP Cloud APM Local Development:</strong></p>
<p>Set up a local development environment for offline testing and development for the SAP Cloud Application Programming Model. It allows developers to make changes to their apps quickly and easily.</p>
<p><strong>How to Get Kubectl Set Up on Windows for Kyma Development:</strong></p>
<p>Here are step-by-step instructions for installing Kubectl on Windows for Kyma development. It lets devs work with Kubernetes clusters and deploy apps to the SAP BTP Kyma runtime.</p>
<p><strong>How to Get Started with Kyma Runtime in the SAP Cloud Platform:</strong></p>
<p>Try the Kyma runtime on the SAP Cloud Platform to create modern, cloud-native apps leveraging microservices and serverless computing.</p>
<p>Lessons provide the information and resources you need to succeed in SAP BTP. They cover various topics, from building applications to managing infrastructure.</p>
<h3><span style="font-size: 18px; color: #ffa234;"><a id="bas"></a>SAP Business Application Studio (BAS)</span></h3>
<p>The browser-based Integrated Development system (IDE) SAP Business Application Studio lets developers build apps that work well with the SAP BTP system. Here are some guides that will help you use SAP BAS to its fullest:</p>
<p><strong>SAP Business Application Studio Installation:</strong></p>
<p>In this step-by-step guide to getting SAP Business Application Studio for developing apps, ensure the setup goes smoothly and that the software works at its best.</p>
<p><strong>Know SAP Business Application Studio Dev Space:</strong></p>
<p>Learn about SAP Business Application Studio's "Dev Space" and how it helps with joint development so teams can work quickly on shared projects.</p>
<p><strong>Cloud Connector Cloud Foundry to On-Premise config:</strong></p>
<p>Set up the Cloud Connector to securely communicate between SAP Cloud Foundry and on-premise systems, facilitating data interchange and integration.</p>
<p><strong>Developing Fiori App in SAP Business Application Studio:</strong></p>
<p>Learn how to make Fiori apps in SAP Business Application Studio and use the newest UI5 frameworks and design ideas to create great user experiences.</p>
<p><strong>Fiori App Creation and SAP Cloud Foundry:</strong></p>
<p>With this step-by-step instruction, create and send Fiori apps to SAP Cloud Foundry for easy deployment and accessibility. It assures consumers that they can always access your apps.</p>
<p><strong>Add Fiori Apps to SAP Cloud Platform Portal:</strong></p>
<p>The SAP Cloud Platform Portal will be easier to use and more enjoyable with Fiori apps. It will also let them access relevant apps and information from one place.</p>
<p><strong>In SAP Business Application Studio, you can make a Microsoft Fluent UI React app:</strong></p>
<p>Check out how Microsoft Fluent UI can be used with SAP Business Application Studio to create modern web apps that combine the strength of React with the adaptability of SAP BTP.</p>
<p><strong>Using Business Application Studio to Add SAP Fiori Elements:</strong></p>
<p>Use <a title="SAP FIORI Interview Questions" href="https://tekslate.com/interview-questions-in-sap-fiori" target="_blank">SAP Fiori</a> Elements in SAP Business Application Studio for fast application creation. These elements let you make Fiori apps quickly and easily without writing much code.</p>
<p><strong>SAP Business Application Studio: 4 New Features Oct 2020</strong></p>
<p>October 2020 will bring new SAP Business Application Studio features. Follow these changes to use the latest development tools and features.</p>
<p><strong>SAP Business Application Studio extensions:</strong></p>
<p>Learn how to customize and add to applications with SAP Business Application Studio's extension features. It will let you make your apps fit the needs of your business.</p>
<p><strong>How to Use SAP Business Application Studio to Make a CAP Application:</strong></p>
<p>You can create Core Data Services (CDS) for ABAP applications using SAP Business Application Studio. It lets you better model and change data, enabling you to make solid and scalable apps.</p>
<p><strong>December 2020 SAP Business Application Studio Updates:</strong></p>
<p>Ensure you know about the newest changes and improvements to SAP Business Application Studio so you can always use the latest features and improvements to get more done.</p>
<p><strong>New SAP Business Application Studio features for January 2021:</strong></p>
<p>Look at the January 2021 updates that SAP Business Application Studio got. They'll assist you in employing the latest tools and technology in your projects.</p>
<p><strong>SAP Fiori New Application Generator:</strong></p>
<p>Discover how the SAP Fiori Tools can help you make quick and straightforward Fiori apps. It will help work go faster and make things better for users.</p>
<p>After reading these tutorials, you'll have the skills and information to use SAP Business Application Studio to make developing apps in the SAP BTP ecosystem easier.</p>
<h3><span style="font-size: 18px; color: #ffa234;"><a id="kyma"></a>The SAP BTP Kyma</span></h3>
<p>For making cloud-native apps, SAP BTP Kyma gives you a software environment that is flexible and can be expanded. To help you get started with SAP BTP Kyma, here are some guides:</p>
<p><strong>How to Get Kubectl Set Up on Windows for Kyma Development:</strong></p>
<p>This article shows you how to install Kubectl on Windows for Kyma development. It will let you work with Kubernetes clusters and put apps on the SAP BTP Kyma runtime.</p>
<p><strong>How to Get Started with SAP BTP Kyma Runtime:</strong></p>
<p>Learn how the SAP BTP Kyma runtime can help you make current apps that work in the cloud and use serverless computing and microservices design.</p>
<p>If you follow these lessons, you'll be able to get the most out of SAP BTP Kyma and make cloud-native apps that can grow and run reliably.</p>
<h4><span style="font-size: 16px;">Conclusion</span></h4>
<p>The SAP Business Technology Platform (BTP) gives businesses many different tools and services to meet their needs. You can use SAP BTP to make apps, connect various data sources, or do analytics. It gives you the tools and knowledge you need to thrive. With these lessons, you'll be ready to start your SAP BTP journey and help your business become more forward-thinking. So now, look through the lessons and use SAP BTP to its fullest for the success of your business.</p>f:T65d,<ul>
<li><span style="color: #000000;"><a style="color: #000000;" href="#what-is-snaplogic">What is SnapLogic?</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#uses-snaplogic">Uses of SnapLogic</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#snaplogic-architecture">SnapLogic Architecture</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#pros-cons-snaplogic">Pros and Cons of SnapLogic</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#what-is-mulesoft">What is MuleSoft?</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#uses-mulesoft">Uses of MuleSoft</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#pros-cons-mulesoft">Pros and Cons of MuleSoft</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#which-tool-best">Which Integration Tool is Best</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#comparison">Comparison of SnapLogic vs MuleSoft</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#choosing-between">Choosing Between Snaplogic and Mulesoft for the Best Fit</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#factors-to-consider">Factors to Consider</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#faqs">FAQs</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#conclusion">Conclusion</a></span></li>
</ul>10:T73f7,<p><span style="font-weight: 400;">In order to integrate diverse systems and applications within an organization's IT architecture, two well-known integration platforms, </span><span style="font-weight: 400;">SnapLogic</span><span style="font-weight: 400;"> and MuleSoft, provide solutions. In comparison to MuleSoft, which employs an integrated platform for integration, APIs, and analytics, SnapLogic is a cloud-based integration platform that offers a drag-and-drop interface for simple integration. Both platforms have distinct strategies for reaching this goal, but they both aim to streamline the integration process and increase business agility. We'll compare the features, functions, and application scenarios of </span><strong>SnapLogic vs MuleSoft</strong><span style="font-weight: 400;"> in this comparison.</span></p>
<p><span style="font-weight: 400;">The IT infrastructure of an organization's numerous systems and applications can be connected using <span style="color: #000000;">integration platforms</span>, which are software solutions. iPaaS, ESB, API Management, and data integration platforms are a few examples of the various integration platform kinds.&nbsp;</span></p>
<p><span style="font-weight: 400;">The selection of platform is based on the particular demands and requirements of the company and each type has its own characteristics and capabilities. <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://en.wikipedia.org/wiki/Integration_platform" target="_blank" rel="nofollow">Integration platforms</a></span> make the integration process simpler, boost business agility, and help enterprises get more out of their IT investments.</span></p>
<p><span style="font-weight: 400;">Organizations can integrate different systems and applications inside their IT architecture using integration platforms like SnapLogic and MuleSoft. While MuleSoft is an <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://en.wikipedia.org/wiki/Enterprise_service_bus" target="_blank" rel="nofollow">ESB</a></span> platform that employs a unified platform for integration, APIs, and analytics, SnapLogic is a cloud-based iPaaS platform that provides a drag-and-drop interface for simple integration.&nbsp;</span></p>
<p><span style="font-weight: 400;">SnapLogic is renowned for being simple to use and flexible, but MuleSoft is renowned for being reliable and scalable. Both systems enhance company agility and make integration simpler.</span></p>
<p><span style="font-weight: 400;">Let&rsquo;s learn in detail about </span><strong>What is SnapLogic</strong><span style="font-weight: 400;"> and </span><strong>What is MuleSoft</strong><span style="font-weight: 400;">:</span></p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<h3 style="text-align: center;"><span style="font-size: 18px;"><strong>SnapLogic vs MuleSoft - Table of Contents</strong></span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-is-snaplogic">What is SnapLogic?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uses-snaplogic">Uses of SnapLogic</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#snaplogic-architecture">SnapLogic Architecture</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#pros-cons-snaplogic">Pros and Cons of SnapLogic</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-is-mulesoft">What is MuleSoft?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uses-mulesoft">Uses of MuleSoft</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#pros-cons-mulesoft">Pros and Cons of MuleSoft</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#which-tool-best">Which Integration Tool is Best</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#comparison">Comparison of SnapLogic vs MuleSoft</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#choosing-between">Choosing Between Snaplogic and Mulesoft for the Best Fit</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#factors-to-consider">Factors to Consider</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#faqs">FAQs</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #e67e23;"><strong><a id="what-is-snaplogic"></a>What is SnapLogic?</strong></span></h2>
<p><span style="font-weight: 400;">With the help of the cloud-based integration platform SnapLogic, businesses can quickly link various apps and systems. It provides an easy-to-use interface and pre-built connectors known as "snaps" for rapid integration. Users can design intricate workflows and integrations using advanced features like data transformation and mapping. <span style="color: #236fa1;"><a style="color: #236fa1;" title="SnapLogic Tutorial" href="https://tekslate.com/snaplogic-tutorial" target="_blank">SnapLogic</a></span> delivers analytics and monitoring solutions for integration performance and data quality and is made for businesses of all sizes.</span></p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="uses-snaplogic"></a>Uses of SnapLogic</strong></span></h3>
<ul>
<li><span style="font-weight: 400;">Whether they are on-premises or in the cloud, enterprises can connect various systems and applications inside their IT architecture using SnapLogic.</span></li>
<li><span style="font-weight: 400;">SnapLogic makes it simple to manage and analyze data by enabling users to automate data flows between various systems and applications.</span></li>
<li><span style="font-weight: 400;">The integration process is streamlined by SnapLogic, which accelerates and increases its agility. This makes it possible for enterprises to react swiftly to shifting commercial needs.</span></li>
<li><span style="font-weight: 400;">By eliminating the requirement for on-premise hardware and software as well as lowering development and maintenance costs, SnapLogic's cloud-based integration platform lowers IT costs.</span></li>
<li><span style="font-weight: 400;">Data validation, data transformation, and data mapping are some of the tools that SnapLogic offers to guarantee data accuracy. This guarantees that data is accurate and consistent across various systems and applications.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SnapLogic? Enrol in Instructor-Led live&nbsp;<span style="color: #236fa1;"><a style="color: #236fa1;" title="SnapLogic Training" href="https://tekslate.com/snaplogic-training" target="_blank"><strong>SnapLogic Training</strong></a></span>&nbsp;to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="snaplogic-architecture"></a>SnapLogic Architecture</strong></span></h3>
<p><span style="font-weight: 400;">The architecture of SnapLogic is cloud-based, distributed, and flexible in nature. There are three key parts to the platform:</span></p>
<p><em><strong>Snaplex: </strong></em></p>
<p><span style="font-weight: 400;">The data processing powerhouse of the SnapLogic platform is Snaplex. Data pipelines can be processed in parallel in this distributed execution environment. Snaplex can be set up on-premises, in the cloud, or in a hybrid environment.</span></p>
<p><em><strong>Designer: </strong></em></p>
<p><span style="font-weight: 400;">The Designer is SnapLogic's visual user interface for designing and constructing integration pipelines. It offers a drag-and-drop user interface for including and setting various components, like snaps, to build a pipeline.</span></p>
<p><em><strong>Manager: </strong></em></p>
<p><span style="font-weight: 400;">The administrative user interface for the SnapLogic platform is called the Manager. Users may manage and keep track of integration pipelines, restrict who has access to the platform, and define security parameters.</span></p>
<h3><span style="font-size: 22px; color: #e67e23;"><strong><a id="pros-cons-snaplogic"></a>Pros and Cons of SnapLogic</strong></span></h3>
<p><em><strong>Pros</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Because SnapLogic is a cloud-based platform, there is no longer a need for on-premise gear and software, which lowers IT expenses.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">SnapLogic offers a number of pre-built connectors, or "snaps," that enable users to quickly connect to various systems and applications.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The microservices-based architecture used by SnapLogic enables simple scaling and flexibility in response to shifting business requirements.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">SnapLogic makes it possible to integrate data in real time, offering accurate and current information across many systems and applications.</span></li>
</ul>
<p><em><strong>Cons</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Comparatively speaking, SnapLogic has a smaller user base than other integration platforms, which can make it challenging to solve complex integration problems.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">When compared to alternative integration platforms, SnapLogic might be pricey, making it unaffordable for small businesses with tight budgets.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">When opposed to methods that rely on code, the visual interface of SnapLogic may make it more difficult to customize integration pipelines.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Since SnapLogic is largely a cloud-based platform, its ability to integrate with on-premise systems may be constrained.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">When compared to other integration systems, SnapLogic's analytics features are somewhat limited.</span></li>
</ul>
<p>&nbsp;</p>
<h2><span style="color: #e67e23; font-size: 24px;"><strong><a id="what-is-mulesoft"></a>What is MuleSoft?</strong></span></h2>
<p><span style="font-weight: 400;">A platform for integration called <span style="color: #236fa1;"><a style="color: #236fa1;" title="MuleSoft Training" href="https://tekslate.com/mule-esb-training" target="_blank">MuleSoft</a></span> enables companies to link various apps and data sources. The platform's goal is to make data flow automation and integration across various on-premises and cloud-based systems simple and automatic. Organizations can easily and rapidly create and maintain integrations with the aid of a variety of tools and pre-built connectors from MuleSoft. Advanced functions like data mapping, transformation, and validation are also offered by the platform to guarantee data correctness and consistency amongst various systems. Organizations of various sizes rely on the well-known integration platform MuleSoft to make their integration requirements simple.</span></p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="uses-mulesoft"></a>Uses of MuleSoft</strong></span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Organizations can link many systems and apps with MuleSoft, both locally and in the cloud.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It gives consumers the ability to automate data flow between many systems and apps, minimizing errors and manual labour.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It offers pre-built connectors and an intuitive user interface to streamline the integration process. As a result, businesses can create and maintain integrations fast and easily.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">MuleSoft makes integration quicker and more agile, allowing businesses to react swiftly to shifting business needs.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Data mapping, transformation, and validation technologies from MuleSoft help to ensure data correctness and consistency between various systems and applications.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Real-time data integration is made possible by MuleSoft, which provides accurate and current information across many systems and applications.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To assess the effectiveness of integrations and guarantee data quality, MuleSoft offers sophisticated analytics and monitoring capabilities.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="pros-cons-mulesoft"></a>Pros and Cons of MuleSoft</strong></span></h3>
<p><em><strong>Pros</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">MuleSoft is a strong and dependable integration platform that can manage challenging integration issues and large-volume data flows.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It offers thorough integration features that cover data mapping, <span style="color: #236fa1;"><a style="color: #236fa1;" title="API Testing Training" href="https://tekslate.com/api-testing-training" target="_blank">API</a></span> administration, on-premise and cloud integration support, and more.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Finding assistance and resources for resolving integration problems is simple because of MuleSoft's sizable and vibrant community.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Because of MuleSoft's scalable architecture, businesses can easily add capacity as their integration requirements increase.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">MuleSoft makes it possible to integrate data in real time, delivering accurate and current information across many systems and applications.</span></li>
</ul>
<p><em><strong>Cons</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">For novice users, understanding MuleSoft might be challenging due to its complexity. Additional training and materials could be needed for this.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Particularly for small and medium-sized businesses with tight budgets, MuleSoft might be pricey.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">MuleSoft is a powerful platform that may use a lot of computer hardware and software to function.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">In comparison to coding-based methods, MuleSoft's visual interface could make it more difficult to customize integration pipelines.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">In comparison to other integration platforms, MuleSoft's analytics features are somewhat simple.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 58px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Checkout Our Latest Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="MuleSoft Tutorial" href="https://tekslate.com/mule-esb-tutorials" target="_blank"><strong>MuleSoft Tutorial</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 22px; color: #e67e23;"><strong><a id="which-tool-best"></a>Which Integration Tool is Best</strong></span></h3>
<p><span style="font-weight: 400;">The ideal integration tool to choose will rely on the unique demands and specifications of each firm. There are numerous integration tools on the market, each with unique advantages and disadvantages. However, when assessing integration technologies, keep the following in mind:</span></p>
<p><span style="font-weight: 400;"><em><strong>1. Usability: </strong></em></span></p>
<p><span style="font-weight: 400;">The integration tool should be simple to use and have an intuitive interface that makes it possible to create integration workflows quickly and easily.</span></p>
<p><em><strong>2. Scalability: </strong></em></p>
<p><span style="font-weight: 400;">As the organization expands, the integration tool should be able to handle rising data and integration flow volumes.</span></p>
<p><em><strong>3. Customization: </strong></em></p>
<p><span style="font-weight: 400;">The integration tool must be adaptable in order to meet the unique requirements of the organization.</span></p>
<p><em><strong>4. Security: </strong></em></p>
<p><span style="font-weight: 400;">To protect the confidentiality, integrity, and availability of data, the integration tool should have strong security features.</span></p>
<p><em><strong>5. Cost: </strong></em></p>
<p><span style="font-weight: 400;">The integration solution should be affordable for the organization while still offering all required features and capabilities.</span></p>
<p><em><strong>6. Support and community: </strong></em></p>
<p><span style="font-weight: 400;">The integration tool should include a robust support system and a vibrant community to offer advice and resources as needed.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Do check out our Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="MuleSoft Interview Questions" href="https://tekslate.com/mule-esb-interview-questions" target="_blank"><strong>MuleSoft Interview Questions</strong></a></span> to crack your MuleSoft Interview.</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="comparison"></a>Comparison of SnapLogic vs MuleSoft: Features, pricing, and Deployment</strong></span></h3>
<p><span style="font-weight: 400;">Two well-known platforms for integration, SnapLogic and MuleSoft, offer strong capabilities for establishing connections and automating data flow between various systems and applications. Features, cost, and deployment choices are just a few things to compare when contrasting SnapLogic versus MuleSoft. Few things to remember when comparing both platforms:</span></p>
<h4><span style="font-size: 16px;"><em><strong>Features: </strong></em></span></h4>
<p><span style="font-weight: 400;">SnapLogic and MuleSoft both provide thorough integration capabilities, including assistance with on-premise and cloud-based integrations, API administration, data mapping, and real-time integration. SnapLogic, on the other hand, offers a greater number of pre-built connectors while MuleSoft offers more sophisticated analytics and monitoring solutions.</span></p>
<h4><span style="font-size: 16px;"><em><strong>Pricing: </strong></em></span></h4>
<p><span style="font-weight: 400;">As opposed to MuleSoft, whose cost is determined by the number of cores and deployment options, SnapLogic bases its pricing on the users, connectors, and data volumes. MuleSoft might be a better fit for bigger, enterprise-level implementations, while SnapLogic might be more affordable for smaller businesses.</span></p>
<h4><span style="font-size: 16px;"><em><strong>Deployment: </strong></em></span></h4>
<p><span style="font-weight: 400;">While MuleSoft can be installed on-premises or in the cloud, SnapLogic is an integration platform that is located on the cloud. Because of this, MuleSoft is a superior choice for businesses with particular deployment needs or security issues.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="choosing-between"></a>Choosing Between Snaplogic and Mulesoft for the Best Fit</strong></span></h3>
<p><span style="font-weight: 400;">It can be challenging to decide between SnapLogic and MuleSoft because both platforms provide strong integration features. It is critical to assess each platform in light of the organization's unique integration needs, budget, and deployment constraints in order to determine which one is the best fit. Some points that will help you choose between the both</span></p>
<p><em><strong>1. Integration Needs: </strong></em></p>
<p><span style="font-weight: 400;">The company should assess its integration needs, taking into account the different systems and applications that need to be linked, the amount of data being processed, and the degree of automation and real-time integration that is wanted.</span></p>
<p><em><strong>2. Budget: </strong></em></p>
<p><span style="font-weight: 400;">The company needs to decide which platform delivers the most value for its money after comparing the price structures of SnapLogic and MuleSoft.</span></p>
<p><em><strong>3. Deployment Requirements: </strong></em></p>
<p><span style="font-weight: 400;">Consider the deployment requirements, including security and compliance levels, to decide whether on-premises or cloud deployment is more suitable.</span></p>
<p><em><strong>4. Usefulness: </strong></em></p>
<p><span style="font-weight: 400;">Evaluate the usability and user interfaces of both systems to determine which one is the most practical and user-friendly for the <span style="color: #236fa1;"><a style="color: #236fa1;" title="Business Analyst Training" href="https://tekslate.com/business-analyst-training" target="_blank">business</a></span>.</span></p>
<p><em><strong>5. Support and Community: </strong></em></p>
<p><span style="font-weight: 400;">Take into account the level of support and resources available, such as customer service, documentation, and online discussion forums, when selecting an integration platform.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 22px;">Summarizing SnapLogic vs MuleSoft</span></strong></h3>
<p><span style="font-weight: 400;">Two well-known integration platforms, SnapLogic and MuleSoft, allow businesses to link and automate data flows between various systems and applications.</span></p>
<p><span style="font-weight: 400;">SnapLogic is a cloud-based integration platform that makes it simple for users to develop and deploy integrations by providing pre-built connectors and a drag-and-drop interface. SnapLogic is a cost-effective choice for smaller enterprises because its pricing is based on the quantity of users, connectors, and data quantities.</span></p>
<p><span style="font-weight: 400;">On the other side, MuleSoft provides more sophisticated analytics and monitoring capabilities, as well as the choice of on-premise or cloud deployment. MuleSoft is more appropriate for bigger, enterprise-level deployments because its pricing is based on the amount of cores and deployment options.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="factors-to-consider"></a>Factors to Consider in Choosing an Integration Platform</strong></span></h3>
<p><span style="font-weight: 400;">Choosing the ideal integration platform can be a significant decision for any company. Keep the following crucial considerations in mind while selecting an <span style="color: #236fa1;"><a style="color: #236fa1;" title="Workday Integration Training" href="https://tekslate.com/workday-integration-training" target="_blank">integration</a></span> platform:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It's crucial to consider the need for integration, including the systems and applications that must be combined as well as the auxiliary data formats and protocols.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is important to assess scalability to make sure the integration platform can adapt to the needs of expanding companies.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Intuitive user interfaces and drag-and-drop capability for quicker deployment without requiring specific technical expertise are key.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It's crucial to ensure flexibility to support various deployment models, including on-premises and in the cloud, as well as interaction with a variety of systems and applications.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Secure data transmission, encryption, and access controls should all be evaluated in order to protect sensitive data</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support, which includes in-depth documentation, educational materials, and customer service, is essential.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Budget constraints for the company should be taken into consideration when choosing an integration platform, as should the platform's value.</span></li>
</ul>
<p>&nbsp;</p>
<p><span style="color: #e67e23; font-size: 22px;"><strong><a id="faqs"></a>Snaplogic vs Mulesoft&nbsp;</strong><strong>FAQs</strong></span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q1) What is the difference between SnapLogic and MuleSoft?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> SnapLogic is a cloud-based integration platform that makes it simple for users to develop and deploy integrations by providing pre-built connectors and a drag-and-drop user interface. On the other side, MuleSoft provides more sophisticated analytics and monitoring capabilities, as well as the option for on-premise or cloud deployment.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q2) What are the advantages of SnapLogic and MuleSoft?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>SnapLogic benefits include simplicity of use, built-in connectors, and a variable price structure based on the number of users, connectors, and data quantities. A broader user and developer community, support for on-premise and cloud deployment, and cutting-edge analytics and monitoring tools are just a few benefits of MuleSoft.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q3) What are the use cases of SnapLogic and MuleSoft?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Both SnapLogic and MuleSoft are employed to link and automate data flows between various programs and systems. Syncing cloud-based and on-premises apps, linking cloud-based and on-premises applications, and automating data migration and data warehousing are a few examples of popular use cases.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q4) How do SnapLogic and MuleSoft compare in terms of pricing?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Because SnapLogic's pricing is determined by the quantity of users, connectors, and data quantities, it is an affordable choice for smaller businesses. Because MuleSoft's pricing is based on the amount of cores and deployment options, it is more suitable for bigger, enterprise-level deployments.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q5) Can SnapLogic and MuleSoft be integrated together?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Using unique connections and APIs, SnapLogic and MuleSoft can be combined. Organizations may then be able to build more intricate integration workflows by utilizing the advantages of both platforms.</span></p>
<p>&nbsp;</p>
<p><strong><span style="color: #e67e23; font-size: 22px;"><a id="conclusion"></a>Conclusion</span></strong></p>
<p><span style="font-weight: 400;">The choice between SnapLogic and MuleSoft will be based on the specific needs of a firm, including the complexity of the integration, the systems and applications that must be combined, the required scalability, ease of use, flexibility, <span style="color: #236fa1;"><a style="color: #236fa1;" title="Cyber Security Training" href="https://tekslate.com/cyber-security-training" target="_blank">security</a></span>, support, and cost. It's critical to weigh these considerations while comparing the two platforms to decide which one best suits the organization's requirements and financial constraints.</span></p>11:Tc3ec,<p><span style="font-weight: 400;">UML (Unified Modeling Language) is gaining popularity in the design and visualisation fields. This field has a lot to offer potential job seekers and those interested in software engineering and visualisation. Here are the </span><strong>best UML interview questions</strong><span style="font-weight: 400;"> that have the most accurate responses that will aid you in understanding the subject. These questions will provide you with detailed instructions on how to obtain a modelling language framework in the field of software engineering.</span></p>
<p><span style="font-weight: 400;">We've compiled a list of the </span><strong>Top 20 UML Interview Questions And Answers </strong><span style="font-weight: 400;">that will help you prepare for your interview. UML is a strategy for creating visualizations of software-intensive systems and their components that contain a complete set of graphical notations.</span></p>
<p><span style="font-weight: 400;">we have categorized these interview questions into 2 sections:</span></p>
<ul>
<li><a href="#uml-interview-questions"><strong><span style="color: #236fa1;">UML Interview Questions</span></strong></a></li>
<li><a href="#class-diagram-interview-questions"><strong><span style="color: #236fa1;">Class Diagram Interview Questions</span><br /></strong></a></li>
</ul>
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 53.4486px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.5056%; height: 53.4486px; text-align: center;">
<h3><span style="font-size: 18px;"><strong>Most frequently asked UML Interview Questions</strong></span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.5056%; height: 176.028px;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uml-goal">What is the goal of UML?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#conceptual-modeling">Does UML Explain Conceptual Modeling?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#oo-analysis-and-design">What Does OO Analysis and Design?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#building-blocks">What are the building blocks of UML?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uml-diagrams">Why should you use UML diagrams?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#behavioral-diagrams">Explain various Behavioral Diagrams in UML?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#aggregation-and-composition">Explain the differences between Aggregation and Composition?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uml-diagrams">Explain about Generalization Uml diagrams and its types?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#association-aggregation-composition">Differentiate Association, Aggregation, and Composition?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="uml-interview-questions"></a>UML Interview Questions and Answers</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q1) What is UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">UML (Unified Modelling Language) is a defined, general-purpose visual process model used in the field of software engineering. It is used to specify, visualise, build, and describe the primary components of a software system. It aids in the design and characterization of software systems, particularly those that embrace the principle of object orientation. It describes how both hardware and software systems work.</span></p>
<p><span style="font-weight: 400;">The Object Management Group (OMG) is a collaboration of companies that oversees the open standard UML. The OMG was founded to create an open specification that primarily facilitates object-oriented system interoperability. It is not limited to software systems, but it may also be used to simulate non-software systems. The OMG is most well-known for developing the Common Object Request Broker Architecture (CORBA) specifications.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="uml-goal"></a>Q2) What is the goal of UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">A picture is worth a thousand words, and this proverb perfectly describes UML. Object-oriented principles predate UML for a long time. There were no conventional procedures in place at the time to organise and integrate object-oriented development. UML entered the picture at that point.</span></p>
<p><span style="font-weight: 400;">There are several purposes for designing UML, the most significant of which is to create some multi-purpose <span style="color: #236fa1;"><a style="color: #236fa1;" title="Data Modeling" href="https://tekslate.com/data-modeling-tutorials" target="_blank">modeling</a></span> language that all simulations can use and that is also simple to grasp and apply.</span></p>
<p><span style="font-weight: 400;">UML diagrams are created not only for developers, but also for enterprise users, laypeople, and anybody else who comprehends the system. The system might be either software or non-software. As a result, it should be apparent that UML is not a software development methodology, but rather a process that is used to create a successful system.</span></p>
<p><span style="font-weight: 400;">To summarise, the purpose of UML is to provide a straightforward modeling technique for modeling all potential practical systems in today's complicated environment.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) What are the characteristics of UML?</strong></span></h3>
<p><strong>Ans: </strong><strong>The UML has the essential specifications:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is a modeling language that has been generalised.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It differs from other languages such as C, Python, and others.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It has a connection to object-oriented design and analysis.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is used to analyze the system's workflow.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is a graphical language for creating strong modeling objects.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 68.514px;" border="1px" cellpadding="10">
<tbody>
<tr style="background-color: #ecf0f1; border-color: #ced4d9; border-style: solid; height: 68.514px;">
<td style="width: 98.4573%; height: 68.514px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Data Modeling? Enroll in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="Data Modeling Training" href="https://tekslate.com/data-modeling-training" target="_blank"><strong>Data Modeling Training</strong></a></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="conceptual-modeling"></a>Q4) Does UML Explain Conceptual Modeling?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">To comprehend the UML conceptual model, we must first define what a conceptual model is and why a conceptual model is needed?</span></p>
<p><span style="font-weight: 400;">A conceptual model is a model that is built up of concepts and their interactions.</span></p>
<p><span style="font-weight: 400;">The first phase before creating a UML diagram is to create a conceptual model. It aids in comprehending the elements in the real world and how they communicate with one another.</span></p>
<p><span style="font-weight: 400;">Because UML covers real-time systems, it is critical to first create a conceptual model and then continue gradually. The UML conceptual model can be acquired by knowing the three primary aspects listed below:&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">UML building blocks</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Rules to connect the building blocks</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Common mechanisms of UML</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) Can you explain the object-oriented concepts in UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">UML can be thought of as the inheritance of object-oriented (OO) analysis and design.</span></p>
<p><span style="font-weight: 400;">An object contains data as well as methods for controlling the data. The data contains the object's current status. A class describes an object, and they build a hierarchy to represent the real-world system. The organization is represented by inheritance, and the classes can be related in various ways depending on the situation.</span></p>
<p><span style="font-weight: 400;">Objects are real-world items that exist around us, and UML may be used to express basic principles such as inheritance, encapsulation, abstraction, and <span style="color: #236fa1;"><a style="color: #236fa1;" title="Polymorphism in Java" href="https://www.geeksforgeeks.org/polymorphism-in-java/" target="_blank" rel="nofollow">polymorphism</a></span>.</span></p>
<p><span style="font-weight: 400;">UML is capable of representing all of the concepts used in object-oriented analysis and design. UML diagrams solely represent object-oriented notions. As a result, before understanding UML, it is critical to thoroughly comprehend the OO idea.</span></p>
<p><span style="font-weight: 400;">The following are some basic concepts of the object-oriented world:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1">Objects are the essential building blocks that represent an entity.</li>
<li style="font-weight: 400;" aria-level="1">A class is an object's blueprint.</li>
<li style="font-weight: 400;" aria-level="1">Abstraction is a representation of the functioning of a real-world thing.</li>
<li style="font-weight: 400;" aria-level="1">Encapsulation is the technique that connects data and hides it from the outside world.</li>
<li style="font-weight: 400;" aria-level="1">Inheritance is the process of creating new classes from existing ones.</li>
<li style="font-weight: 400;" aria-level="1">Polymorphism is the ability of a mechanism to exist in several forms.</li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="oo-analysis-and-design"></a>Q6) What Does OO Analysis and Design?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">OO can be characterised as an investigation, more specifically an investigation of objects. Collaboration of identified items is what design entails.</span></p>
<p><span style="font-weight: 400;">As a result, it is critical to comprehend the ideas of OO analysis and design. The primary goal of OO analysis is to identify the objects of a system to be created. An existing system is also subjected to this study. Now, accurate analysis is only feasible if we can begin to conceptualise in terms of objects that can be identified. After defining the objects, their links are determined, and the design is completed.</span></p>
<p><strong>The goal of OO analysis and design is as follows:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Identifying a system's objects.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Identifying their connections.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Creating a design that can be translated into executables utilizing OO languages.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q7) Tell us how many steps are required to implement the OO concept in UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">The OO methods are applied and implemented in the following three main processes. The steps are as follows:</span></p>
<p><span style="font-weight: 400;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><strong>Analysis-&gt; Design-&gt; Implementation</strong></p>
<p>1) <span style="font-weight: 400;">The primary goal of OO analysis is to assess objects and properly characterise them. If these things are efficiently identified, the next design task will be simple. Responsibility should be assigned to the objects. The activities undertaken by the object are referred to as its responsibilities. Every object has a set of duties that must be met.&nbsp;</span></p>
<p><span style="font-weight: 400;">When these obligations are shared, the system's goal is achieved.</span></p>
<p><span style="font-weight: 400;">1) </span><span style="font-weight: 400;">The next stage is OO design. The emphasis throughout this phase is on the objectives and their fulfilment. Things are collaborated on in this stage according to their desired relationship. When the association is finished, the design is finished as well.</span></p>
<p>2)<strong> </strong><span style="font-weight: 400;">OO implementation is the third phase. OO programming languages such as C++, Java, and other languages are used to implement the design during this phase.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="building-blocks"></a>Q8) What are the building blocks of UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">There are three primary UMl building blocks. Building blocks form one complete UML model diagram by spinning around several distinct blocks. It is essential when developing UML diagrams. The fundamental UML building blocks are as follows:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Things</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Relationship</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Diagrams</span></li>
</ul>
<p><em><strong>1. Things:</strong></em><span style="font-weight: 400;"> </span></p>
<p><span style="font-weight: 400;">Things are defined as any real-world object or item. It can be classified into numerous categories:&nbsp;</span></p>
<p>i) Structural Things:<span style="font-weight: 400;"> The nouns used in UML models. These represent intellectual or physical aspects. Structures are classified into seven types: Class, Collaboration, Component, Use Case, Interface, Active Class, and Node.</span></p>
<p>ii) Behavioural Things:<span style="font-weight: 400;"> Elements of UML models that are dynamic. Verbs that define behaviour between space and time. State and interaction machines are the two types of behavioural things.</span></p>
<p>iii) Grouping Things:<span style="font-weight: 400;"> UML organizational components. These are compartments into which systems can be broken down. The package is the sole type of grouping thing.&nbsp;</span></p>
<p>iv) Annotation Things:<span style="font-weight: 400;"> UML explanatory elements Any object of a model can be described, illuminated, and noted using this term. The note is the only type of annotation object.&nbsp;</span></p>
<p><em><strong>2. Relationships:</strong></em><span style="font-weight: 400;"> </span></p>
<p><span style="font-weight: 400;">It depicts the meaningful relationships between things. It describes the relation between things and specifies an application's functionality. The four sorts of relationships are as follows:&nbsp;</span></p>
<p>i) Dependency:<span style="font-weight: 400;"> A translational relationship in which a transition in one item (the isolated thing) can make a meaningful difference in another thing (the dependent thing).&nbsp;</span></p>
<p>ii) Association:<span style="font-weight: 400;"> A hierarchical relationship describing the relationships between objects. Labels indicating the size and function of the links may also be provided. In the following example, there may be any number of workers (*), each with 0 or 1 employer.&nbsp;</span></p>
<p>iii) Generalization:<span style="font-weight: 400;"> Relationship between specialization and generalization. Simply put, this describes a parent class's (generalizations) connection to its subclass (specialisations).&nbsp;</span></p>
<p>iv) Realization:<span style="font-weight: 400;"> Relationship between specialization and generalization. Simply put, this describes a parent class's (generalizations) connection to its subclass (specializations).&nbsp;</span></p>
<p><em><strong>3. Diagrams:&nbsp;</strong></em></p>
<p>i) Class Diagram: <span style="font-weight: 400;">A collection of interfaces, classes, and collaborations, as well as their relationships. Most commonly encountered when designing Object-Oriented systems.</span></p>
<p>ii) Object Diagram: <span style="font-weight: 400;">A collection of objects and their relations. Static instances of elements present in class diagrams are represented.</span></p>
<p>iii) Use Case Diagram: <span style="font-weight: 400;">A collection of actors and use cases.</span></p>
<p>iv) Sequence Diagram: <span style="font-weight: 400;">An interactive graphic (a collection of entities, relations, and messages that may be traded) highlighting message time-ordering.</span></p>
<p>v) Collaboration Diagram: <span style="font-weight: 400;">An interaction diagram illustrates the hierarchical structure of messages sending and receiving items.</span></p>
<p>vi) StateChart Diagram: <span style="font-weight: 400;">The state machine with events, transitions, activities, and states,&nbsp; is displayed.</span></p>
<p>vii) Activity Diagram: <span style="font-weight: 400;">A form of statechart diagram that depicts the flow of activities within a network.</span></p>
<p>viii) Component Diagram: <span style="font-weight: 400;">Displays the structure and relationships of a group of components.</span></p>
<p>ix) Deployment Diagram: <span style="font-weight: 400;">This diagram depicts the settings of run-time processing elements and the components that comprise them.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="class-diagram-interview-questions"></a>Class Diagram Interview Questions</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q9) Give a detailed explanation about UML Architecture?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">Software architecture is associated with the highest level of development of a software system. It is necessary to consider big from several angles while keeping design and quality in consideration. The software team is involved in a variety of practical challenges, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The development team's organizational structure.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The requirements of the organization.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cycle of development</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The structure's intended purpose.</span></li>
</ul>
<p><span style="font-weight: 400;">The basic design of a comprehensive software system is provided by software architecture. It defines the system's elements, the purposes each element serves, and how each element interacts with the others. In a nutshell, it is a large picture or overall framework of the entire system, describing how everything functions together.&nbsp;</span></p>
<p><span style="font-weight: 400;">A well-developed architecture using techniques like segregation of concerns can help to attain quality in software; the system will become easier to build, reuse, and modify. People who use software architecture include software developers, project managers, clients, and end-users. Each will have a unique viewpoint on the infrastructure and will bring distinct objectives to the endeavour. It also provides a selection of various viewpoints. It is best described as a compilation of five perspectives:</span></p>
<p><em><strong>1. Use Case/Scenario View:&nbsp;</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is a perspective that depicts the system's functionality as experienced by external players.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It reveals the system's requirements.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The static aspects of this approach are easily documented in use case diagrams with UML, while the dynamic aspects are represented in interaction diagrams, activity diagrams and status chart diagrams.</span></li>
</ul>
<p><em><strong>2. Design/Logical View:&nbsp;</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is a view that demonstrates how the system's functionality is developed in terms of dynamic behavior and static structure.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It captures the problem and solution space terminology.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The static aspects of this approach are represented in class and object diagrams in UML, while the dynamic aspects are recorded in activity diagrams, status chart diagrams, and interaction diagrams.</span></li>
</ul>
<p><em><strong>3. Implementation/Development View:&nbsp;</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The view is the representation of the arrangement of the key components and files.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is largely concerned with the continuous integration of system releases.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">UML expresses its static aspects in component diagrams, and its dynamic aspects in activity diagrams, status chart diagrams, and interaction diagrams.</span></li>
</ul>
<p><em><strong>4. Process View:&nbsp;</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is the view that displays the system's concurrency.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It includes threads and processes that create concurrent and synchronized mechanisms.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It focuses on the system's stability, efficiency, and performance.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It expresses static and dynamic aspects in the same way as the design view, but focuses much more on active classes that describe these processes and threads.</span></li>
</ul>
<p><em><strong>5. Depolyment/Physcial Views:&nbsp;</strong></em></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is the view that depicts the system's physical architectural deployment.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It consists of the nodes that make up the system hardware structure and are where the program will be run.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It largely handles the transmission, delivery, and deployment of the physical system's components.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10) Explain about UML Diagrams and various types of Diagrams?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">The Unified Modeling Language (UML) is a technique for visually representing the structure, development, and deployment of complex applications. There are hundreds of lines of code in an application while you're writing code, and it's difficult to keep track of the links and hierarchical structures within a software system. The software system is divided into elements and sub-elements using UML diagrams.</span></p>
<p><span style="font-weight: 400;">The diagrams are categorised into hierarchical structures in the graphic below. UML diagrams are divided into three types as shown in the below:&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Behavioural diagrams</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Interaction overview diagrams</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Structural diagrams</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="using-uml-diagrams"></a>Q11) Why should you use UML diagrams?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">Because UML is a standard modeling language that can be utilized across many development methods and programming languages, the vast majority of software engineers will understand and be able to implement it in their work.</span></p>
<p><span style="font-weight: 400;">Though many engineers dislike diagrams, they serve a purpose in an Agile environment by keeping development effective and engaged. Instead of considering them "nice to have," consider UML diagrams to be essential components of documentation. UML diagrams can assist engineering teams in the following ways:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Bring in new associates or developers to swiftly bring teams up to speed.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Navigate through the source code.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Before beginning any programming, plan out new features.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Improve your ability to communicate with both technical and non-technical audiences.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q12)&nbsp; Explain various types of structural diagrams in UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">Static views or structures of a system are depicted in structural diagrams. It is extensively used in software architecture documentation. Composite structure diagrams, deployment diagrams, component diagrams, class diagrams, package diagrams, and object diagrams are all included. It provides an overview of the system. It emphasises the things that must be present to be modeled. The following are the various types of structural diagrams:&nbsp;</span></p>
<p><strong><em>1. Class Diagram:</em> </strong><span style="font-weight: 400;">Class diagrams are one of the most common types of diagrams. It is the foundation of all object-oriented software systems. It illustrates the system's static structure. It displays the class, properties, and methods of the system. It aids in recognizing the relationship between various objects and classes.</span></p>
<p><strong><em>2. Composite Diagram:</em> </strong><span style="font-weight: 400;">The composite structure diagrams depict the components of the class. It depicts the link between the components and their configuration, which determines the class's behavior. It depicts the structural properties of a structured classifier by making extensive use of connectors, ports, and parts. When compared to class diagrams, it is comparable in that it represents specific parts in a specific manner.</span></p>
<p><strong><em>3. Object Diagram:</em> </strong><span style="font-weight: 400;">It represents a system's static structure at a given point in time. It can be used to ensure that class diagrams are accurate. It depicts several occurrences of classes and their relationships over time.</span></p>
<p><strong><em>4. Component Diagram:</em> </strong><span style="font-weight: 400;">It depicts how the physical components of the system are organized. It's for simulating execution details. As it illustrates the structural links between the pieces of a software system, it assesses whether the required system requirements have been recognized by the planned development.</span></p>
<p><em><strong>5. Deployment Diagram: </strong></em><span style="font-weight: 400;">It shows the software and hardware of the system by describing the actual physical elements and the software components that are executing on them. It generates data regarding system software. When software is utilized, disseminated, or deployed across several devices with different configurations, it is integrated.</span></p>
<p><strong><em>6. Package Diagram:</em> </strong><span style="font-weight: 400;">It's used to show how the packages and their components are put together. It displays the interdependencies between several packages. It organizes UML diagrams by providing them simple to comprehend. It is used for class organization and case diagrams.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="behavioral-diagrams"></a>Q13) Explain various Behavioral Diagrams in UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">Behavioural diagrams depict a dynamic perspective of a system or its behaviour, which illustrates how the system functions. Activity diagrams, state diagrams, and use case diagrams are all included. It establishes the system's interaction.</span></p>
<p><strong><em>1. State Diagram:</em> </strong><span style="font-weight: 400;">It's a diagram of behaviour. It uses finite state transitions to depict the system's behavior. The State-charts diagram is another name for it. It simulates a class's dynamic behavior in reaction to external inputs.</span></p>
<p><strong><em>2. Activity Diagram:</em> </strong><span style="font-weight: 400;">It represents the transfer of control from one activity to the next. We can model concurrent and sequential actions using an activity diagram. It shows how the process works as well as what causes an event to happen.</span></p>
<p><strong><em>3. Use Case Diagram:</em> </strong><span style="font-weight: 400;">It uses entities and use cases to express a system's functionality. It encapsulates a system's functional requirements as well as its relationships with actors. It depicts a system's use case perspective.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q14) Explain various Interaction diagrams in UML?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">Interaction diagrams are a type of behavioral diagram that focuses on object interactions and displays the flow of information between different use cases in a system. It demonstrates how things interact with one another and how data flows within them. Sequence diagrams, time diagrams, communication, and interaction overviews are all included.</span></p>
<p><strong><em>1. Sequence Diagram:</em> </strong><span style="font-weight: 400;">It depicts the objects' interactions in terms of messages transmitted over time. It specifies how and in what order the object operates in a system.</span></p>
<p><strong><em>2. Comminucation Diagram:</em> </strong><span style="font-weight: 400;">It demonstrates how the objects exchange sequence messages. It is concerned with objects and their relationships. It depicts a system's static and dynamic behavior.</span></p>
<p><strong><em>3. Timing Diagram:</em> </strong><span style="font-weight: 400;">It's a specific type of sequence diagram that depicts an object's behavior over a period of time. It shows the time and durability limitations that govern the modifications in object and state behavior.</span></p>
<p><strong><em>4. Interaction Overview Diagram:</em> </strong><span style="font-weight: 400;">It's a hybrid of an activity and a sequence diagram that shows a series of actions to break down interrelations into simple ones.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q15) Give a detailed explanation of the Association Uml relationship?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">The semantic relation between classes that describes how one instance in a system is associated or integrated with others is known as an association. Things are conceptually or physically united. It is classified as a structural relationship because it connects the objects of one class to the objects of another class. The following are the limitations that have been put to the association relationship:</span></p>
<p><strong>{implicit}:</strong><span style="font-weight: 400;"> The implicit constraints describe a relationship that is not observable but is based on an idea, as the name suggests.</span></p>
<p><strong>{ordered}:</strong><span style="font-weight: 400;"> It explains how a group of things is arranged at one end of an association.</span></p>
<p><strong>{changeable}:</strong><span style="font-weight: 400;"> The changeable constraint implementes that connections between several items in a network are created, updated, and removed as necessary.</span></p>
<p><strong>{addOnly}:</strong><span style="font-weight: 400;"> It defines that any network node can be made from an object at the association's opposite end.</span></p>
<p><strong>{frozen}:</strong><span style="font-weight: 400;"> The frozen constraint states that once a connection is established between objects, it cannot be changed until the connection or given link is active.</span></p>
<p><span style="font-weight: 400;">The following are the two types of Uml Association relationship:</span></p>
<p><strong><em>1. Reflexive Association:</em> </strong><span style="font-weight: 400;">The relations in reflexive associations are between objects of the same class. To put it another way, both sides of the reflexive relationship belong to the same class. An instance is another term for an item.</span></p>
<p><strong><em>2. Directive Association:</em> </strong><span style="font-weight: 400;">The direction of flow within association classes is addressed by the directed association. A directed association can be used to indicate the flow of association. A line with an arrowhead that shows the navigation direction represents the directed association between the two classes. The association flow from one class to the next is always one way.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="aggregation-and-composition"></a>Q16) Explain the differences between Aggregation and Composition?</strong></span></h3>
<p><strong>Ans:</strong></p>
<table style="border-collapse: collapse; width: 100.012%; height: 255.094px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 44.4393px;">
<td style="width: 11.4021%; height: 44.4393px;">
<p><strong>Features</strong></p>
</td>
<td style="width: 50.5969%; height: 44.4393px;">
<p><strong>Aggregation</strong></p>
</td>
<td style="width: 38.0546%; height: 44.4393px;">
<p><strong>Composition</strong></p>
</td>
</tr>
<tr style="height: 77.3364px;">
<td style="width: 11.4021%; height: 77.3364px;">
<p><strong>Dependency</strong></p>
</td>
<td style="width: 50.5969%; height: 77.3364px;">
<p><span style="font-weight: 400;">A child can exist independently of a parent in an aggregation relationship.</span></p>
</td>
<td style="width: 38.0546%; height: 77.3364px;">
<p><span style="font-weight: 400;">The child in a composition relation cannot exist without the parent.</span></p>
<br /><br /></td>
</tr>
<tr style="height: 44.4393px;">
<td style="width: 11.4021%; height: 44.4393px;">
<p><strong>Type of Relationship</strong></p>
</td>
<td style="width: 50.5969%; height: 44.4393px;">
<p><span style="font-weight: 400;">It's termed as a Has-a connection.</span></p>
</td>
<td style="width: 38.0546%; height: 44.4393px;">
<p><span style="font-weight: 400;">It's termed as a part-of connection.</span></p>
</td>
</tr>
<tr style="height: 44.4393px;">
<td style="width: 11.4021%; height: 44.4393px;">
<p><strong>Type of Association</strong></p>
</td>
<td style="width: 50.5969%; height: 44.4393px;">
<p><span style="font-weight: 400;">It develops a weak connection.</span></p>
</td>
<td style="width: 38.0546%; height: 44.4393px;">
<p><span style="font-weight: 400;">It develops a strong connection.</span></p>
</td>
</tr>
<tr style="height: 44.4393px;">
<td style="width: 11.4021%; height: 44.4393px;">
<p><strong>Instances</strong></p>
</td>
<td style="width: 50.5969%; height: 44.4393px;">
<p><span style="font-weight: 400;">When a doctor is transferred to some other hospital, the patients do not follow the doctor to their new location.</span></p>
</td>
<td style="width: 38.0546%; height: 44.4393px;">
<p><span style="font-weight: 400;">The wards of a hospital. The wards will be demolished if the hospital is destroyed.</span></p>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q17) Give an explanation about various types of Dependency Uml Relationship?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">Dependency displays the interdependence of several elements inside a system. A dependency relationship in UML is one in which a user (one element) is reliant on the vendor (another entity). It implies that a change to the provider necessitates a change to the customer in component diagrams, class diagrams, use-case diagrams, and deployment diagrams. The following is an example:</span></p>
<p><strong>&lt;derive&gt;&gt;:&nbsp; </strong><span style="font-weight: 400;">It's a condition that says the source can use the specified parameters to initialise the template at the target location.</span></p>
<p><strong>&lt;&lt;friend&gt;&gt;: </strong><span style="font-weight: 400;">It specifies the source's uniqueness in the particular object.</span></p>
<p><strong>&lt;&lt;instanceOf&gt;&gt;: </strong><span style="font-weight: 400;">It specifies that the source entity is a sample of an intended classifier.</span></p>
<p><strong>&lt;&lt;instantiate&gt;&gt;: </strong><span style="font-weight: 400;">It specifies the source entity's capacity to create instances of a particular object.</span></p>
<p><strong>&lt;&lt;refine&gt;&gt; : </strong><span style="font-weight: 400;">It claims that the reference entity has a higher level of abstraction than the particular object.</span></p>
<p><strong>&lt;&lt;use&gt;&gt;: </strong><span style="font-weight: 400;">When creating packages in UML, typical is used to indicate that elements from the reference package can also be found in the specified package. It indicates that the source package makes use of some of the destination package's parts.</span></p>
<p><strong>&lt;&lt;substitute&gt;&gt;: </strong><span style="font-weight: 400;">The user can be swapped for the provider at runtime, according to the substitute stereotype.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="uml-diagrams"></a>Q18) Explain about Generalization Uml diagrams and its types?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">A generalization relationship in UML modeling is a connection that implements the object oriented concept of inheritance. The generalization relationship is formed between two entities or objects, one of which is the parent and the other the child. The offspring inherits its parent's functionality and can access and edit it.</span></p>
<p><span style="font-weight: 400;">In use case, class, deployment, and component diagrams, the generalization relationship is used to specify that the kid inherits the parent's actions, attributes, and relationships.</span></p>
<p><span style="font-weight: 400;">The use of the same sorts of model elements in the generalization relationship is required to meet UML's requirement, i.e., The generalization relation can be applied to use cases or actor, but not to use cases and actor.</span></p>
<p><span style="font-weight: 400;">The generalization relationship is used to record operations, properties, and relationships in a parent relational model so that one or more child model elements can inherit them. The child data model class can have any number of parents, while the parent data model class can have any number of children. However, it is more common to see one parent data model class and several child data model classes. There are no names in the generalization relationship. The generalization relationship is represented by a solid line with a hollow arrowhead directing from the child data model to the parent data model.</span></p>
<p><span style="font-weight: 400;">Various types of Constraints: It's used to indicate that the child class/entity is defined by its parent class/entity, thus the child object inherits the parent's structure and behavior without breaking the rules. Single inheritance is where stereotypes are most commonly utilized.</span></p>
<p><span style="font-weight: 400;">There are two sorts of constraints in the generalization stereotype: </span><strong>complete </strong><span style="font-weight: 400;">and </span><strong>incomplete</strong><span style="font-weight: 400;"> constraints, which are used to determine whether or not all of the child&nbsp; entities/objects are engaged in the relationship.</span></p>
<p><strong>Let us consider an instance of the Uml Dependency Relationship:</strong><span style="font-weight: 400;">&nbsp;</span></p>
<p><span style="font-weight: 400;">As we all know, there are two types of bank accounts: savings accounts and credit card accounts. Both the savings and credit card accounts inherit the bank account's generalized features, such as Accnt numb, Accnt Bal, and so on.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q19) Explain Uml Realization diagrams?</strong></span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">The realization is a relation between two different objects in UML modeling, when the client (one model item) fulfills the supplier's role (another model element). The realisation connection can be used in component diagrams and class diagrams.</span></p>
<p><span style="font-weight: 400;">There are no names for the realization relationship. It's largely in the user interfaces. A dashed line with a hollow arrowhead at one end that points from the client application to the server application is used to describe it.</span></p>
<p><em><strong>1. Realization:</strong></em></p>
<p><span style="font-weight: 400;">The interface and classifier have a specialized relationship called interface realization. Realizing classifiers follow the interface's contract in an interface realization relationship.</span></p>
<p><span style="font-weight: 400;">The objects that adhere to the interface and any of its predecessors are identified by a classifier that implements the interface. One or more interfaces can be executed by a classifier. The specified interfaces are the collection of interfaces that the classifier implements. The specified interfaces are the services that the classifiers provide to their clients.</span></p>
<p><span style="font-weight: 400;">The interface realization relationship has no names, but if you give it a name, it will display next to the link in the diagram.</span></p>
<p><span style="font-weight: 400;">A dashed line with a hollow arrow, pointing from the classifier to the specified interface, represents the interface realization relationship.</span></p>
<p><em><strong>2. Types of Realization:</strong></em></p>
<p><strong>Canonical Form:</strong><span style="font-weight: 400;"> The canonical form in UML represents the system's interfaces. To create an interface, an interface archetype is used, and to realize (implement) a given interface, a realization relation is utilized. A dotted line with a hollow arrow represents the realization relationship, and an object is used to implement the interface.</span></p>
<p><span style="font-weight: 400;">The interface Iruleagent is realized by the object Account Business Rules, as shown in the picture below.</span></p>
<p><strong>Elided Form:</strong><span style="font-weight: 400;"> The lollipop notation is a type of realization connection in which the interface is denoted as a circle. An elided structure is formed when an interface is implemented using everything available in the system.</span></p>
<p><span style="font-weight: 400;">Iruleagent is represented here by an elided version, which is implemented by acctrule.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="association-aggregation-composition"></a>Q20) Differentiate Association, Aggregation, and Composition?</strong></span></h3>
<p><strong>Ans:&nbsp;</strong></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 28.2203%;">
<p><strong>Association</strong></p>
</td>
<td style="width: 32.7811%;">
<p><strong>Aggregation</strong></p>
</td>
<td style="width: 39.0523%;">
<p><strong>Composition</strong></p>
</td>
</tr>
<tr>
<td style="width: 28.2203%;">
<p><span style="font-weight: 400;">An arrow represents the association relation.</span></p>
<br /><br /></td>
<td style="width: 32.7811%;">
<p><span style="font-weight: 400;">A solid line with a blank diamond at one end represents the aggregation relationship.</span></p>
</td>
<td style="width: 39.0523%;">
<p><span style="font-weight: 400;">A solid line with a black diamond at one end represents the composition connection.</span></p>
</td>
</tr>
<tr>
<td style="width: 28.2203%;">
<p><span style="font-weight: 400;">It can occur between distinct classes in UML.</span></p>
</td>
<td style="width: 32.7811%;">
<p><span style="font-weight: 400;">It is a part of the business relationship.</span></p>
</td>
<td style="width: 39.0523%;"><br />
<p><span style="font-weight: 400;">The aggregation relationship includes it.</span></p>
</td>
</tr>
<tr>
<td style="width: 28.2203%;">
<p><span style="font-weight: 400;">It includes one-to-many, one-to-one, many-to-many, and many-to-one relationships among the classes.</span></p>
</td>
<td style="width: 32.7811%;">
<p><span style="font-weight: 400;">It demonstrates a weak relationship.</span></p>
</td>
<td style="width: 39.0523%;"><br />
<p><span style="font-weight: 400;">It demonstrates a solid relationship.</span></p>
</td>
</tr>
<tr>
<td style="width: 28.2203%;">
<p><span style="font-weight: 400;">It can have a relationship and be associated with more than two objects or items.</span></p>
</td>
<td style="width: 32.7811%;">
<p><span style="font-weight: 400;">The associated objects in an aggregation association exist independently within the system boundaries.</span></p>
</td>
<td style="width: 39.0523%;">
<p><span style="font-weight: 400;">Within the limits specified, the connected objects in a composition relationship cannot exist separately.</span></p>
</td>
</tr>
<tr>
<td style="width: 28.2203%;"><br />
<p><span style="font-weight: 400;">Objects are connected in this method.</span></p>
</td>
<td style="width: 32.7811%;"><br />
<p><span style="font-weight: 400;">The related entities in this case are independent to each other entity.</span></p>
</td>
<td style="width: 39.0523%;"><br />
<p><span style="font-weight: 400;">The associated objects are interdependent in this case.</span></p>
</td>
</tr>
<tr>
<td style="width: 28.2203%;"><br />
<p><span style="font-weight: 400;">If one element is deleted, it may or may not effect the other dependent elements.</span></p>
</td>
<td style="width: 32.7811%;">
<p><span style="font-weight: 400;">The deletion of one element in an aggregation connection has no effect on the other items in the relationship.</span></p>
</td>
<td style="width: 39.0523%;"><br />
<p><span style="font-weight: 400;">If one of its related elements is deleted, it has an effect on the other element.</span></p>
</td>
</tr>
<tr>
<td style="width: 28.2203%;">
<p><strong>Instance: </strong><span style="font-weight: 400;">A tutor might work with a group of pupils, or a single student can interact with several teachers.</span></p>
</td>
<td style="width: 32.7811%;">
<p><strong>Instance: </strong><span style="font-weight: 400;">A car requires a wheel to function properly, but not always the same wheel. It might also work with another wheel.</span></p>
</td>
<td style="width: 39.0523%;">
<p><strong>Instance:&nbsp;</strong></p>
<p><span style="font-weight: 400;">If a file is saved in a directory and then the folder is erased, the file is lost. When you delete a folder, any files contained within it will be deleted as well.</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><span style="font-size: 20px; color: #236fa1;"><strong>Conclusion:</strong><span style="font-weight: 400;"> </span></span></p>
<p><span style="font-weight: 400;">Our blog ends here. We hope our Best UML Interview Questions help you to clear your UML Developer interview. If you have any questions or suggestions, please mention them in the comment section.&nbsp;</span></p>
<p><span style="font-size: 24px; color: #236fa1;"><strong><br /><br /></strong></span></p>12:T571a,<p><span style="font-weight: 400;">A robust cloud-based business intelligence platform called SAP Analytics Cloud was created by SAP to assist businesses in learning from their data. Organizations of all sizes are progressively using it as a well-liked tool for data analysis. It's crucial to be familiar with typical </span><strong>SAP Analytics Cloud interview questions</strong><span style="font-weight: 400;"> if you're getting ready for one.</span></p>
<p><span style="font-weight: 400;">we have categorized these questions into a few sections:</span></p>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#interview-questions"><span style="font-weight: 400;"><strong>SAP Analytics Cloud Interview Questions</strong></span></a></span></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sac">SAP SAC Interview Questions and Answers</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#faqs">FAQs</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#tips">Tips</a></span></strong></li>
</ul>
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<h3 style="text-align: center;"><span style="font-size: 18px;">Most frequently asked SAP Analytics Cloud Interview Questions</span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-blending">What is data blending in SAP Analytics Cloud?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#collaboration">How can you collaborate with other team members in SAP Analytics Cloud?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-source">What is a data source in SAP Analytics Cloud?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#dimesion">What is a dimension in SAP Analytics Cloud?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#smart-predict">How can you use Smart Predict in SAP Analytics Cloud?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#connecting-sap-bw">How can you connect SAP Analytics Cloud to SAP BW/4HANA?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#smart-group">What is a smart group in SAP Analytics Cloud?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#story">What is a story in SAP Analytics Cloud?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#perform-data-modeling">How can you use SAP Analytics Cloud to perform data modeling?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#dimension-from-metric">What distinguishes a dimension from a metric in SAP Analytics Cloud?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><strong><span style="color: #236fa1; font-size: 24px;"><a id="interview-questions"></a>SAP Analytics Cloud Interview Questions and Answers</span></strong></h2>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q1) What is SAP Analytics Cloud?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>It is a cloud-based <span style="color: #236fa1;"><a style="color: #236fa1;" title="Business Intelligence Tools in Data Warehouse" href="https://tekslate.com/business-intelligence-tool-guide-data-warehouse" target="_blank">business intelligence</a></span> platform that enables enterprises to learn from their data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q2) What are the different types of data models available in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Live data models, import data models, and hybrid data models are some of the various types of data models offered by SAP Analytics Cloud.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="data-blending"></a>Q3) What is data blending in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Data blending is a process in SAP Analytics Cloud that allows you to combine data from different sources to gain insights.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) How can you create a report in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To generate insights, you can mix data from several sources using the data blending process in SAP Analytics Cloud.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="story"></a>Q5) What is a story in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You must first construct a data model, then choose the pertinent data sources, and lastly design the report using the various visualizations in SAP Analytics Cloud.</span></p>
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 50.514px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%; height: 50.514px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP Analytics Cloud? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="SAP Analytics Cloud Training" href="https://tekslate.com/sap-analytics-cloud-training" target="_blank">SAP Analytics Cloud Training</a></strong></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="collaboration"></a>Q6) How can you collaborate with other team members in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In SAP Analytics Cloud, you may cooperate with other team members by exchanging reports, inviting them to join a narrative, and utilizing the comment and discussion tools.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q7) How can you create a planning model in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You must first construct a data model in SAP Analytics Cloud before you can activate planning in the model. The model's data can then be updated using planning functions that you create.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q8) What is predictive analytics in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The </span><span style="font-weight: 400;">SAP Analytics Cloud's predictive analytics</span><span style="font-weight: 400;"> function enables you to employ <span style="color: #236fa1;"><a style="color: #236fa1;" title="Machine Learning Interview Questions" href="https://tekslate.com/machine-learning-interview-questions" target="_blank">machine learning</a></span> algorithms to forecast the future and spot trends in your data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q9) What are the different deployment options for SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cloud, on-premises, and hybrid deployments are the many SAP Analytics Cloud deployment choices.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10 How does SAP Analytics Cloud ensure data security?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Data security is protected by SAP Analytics Cloud using tools including role-based access control, data encryption both in transit and at rest, and ongoing system monitoring and auditing.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q11) What are the different visualization types available in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Tables, charts, maps, </span><span style="font-weight: 400;">geo maps</span><span style="font-weight: 400;">, and story points are just a few of the several visualization options that are offered by SAP Analytics Cloud.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="data-source"></a>Q12) What is a data source in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You can import data into SAP Analytics Cloud by connecting to an external data system, such as a database, spreadsheet, or web service, through a data source.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q13) How can you schedule a report in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The SAP Analytics Cloud's Schedule feature lets you determine the frequency, start time, and recipients of reports. This tool is useful for scheduling reports.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="dimesion"></a>Q14) What is a dimension in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In SAP Analytics Cloud, a dimension is a data attribute that gives the data context, such as time, place, or product.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="smart-predict"></a>Q15) How can you use Smart Predict in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>With the help of the SAP Analytics Cloud function Smart Predict, you can predict the future and spot trends in your data by using pre-built <span style="color: #236fa1;"><a style="color: #236fa1;" title="How Machine Learning is Transforming Content Marketing" href="https://tekslate.com/machine-learning-transforming-content-marketing" target="_blank">machine learning</a></span> models. You must first build a predictive model before using it to generate predictions in order to use Smart Predict.</span></p>
<p>&nbsp;</p>
<h2><strong><span style="color: #236fa1; font-size: 24px;"><a id="sac"></a>SAP SAC Interview Questions and Answers</span></strong></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q16) What is the difference between a live data model and an import data model in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Although an import data model just imports data into SAP Analytics Cloud for analysis, a live data model connects directly to a data source and offers real-time access to the data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q17) How can you create custom calculations in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Calculation Editor in SAP Analytics Cloud lets you write formulas using functions and operators to build unique computations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="connecting-sap-bw"></a>Q18) How can you connect SAP Analytics Cloud to SAP BW/4HANA?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You must first establish a safe connection between the two systems using the SAP Cloud Connector before setting up a live data connection to the <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP BW Tutorial" href="https://tekslate.com/sap-bw-tutorials" target="_blank">SAP BW</a></span>/4HANA system in order to connect SAP Analytics Cloud and SAP BW/4HANA.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="smart-group"></a>Q19) What is a smart group in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A smart group in SAP Analytics Cloud is a technique to group related data points based on a set of criteria, such as sales above a given level or products in a specific category.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 55.514px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 55.514px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%; text-align: center; height: 55.514px;"><em>Go through this <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="SAP Analytics Cloud Tutorial" href="https://tekslate.com/sap-analytics-cloud-tutorial" target="_blank">SAP Analytics Cloud Tutorial</a></strong></span> to learn Analytics Cloud end to end!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q20) How can you use SAP Analytics Cloud for financial planning and analysis?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You may develop planning models, conduct what-if analyses, and generate financial reports using the financial planning and analysis module of SAP Analytics Cloud.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q21) How can you use SAP Analytics Cloud for predictive maintenance?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>By examining sensor data from machines and applying machine learning algorithms to detect probable problems, SAP Analytics Cloud can be utilized for predictive maintenance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q22) How can you integrate SAP Analytics Cloud with other SAP systems?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Using connectors and APIs like the </span><span style="font-weight: 400;">SAP Cloud Platform Integration service</span><span style="font-weight: 400;">, SAP Analytics Cloud can be linked with other SAP systems.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q23) What is the difference between a private story and a public story in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A public story in SAP Analytics Cloud can be seen by anybody with access to the system, but a private story can only be viewed by the owner and the people who have permission to view it.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q24) How can you use SAP Analytics Cloud for supply chain management?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>By evaluating data from numerous sources, including sales orders, inventory levels, and shipping data, SAP Analytics Cloud may be utilized for supply chain management by spotting trends and potential problems.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q25) How can you create custom visualizations in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You can use the SDK (Software Development Kit) to develop your own custom widgets and incorporate them into your reports and stories to generate unique visualizations in SAP Analytics Cloud.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q26) can you use SAP Analytics Cloud to perform predictive analytics?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>For predictive analytics, such as predicting future trends and spotting data abnormalities, SAP Analytics Cloud incorporates machine learning capabilities.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q27) What is a story in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In SAP Analytics Cloud, a story is a group of visualisations and data points that offer explanations and convey a narrative about the data. It is possible to write and share stories with other members of the organisation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q28) How can you use SAP Analytics Cloud to perform ad-hoc analysis?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A data discovery function in SAP Analytics Cloud enables you to dive deeper into data, execute ad hoc analysis, and create new visualisations on the go.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="perform-data-modeling"></a>Q29) How can you use SAP Analytics Cloud to perform data modeling?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A data modelling tool in SAP Analytics Cloud enables you to build data models and import data from outside sources like databases and spreadsheets.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="dimension-from-metric"></a>Q30) What distinguishes a dimension from a metric in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A dimension in SAP Analytics Cloud is a qualitative data point that gives context for the data, whereas a measure in SAP Analytics Cloud is a quantitative data point, such as sales revenue or profit margin. Dimensions are used to group and filter data, whereas measures are often utilised in calculations and visualisations.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #236fa1;"><strong><span style="font-size: 22px;"><a id="faqs"></a>SAP Analytics Cloud </span><span style="font-size: 24px;">FAQs</span></strong></span></h3>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1) Explain the components of SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong><span style="color: #236fa1;"><a style="color: #236fa1;" title="Data Visualization Training" href="https://tekslate.com/data-visualization-and-dashboarding-fundamentals-training" target="_blank">Data visualization</a></span>, data modelling, planning, predictive analytics, and business intelligence are the core elements of SAP Analytics Cloud.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2) What is meant by SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Users of the cloud-based analytics application SAP Analytics Cloud can analyse data from numerous sources, produce visualisations and reports, and work in real-time collaboration with others.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>3) What is the purpose of SAP Analytics Cloud planning?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The what-if analysis and scenario planning capabilities, as well as the ability to design, manage, and evaluate financial plans and budgets, are all part of SAP Analytics Cloud planning.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4) What are the 2 methods available for accessing the data from SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Live data connections, which let users connect to data sources in real-time, and import data connections, which let users import data into SAP Analytics Cloud for analysis, are the two options available for gaining access to data from SAP Analytics Cloud.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>5) What are the types of modules in SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Financial planning and analysis, predictive analytics, business intelligence, data visualisation, data modelling, and planning are some of the module types available in SAP Analytics Cloud. Each module offers a selection of features and tools for data analysis and visualisation and can be tailored to a particular organization's requirements.</span></p>
<p>&nbsp;</p>
<h3><strong><span style="color: #236fa1; font-size: 22px;"><a id="tips"></a>Tips to clear SAP Analytics Cloud Interview</span></strong></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Practice responding to typical SAP Analytics Cloud interview questions while researching the business and the job description.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Make sure to emphasise your experience using SAP Analytics Cloud and give particular instances of the projects or activities you have performed with the help of the programme.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Show that you are skilled in data analysis, data modelling, and data visualisation, as these are essential for working with SAP Analytics Cloud.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Due to the importance of cooperation placed by SAP Analytics Cloud, be prepared to talk about the ways in which you have cooperated with others to share information and produce reports.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Show that you are open to learning new features and strategies because SAP Analytics Cloud is a platform that is continually changing so that you can keep up with the most recent developments in data analytics.</span></li>
</ul>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<p><span style="color: #236fa1;"><strong><span style="font-size: 20px;"><a id="conclusion"></a>Conclusion</span></strong></span></p>
<p><span style="font-weight: 400;">Being a robust cloud-based analytics solution, SAP Analytics Cloud offers a range of tools for data modelling, data visualisation, business intelligence, and predictive analytics. Organizations utilise it frequently to extract insights from their data and make wise business decisions. It takes careful planning, presenting relevant expertise and talents, showcasing cooperation skills, and proving a desire to learn and adapt to new features and methodologies to successfully navigate an SAP Analytics Cloud interview.</span></p>13:T76c,<ul>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#sap-analytics-cloud"><span style="font-weight: 400;">What is SAP Analytics Cloud?</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#use"><span style="font-weight: 400;">What is the use of SAP Analytics Cloud?</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#architecture"><span style="font-weight: 400;">SAP Analytics Cloud Architecture</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#fundamentals"><span style="font-weight: 400;">SAP Analytics Cloud Fundamentals</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#applications-and-features"><span style="font-weight: 400;">Core Applications and Features</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#license"><span style="font-weight: 400;">How can I get the SAP Analytics Cloud License?</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#registration"><span style="font-weight: 400;">Registration (Trial Version)</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#import-excel-data"><span style="font-weight: 400;">SAP Analytics Cloud Import Excel Data</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #000000;"><a style="color: #000000;" href="#faqs"><span style="font-weight: 400;">FAQs</span></a></span></li>
</ul>14:T4f38,<h2><span style="font-size: 24px; color: #e67e23;"><strong>SAP Analytics Cloud Introduction</strong></span></h2>
<p><span style="font-weight: 400;">SAP Analytics Cloud is an all-in-one analytics platform that has gained immense popularity in recent years. It allows businesses to collect, analyze, and visualize data in real time, providing valuable insights that help businesses make informed decisions. According to recent statistics, the demand for SAP Analytics Cloud is increasing rapidly, with more and more businesses adopting this platform to streamline their operations and improve their decision-making processes. If you are new to SAP Analytics Cloud, you are in the right place. In this&nbsp;</span><strong>SAP Analytics Cloud Tutorial,&nbsp;</strong><span style="font-weight: 400;">we will provide an in-depth overview of the platform and show you how to use it to collect, analyze, and visualize data.</span></p>
<p><span style="font-weight: 400;">Before we dive in, it is worth noting that SAP Analytics Cloud is built on top of SAP UI5, a UI development toolkit for HTML5. The current versions of SAP UI5 include 1.87 and 1.88, both of which provide a seamless user experience across devices and browsers. With SAP UI5 as its foundation, SAP Analytics Cloud offers a modern and intuitive interface that allows users to easily navigate and interact with their data. Here are the <span style="color: #236fa1;"><em><strong><a style="color: #236fa1;" title="What&rsquo;s New in SAP Analytics Cloud" href="https://blogs.sap.com/2023/02/04/whats-new-in-sap-analytics-cloud-and-sap-digital-boardroom-q1-2023/" target="_blank" rel="nofollow">latest updates</a></strong></em></span> of SAP Analytics Cloud for you to review in Q1 2023.</span></p>
<table style="border-collapse: collapse; width: 100%; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<h3 style="text-align: center;"><span style="font-size: 18px;">SAP Analytics Cloud Tutorial - Table of Contents</span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sap-analytics-cloud"><span style="font-weight: 400;">What is SAP Analytics Cloud?</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#use"><span style="font-weight: 400;">What is the use of SAP Analytics Cloud?</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#architecture"><span style="font-weight: 400;">SAP Analytics Cloud Architecture</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#fundamentals"><span style="font-weight: 400;">SAP Analytics Cloud Fundamentals</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#applications-and-features"><span style="font-weight: 400;">Core Applications and Features</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#license"><span style="font-weight: 400;">How can I get the SAP Analytics Cloud License?</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#registration"><span style="font-weight: 400;">Registration (Trial Version)</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#import-excel-data"><span style="font-weight: 400;">SAP Analytics Cloud Import Excel Data</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#faqs"><span style="font-weight: 400;">FAQs</span></a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #e67e23; font-size: 24px;"><strong><a id="sap-analytics-cloud"></a>What is SAP Analytics Cloud?</strong></span></h2>
<p><span style="font-weight: 400;">SAP Analytics Cloud is a software-as-a-service (SaaS) enterprise analytics solution. It combines business intelligence, augmented and predictive analytics, and planning capabilities to help you understand your data to make better business decisions. Furthermore, you can ask, analyze, predict, plan, and report all in one end-to-end workflow.</span></p>
<p><em><strong>1) Business Intelligence:</strong></em></p>
<p><span style="font-weight: 400;">SAP Analytics Cloud offers built-in self-service <span style="color: #236fa1;"><a style="color: #236fa1;" title="Business Intelligence Tools in Data Warehouse" href="https://tekslate.com/business-intelligence-tool-guide-data-warehouse" target="_blank">Business Intelligence</a></span> (BI) features to help you explore, analyze, and visualize data to get insights for decisions; data visualizations such as charts, tables, Geo maps, and other visual formats to display data in a way that can be quickly and easily understood.</span></p>
<p><em><strong>2) Augmented Analytics:</strong></em></p>
<p><span style="font-weight: 400;">SAP Analytics Cloud Augmented Analytics can help users make more confident decisions faster with automated insights powered by <span style="color: #236fa1;"><a style="color: #236fa1;" title="How Machine Learning is Transforming Content Marketing" href="https://tekslate.com/machine-learning-transforming-content-marketing" target="_blank">machine learning</a></span> and artificial intelligence. Spend less time analyzing data manually by utilizing these capabilities to automatically reveal top contributors, influencers, hidden patterns, and outliers in your data.&nbsp;</span></p>
<p><em><strong>3) Planning:</strong></em></p>
<p><span style="font-weight: 400;">SAP Analytics Cloud for Planning lets you analyze, predict, and plan in one application. It enables real-time Extended Planning and Analysis to link and align all plans and people across your organization.&nbsp;</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 51.514px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 51.514px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%; height: 51.514px; text-align: center;"><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Want to acquire industry skills and gain complete knowledge of Salesforce? Enroll in Instructor-Led live Salesforce Training to get Job Ready!&quot;}" data-sheets-userformat="{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}">Want to acquire industry skills and gain complete knowledge of SAP Analytics Cloud? Enroll in Instructor-Led live <span style="color: #236fa1;"><em><strong><a style="color: #236fa1;" title="SAP Analytics Cloud Training" href="https://tekslate.com/sap-analytics-cloud-training" target="_blank">SAP Analytics Cloud Training</a></strong></em></span> to get Job Ready!</span></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="use"></a>What is the use of SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;">The main function of the SAP Analytics cloud is to create data reports. The data used for feeding those reports are derived from different resources. It includes real-time data from your business activities and tasks, budget forecast data, etc. It allows everyone in the organization to produce complete autonomous reports without the help of any data scientists.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="architecture"></a>SAP Analytics Cloud Architecture</strong></span></h3>
<p><span style="font-weight: 400;">Let's understand the various components of Cloud Architecture. </span></p>
<p><em><strong>1) Stories</strong></em></p>
<p><span style="font-weight: 400;">Stories are where data and visualizations come together to tell the story of your business or organization and help you discover insights hidden within your data. A story can also be referred to as a dashboard.</span></p>
<p><em><strong>2) Analytic Applications</strong></em></p>
<p><span style="font-weight: 400;">Analytic applications are consolidated information presented in a guided analytic path with analytical capabilities for end users. The primary role of analytic applications is to deal with trends and KPIs.</span></p>
<p><em><strong>3) Models&nbsp;</strong></em></p>
<p><span style="font-weight: 400;">A model is a representation of large amounts of business data from source systems. It defines measures and dimensions that are used to build visualizations, filters, and calculations in stories.&nbsp;</span></p>
<p><em><strong>4) Planning</strong></em></p>
<p><span style="font-weight: 400;">There are many planning tools for collaboratively creating and updating model data to carry out planning tasks. In simple words, planning involves typing values directly into table cells in planning models.</span></p>
<p><em><strong>5) Smart Capabilities</strong></em></p>
<p><span style="font-weight: 400;">There are many smart features for improving business decisions and analysis workflow.</span></p>
<p><em><strong>6) Datasets</strong></em></p>
<p><span style="font-weight: 400;">A dataset is a simple collection of data, usually presented in a table. Datasets are used to complement models and are more suitable for ad-hoc analysis.</span></p>
<p><em><strong>7) SAP Digital Boardroom</strong></em></p>
<p><span style="font-weight: 400;">SAP Digital Boardroom is an interactive and real-time presentation tool. Users can take content from your stories and turn it into a real-time, interactive boardroom agenda or dashboard.</span></p>
<p><em><strong>8) Mobile App</strong></em></p>
<p><span style="font-weight: 400;">With Mobile App, users can access their analytics anywhere and anytime. They can use the mobile app to connect to the SAP Analytics Cloud solution.</span></p>
<p><br /><br /></p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="fundamentals"></a>SAP Analytics Cloud Fundamentals</strong></span></h3>
<p><span style="font-weight: 400;">The next phase in&nbsp;</span><strong>SAP Analytics Cloud Tutorial</strong><span style="font-weight: 400;">&nbsp;is the fundamental components of SAP Analytics Cloud, including data, models, stories, etc. Let us dive deeper and understand them in detail:</span></p>
<p><em><strong>1) Data:</strong></em></p>
<p><span style="font-weight: 400;">When you think of analytics, data visualizations probably come to mind first. These visualizations represent your business data in various chart types, which makes it easy to understand your business briefly. The data that is collected by your business then has to be stored somewhere. You can choose to store simple information in a spreadsheet or, when it comes to big data, in a more complex database.</span></p>
<p><span style="font-weight: 400;"><strong>2) Models:</strong></span></p>
<p><span style="font-weight: 400;">A model is a clean and defined version of your raw data, and it will be the basis of your analysis. The process of creating a model is called modeling. In Analytics Cloud, more complex models are created using the Modeler. This is because it's a more advanced tool and will take some time to learn for those unfamiliar with data modeling.</span></p>
<p><em><strong>3) Stories:</strong></em></p>
<p><span style="font-weight: 400;">Stories are used for exploring and visualizing your data for reporting, planning, and analysis. There are two areas within stories that can be used for these purposes. These are data views and pages.</span></p>
<p><em><strong>4) Data View:</strong></em></p>
<p><span style="font-weight: 400;">If you've imported data directly to your story, you'll start the process in data view. Here, you will check your data, clean up any errors, and add any further definitions to your model. On the other hand, each story can have one or multiple pages, which can be set up as a canvas or a grid. Here, the process gets completed.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="applications-and-features"></a>Core Applications and Features</strong></span></h3>
<p><span style="font-weight: 400;">Let's move on to the core applications and features in this part of&nbsp;</span><strong>the Sap Analytics Cloud Tutorial:</strong></p>
<ul>
<li><span style="font-weight: 400;"> Data Discovery</span></li>
<li><span style="font-weight: 400;"> Machine Learning capabilities</span></li>
<li><span style="font-weight: 400;"> Integrated Financial and Business Planning</span></li>
<li><span style="font-weight: 400;"> Predictive Analysis</span></li>
<li><span style="font-weight: 400;"> Automated data cleansing</span></li>
<li><span style="font-weight: 400;"> Data exploration and visualization</span></li>
<li><span style="font-weight: 400;"> Role-Based customization for different users</span></li>
<li><span style="font-weight: 400;"> Use of custom widgets</span></li>
<li><span style="font-weight: 400;"> Applications Integration with on-premise sources</span></li>
<li><span style="font-weight: 400;"> Mobile extension to connect with colleagues via iPhone/iPad</span></li>
</ul>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 20px;"><strong><a id="license"></a>How can I get the SAP Analytics Cloud License?</strong></span></h3>
<p><span style="font-weight: 400;">The Free version is for 30 days. You can get started with your SAP Analytics Cloud here. It can also get extended up to 90 days. You can purchase an SAP Analytics Cloud for business intelligence license as a User License. It will ensure that the assigned user can always access the application, regardless of how many other users are logged on. We recommend that administrators be given user licenses. Please note that when some licenses are removed from a customer account, content created from those licenses will be restricted for other end users, even those with administrator roles:</span></p>
<h3><span style="color: #000000; font-size: 18px;"><strong><a id="registration"></a>Registration (Trial Version)</strong></span></h3>
<p><span style="font-weight: 400;">SAP was providing the trial system to get to know their SaaS application, and as a step towards the same, SAP has extended its trial account expiration to 1 year from 30 days. Here is how you can register an account on the trial version.</span></p>
<p><span style="font-weight: 400;">Step 1 - Navigate to SAP Cloud Platform Cockpit. Sign In if you already have an SAP account.</span></p>
<p><span style="font-weight: 400;">Step 2 - If not, register for the new account with your email and provide the necessary information.</span></p>
<p><span style="font-weight: 400;">Step 3 - Click Trial Home. Accept the terms and conditions, and then select enter your trial account.</span></p>
<p><span style="font-weight: 400;">Step 4 - After registration, SAP will send a welcome email to the registered email address, which provides you with a quick guide for administration and setting up the environment.</span></p>
<p><span style="font-weight: 400;">Step 5 - After this, you will receive one more email from SAP. Welcome to SAP Analytics Cloud to activate your account. Once you activate your account, you can land on the home page of the SAP Analytics Cloud tool.</span></p>
<p><br /><br /></p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="import-excel-data"></a>SAP Analytics Cloud Import Excel Data</strong></span></h3>
<p><span style="font-weight: 400;">Here is how you can Import Excel Data in SAP:</span><span style="font-weight: 400;"><br /></span></p>
<p><span style="font-weight: 400;">Step 1 - Click on the Menu option, then more options, and then Dataset</span></p>
<p><span style="font-weight: 400;">Step 2 - Select the "From CSV or Excel File" option to import your Excel dataset&nbsp; &nbsp;</span></p>
<p><span style="font-weight: 400;">Step 3 - Once you select the Excel dataset, it will show the file name on the window. Then click on the Import option.</span><span style="font-weight: 400;"><br /></span></p>
<p><span style="font-weight: 400;">Step 4 - Import you need to select the location/folder where you want to save the data set; you can also create your own folder.</span><span style="font-weight: 400;"><br /></span></p>
<p><span style="font-weight: 400;">Step 5 - Once you saved the file on location, its analytics Cloud will start importing your excel data into the cloud.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="faqs"></a>SAP Analytics Cloud FAQs</strong></span></h3>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1) Is SAP Analytics Cloud easy to learn?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes. If you follow all the steps properly, SAP Analytics is easy to learn.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2) What is SAP Analytics Cloud used for?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Creating data reports is the main function of SAP Analytics Cloud.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>3) What is the SAP Analytics Cloud tutorial?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>SAP Analytics Cloud tutorial is a go-to tool for business users for analytical and ad-hoc reporting. Business users can create a basic, medium, and complex dashboard from transactional data in the database to meet business requirements.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4) How do I get started with SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Here is how you can get started with SAP Analytics Cloud:</span></p>
<p><span style="font-weight: 400;">Step 1 -&nbsp;</span><strong>Get to know SAP Analytics Cloud</strong><span style="font-weight: 400;">&nbsp;- Go through the basics of SAP Analytics Cloud and register for a Trial Account</span></p>
<p><span style="font-weight: 400;">Step 2 -</span><strong> Explore the SAP Analytics Cloud Sample Story -&nbsp;</strong><span style="font-weight: 400;">Go through the feature of interacting with story widgets and employ the power of Smart Features offered with SAP Analytics Cloud, such as Smart Insights and Search to Insight.</span></p>
<p><span style="font-weight: 400;">Step 3 - </span><strong>Create your First SAP Analytics Cloud Story -&nbsp;</strong><span style="font-weight: 400;">Create your first story by importing a mock dataset and visualizing your data with charts, tables, geo maps, etc.</span></p>
<h3><span style="color: #e67e23;"><strong>5) Is coding required for SAP Analytics Cloud?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes. SAP runs on <span style="color: #236fa1;"><a style="color: #236fa1;" title="Java Stream Tutorial" href="https://tekslate.com/java-stream-tutorial" target="_blank">Java programming</a></span> language.</span></p>
<p>&nbsp;</p>
<p><span style="color: #e67e23; font-size: 20px;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">SAP Analytics Cloud is a powerful analytics platform that has the potential to revolutionize the way businesses operate. As technology continues to evolve, SAP Analytics Cloud will play an increasingly important role in the business world. The platform offers a wide range of features that help businesses to make better decisions, improve their operations, and stay ahead of the competition. Whether you are a business owner, a data analyst, or an IT professional, learning SAP Analytics Cloud can greatly benefit your career. By understanding how to use this platform, you can help your organization grow and succeed in today's competitive market.</span></p>15:Tc7e6,<p style="text-align: justify;"><span style="font-weight: 400;">Clinical data analysis is a crucial part of the healthcare sector for&nbsp;improving patient outcomes and advancing scientific inquiry. And so, the demand for qualified clinical data analysts has increased along with the demand for data-driven insights. Recent data indicates that a CAGR of 14.2% is found to predict for the global clinical data analytics market, which is anticipated to reach $11.3 billion by 2025. As a clinical data analyst, your duties will include gathering, compiling, and analysing complex healthcare data as well as communicating the results to important stakeholders. We'll go over some of the most typical clinical data analyst interview questions in this interview, which are meant to help you show off your knowledge and get your next job.</span></p>
<table style="border-collapse: collapse; width: 100%; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3844%; height: 53.6916px;">
<h3 style="text-align: center;"><span style="font-size: 18px;">Most frequently asked Clinical Data Analyst Interview Questions</span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3844%; height: 192.477px;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-wrangling">What do you understand by Data Wrangling in Data Analytics?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#outlier">Define outlier.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#descriptive-analytics">Define Descriptive analytics.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#protocol-document">What do you understand by Protocol Document?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#large-data-sets">Ho to work with large data sets?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#qualification">What makes you qualified for the job of Clinical Data Analyst?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#challenges">What challenges have you faced while working with medical records?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#time-series-analysis">What is Time Series Analysis?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#gantt-chart">Define Gantt Chart in Tableau.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#random-integers">How will you print four random integers between 1 and 15 using NumPy?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="color: #236fa1; font-size: 24px;"><strong><a id="questions-and-answers"></a>Clinical Data Analyst Interview Questions and Answers</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>1. What is the role of a Clinical Data Analyst?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>A clinical data Analyst collects data from numerous medical research projects like clinical and pharmaceutical trials.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>2. Can you describe the various steps involved in any analytics project?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The following are the steps involved in an analytics project:</span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Understand the Problem</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Understand the business problem, define the organizational goals, and plan for a solution</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Gather the right data from various sources and other information based on your priorities.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Clean Data</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Explore and Analyze Data</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use data visualization and&nbsp;</span><span style="font-weight: 400;">business intelligence tools</span><span style="font-weight: 400;">, data mining techniques, and predictive modelling to analyze data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Interpret the Results</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="data-wrangling"></a>3. What do you understand by Data Wrangling in Data Analytics?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Data Wrangling is the process wherein raw data is cleaned, structured, and enriched into a desired usable format for better decision making. It involves discovering, structuring, cleaning, enriching, validating, and analyzing data. This process can turn and map out large amounts of data extracted from various sources into a more useful format.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>4. Can you describe some problems related to data analysis?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Following are the common problems steps involved in any analytics project:</span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Handling duplicate&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Collecting the meaningful right data and the right time</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Handling data purging and storage problems</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Making data secure and dealing with compliance issues</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="background-color: #ecf0f1; border-color: #ced4d9; border-style: solid; height: 37px;">
<td style="width: 98.4573%; height: 65.4486px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Data Analytics? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Clinical Data Analyst Training" href="https://tekslate.com/clinical-data-analyst-training" target="_blank">Clinical Data Analyst Training</a></strong></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>5. What do you understand by Sampling?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Sampling is a statistical method to select a subset of data from an entire dataset (population) to estimate the characteristics of the whole population.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>6. What are the different types of sampling techniques used by data analysts?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>There are majorly five types of sampling methods:</span></p>
<ul>
<li><span style="font-weight: 400;">Simple random sampling</span></li>
<li>Systematic sampling</li>
<li><span style="font-weight: 400;">Cluster sampling</span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.scribbr.com/methodology/stratified-sampling" target="_blank" rel="nofollow"><span style="font-weight: 400;">Stratified sampling</span></a></span></li>
<li><span style="font-weight: 400;">Judgmental or purposive sampling</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="outlier"></a>7. Define outlier.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>An outlier is a data point that is distant from other similar points. They may be due to variability in the measurement or may indicate experimental errors</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>8. What are the steps to deal with outliers?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>To deal with outliers, you can follow the following methods:</span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Drop the outlier records</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cap your outlier&rsquo;s data</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Assign a new value</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Try a new transformation</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>9. What are Type I and Type II errors in Statistics? Explain.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>In Hypothesis testing, a Type I error occurs when the null hypothesis is rejected even if it is true. It is also known as a false positive.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">A Type II error occurs when the null hypothesis is not rejected, even if it is false. It is also known as a false negative.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>10. Differentiate between Data joining and Data blending.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Data joining is a process which can only be carried when the data is occupied from the same source. On the other hand, Data blending is a process in which data can be drawn of two or more sources.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>11. Differentiate between Treemaps and Heatmaps.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Treemaps are used for displaying data in nested rectangles. On the other hand, Heatmaps are used visualizing and differentiating between two dimensions with the help of colors.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>12. Which function is used to get the current date and time in Excel?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>In <span style="color: #236fa1;"><a style="color: #236fa1;" title="HANA TABLES to Excel" href="https://tekslate.com/connecting-hana-tables-excel" target="_blank">Excel</a></span>, we can use the TODAY() and NOW() functions to get the current date and time.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>13. What do you understand by Ind?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>At the time of trial. The agent being used as Ind or IND and it stands for Investigational New Drug</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>14. What is the process of the best methods for data cleaning?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Create a plan by understanding where the common errors take place and keep all the communications open.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Before working with the data, identify and remove the duplicates for an effective process.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Focus on the accuracy of the data.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Normalize the data at the entry point so that it is less chaotic.&nbsp;</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>15. What is AND()? How does it work in Excel?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>AND() is a logical function that checks multiple conditions and returns TRUE or FALSE based on whether the conditions are met.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>16. Differentiate between Overfitting and Underfitting.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In overfitting, the model trains the data using training set. On the otherhand, in Underfitting, the model does not train the data.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="descriptive-analytics"></a>17. Define Descriptive analytics.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Descriptive analytics provide insights into the past to answer what has happened.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>18. Define Predictive analytics.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Predictive analytics analyzes the future to answer what could happen.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>19. Define Prescriptive analytics.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Prescriptive analytics suggest various courses of action to answer what should you do.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="protocol-document"></a>20. What do you understand by Protocol Document?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>A protocol document defines the objectives, methodology, design, statistical considerations, and clinical trial organization. It permits researchers at multiple locations to research in the same manner to allow a combination of their data as if they did the study in the same location</span></p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #236fa1; font-size: 24px;"><strong><a id="freshers"></a>Clinical Data Analyst Interview Questions for Freshers</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>21. Explain the concept of a double-blind study?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Double-blind study is an experiment in which neither the participants nor the researchers know who is receiving the treatment or placebo. This type of study helps to reduce bias and increase the accuracy of the results. Clinical Data Analysts, should to be aware of this concept and its implications when analyzing data from clinical trials.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>22. What are some of the most important qualities for a successful Clinical Data Analyst?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Having strong problem-solving skills is essential for any data analyst role as it allows me to quickly identify patterns in data sets and develop solutions to complex problems. Attention to detail is also key to ensure accuracy of results and that all relevant information is considered when making decisions. Finally, excellent communication is necessary to effectively communicate findings to stakeholders and other team members.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>23. How would you describe the relationship between a Clinical Data Analyst and a medical researcher?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The relationship between a clinical data analyst and a medical researcher is significant. Clinical Data Analyst should be able the importance of providing accurate, timely, and meaningful analysis to support medical research. This includes analysing patient records, generating reports, and creating visualizations to identify trends in the data.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>24. Do you have any experience in using data mining software?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>I have some experience with data mining software. I have used various data mining tools such as SAS, R, Python, and <span style="color: #236fa1;"><a style="color: #236fa1;" title="Tableau Tutorial" href="https://tekslate.com/tutorials-tableau" target="_blank">Tableau</a></span> to analyse large datasets in order to identify patterns and trends.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>25. Provide an example of a time when you identified a problem with a study and explain what you did to resolve it.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;">&nbsp;<strong>Ans: </strong>I recently identified a problem with a clinical study I was working on. The data collected from the patients did not match up with the results of the study, and it was unclear why this discrepancy existed. To resolve the issue, I took a closer look at the data to identify any potential errors or inconsistencies that could be causing the mismatch.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>26. Have you came across a situation where a study&rsquo;s results contradicted previous research? How did you handle it?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>If a study&rsquo;s results contradicted previous research, I would first analyse the data to ensure that it was accurate and reliable. If the data is valid, then I would take a closer look at the methodology used in the study and compare it to the methodology of the previous studies. So, conducting additional research or re-evaluating the existing data can help.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>27. What would you do if you noticed a mistake in a patient&rsquo;s file and you knew it was your fault?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>If I noticed a mistake in a patient&rsquo;s file and knew it was my fault, the first thing I would do is take responsibility for the error. I understand that mistakes can happen, but as a Clinical Data Analyst, it is important to be honest about any errors made. I would immediately investigate the issue further to determine how the mistake occurred and what steps need to be taken to correct it.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>28. What are some ethical guidelines and regulations in the field of Clinical Data Analysis?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>HIPAA, GDPR, and other relevant laws and regulations related to patient privacy and health information security. Clinical Data Analyst, must ensure compliance with these standards. This includes regularly reviewing policies, procedures, and protocols to ensure they are up-to-date and in line with laws and regulations.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="large-data-sets"></a>29. Ho to work with large data sets?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Clinical Data Analysts should be able to analyse and interpret patient data from multiple sources. This includes managing large datasets of up to 10 million records. They also must develop an efficient system for organizing and manipulating the data so that it can be used effectively in reports and presentations.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>30. When analysing a new study, what the process should look like for reading through the initial data?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>When analysing a new study, the process for reading through the initial data begins by getting familiar with the research question and objectives. Then, review the study protocol to gain an understanding of the study design, including the population being studied, the variables being measured, and any potential confounding factors. Once you get a good grasp on the overall structure of the study, you must read through the raw data and understand the coding conventions used in the dataset and ensuring that all necessary variables are present.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>31. Can you give us some ideas to improve data collection methods?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Firstly, I suggest creating standardized protocols for collecting data. This will help streamline the process and reduce errors in data entry. It should also include guidelines on how to properly store and manage collected data.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Secondly, I think it&rsquo;s important to invest in quality control measures such as double-checking data entries and using automated tools to detect any discrepancies</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Thirdly, I believe it is beneficial to use technology to automate certain aspects of data collection. For example, you could use software programs to automatically collect and organize data from various sources.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>32. Do you have any experience with using statistical software. Please describe it.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>I have some experience using statistical software to analyse and interpret clinical data. I am proficient in a variety of programs, including <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAS Interview Questions" href="https://tekslate.com/sas-interview-questions-and-answers" target="_blank">SAS</a></span>, SPSS, R, and STATA. I use these tools daily to generate reports, create visualizations, and develop predictive models. I also have experience working with large datasets.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="qualification"></a>33. What makes you qualified for the job of Clinical Data Analyst?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>With some experience in the field of Clinical Data Analysis, I have a proven track record of success. I have developed a deep and clear understanding of clinical data analysis principles and techniques. In addition to my technical skills, I also possess excellent communication and problem-solving abilities. I have worked on numerous projects where I had to collaborate with other professionals to develop solutions to complex problems.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>34. Which industries have you worked in before and how were they similar or different from this job?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>I have worked in the healthcare industry for some years as a Clinical Data Analyst. This has included working with large health systems and pharmaceutical companies. Each of these industries had different data needs and requirements, but they all shared one common goal: to use data to improve patient care and outcomes.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">For example, when I was working with a large health system, my role focused on analysing clinical data to identify trends and patterns that could help inform decisions about patient care. With the pharmaceutical company, I used data to evaluate the effectiveness of new drugs and treatments.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>35. What is the most important thing that Clinical Data Analysts can do to ensure the safety of patients?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;">&nbsp;<strong>Ans: </strong>I believe Clinical Data Analysts must ensure patient safety is to thoroughly analyse and interpret data. This includes looking at trends in patient outcomes, identifying any potential risks or issues, and making sure that all data is accurate and up-to-date. By doing this, they can help identify areas of improvement for healthcare providers and make sure that patients are receiving the best care possible. Secondly also need to be aware of any new regulations or guidelines that may affect our analysis and take steps to ensure compliance with these standards.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>36. How often do you make mistakes when entering data?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>I understand that accuracy is of the utmost importance when entering data. I take great care to ensure that all data entry is done correctly and efficiently. I have a system in place to double-check my work, which helps me catch any errors before they become an issue. I also use quality control measures to make sure everything is accurate.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>37. There is a discrepancy in the data that does not make sense. What is your process for investigating this?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>When Clinical Data Analysts encounter a discrepancy in data, their first step should be reviewing the source of the data and ensure that it is accurate. This includes verifying any calculations used to generate the data as well as double-checking for typos or other errors. Once I have verified the accuracy of the data, they also must look at the context of the data to see if there are any external factors that may be influencing the results. Lastly, they must compare the data with similar datasets from previous studies to determine if the discrepancy is consistent across multiple sources.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>38. </strong><strong>Are you familiar with the concept of &ldquo;missing data&rdquo; and how can it be handled?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Yes, I am familiar with the concept of missing data and how it can be handled. Missing data is a common issue in Clinical Data Analysis that must be addressed before any meaningful conclusions can be drawn from the data. There are several methods for dealing with missing data including imputation, deletion, or using a combination of both. Imputation involves replacing missing values with estimates based on other available information, while deletion removes records containing missing values from the dataset.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>39. If you face a difficult challenge while analysing clinical data, how will you overcome it?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>If I face a difficult challenge while analysing clinical data for a research study That will either be because data is collected from multiple sources, and it had to be standardized in order to draw meaningful conclusions. I will try to work closely with the researchers to understand their objectives and develop an efficient process for standardizing the data. To overcome this challenge, I will develop a comprehensive workflow using <span style="color: #236fa1;"><a style="color: #236fa1;" title="Microsoft BI Tutorial" href="https://tekslate.com/msbi-tutorials" target="_blank">Microsoft</a></span> Excel to clean and organize the data to maintain accuracy.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>40. What methods do you use to ensure that your data is accurate and reliable?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>I take accuracy and reliability of data very seriously. To ensure that my data is accurate and reliable, I use a variety of methods. First, I always double-check the source of the data to make sure it is coming from a reputable source. Then, I perform rigorous quality checks on all incoming data to identify any potential errors or inconsistencies.</span></p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;"><strong><a id="technical"></a>Data Analyst Technical Interview Questions and Answers</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>41. How would you handle a situation where the data was not properly collected or organized?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>If I encountered a situation where the data was not properly collected or organized, my first step would be to assess the issue and determine what went wrong. This could involve speaking with the team that initially collected the data, as well as reviewing any documentation related to the collection process. This also might include re-collecting missing data points, reorganizing existing data into more logical categories, or implementing new processes.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>42. Do you have any experience with developing visualizations from clinical data? Please describe it.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Yes, I have substantial experience in developing visualizations from clinical data. I have worked with a variety of software programs to create meaningful and informative visuals that help stakeholders better understand the data. My experience includes creating bar graphs, pie charts, scatter plots, line graphs, and other types of visualizations. This allows me to identify trends and patterns in the data that can be used to make informed decisions.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>43. What techniques have you used in the past to identify trends in data sets?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>I have used a variety of techniques to identify trends in data sets. One technique I often use is exploratory data analysis, which involves visualizing the data and looking for patterns or relationships between variables. This can be done using various graphical tools such as box plots, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://byjus.com/maths/histogram/" target="_blank" rel="nofollow">histograms</a></span>, scatterplots, and heatmaps. Statistical modelling is another technique for examining results.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="challenges"></a>44. What challenges have you faced while working with medical records?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>As a Clinical Data Analyst, I have faced many challenges when working with medical records. One of the biggest challenges is ensuring that all data is accurate and up-to-date. This requires me to be very detail-oriented and organized in my approach to analysing data. Another challenge I have encountered is making sure that all patient information is kept confidential and secure.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>45. Do you think the role of a clinical data analyst will change over the next few years?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Yes, I do believe the role of a clinical data analyst will change over the next few years. As technology advances and healthcare organizations become more reliant on data-driven decisions, the need for highly skilled analysts to interpret this data is becoming increasingly important. Clinical Data Analysts must be able to understand complex datasets and use them to inform decision making in order to improve patient outcomes. Thus, Clinical Data Analysts must stay up to date with new technologies and trends in the field in order to remain competitive.&nbsp;</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>46. What is the significance of Exploratory Data Analysis (EDA)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Exploratory Data Analysis (EDA) helps to understand the data better.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It helps you obtain confidence in your data to a point where you are ready to engage a machine learning algorithm.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It allows you to refine your selection of feature variables that will be used later for model building.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">You can discover hidden trends and insights from the data.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>47. Describe Univariate Analysis.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Univariate Analysis is the simplest and easiest form of data analysis where the data being analysed contains only one variable.&nbsp;A good example&nbsp;of this is studying the heights of players in the NBA. It can be described using Central Tendency, Dispersion, Quartiles, Bar charts, etc.&nbsp;</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>48. Describe Bivariate Analysis.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Bivariate Analysis involves the analysis of two variables to find causes, relationships, and correlations between the variables.&nbsp;A good example of this is analysing the sale of ice creams based on the temperature outside. It can be explained using Correlation coefficients, Linear regression, Logistic regression, Scatter plots, and Box plots.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>49. Describe Multivariate Analysis.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Multivariate Analysis involves the analysis of three or more variables to understand the relationship of each variable with the other variables.&nbsp;A good example of this is Analysing Revenue based on expenditure. It can be performed using Multiple regression, Factor analysis, Classification &amp; regression trees, Cluster analysis, etc.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><a id="time-series-analysis"></a>50. What is Time Series Analysis?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Time Series Analysis</span><span style="font-weight: 400;"> is a statistical procedure that deals with the ordered sequence of values of a variable at equally spaced time intervals. Time series data are collected at adjacent periods. So, there is a correlation between the observations. This feature distinguishes time-series data from cross-sectional data.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>51. What do you understand by Hypothesis Testing?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Hypothesis Testing is the procedure used by statisticians and scientists to accept or reject statistical hypotheses. There are mainly two types of hypothesis testing.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>52. What are the different types of Hypothesis Testing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Null Hypothesis Testing states that there is no relation between the predictor and outcome variables in the population.&nbsp;&nbsp;A good example of this is no association between a patient&rsquo;s BMI and diabetes.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Alternative Hypothesis Testing states that there is some relation between the predictor and outcome variables in the population. A good example of this is there could be an association between a patient&rsquo;s BMI and diabetes.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>53. What do you understand by Subquery in SQL?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>A Subquery in SQL is a query within another query. It is also known as a nested query or an inner query. Subqueries are used to enhance the data to be queried by the main query.&nbsp;It is divided into two types Correlated and Non-Correlated Query.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>54. Can you give an example of Subquery in SQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">SELECT name, email, phone</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">FROM employee</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">WHERE emp_id IN (</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">SELECT emp_id</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">FROM employee</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>55. How do you write a </strong><strong>stored procedure in SQL</strong><strong>?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>To write a stored procedure in SQL, find the sum of the first N natural numbers' squares.</span></p>
<ul>
<li><span style="font-weight: 400;">Create a procedure by giving a name, here it is squaresum1</span></li>
<li><span style="font-weight: 400;">Declare the variables</span></li>
<li><span style="font-weight: 400;">Write the formula using the set statement</span></li>
<li><span style="font-weight: 400;">Print the values of the computed variable</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>56. What are the different connection types in Tableau Software?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Following are the two main types of connections available in Tableau:</span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Extract: Extract is an image of the data that will be extracted from the data source and placed into the Tableau repository. This image(snapshot) can be refreshed periodically, fully, or incrementally.</span></li>
</ul>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Live: The live connection makes a direct connection to the data source. The data will be fetched straight from tables. So, data is always up to date and consistent.&nbsp;</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="gantt-chart"></a>57. Define Gantt Chart in Tableau.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>A Gantt chart in Tableau depicts the progress of value over the period, i.e., it shows the duration of events. It consists of bars along with the time axis. The Gantt chart is mostly used as a project management tool where each bar is a measure of a task in the project.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>58. Explain how VLOOKUP works in Excel.</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>VLOOKUP is used when you need to find things in a table or a range by row. Following are the parameters of Vlookup:</span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Vlookup_value - The value to look for in the first column of a table</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">table - The table from where you can extract value</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">col_index - The column from which to extract value</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">range_lookup - [optional] TRUE = approximate match (default). FALSE = exact match</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="random-integers"></a>59. How will you print four random integers between 1 and 15 using NumPy?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>To generate Random numbers using NumPy, we use the random.randint() functio</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>60. What is the difference between COUNT, COUNTA, COUNTBLANK, and COUNTIF in Excel?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">COUNT function returns the count of numeric cells in a range</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">COUNTA function counts the non-blank cells in a range</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">COUNTBLANK function gives the count of blank cells in a range</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">COUNTIF function returns the count of values by checking a given condition</span></li>
</ul>
<p style="text-align: justify;">&nbsp;</p>
<h3 style="text-align: justify;"><span style="color: #236fa1; font-size: 22px;"><strong><a id="faqs"></a>Clinical Data Analyst Interview FAQs</strong></span></h3>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>1. How do you make a dropdown list in MS Excel</strong><span style="font-weight: 400;">?</span></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Following are the steps to make a dropdown in MS Excel:</span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">First, click on the Data tab that is present in the ribbon.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Under the Data Tools group, select Data Validation.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Then navigate to Settings &gt; Allow &gt; List.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Select the source you want to provide</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>2. What are the different ways to create a data frame in Pandas?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>There are two ways to create a Pandas data frame.</span></p>
<ul style="text-align: justify;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">By initializing a list</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">By initializing a dictionary</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>3. What is CT?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Clinical Trials or CT is a comparative examination of medication with reference to any patient&rsquo;s medical condition.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>4. What is Pre-clinical study?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The pre-clinical study is a process involving in-vitro study on animals. In this process, a range of doses is given to animals to test the toxicity and efficacy parameters.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>5. What is patient file?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>A patient&rsquo;s file contains the medical and treatment history of the patient and demographic data. It can also have paper records or a combination of both computer and paper records.&nbsp;</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>6. What is an Audit Trail?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>An Audit trail refers to the data that shows the study was carried out following the accepted protocols. It mentions who, why, and when the changes in the data take place</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>7. What is Masking or Blinding?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>In masking or blinding, a researcher hides the details from the research subject, even if the research subject is receiving a placebo, investigational product, or current standard treatment.&nbsp;</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>8. What is Placebo?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Placebo refers to a powder, pill, or liquid that has no active ingredients. It helps researchers to isolate the study treatment effect.</span></p>
<p style="text-align: justify;">&nbsp;</p>
<h3 style="text-align: justify;"><span style="color: #236fa1; font-size: 22px;"><strong><a id="tips"></a>Clinical Data Analyst Interview&nbsp;</strong></span><span style="color: #236fa1; font-size: 22px;"><strong>Tips</strong></span></h3>
<ul>
<li><span style="font-weight: 400;"> Research the company and its projects related to clinical data analysis.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Review the job description and tailor your answers accordingly.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Understand the basics of clinical data management and analysis.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Familiarize yourself with relevant software and tools such as SAS, R, and SQL.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Prepare examples of how you have successfully managed and analyzed clinical data in the past.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Brush up on your statistical knowledge and data visualization skills.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Be ready to discuss any challenges you have faced while working with clinical data and how you overcame them.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Prepare questions to ask the interviewer about the company and the role.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Practice explaining technical concepts to non-technical stakeholders.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Be ready to discuss the latest developments and trends in the clinical data analysis industry.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Be prepared to discuss the ethical considerations and regulatory requirements associated with clinical data analysis.</span><span style="font-weight: 400;"><br /></span></li>
<li><span style="font-weight: 400;">Show enthusiasm for the field and your passion for using data to improve healthcare outcomes.</span><span style="font-weight: 400;"><br /><br /></span></li>
</ul>
<p style="text-align: justify;"><span style="font-size: 20px; color: #236fa1;"><strong>Conclusion:</strong></span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Above we have put together a comprehensive list of Clinical Data Analyst interview questions that will help you showcase your expertise in this field. Our questions cover a wide range of topics, including data collection, cleaning, analysis, and reporting. This blog also covers questions related to clinical trials and regulatory requirements if you missed it scroll again and check.&nbsp; Our team of experts has carefully curated these questions based on the latest trends in the industry and feedback from top employers. We hope with our Clinical Data Analyst Interview Questions guide, you'll be well-prepared to impress your interviewers and land your dream job in this exciting and growing field.</span></p>16:T5dce,<p><span style="font-weight: 400;">In today's fast-paced tech industry, staying relevant is critical. This is where Kotlin comes into play. Developed by JetBrains, Kotlin is a modern programming language that aims to make developers more productive, reduce errors, and improve code readability. Since Google officially endorsed Kotlin for Android development, many companies have adopted it for their projects. In fact, according to the 2021 Stack Overflow Developer Survey, Kotlin is the fourth most loved programming language and the fifth most wanted language by developers. Whether you're a seasoned developer or just starting, preparing for Kotlin interview questions can open up exciting opportunities for your career growth.</span></p>
<p>In this Blog, we have included the most recent and frequently asked Kotlin Interview Questions and Answers that have been further categorized as per the criteria mentioned above.</p>
<ul>
<li><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#freshers">Kotlin Interview Questions for Freshers</a></strong></span></li>
<li><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#coroutines">Kotlin Coroutines Interview Questions</a></strong></span></li>
<li><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#experienced">Kotlin Coding Interview Questions for Experienced</a></strong></span></li>
<li><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#tips">Tips</a></strong></span></li>
<li><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#faqs">FAQs&nbsp;</a></strong></span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="font-size: 18px;"><strong>Most frequently asked Kotlin Interview Questions</strong></span></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#java-kotlin">Can you compare Java and Kotlin?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#nullable">What is a nullable type?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#corountines">What are coroutines?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#function-application">What is the function of the application?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#inline-feature">What is an inline feature?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#coroutine-scope">What is a coroutine scope?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#extensive-property">What is an extensive property?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#lambda-expression">What is a lambda expression?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#platform">What is a type of platform?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#infix-call-and-regular-function-calls">What's the distinction between an infix call and regular function calls?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><a id="freshers"></a>Kotlin Interview Questions for Freshers</span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q1) What is Kotlin?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Kotlin is a statically-typed cross-platform programming language employed mainly for developing concise, compressed, expressive, and secure apps. JetBrains created it in the year 2011.</span></p>
<h3><span style="color: #e67e23;"><span style="font-size: 18px;"><strong>Q2) </strong></span><strong><span style="font-size: 18px;">What are the main characteristics of Kotlin?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The essential aspects of Kotlin include extension functions, null security lambdas, coroutines and interoperability in <span style="color: #236fa1;"><a style="color: #236fa1;" title="Java Swing Tutorial" href="https://tekslate.com/java-swing-tutorial" target="_blank">Java</a></span>.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="java-kotlin"></a>Q3) Can you compare Java and Kotlin?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Kotlin can be compared with Java since it's a JVM-based programming language and considerably more straightforward to read than Java codes. Kotlin has many features that Java does not have, like extensions and null safety functions.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) What are the most common data types in Kotlin?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The most common data types are Int, Long, Double, Float, Char, Boolean and <span style="color: #236fa1;"><a style="color: #236fa1;" title="String function in SAS" href="https://tekslate.com/string-function-sas" target="_blank">String</a></span>.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="nullable"></a>Q5) What is a nullable type?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A nullable type holds either a value belonging to a specific data type or an empty value. You use the question mark (?) following the data type to declare a nullable type.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 39.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 39.5047px;">
<td style="width: 98.4573%; text-align: center; height: 39.5047px;"><em>Want to acquire industry skills and gain complete knowledge of Kotlin? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Kotlin Training" href="https://tekslate.com/kotlin-training" target="_blank">Kotlin Training</a></strong></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q6) What is intelligent casting?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Intelligent cast feature lets the compiler automatically convert a variable into the non-nullable kind if it is able to establish that the variable cannot have a value that is null.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q7) What is an extension function?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Extension functions are extensions included in an existing program without modifying the class. This lets you create new features to classes that you do not possess control over.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q8) What is a lambda function?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A lambda function is a type of function that can be transferred as a variable and utilized as an argument to various functions. It is often utilized to construct functional-style codes.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q9) What's a higher-order operation?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A higher-order function takes the parameters of another program and returns the function in return. This permits more flexibility and efficient code.</span></p>
<h3><span style="color: #e67e23;"><strong><span style="font-size: 18px;"><a id="corountines"></a>Q10) What are coroutines?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Coroutines can be used to write asynchronous code that is simpler to understand and maintain than traditional callback-based codes. Coroutines allow you to create code that appears as if it's synchronous, but actually, it runs asynchronously in the background.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q11) What exactly is the Elvis operator?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Elvis operator (? :) is a shorthand method for null values. This returns the amount that is left if it's null and the opposite value in case that value is not null.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q12) What is the best phone operator?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A safe caller (?.) is a shorthand term for null values. It lets you safely access methods or properties on an object without throwing an exception for null pointers when the object is not null.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q13) How can you tell the difference between progression and progress?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>An array is a series of values that spans two ends. A progression is a set of values with an exact interval between them.</span></p>
<h3><span style="color: #e67e23;"><strong><span style="font-size: 18px;">Q14) What's the significance of the function?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The with function lets you perform multiple functions on an object without repeating the object's name. It accepts objects as parameters, and lambda is a block of code to run on that object.</span></p>
<h3><strong><span style="font-size: 18px; color: #e67e23;"><a id="function-application"></a>Q15) What is the function of the application?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The function applies identically to the with function but will return the item it was used on instead of the outcome of lambda. This lets you connect several calls on the exact object.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="coroutines"></a>Kotlin Coroutines Interview Questions</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q16) What is an object?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The term "object" refers to a singular instance of an object class. It is created lazy and is accessible by the object's name.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="inline-feature"></a>Q17) What is an inline feature?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Inline functions are functions that are expanded during compile time instead of invoked during execution. This improves performance in specific scenarios.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q18) What is a type parameter that is reified?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A reified type parameter can be described as an element of the type parameter accessible during execution. It is usually employed along with inline functions to carry out type checks while running.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q19) What are the higher-order extensions?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Higher-order extensions are a function that takes a function's parameter and returns the function in return. This lets you write more flexible and robust code.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="coroutine-scope"></a>Q20) What is a coroutine scope?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A coroutine scope is a means to manage coroutines as well as their lifecycles. It defines the context within which coroutines are started and also provides a method to end all coroutines within this context.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q21) What is the difference between the launches() and the async() coroutines?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Launch() can be used to start an execution plan that is running in the background but does not produce a result, and the async() is utilized to initiate an execution that produces the Deferred object, which is used to get the output that the Coroutine has produced.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q22) What is a flow?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The term "flow" refers to a set of asynchronous values that can be released quickly. It's like streams or is observable in different languages.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q23) What is a suspend function?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The suspend feature is a feature which can be stopped and resumed at a later point. It is usually utilized along with coroutines in order to execute asynchronous tasks.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q24) What is a property delegation?&nbsp;</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A property delegate is a method to customize the behaviour of property accessors. It lets you define specific get behaviour and set it for the property.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q25) What is a lazy property?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Lazy properties are only created at the time of first access. This improves performance in certain circumstances.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q26) What is a delegated asset?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A delegated property has accessors provided by an object called a delegate. It lets you define specific behaviour for property accessors.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="extensive-property"></a>Q27) What is an extensive property?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A property extension adds to an existing object without altering the class. This lets you add additional properties to classes you have no control over.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q28) What is the definition of an Elvis operator?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Elvis operator can be represented with the? Symbol. It is used to give an alternative value in the event the nullable variable is not null.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q29) What is the best call-centre operator?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A safe call is represented with the?. Symbol. It can be employed to access the functions or properties of an object that is nullable. If the object is null, the expression returns null instead of throwing a <span style="color: #236fa1;"><a style="color: #236fa1;" title="Null Pointer" href="https://tekslate.com/explain-different-types-pointers-c-language#null-pointer" target="_blank">Null Pointer</a></span> Exception.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="lambda-expression"></a>Q30) What is a lambda expression?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A lambda expression is a function not defined with an identifier and can be transferred around as variables. It is frequently utilized together with higher-order functions, as well as Kotlin's functional programming capabilities.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="experienced"></a>Kotlin Coding Interview Questions for Experienced</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q31) How can you tell the difference between lazy and lateinit initialization?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The lateinit method allows you to define a variable to be created later, whereas lazy initialization can be used to declare a variable that will be initialized upon first use. Lazy initialization is thread-safe, but lateinit isn't.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q32) What is a suspend lambda?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A suspend lambda can be described as a lambda expression which is identified with the modifier suspend. It is a good choice with coroutines to perform Asynchronous operations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q33) What is an interface sealed?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A sealed interface is comparable to a closed class; however, it is only implemented by classes inside one file. It is typically employed to create a limited range of interfaces.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q34) What's the definition of projection?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A projection can be used to define a generic parameter as being either covariant or invariant. This permits more flexibility and accurate type-checking.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="platform"></a>Q35) What is a type of platform?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The term "platform type" refers to a class that isn't explicitly designated as non-nullable or nullable. It is commonly employed in conjunction using Java code that doesn't explicitly declare nullability.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="infix-call-and-regular-function-calls"></a>Q36) What's the distinction between an infix call and regular function calls?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Function calls that use the infix modifier are called using the infix modifier and are named using the infix notation (e.g. FunctionName: b), and normal function calls utilize the standard syntax (e.g. functionName(a, b)). Infix function calls only be used with only one parameter.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q37) What is a Typealias?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A typealias can be utilized to give a different name for a particular type. It is utilized to make code accessible and avoid lengthy declarations of types.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q38) What is a suspendCoroutine?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>suspendCoroutine is a function of higher order which is used to stop the current Coroutine and then start another one. It is typically utilized to perform low-level Coroutine operations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q39) What is the main difference between the primary and secondary constructors?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Primary constructors are defined within the header of the class and serve to define the characteristics that the class has. Secondary constructors can be defined in the body of the class and serve to offer additional methods to initialize the class.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q40) What is a projection of typealias?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A typealias projection is a method to project an alias type onto a particular type parameter. It is a method to produce less readable and concise code.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="tips"></a>Tips for preparing for Kotlin Interview</strong></span></h2>
<p><span style="font-weight: 400;">1. Research the company and their use of Kotlin in its tech stack.</span></p>
<p><span style="font-weight: 400;">2. Practice Kotlin coding challenges and algorithms to improve your problem-solving skills.</span></p>
<p><span style="font-weight: 400;">3. Review Kotlin syntax and its features to ensure familiarity during the interview.</span></p>
<p><span style="font-weight: 400;">4. Understand the differences between Kotlin and Java to highlight the benefits of using Kotlin.</span></p>
<p><span style="font-weight: 400;">5. Prepare examples of Kotlin projects you have worked on and be ready to discuss your contributions.</span></p>
<p><span style="font-weight: 400;">6. Familiarize yourself with popular Kotlin frameworks and their use cases.</span></p>
<p><span style="font-weight: 400;">7. Be prepared to explain the benefits of using Kotlin for Android development.</span></p>
<p><span style="font-weight: 400;">8. Review the Kotlin standard library and know how to use common functions.</span></p>
<p><span style="font-weight: 400;">9. Research common Kotlin interview questions and prepare responses.</span></p>
<p><span style="font-weight: 400;">10. Showcase your teamwork skills by discussing collaboration on Kotlin projects.</span></p>
<p><span style="font-weight: 400;">11. Be ready to discuss the benefits and drawbacks of using Kotlin versus other programming languages.</span></p>
<p><span style="font-weight: 400;">12. Stay up-to-date on Kotlin updates and new features to showcase your interest in the language.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="faqs"></a>Kotlin Interview Questions FAQs</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>1. What is the definition of the visibility modifier?</strong></span></h3>
<p><span style="font-weight: 400;">The visibility modifier can be used to establish a function's extent, class or variable. The four types of visibility are private, internal, protected and public.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>2. What is an enclosed class?</strong></span></h3>
<p><span style="font-weight: 400;">An enclosed class is a type of class which can only be extended by classes that are part of this same directory. It is usually employed in conjunction with expressions to make a limited subclass.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>3. What is a "companion object"?</strong></span></h3>
<p><span style="font-weight: 400;">The term "companion object" refers to an object connected to a specific class and can be utilized to record static methods as well as properties.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>4. What is an information class?</strong></span></h3>
<p><span style="font-weight: 400;">The data class can be described as a type of class which is designed to hold information. It automatically generates useful functions like equals() as well as hashCode() and even toString() in accordance with its properties.</span></p>
<p>&nbsp;</p>
<p><span style="font-size: 20px; color: #236fa1;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">Preparing for a Kotlin interview requires both understanding of the language's syntax and knowledge of its application in real-world scenarios. The Kotlin interview questions and answers provided in this blog serve as a valuable resource to help you prepare for your next Kotlin interview. It's important to take the time to familiarize yourself with the language's features, such as its null safety and extension functions, and to practice implementing them in code. Additionally, reviewing common Kotlin interview questions and practising answering them concisely and clearly is useful.&nbsp;</span></p>
<p><br /><br /><br /><br /></p>17:T9f9d,<p><span style="font-weight: 400;">Grunt is a powerful task runner for JavaScript-based projects that helps automate repetitive tasks such as minification, compilation, and testing. If you're looking to ace your Grunt interview, it's essential to prepare thoroughly by understanding the basics of Grunt and its various applications.&nbsp;</span></p>
<p><span style="font-weight: 400;">These 50 Grunt interview questions and answers will help you prepare effectively and perform well in Grunt interviews. Study them thoroughly to make a good impression and earn a 6-fig salary. </span></p>
<p>We have divided these Grunt interview questions into a few Categories:</p>
<ul>
<li style="font-weight: 400;" aria-level="1"><a href="#basic"><span style="color: #236fa1;"><strong>Basic Grunt Interview Questions</strong></span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#intermediate"><span style="color: #236fa1;"><strong>Intermediate Grunt Interview&nbsp;Questions</strong></span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#advanced"><span style="color: #236fa1;"><strong>Advanced Grunt Interview Questions</strong></span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#faqs"><span style="color: #236fa1;"><strong>Frequently asked Questions on Grunt</strong></span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#tips"><span style="color: #236fa1;"><strong>Tips to prepare for Grunt Interview</strong></span></a></li>
</ul>
<p><span style="font-weight: 400;">Let's get started!</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="font-size: 18px; color: #000000;"><strong>Most Frequently Asked Grunt Interview Questions</strong></span></h3>
<ul>
<li><a title="What is CORS?" href="#cors"><span style="color: #236fa1;">What is CORS?</span></a></li>
<li><a title="essential programming language" href="#essential-programming-language"><span style="color: #236fa1;">What is the essential programming language for your job?</span></a></li>
<li><a title="Full-Stack Developer" href="#full-stack-developer"><span style="color: #236fa1;">What Is a Full-Stack Developer?</span></a></li>
<li><a href="#professional-goals"><span style="color: #236fa1;">What Are Your Professional Goals?</span></a></li>
<li><a href="#working-on-own-or-part-of-team"><span style="color: #236fa1;">Do You Prefer to Work on Your Own or as Part of a Team?</span></a></li>
<li><a href="#graphql-and-rest"><span style="color: #236fa1;">What is the main difference between GraphQL and REST?</span></a></li>
<li><a href="#semantic-html"><span style="color: #236fa1;">Explain semantic HTML.</span></a></li>
<li><a href="#become-a-full-stack-developer"><span style="color: #236fa1;">How Hard Is It To Become a Full-Stack Developer?</span></a></li>
<li><a href="#arrow-functions-not-used-in-es6"><span style="color: #236fa1;">Why should arrow functions not be used in ES6?</span></a></li>
<li><a href="#solid-principle-in-java"><span style="color: #236fa1;">What is the SOLID principle in Java?</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong>&nbsp;<a id="basic"></a>Basic Grunt Interview Questions for Freshers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1. How do you keep yourself updated about the new trends in the industry?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To keep myself informed of emerging trends in the industry, I frequently read specific industry blogs, sign up for newsletters and follow thought leaders via social platforms. I also attend industry-specific conferences and webinars, join online communities, and converse with colleagues and fellow professionals. I am also adamant about exploring the latest technologies and tools when I have time to learn more about their capabilities and limitations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="cors"></a>2. What is CORS?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>CORS refers to Cross-Origin Resource Sharing. This is a safety feature used by web browsers that permits the resources displayed on a website page to be requested from another domain other than that from which the first resource was delivered. This is crucial for web applications that depend on APIs from different domains as it allows the web application to access data stored on third-party servers safely.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>3. Can You Share Something Interesting About Yourself?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Something that I find interesting about myself is that I have a love for cooking and love experimenting with different food styles. It is an excellent way to relax as a coder after a long and tiring day.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4. Are you aware of design patterns?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, I'm familiar with design patterns. Design patterns are reusable solutions to software design issues. Design patterns help in improving the efficiency, flexibility, and accuracy of code.&nbsp;</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 49.4977px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 49.4977px;">
<td style="width: 98.4573%; text-align: center; height: 49.4977px;"><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Want to acquire industry skills and gain complete knowledge of Salesforce? Enroll in Instructor-Led live Salesforce Training to get Job Ready!&quot;}" data-sheets-userformat="{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}">Want to acquire industry skills and gain complete knowledge of Grunt? Enroll in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/grunt-training" target="_blank"><strong>Grunt Training</strong></a></span> to get Job Ready!</span></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>5. What's the most recent thing that you have learned?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Most recently, I've learned the new <span style="color: #236fa1;"><a style="color: #236fa1;" title="Cookies in JavaScript" href="https://tekslate.com/cookies-javascript" target="_blank">JavaScript</a></span> framework known as React. So long have I experienced it as an effective tool for creating interactive and responsive user interfaces, and I'm excited to explore its possibilities even more.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>6. What is your favorite language and why?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>My preferred programing language is <span style="color: #236fa1;"><a style="color: #236fa1;" title="Python Tutorial" href="https://tekslate.com/tutorials-python" target="_blank">Python</a></span> due to its ease of use and ease of reading. It is easy to master and write and offers a variety of applications, ranging from web development to <span style="color: #236fa1;"><a style="color: #236fa1;" title="How Machine Learning is Transforming Content Marketing" href="https://tekslate.com/machine-learning-transforming-content-marketing" target="_blank">machine learning</a></span> and data analysis.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>7. What Is Something You Like to Do Outside of Work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Outside work, I am fond of taking part in mindfulness and yoga. It helps me remain centred and focused. It also is an excellent method to lower stress levels and boost overall health.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>8. What is Long Polling?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Long polling is a technique commonly used in web development to facilitate real-time communication between a client and a server. Instead of the client repeatedly requesting updates, the server keeps the request open until new data is available and then sends the updated information to the client. This method is faster and more efficient than traditional polling, resulting in a better user experience and conserving server resources.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="essential-programming-language"></a>9. What is the essential programming language for your job?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The programming language I need to know depends on the specific project and its requirements. But I am open to learning new things; however, I have found that JavaScript, Python, and <span style="color: #236fa1;"><a style="color: #236fa1;" title="Java Stream Tutorial" href="https://tekslate.com/java-stream-tutorial" target="_blank">Java</a></span> are some of the commonly required languages, and I am working on all of them.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>10. Describe a time when you made a blunder while working on a project. How did you rectify it?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In a previous project, I identified an error in the code that led to issues in further production. I immediately started working on it closely with my team to fix the problem. We have implemented additional quality assurance and testing measures to avoid similar problems from happening again.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>11. What Keeps You Motivated?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>What keeps me going most is tackling complicated problems, as well as the satisfaction of knowing that my work positively affects other people. I also appreciate working with a friendly and cooperative team who shares my enthusiasm for excellence and innovation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="full-stack-developer"></a>12. What Is a Full-Stack Developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A full-stack developer has the expertise and expertise to work on the front end and the back end of a web-based application. This includes knowledge of languages like <span style="color: #236fa1;"><a style="color: #236fa1;" title="HTML Tutorial" href="https://tekslate.com/html-tutorials" target="_blank">HTML</a></span>, CSS, and JavaScript for the front end and languages like Python, Ruby, or PHP for the back end. Full-stack developers can manage every aspect of web development, including user interfaces, server-side programming, and the management of databases.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>13. What Are Your Predominant Strengths?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>My strengths are my solid problem-solving skills, focus on detail, and vital communication skills. I'm also an active participant in teams who appreciates working in a team and is always willing to go that further to guarantee the project's success.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>14. Tell Me Something That Is Not on Your Resume.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>One thing that needs to be added to my list is that I am a frequent traveler and have been to several nations around the globe. Traveling is an excellent method to broaden one's horizons and better understand other living styles and cultures. It also allows me to disconnect from work and recharge my batteries.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="professional-goals"></a>15. What Are Your Professional Goals?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>My professional goals are to continue to improve and learn as an individual developer, assuming different responsibilities and challenges and contributing to the business's growth. I am also interested in opportunities to impart my knowledge to others.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>16. Where Do You See Yourself in Five Years?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In five years, I envision myself as an experienced developer who will take the reins of leadership and assist in shaping what direction of the business. I would like to have contributed to numerous successful projects and be an acknowledged developer. I also wish to continue pursuing my professional and personal development by learning and exploring new trends and technologies.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong>&nbsp;<a id="intermediate"></a>Intermediate Grunt Interview Questions</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>17. What coding projects are you currently working on?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Currently, I am developing a web application that manages financial transactions. It involves implementing user authentication, data visualization, and analysis using libraries and frameworks such as React, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/node-js-tutorials" target="_blank">Node.js</a></span>, and MongoDB.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>18. What Programming Languages Are You Comfortable Working With?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Since I am well versed in several programming languages like Python, JavaScript, Java, and C++, they would be fine.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="working-on-own-or-part-of-team"></a>19. Do You Prefer to Work on Your Own or as Part of a Team?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Both individual work and teamwork are essential in software development. However, I lean more towards team collaboration as it promotes knowledge sharing, creativity, and efficient problem-solving.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>20. Why Are You Leaving Your Current Company?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>I am looking for new challenges and opportunities for personal and professional growth, which my current company cannot provide.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>21. How do you stay abreast of developments in the technology industry?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>I stay updated with the latest developments by attending industry events, subscribing to technology blogs and newsletters, participating in online communities, and continuous learning and training.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>22. Why should we hire You?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Since I have all the qualifications mentioned in the Job Description and have worked on several projects, my experience and skill set are the perfect fit for this job. Also, I am looking for new challenges and opportunities for growth and adding value to myself and the company.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>23. What coding projects are you currently working on?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>I am working on a web application for managing financial transactions using React, Node.js, and <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/mongodb-index" target="_blank">MongoDB</a></span>.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>24. What Is the Importance of a Full-Stack Developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full-Stack Developers is an essential characters in software development as they possess knowledge and skills in both front-end and back-end technologies. They develop and maintain web applications and work on designing the user interface, implementing business logic, and managing databases.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="graphql-and-rest"></a>25. What is the main difference between GraphQL and REST?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>GraphQL provides a flexible and efficient way of querying and retrieving data from a server by allowing the client to specify the data they need and REST uses a predefined set of endpoints to expose server resources to clients.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>26. What is Full Stack development?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full Stack development refers to the development of web applications that involve all application layers, including the front-end, back-end, database, and server-side scripting.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>27. Name a few Full Stack developer tools.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some of the commonly used <span style="color: #236fa1;"><a style="color: #236fa1;" title="Full Stack Developer Interview Questions" href="https://tekslate.com/full-stack-developer-interview-questions" target="_blank">Full Stack developer</a></span> tools include Angular, Grunt, React,&nbsp; Node.js, Express, MongoDB, MySQL, and Git.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 20.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 20.5047px;">
<td style="width: 98.4573%; height: 20.5047px; text-align: center;"><em>Checkout our new blog on <strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/java-swing-tutorial" target="_blank">Java Swing Tutorial</a></span></strong></em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>28. To develop a project from scratch, what technologies and languages would you need or what skills a full-stack developer should have?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To develop a project from scratch, a Full Stack Developer would need to have knowledge and skills in front-end technologies such as HTML, CSS, and JavaScript, back-end technologies such as Node.js or Ruby on Rails, database management systems such as MySQL or MongoDB, and server-side scriptings such as PHP or Python.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>&nbsp;29. What is Callback Hell?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Callback Hell is when nested callbacks become challenging to read and maintain in asynchronous programming. It can be mitigated by using asynchronous programming techniques such as Promises, async/await or using libraries such as RxJS.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>30. List the ways to improve your website load time and performance.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some ways to improve website load time and performance include optimizing images and videos, minifying and compressing files, using a content delivery network (CDN), reducing server response time, enabling caching, and optimizing website code.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>31. What are the latest trends in Full Stack Development? Also, how do you keep yourself updated about the new trends in the industry?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The latest trends in Full Stack development include serverless architecture, microservices, containerization, and artificial intelligence. To stay updated about new trends, I participate in online communities, attend conferences and workshops, subscribe to technology blogs and newsletters, and continuously learn and explore new tools and technologies.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="advanced"></a>Advanced Grunt Interview Questions for Experienced</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>32. Name a few ways to optimize a website to be as efficient and scalable as possible.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To optimize a website for efficiency and scalability, there are several ways:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Minimize HTTP requests by reducing the number of resources needed to load the website</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To reduce the load time use a Content Delivery Network</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reduce the file size or image and other elements.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To enhance the speed and reduce load time use caching techniques&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To improve the response time work on the backend database</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement server-side and client-side&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use a lightweight, responsive design.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>33. What do Full Stack Web Developers do?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full Stack Web Developers work on developing and maintaining websites and web applications. They take care of&nbsp; both front-end and back-end. They use their expertise in programming languages, frameworks, and designing tools to meet clients' requirements.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>34. What skills do you need to be a full-stack developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full Stack Developers must be proficient in the latest programming languages, such as HTML, CSS, JavaScript, and server-side languages, such as Java, Python, Ruby, or PHP and have experience working with databases and have knowledge of SQL or NoSQL and various frameworks, libraries, and tools for web development, such as React, Angular, Node.js, and Express.js. In addition, they should have excellent problem-solving, communication, and collaboration skills.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>35. What do you mean by referential transparency in functional programming?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Referential transparency is functional programming that refers to the ability to replace an expression with its corresponding value without changing the program's behaviour. This means a function should return the same output for a given input, regardless of where it is called in the program.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>36. What are MVC and MVP, and how is MVC different from MVP?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>MVC and MVP are architectural patterns used in software development. MVC stands for Model-View-Controller, while MVP stands for Model-View-Presenter. MVC and MVP have similar architectures but differ in handling user input and data flow. MVC separates the application into three components: the model (data), the view (user interface), and the controller (handles user input).&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>37. What is referential transparency in functional programming?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Referential transparency refers to the ability to replace an expression with its corresponding value without changing the behaviour of the program, the function should return the same output for a given input, regardless of where it is called in the program.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="semantic-html"></a>38. Explain semantic HTML.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Semantic HTML is used to add value to the content on a web page. For example,&nbsp; &lt;nav&gt; tag is used to define a navigation menu on a web page instead of a &lt;div&gt; tag. Semantic HTML makes it easier for search engines to understand the content of a web page, making it more accessible for users with disabilities.&nbsp;</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 36.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 36.5047px;">
<td style="width: 98.4573%; height: 36.5047px; text-align: center;"><em>Do check out our Blog on <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="HTML Interview Questions" href="https://tekslate.com/html-interview-questions-answers" target="_blank">HTML Interview Questions</a></strong></span> to crack your HTML Interview.</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="become-a-full-stack-developer"></a>40. How Hard Is It To Become a Full-Stack Developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Becoming a full-stack developer is a challenging task that requires a combination of technical and non-technical skills. It requires a solid foundation in multiple programming languages, web development frameworks, databases, and front-end technologies. Moreover, full-stack developers need to have a good understanding of software development principles and design patterns. They should also be able to manage time and work under pressure while maintaining high quality. However, with dedication, hard work, and constant learning, anyone can become a successful full-stack developer.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>41. List Some Common Ways To Reduce the Load Time of a Web Application.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>There are several ways to reduce the load time of a web application, such as:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Optimizing images and using the correct image format</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Minimizing HTTP requests</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using a Content Delivery Network (CDN)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Caching frequently used data</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reducing server response time</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using compression techniques like Gzip</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Minimizing CSS and JavaScript files</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Combining CSS and JavaScript files</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Minimizing redirects</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>42. What Are the Differences Between Server-Side Scripting and Client-Side Scripting?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Server-side scripting is executed on the server before the page is sent to the client's browser. It generates dynamic content based on user input, database queries, or external APIs. Examples of server-side scripting languages are PHP, Python, Ruby, and Java.</span></p>
<p><span style="font-weight: 400;">Client-side scripting, on the other hand, is executed in the browser after the page has been downloaded. It manipulates the HTML document and allows dynamic user interaction without a page refresh. Examples of client-side scripting languages are JavaScript, HTML5, and CSS3.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>43. What do you mean by Temporal Dead Zone in ES6?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Temporal Dead Zone (TDZ) is a behavior introduced in ES6 that occurs when trying to access a variable declared using the let or const keyword before it has been initialized. In this case, a runtime error will be thrown. This is different from variables declared using var, which can be accessed before they are initialized but will return an undefined value.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>44. What do you mean by referential transparency in functional programming?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Referential transparency is a property of functions in functional programming, where a function always returns the same output for the same input without causing any side effects. In other words, it is a guarantee that a function can be replaced with its return value without affecting the correctness of the program. This property makes it easier to reason about code and helps to ensure that functions are composable and reusable.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="arrow-functions-not-used-in-es6"></a>45. Why should arrow functions not be used in ES6?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Arrow functions have some limitations, such as not being able to bind this keyword, not supporting the arguments object, and not being able to use the new keyword to create objects. Therefore, they should not be used in certain situations where these limitations would cause issues. However, in most cases, arrow functions can be used effectively and are a concise and readable way to write functions.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>46. What are the different methods of session management in Servlet?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Session management is a crucial aspect of web development, and it involves maintaining the state of user interactions with the application. In Java Servlets, there are three main methods of session management:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cookies: A small file stored on the user's machine to store session information.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">URL Rewriting: Appending a unique identifier to the URL to maintain session information.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Hidden Form Fields: A form field is used to store session information.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>47. What is double brace initialization in Java, and where is it used?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Double brace initialization is a Java language feature that concisely allows for the creation and initialization of nested data structures. It involves using two sets of braces to create an anonymous inner class and initializing its instance variables. Double brace initialization is used when creating a collection of objects or a Map with initial values.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="solid-principle-in-java"></a>48. What is the SOLID principle in Java?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>SOLID is an acronym for a set that stands for the five principles: Single Responsibility Principle, Open-Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, and Dependency Inversion Principle. The SOLID principles help developers create modular, testable, and easy-to-maintain code.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>49. What is CORS in MVC, and how it works?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cross-Origin Resource Sharing (CORS) is a security mechanism that allows or restricts access to resources on a web page from different origins. In the context of MVC, CORS is used to manage the communication between different servers and domains. When a client requests a resource from a different domain, the server may need to send an Access-Control-Allow-Origin header in its response to indicate that the resource is accessible from the client domain. This helps prevent unauthorized access to resources and improves the security of web applications.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="faqs"></a>Frequently Asked Questions for Grunt Interview</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1. What is Grunt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Grunt is a JavaScript task runner that helps automate repetitive actions, including minification, unit testing, compilation, etc.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2. What are the benefits of using Grunt in a project?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Benefits of Grunt in the project include:</span></p>
<ul>
<li><span style="font-weight: 400;"> Increase in productivity</span></li>
<li><span style="font-weight: 400;"> Enhance consistency</span></li>
<li><span style="font-weight: 400;"> Improve code quality</span></li>
<li><span style="font-weight: 400;"> Ease to automation</span></li>
<li><span style="font-weight: 400;"> Reduce time and cost</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>3. How do you install Grunt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To install Grunt, you must first install Node.js and Node Package Manager ( npm).</span></p>
<p><span style="font-weight: 400;">Then run the command in the command prompt: '</span><strong>npm install -grunt-cli.'</strong></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4. How do you create a Gruntfile?</strong></span></h3>
<p><span style="font-weight: 400;">Gruntfiles can be created with the file name '</span><strong>Gruntfile.js'&nbsp;</strong><span style="font-weight: 400;">in the project's root directory.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>5. </strong><strong>What are some popular Grunt plugins?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>These are some popular Grunt plugins:&nbsp;</span></p>
<ul>
<li><strong>'grunt-contrib-uglify'</strong><span style="font-weight: 400;">&nbsp;&ndash; To minifying Js Files</span></li>
<li><strong>'grunt-contrib-watch'&nbsp;</strong><span style="font-weight: 400;">&ndash; To track file changes</span></li>
<li><strong>'grunt-contrib-sass'&nbsp;</strong><span style="font-weight: 400;">&ndash; To compile Saas file to CSS.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>6. How do you run a Grunt task?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Command -&nbsp;</span><strong>'grunt'</strong><span style="font-weight: 400;">&nbsp;followed by the task name is used to run the Grunt Task.&nbsp;</span></p>
<p><span style="font-weight: 400;">Suppose the file name is xyz. Syntax:&nbsp;</span><strong>grunt xyz&nbsp;</strong></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>7. Can you explain the difference between Grunt and Gulp?</strong></span></h3>
<p><span style="font-weight: 400;">The significant difference between Grunt and Gulp is -</span></p>
<p><span style="font-weight: 400;">Grunt uses configuration files, whereas Gulp uses a code-baes approach &ndash; streams to work on the project.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>8. How do you debug a Grunt task?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Command: '&mdash;debug' is used to debut the Grunt task.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>9. Can you customize Grunt tasks?&nbsp;</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, you can customize Grunt tasks.</span></p>
<h3><span style="color: #e67e23;"><strong>10. </strong><strong>How do you automate repetitive tasks using Grunt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To automate repetitive tasks using Grunt, you can create tasks that perform specific actions such as minifying files, running tests, or deploying your code. These tasks can be run automatically using a task runner like Grunt.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="tips"></a>Tips to prepare for Grunt Interview</strong></span></h2>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Before the interview, make sure you have a good understanding of Grunt and its features.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Make sure you understand the job requirements and responsibilities and be prepared to explain how your skills and experience align with them.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Practice writing code using Grunt, and be prepared to demonstrate your skills during the interview.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Grunt is built using JavaScript, so it's essential to have a strong foundation in the language and a clear Java concept.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Read through the Grunt documentation to better understand how it works and how to use it effectively.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Revise technical questions on Grunt, JavaScript, and related technologies.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Ensure you know related tools like Node.js, npm, and Git.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Be prepared to demonstrate your problem-solving skills by solving coding challenges or answering hypothetical questions.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Be confident and calm, and avoid getting confused as there are similar technologies the interview may need to be clarified to check your proficiency.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Be professional, keep the interview communicative, and be prepared to discuss your experience, work history, career goals, and expectations.</span></li>
</ul>
<p><strong>&nbsp;</strong></p>
<p><span style="color: #236fa1; font-size: 20px;"><strong>Conclusion</strong></span></p>
<p><span style="font-weight: 400;">Preparing for a Grunt interview can be challenging, but studying these 50 most common Grunt Interview Questions and Answers can significantly increase your chances of success. A career as a Grunt can offer a good income, with salaries in the US ranging from $20,640 to $61,070 and a median salary of $31,910. You can excel in this profession and enjoy a successful career with the right skills and knowledge. With these Grunt Interview Questions, you'll be able to learn about the basics of Grunt, how to configure and run Grunt tasks, how to use Grunt plugins, and much more. Studying these questions lets you showcase your knowledge and skills during your Grunt interview.</span></p>
<p><br /><br /><br /></p>18:Ta184,<p><span style="font-weight: 400;">Today's tech-driven world calls for more and more Full Stack Development. Full stack development reduces the project's cost and helps understand a working well with one point of contact: the Full stack developer. A Full Stack Developer is responsible for developing both front-end and back-end aspects of web applications, including user interfaces to server-side APIs. As more and more companies move towards digital transformation, the demand for skilled Full Stack Developers has been increasing rapidly.</span></p>
<p><span style="font-weight: 400;">For professionals aspiring to become Full Stack developers, it is essential to prepare for </span><strong>Full Stack Developer Interview Questions</strong><span style="font-weight: 400;">. The interview process can be challenging as full-stack development emerges. This article will provide an overview of some of the most common Full Stack Developer interview questions and offer tips on preparing for them.</span></p>
<p><span style="font-weight: 400;">We have divided these interview Questions into a few categories:</span></p>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#basic">Basic Full Stack Developer Interview Questions for Freshers</a></span></li>
<li><span style="font-weight: 400; color: #236fa1;"><a style="color: #236fa1;" href="#intermediate">Full Stack Interview Questions and Answers</a><br /></span></li>
<li><span style="font-weight: 400; color: #236fa1;"><a style="color: #236fa1;" href="#advanced">Java Full Stack Developer Interview Questions for Experienced</a><br /></span></li>
<li><span style="font-weight: 400; color: #236fa1;"><a style="color: #236fa1;" href="#faqs">FAQs</a><br /></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#tips"><span style="font-weight: 400;">Tips</span></a></span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="color: #000000; font-size: 18px;">Top 10 Full Stack Developer Interview Questions</span></h3>
<ul>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#full-stack-development">What is Full Stack Development?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#pair-programming">Explain pair programming.</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#ioc">What is Inversion of Control (IoC)?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#observer-pattern">What is the Observer pattern?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#get-and-post">What is the difference between GET and POST?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#event-loop-in-node-js">What is an event loop in Node.js?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#resting-and-normalizing">What's the difference between "resting" and "normalizing" CSS?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#callback-in-javascript">What is a callback in JavaScript?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#docker-uses">What are some of the uses of Docker?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#mean-stack">What do you mean by MEAN Stack?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #236fa1; font-size: 24px;"><strong><a id="basic"></a>Full Stack Developer Interview Questions for Freshers</strong></span></h3>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q1) Name a few Full Stack Developer tools.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Popular Full Stack Developer tools include Visual Studio Code, Sublime Text, Atom, WebStorm, GitHub, GitLab, JIRA, and Trello.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="full-stack-development"></a>Q2) What is Full Stack Development?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full Stack Development is creating and maintaining comprehensive web applications from start to finish, which involves both front-end and back-end development activities such as designing, coding, testing, and deployment.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) What do Full Stack Web Developers do?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full Stack Web Developers are responsible for creating both front-end and back-end applications. They design, develop, and implement web applications using front-end languages like HTML, CSS, and <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/cookies-javascript" target="_blank">JavaScript</a></span> and back-end languages like Node.js, PHP, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/web-applications-python" target="_blank">Python</a></span>, Ruby on Rails, or Java.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) What skills do you need to be a full-stack developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full-stack developers require expertise in front-end technologies like HTML, CSS, JavaScript, and jQuery, as well as back-end technologies like Node.js, PHP, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/tutorials-python" target="_blank">Python</a></span>, Ruby on Rails, or Java. Additionally, they should have knowledge of databases, server architecture, and API design.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 37.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37.5047px;">
<td style="width: 98.4573%; text-align: center; height: 37.5047px;"><em>Do you want to enrich your career by learning Full Stack? Then Enroll in "<span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Full Stack Training" href="https://tekslate.com/full-stack-developer-training" target="_blank">Full Stack Training</a></strong></span>", this course will help you to boost your career.</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="pair-programming"></a>Q5) Explain pair programming.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Pair programming is a website/software development technique in which two developers collaborate on the same task, with one person typing and the other reviewing code. This helps identify errors and bugs early in the development cycle and encourages knowledge sharing and collaboration.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q6) What is CORS?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>CORS (Cross-Origin Resource Sharing) is a mechanism that enables resources from different domains to be requested on a web page. This helps protect user data from theft or misuse by only allowing requests from approved domains.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="ioc"></a>Q7) What is Inversion of Control (IoC)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Inversion of Control (IoC) is a design pattern in which the control of program flow is inverted from its main program to another framework or container. This leads to more modular and scalable code and easier testing and maintenance tasks.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q8) What is Dependency Injection?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Dependency Injection is a software design pattern in which the dependencies of a class are imported from an external source instead of being created within it. This helps reduce coupling and increase modularity within the codebase.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q9) What is multithreading, and how is it, user?</strong></span></h3>
<p><span style="font-weight: 400;">Multithreading is a programming technique in which multiple threads execute distinct parts of a program simultaneously. This can improve the performance and responsiveness of the application but requires careful management to avoid issues like race conditions or <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.techtarget.com/whatis/definition/deadlock" target="_blank" rel="nofollow">deadlocks</a></span>.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10) What is continuous Integration?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Continuous Integration is a software development practice where developers regularly merge their code modifications into an external repository and then automatically build and test those changes to guarantee they do not disrupt the overall system.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q11) How is GraphQL different from Rest?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>GraphQL is a query language and runtime that allows clients to specify the required data, then returns that data in one response. This differs from Rest, which often needs multiple requests to different endpoints to gather the desired information.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q12) List the ways to improve your website load time and performance.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Optimizing website load time and performance includes optimizing images, minimizing HTTP requests, compressing files, using a content delivery network (CDN), caching, and decreasing server response time.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="observer-pattern"></a>Q13) What is the Observer pattern?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Observer pattern is a design pattern in which an object, called the subject, keeps track of its dependents (observers), and notifies them automatically of any state changes through method calls.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q14) What is the difference between a full-stack engineer and a full-stack developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Full Stack Engineers typically possess more expertise and experience in one area of Full Stack Development, such as front-end, back-end, or database management; on the other hand, Full Stack Developers must possess knowledge across all phases of Full Stack Development.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q15) What is polling?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Polling is a programming technique wherein a program periodically checks for updates or modifications to a resource rather than waiting for that resource to notify it of these alterations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="get-and-post"></a>Q16) What is the difference between GET and POST?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>GET, and POST are two methods used to transfer data between a client and server. GET requests to retrieve information from the server, while POST requests submit data back to it for processing by the server.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="inversion-of-control"></a>Q17) Explain the inversion of control.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Inversion of Control (IoC) is a design pattern in software engineering where control over an application's flow of execution is inverted - giving power to a higher-level framework rather than the developer. In simpler terms, this means transferring program control to an external component or framework which manages its lifecycle.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q18) What do you mean by referential transparency in functional programming?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Referential transparency is a property of functional programming where output solely depends on its inputs and has no side effects. This ensures that functions always return the same result for any given set of inputs without altering external state or variables.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q19) Can You Reduce the Load Time for a Web Application?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, we can reduce the web application loading time. We can do this by optimizing images and other media files, minimizing HTTP requests, compressing CSS and JavaScript code, using a content delivery network (CDN), and caching data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="event-loop-in-node-js"></a>Q20) What is an event loop in Node.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The event loop refers to a core concept in <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/node-js-tutorials" target="_blank">Node.js</a></span>. It handles code execution without blocking. It continuously checks for new events in an event queue and executes them one at a time. It allows the program to keep running while waiting for I/O operations to complete. The event loop will enable Node.js to handle large numbers of concurrent connections without blocking the main thread, leading to more efficient and scalable applications.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="intermediate"></a>Full Stack Interview Questions and Answers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q21) What is the difference between abstract and interface?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Abstract classes and interfaces in object-oriented programming differ because abstract types can contain method implementations, while interfaces do not. Abstract classes provide a way to define common behaviours and properties that subclasses can inherit and extend; on the other hand, interfaces define an implementation contract that all classes must fulfil; they do not provide any actual implementation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="resting-and-normalizing"></a>Q22) What's the difference between "resting" and "normalizing" CSS?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>"Resting" refers to using CSS to reverse any default styles the browser applies, usually done at the start of a stylesheet. This helps guarantee consistency across different browsers and devices for websites. Similarly, "Normalizing" uses CSS standards that standardize default styles applied by other browsers, so they appear uniform across platforms.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q23) How can you prevent a bot from scraping a publicly accessible API?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To prevent bots from scraping a publicly accessible API, you can implement authentication and rate limiting. Authentication ensures only authorized users can access the API, while rate limiting limits how many requests can be made within a specific timeframe.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="callback-in-javascript"></a>Q24) What is a callback in JavaScript?</strong></span></h3>
<p><span style="font-weight: 400;">In JavaScript, a callback is an object passed as an argument to another function that gets invoked when certain events or conditions arise. Callbacks are commonly employed in asynchronous programming scenarios where one function must wait for results before continuing.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q25) What is RESTful API?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>RESTful API, also known as Representational State Transfer Application Programming Interface, is an architectural style for creating web services that utilize HTTP requests to retrieve, post, put, and delete data. RESTful APIs are designed for scalability and flexibility while being easy to maintain; they can be utilized to access data from various sources.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q26) What do you mean by data attributes?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Data attributes in <span style="color: #236fa1;"><a style="color: #236fa1;" title="HTML tutorial" href="https://tekslate.com/html-tutorials" target="_blank">HTML</a></span> are custom attributes that can be added to elements to store additional data. They're commonly used as input for scripts or stylesheets and can be accessed using <span style="color: #236fa1;"><a style="color: #236fa1;" title="JavaScript Switch Case" href="https://tekslate.com/javascript-switch-case" target="_blank">JavaScript</a></span> or CSS.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q27) How is rolling deployment different from blue-green deployment?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Rolling deployment is a deployment strategy in which new code is incrementally released to a select group of servers, then expanded as it undergoes testing and verification. Blue-green deployment, on the other hand, involves running two distinct environments (a "blue" environment and a "green"), with traffic switching between them as needed.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q28) What does ACID mean in Database systems?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>ACID, otherwise known as Atomicity, Consistency, Isolation, and Durability, is an acronym for Atomicity, Consistency, Isolation, and Durability. These properties guarantee transactions are completed reliably and consistently within databases.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q29) What is referential transparency?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Referential transparency is a property of functions in functional programming that ensures a function's return value is solely determined by its input values, independent of other variables such as the program's state or time of day.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q30) What is an application server?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>An application server is a software platform that offers services and tools for developing, deploying, and managing web-based applications. It usually supports technologies like databases, web servers, and <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://aws.amazon.com/what-is/middleware/" target="_blank" rel="nofollow">middleware</a></span> to provide a standardized environment for running web applications.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q31) What are the differences between Server-side scripting and Client-side Scripting?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Server-side scripting refers to running scripts on the server to generate dynamic web pages. In contrast, client-side scripting utilizes scripts running within a user's web browser to enhance their experience.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q32) What do you mean by observer pattern?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The observer pattern is a design pattern in which an object, called the subject, maintains a list of dependents (observers), and notifies them automatically of any changes to its state.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q33) What are the types of design patterns?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Design patterns come in many different forms, such as creational (Singleton and Factory), structural (Adapter and Decorator), and behavioral (Observer and Strategy).</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q34) What's the difference between normalization and denormalization?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Normalization is organizing data in a database to reduce redundancy and enhance data integrity, while denormalization deliberately introduces redundancy for improved read performance in specific scenarios. Normalization involves breaking up large tables into smaller ones with established relationships between them; on the other hand, denormalization involves combining tables to minimize joins and enhance performance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q35) Name a few ways to optimize a website to be as efficient and scalable as possible.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some ways to optimize a website for efficiency and scalability include minimizing HTTP requests, optimizing images and other media, using caching/compression, minifying CSS/JScript files, using a content delivery network (CDN), and server-side and client-side caching.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="docker-uses"></a>Q36) What are some of the uses of Docker?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong><span style="color: #236fa1;"><a style="color: #236fa1;" title="Docker Tutorial" href="https://tekslate.com/docker-tutorials" target="_blank">Docker</a></span> is a containerization platform that enables developers to package and deploy applications in an easily shared and reproducible manner, deploy applications in the cloud environment, and simplify deployment by packaging all required files into one container.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q37) Which language is the most preferred by full-stack developers?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>When it comes to full-stack development, the preferred language may vary depending on the individual developer and project requirements. Popular choices include JavaScript, Python, and Ruby.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q38) Do you know how to prevent a bit from scraping your publicly accessible API?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To prevent bots from scraping publicly accessible APIs, implement authentication and rate limiting, monitor API usage and block suspicious activity, use CAPTCHA or other human verification techniques, and block IP addresses or ranges associated with bots.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q39) Why should arrow functions not be used on ES6?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Arrow functions in ES6 provide a concise syntax for writing functions but may only be suitable in some circumstances. One reason to avoid using arrow functions is that they lack their bindings to the "this" keyword, leading to unexpected behavior and bugs in specific scenarios. Furthermore, arrow functions cannot be used as constructors and lack access to the "arguments" object, potentially restricting their flexibility in specific systems.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="advanced"></a>Java Full Stack Developer Interview Questions for Experienced</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q40) Explain the benefits and drawbacks of using use strict.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Benefits and disadvantages of using "use strict":</span></p>
<p><span style="font-weight: 400;">Benefits:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It enforces stricter rules in <span style="color: #236fa1;"><a style="color: #236fa1;" title="JavaScript Operators" href="https://tekslate.com/javascript-operators" target="_blank">JavaScript</a></span>, which helps avoid common mistakes and improve code quality.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It prevents the use of undeclared variables, which helps catch typos and other errors early.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It disables certain features that can cause unexpected behavior, such as automatically creating global variables.</span></li>
</ul>
<p><span style="font-weight: 400;">Drawbacks:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="2"><span style="font-weight: 400;">It may break existing code that relies on specific features that are disabled by "use strict."</span></li>
</ul>
<ul>
<li style="font-weight: 400;" aria-level="2"><span style="font-weight: 400;">It may increase the code needed to perform certain operations, such as creating a new object or function.</span></li>
</ul>
<ul>
<li style="font-weight: 400;" aria-level="2"><span style="font-weight: 400;">It may make code harder to read and understand for developers who need to become more familiar with the stricter rules.</span></li>
</ul>
<ol>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">What are the latest trends in Full Stack Development?</span></li>
</ol>
<p><span style="font-weight: 400;">Latest trends in Full Stack Development:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Serverless architecture and Functions-as-a-Service (FaaS)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Microservices and container integration with Docker and <span style="color: #236fa1;"><a style="color: #236fa1;" title="Kubernetes Tutorial" href="https://tekslate.com/kubernetes-tutorial" target="_blank">Kubernetes</a></span></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Progressive Web Apps (PWAs) and Single Page Applications (SPAs) using modern front-end frameworks like React, Vue, and Angular</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">AI and Machine Learning Integration in web applications</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Low-code and no-code development platforms</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cross-platform mobile development using frameworks like React Native and Flutter</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Integration with blockchain technology</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q41) Explain how Pair Programming works. Are you compatible with this?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, I am compatible with working in a pair programming model. Pair programming is a technique in which two developers work together on the same task, sharing one computer and collaborating in real-time. One developer called the "driver" writes the code while the other developer, called the "navigator," reviews the code, asks questions, and provides feedback. The tasks can be switched at any moment. The benefits of pair programming include improved code quality, knowledge sharing, faster problem-solving, and increased team morale.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q42) To develop a project from scratch, what technologies and language would you need, or what skills a full-stack developer should have?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Technologies and skills needed to develop a project from scratch as a full-stack developer:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Front-end languages: HTML, CSS, JavaScript</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Front-end frameworks and libraries: React, Angular, Vue, Bootstrap, jQuery</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Back-end languages: Node.js, Python, Ruby, PHP, Java, C#</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Back-end frameworks and libraries: Express.js, Flask, <span style="color: #236fa1;"><a style="color: #236fa1;" title="Ruby on Rail Tutorial" href="https://tekslate.com/ruby-rails-tutorials" target="_blank">Ruby on Rails</a></span>, Laravel, Spring Boot</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Databases: SQL (MySQL, PostgreSQL, Oracle), NoSQL (MongoDB, Cassandra)</span></li>
<li style="font-weight: 400;" aria-level="2"><span style="font-weight: 400;">DevOps tools: Jenkins, Docker, Kubernetes, Azure, Git, AWS</span></li>
<li style="font-weight: 400;" aria-level="2"><span style="font-weight: 400;">Other skills: understanding of data structures and algorithms, knowledge of design patterns, ability to write clean and maintainable code, communication skills, and project management skills.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q43) What is Callback Hell?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Callback Hell is a term that describes the problem of deeply nested callbacks in asynchronous JavaScript code. It occurs when multiple asynchronous functions are called one after another, and each position requires the result of the previous function as an input. This results in a "pyramid" of nested callbacks, making the code difficult to read and maintain. One way to avoid callback hell is to use Promises or async/await syntax, which makes asynchronous code more readable and less error-prone.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="mean-stack"></a>Q44) What do you mean by MEAN Stack?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>MEAN Stack: MEAN Stack is a web development technology stack that consists of four main components:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;"><span style="color: #236fa1;"><a style="color: #236fa1;" title="MongoDB Index" href="https://tekslate.com/mongodb-index" target="_blank">MongoDB</a></span>: This stores data in a document-based format</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Express.js: a web application framework for Node.js that provides features like routing and middleware</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Angular: a front-end framework for building Single Page Applications (SPAs)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Node.js: a server-side JavaScript runtime environment that executes JavaScript code outside of a web browser The combination of these four components allows developers to build modern, scalable, and efficient web applications.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q45) What differentiates MVC (Model View Controller) from MVP (Model View Presenter)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In MVC architecture, the Controller mediates the communication between the View and Model components. The View renders the user interface, while the Model stores the data and logic. MVP is similar to MVC, but instead of a Controller, the Presenter manages the communication between the View and Model. The Presenter retrieves the data from the Model and updates the View accordingly. The key difference between MVC and MVP is that in MVP, the View communicates with the Presenter instead of the Controller, making it an easier to unit test the components.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q46) What do you mean by Temporal Dead Zone in ES6?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In ES6, the Temporal Dead Zone (TDZ) is a behavior that occurs when using the let and const keywords for variable declaration. The TDZ is the period between the start of the scope and the point where a variable is declared. Any attempt to access the variable during this time will result in a ReferenceError. The TDZ ensures that variables are not accessed before they are declared, promoting better coding practices.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q47) Can the load time of a web application be decreased?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, there are several ways to decrease the load time of a web application, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Minimizing HTTP requests by combining multiple files into a single file.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Compressing files to reduce their size.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Caching frequently used files to avoid unnecessary server requests.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Optimizing images to reduce their file size.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using a content delivery network (CDN) to distribute files to servers closer to the user.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reducing the number of plugins and third-party scripts loaded on a page.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using asynchronous loading for scripts and stylesheets to improve page load time.</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong>Q48) What is event bubbling and capturing in JavaScript?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Event bubbling and capturing are two mechanisms in JavaScript for handling events on a webpage. Event bubbling occurs when an event is triggered on a child element, propagating through its ancestors in the DOM tree until it reaches the root element. On the other hand, event capturing occurs when an event is triggered on the root element and then propagated down through its descendants until it reaches the target element. Both mechanisms help handle events on a webpage, and the appropriate one depends on the specific use case.</span></p>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<h3><span style="color: #236fa1; font-size: 24px;"><strong><a id="faqs"></a>Full Stack Developer FAQs</strong></span></h3>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) How do I prepare for a full-stack developer interview?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Preparing for a full-stack developer interview may become challenging if you need to know the right way. Start with revising your basics and practicing coding. Polish your technical skill and go through the previously asked questions about full-stack development. Also, look for the tips mentioned above.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q2) What are the basic skills required for a full-stack developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To become full-stack developer, basic skills required for a full-stack developer include:</span></p>
<ul>
<li><span style="font-weight: 400;">Proficiency in front-end technologies such as HTML, CSS, JavaScript, and a front-end framework like React or Angular.&nbsp;</span></li>
<li><span style="font-weight: 400;">Knowledge of back-end technologies like Node.js, Java, or Python and a database like MySQL or MongoDB.&nbsp;</span></li>
<li><span style="font-weight: 400;">Familiarity with version control systems like Git, and experience working with APIs, web services, and cloud computing is also beneficial.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) Is 3 months enough for a full-stack developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, 3 months are enough for a full-stack developer. In some cases, if you are an extreme beginner, it may take longer.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) How to crack a full-stack Java developer Interview?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The three main things you must consider to crack full stack Java developer interview:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Clear your basics and learn them as much as possible.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Practice coding.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Work on your soft skills equally.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) Can a fresher be a full-stack developer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, a fresher can become a full-stack developer with the proper education, training, and dedication.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #236fa1; font-size: 24px;"><strong><a id="tips"></a>Tips to prepare for Full Stack Developer Interview</strong></span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Do your homework without fail - research the company.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Recheck the job description and your resume to remember what you have applied for.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Brush up on your technical skills, including programming languages, databases, and web development frameworks.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Practice coding exercises and solving technical problems</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Do hands-on practice of your skills to complete the Interview.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Study common Full Stack Developer interview questions and learn the answers.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Formally prepare your queries to have good communication with the Interview.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Showcase your ability to work collaboratively with other team members, including designers, project managers, and developers.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Show enthusiasm and passion for your work and the field of web development.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Be yourself and answer straight, dress professionally, and arrive on time for your Interview.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Brush up your soft skills as well.</span></li>
</ul>
<p>&nbsp;</p>
<p><span style="font-size: 20px; color: #236fa1;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">Since the demand for Full Stack Developers is increasing extensively, the need and opportunity for Full Stack Developers with continue to grow. To get a job with 6 fig salary, it is crucial to crack an interview with some fortune organization. These 50 full-stack interview questions list will help you prepare for the same. Getting well-versed with the terms and market aspects of full-stack development is necessary to place yourself as a successful full-stack developer. The above mention tips come along to assist in setting up your mind and give you support to perform better.</span></p>
<p><br /><br /><br /></p>19:T78a6,<p><span style="font-weight: 400;">Couchbase is a premier </span><span style="font-weight: 400;">NoSQL database platform</span><span style="font-weight: 400;">, offering organizations a flexible and scalable solution for their modern application needs. Its robust query language integrated caching, and support for multiple data models make Couchbase a top choice for building high-performance and always-on applications. With its focus on staying at the forefront of technological advancements, Couchbase continues to innovate and deliver new features and capabilities to its users. Whether you're a seasoned developer or just starting out, this database platform offers everything you need to build and run data-driven applications.</span></p>
<p><span style="font-weight: 400;">This blog is divided into four parts</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><a href="#basic"><strong><span style="color: #236fa1;">Basic CouchBase Interview Questions for Freshers</span></strong></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#advanced"><strong><span style="color: #236fa1;">Advanced CouchBase Interview Questions for Experienced</span></strong></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#faqs" target="_blank"><strong><span style="color: #236fa1;">FAQ&rsquo;s</span></strong></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#tips"><strong><span style="color: #236fa1;">Tips</span></strong></a></li>
</ul>
<p><span style="font-weight: 400;">Let&rsquo;s begin</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="font-size: 18px;"><strong>Top 10 CouchBase Interview Questions</strong></span></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#couchbase-differ-from-nosql-databases">How does Couchbase differ from other NoSQL databases?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#couchbase-data-model">What is the Couchbase Data Model?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#horizontal-scalability">How does Couchbase support horizontal scalability?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-consistency">How does Couchbase ensure data consistency?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#eventing-service">What is the Couchbase Eventing Service?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#security">How does Couchbase handle security?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#couchbase-memory-architecture">Can you explain the Couchbase memory architecture?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-scaling">How does Couchbase handle data scaling?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-durability-and-availability">How does Couchbase handle data durability and availability?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-modeling-and-indexing">Does Couchbase support data modeling and indexing?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="basic"></a>Basic CouchBase Interview Questions for Freshers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) What is Couchbase?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase is a NoSQL database that provides a high-performance, scalable, and flexible data management solution. It is designed for both traditional and cloud-native applications and supports multiple data models, including document, key-value, and graph.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q2) What are the key features of Couchbase?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Key features of Couchbase include multi-model data management, flexible indexing, powerful query capabilities, strong data durability, and robust security features. Additionally, Couchbase provides support for distributed architectures, horizontal scalability, and high performance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="couchbase-differ-from-nosql-databases"></a>Q3) How does Couchbase differ from other NoSQL databases?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase differs from other NoSQL databases in several ways, including its multi-model data management capabilities, its flexible query language (N1QL), and its built-in caching layer (Couchbase Server). Additionally, Couchbase provides strong data durability and robust security features, making it a suitable choice for mission-critical applications.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 51.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 51.5047px;">
<td style="width: 98.4573%; height: 51.5047px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of CouchBase? Enroll in Instructor-Led live <a href="https://tekslate.com/couchbase-training" target="_blank"><span style="color: #236fa1;"><strong>CouchBase Training</strong></span></a> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) Can you explain the N1QL query language in Couchbase?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>N1QL is the query language for Couchbase, which allows for flexible and powerful querying of data stored in the database. </span><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.couchbase.com/products/n1ql/" target="_blank" rel="nofollow"><span style="font-weight: 400;">N1QL</span></a></span><span style="font-weight: 400;"><span style="color: #236fa1;"> </span>provides a familiar SQL-like syntax, making it easy for developers to learn, while also providing advanced features like join operations and secondary indexing.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) What is the role of the Couchbase Server in the Couchbase architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Server is the core component of the Couchbase architecture, providing the underlying database management system. The Couchbase Server is responsible for storing and retrieving data, managing indexes, and processing queries. Additionally, the Couchbase Server provides a caching layer to improve performance, as well as a distributed architecture for scalability and high availability.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="couchbase-data-model"></a>Q6) What is the Couchbase Data Model?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Data Model is a multi-model data management solution, which allows developers to store and manage different types of data, including documents, key-value pairs, and graph data, within the same database. This flexible data model makes it easy to adapt to changing application requirements and provides a consistent data management solution across all data types.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q7) What is a document in Couchbase?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A document in Couchbase is a unit of data that can be stored and retrieved in the database. Documents in Couchbase are stored in a </span><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/json-data-in-jquery" target="_blank"><span style="font-weight: 400;">JSON</span></a></span><span style="font-weight: 400;"> format, which allows for flexible and dynamic data structures.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q8) How does Couchbase ensure data durability?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase ensures data durability through its use of data replication, which provides multiple copies of data stored across multiple nodes in the cluster. In the event of a node failure, the data is automatically recovered from one of the other replicas, ensuring that the data is always available.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="horizontal-scalability"></a>Q9) How does Couchbase support horizontal scalability?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase supports horizontal scalability by allowing the addition of new nodes to the cluster as the volume of data and the number of users increase. The Couchbase cluster automatically distributes the data across the nodes, providing a scalable and highly available solution.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10) What is the role of the Couchbase SDK in the Couchbase architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase SDK provides a high-level API for accessing and manipulating data stored in the Couchbase database. The SDK abstracts the underlying database management system and provides a consistent programming interface across multiple programming languages, making it easy to develop and deploy applications that use Couchbase.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q11) Can you explain the Couchbase caching layer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase caching layer is a built-in component of the Couchbase Server that improves the performance of the database by caching frequently accessed data in memory. This reduces the latency and I/O overhead associated with accessing the data from disk, improving the overall performance of the database.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q12) What is the Couchbase Server Architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Server Architecture is a distributed architecture that provides high performance, scalability, and high availability. The architecture is based on a cluster of nodes, where each node runs a copy of the Couchbase Server software, providing a highly available and scalable solution.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q13) What is the difference between Couchbase and MongoDB?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase and MongoDB are both NoSQL databases, but there are some key differences between the two. Couchbase provides a multi-model data management solution and has a built-in caching layer, while MongoDB is a document-oriented database that relies on an external caching layer. Additionally, Couchbase provides a flexible query language (N1QL) while </span><span style="font-weight: 400;">MongoDB</span><span style="font-weight: 400;"> uses the MongoDB Query Language.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 45.5px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 45.5px;">
<td style="width: 98.4573%; text-align: center; height: 45.5px;"><em>Also, Read these latest <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/mongodb-interview-questions-answers" target="_blank">MongoDB Interview Questions</a></strong></span> that help you grab high-paying jobs</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="data-consistency"></a>Q14) How does Couchbase ensure data consistency?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase ensures data consistency through its use of data replication and consistency protocols. The data is automatically synchronized between replicas, and the consistency protocols ensure that the data is always up-to-date and consistent across the cluster.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q15) What is the role of the Couchbase Cluster Manager in the Couchbase architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Cluster Manager is a component of the Couchbase architecture that provides centralized management and monitoring of the Couchbase cluster. The Cluster Manager provides a user-friendly interface for managing the cluster, monitoring performance and resource utilization, and automating common administrative tasks.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="eventing-service"></a>Q16) What is the Couchbase Eventing Service?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Eventing Service is a component of the Couchbase architecture that provides a serverless computing platform for processing data stored in the Couchbase database. The Eventing Service allows developers to create and deploy event-driven functions that automatically process data as it is stored in the database, providing real-time processing capabilities.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q17) How does Couchbase support global deployments?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase supports global deployments through its distributed architecture and cross-data center replication (XDCR) feature. XDCR allows for data to be replicated across multiple data centers, providing a highly available and resilient solution for global deployments. This ensures that data is always accessible, even in the event of a data center failure.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q18) Can you explain the difference between Couchbase and Redis?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase and Redis are both NoSQL databases, but there are some key differences between the two. Couchbase provides a multi-model data management solution and has a built-in caching layer, while Redis is an in-memory data store that focuses on data structure storage and retrieval. Additionally, Couchbase provides a flexible query language (N1QL) while Redis uses its own command-line interface.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q19) What is the role of the Couchbase Data Management Service in the Couchbase architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Data Management Service is a component of the Couchbase architecture that provides centralized management of the data stored in the Couchbase database. The Data Management Service provides functions such as indexing, querying, and backup and restore, making it easy to manage and manipulate data stored in the database.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="security"></a>Q20) How does Couchbase handle security?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase handles security through its support for a range of security features such as SSL encryption for data in transit, role-based access control for data access, and integration with external authentication systems such as LDAP and Active Directory. Additionally, Couchbase provides a secure mode that disables all unsecured ports, ensuring that only secure connections can access the database.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="advanced"></a>Advanced CouchBase Interview Questions for Experienced</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q21) Can you explain how the Couchbase indexing works?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase indexing works by creating secondary indexes on the data stored in the database. The indexing process creates a mapping of the data that allows for efficient querying and retrieval of data. Couchbase provides two types of indexes: primary indexes and secondary indexes. Primary indexes are created automatically and provide a mapping of the unique keys for each document in the database, while secondary indexes allow for more complex queries to be executed efficiently.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q22) How does Couchbase support data partitioning and distribution?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase supports data partitioning and distribution through its use of a data partitioning mechanism called vBuckets. The vBuckets divide the data into smaller, more manageable chunks that are distributed across the nodes in the cluster. The vBuckets provide a way to scale the database horizontally, allowing for more nodes to be added as the volume of data grows.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q23) Can you explain the Couchbase query language (N1QL)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>N1QL (Non-first Normal Form Query Language) is a SQL-like query language for Couchbase that provides a flexible and powerful way to query and manipulate data stored in the database. N1QL supports a wide range of query operations, including select, join, and aggregate operations, making it easy to perform complex data analysis and manipulation tasks.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q24) What is the role of the Couchbase Views in the Couchbase architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase Views are a feature in the Couchbase architecture that provides a way to create custom views of the data stored in the database. Views are created using MapReduce functions, which process the data and produce a view that can be queried using the Couchbase query language (N1QL). Views provide a flexible and efficient way to perform ad-hoc analysis and reporting tasks on the data stored in the database.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q25) Can you explain the difference between the Couchbase Community Edition and Enterprise Edition?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Community Edition is a free and open-source version of the Couchbase database, while the Enterprise Edition provides additional features and capabilities for enterprise-level deployments. The Enterprise Edition includes features such as cross-data center replication (XDCR), data tiering, and advanced security features, making it a more suitable choice for large-scale, mission-critical deployments.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q26) How does Couchbase handle data concurrency and conflicts?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase handles data concurrency and conflicts through its use of versioning and conflict resolution mechanisms. Each document in the database has a version number, which is updated whenever the document is modified. In the event of conflicting updates, the conflict resolution mechanism determines which version of the document should be stored in the database, ensuring that the data remains consistent and up-to-date.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="couchbase-memory-architecture"></a>Q27) Can you explain the Couchbase memory architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase memory architecture consists of several components, including the RAM and disk storage, the caching layer, and the data structures used to store the data. The Couchbase database uses a combination of RAM and disk storage to provide a high-performance solution, with frequently accessed data stored in the caching layer for fast retrieval. The data structures used in the Couchbase memory architecture, such as B-Trees and Hash Tables, are optimized for fast data access and retrieval.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q28) What is the role of the Couchbase Analytics Service in the Couchbase architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Analytics Service is a component of the Couchbase architecture that provides a way to perform complex analytics on the data stored in the database. The Analytics Service provides a SQL-like query language (CBQL) that allows for ad-hoc analysis and reporting tasks to be performed efficiently on large datasets. The Analytics Service is designed to work in parallel across multiple nodes in the Couchbase cluster, providing a highly scalable and performant solution for big data analytics.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q29) Can you explain the difference between Couchbase and MongoDB?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase and MongoDB are both NoSQL databases, but there are some key differences between the two. Couchbase provides a multi-model data management solution and has a built-in caching layer, while MongoDB is a document-oriented database that focuses on document storage and retrieval. Additionally, Couchbase provides a flexible query language (N1QL) while MongoDB uses the MongoDB Query Language (MQL).</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q30) How does Couchbase handle data durability and availability?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase handles data durability and availability through its use of data replication and failover mechanisms. The Couchbase database replicates data across multiple nodes in the cluster, providing a highly available and resilient solution. In the event of a node failure, the failover mechanism automatically transfers ownership of the data to another node, ensuring that the data is always accessible.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q31) Can you explain the Couchbase Eventing Service and its use cases?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Eventing Service is a feature in the Couchbase architecture that allows for real-time processing of data stored in the database. The Eventing Service uses functions written in JavaScript to process data changes, trigger actions, and perform data transformations. The Eventing Service is useful for a range of use cases, including real-time analytics, data enrichment, and triggering automated workflow processes.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="data-scaling"></a>Q32) How does Couchbase handle data scaling?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase handles data scaling through its use of data partitioning, data replication, and failover mechanisms. The data partitioning mechanism, vBuckets, allows for data to be divided into smaller, more manageable chunks that can be distributed across multiple nodes in the cluster. The data replication mechanism ensures that data is always available, even in the event of a node failure, while the failover mechanism automatically transfers ownership of the data to another node in the event of a failure.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q33) Can you explain the Couchbase backup and restore process?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase backup and restore process allows for the data stored in the database to be backed up to a persistent storage location, and then restored in the event of a disaster or data loss. The backup process can be performed using the Couchbase Management Console or through the Couchbase REST API. The restore process involves restoring the backed-up data to a new Couchbase cluster, ensuring that the data is available and consistent.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q34) How does Couchbase handle data consistency?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase handles data consistency through its use of data replication and versioning mechanisms. The data replication mechanism ensures that data is replicated across multiple nodes in the cluster, providing a highly available and resilient solution. The versioning mechanism ensures that each document in the database has a unique version number, which is updated whenever the document is modified. In the event of conflicting updates, the conflict resolution mechanism determines which version of the document should be stored in the database, ensuring that the data remains consistent and up-to-date.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q35) Can you explain the difference between Couchbase and MongoDB?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase and <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/mongodb-tutorials" target="_blank">MongoDB</a></span> are both NoSQL databases, but there are some key differences between the two. Couchbase provides a multi-model data management solution and has a built-in caching layer, while <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/mongodb-index" target="_blank">MongoDB</a></span> is a document-oriented database that focuses on document storage and retrieval. Additionally, Couchbase provides a flexible query language (N1QL) while MongoDB uses the MongoDB Query Language (MQL).</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="data-durability-and-availability"></a>Q36) How does Couchbase handle data durability and availability?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Couchbase handles data durability and availability through its use of data replication and failover mechanisms. The Couchbase database replicates data across multiple nodes in the cluster, providing a highly available and resilient solution. In the event of a node failure, the failover mechanism automatically transfers ownership of the data to another node, ensuring that the data is always accessible.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q37) Can you explain the Couchbase Eventing Service and its use cases?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Couchbase Eventing Service is a feature in the Couchbase architecture that allows for real-time processing of data stored in the database. The Eventing Service uses functions written in JavaScript to process data changes, trigger actions, and perform data transformations. The Eventing Service is useful for a range of use cases, including real-time analytics, data enrichment, and triggering automated workflow processes.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q38) Can Couchbase be used for real-time data processing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, Couchbase supports real-time data processing through its Eventing Service, which enables event-driven processing of data in response to changes in the data stored in Couchbase.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="data-modeling-and-indexing"></a>Q39) Does Couchbase support data modeling and indexing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, Couchbase provides robust data modeling and indexing capabilities, allowing for efficient querying and retrieval of data. This includes the ability to define secondary indexes on data, allowing for complex querying of JSON data stored in Couchbase.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="faqs"></a>Couchbase FAQ&rsquo;s</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) Is Couchbase a SQL database?&nbsp;</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>No, Couchbase is a NoSQL database.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q2) Does Couchbase support SQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> No, Couchbase does not support SQL natively, but it offers a powerful query language called N1QL that has a SQL-like syntax.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) What is N1QL in Couchbase?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>N1QL is a SQL-like query language for querying JSON data in Couchbase.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="tips"></a>Tips to clear CouchBase Interview:</strong></span></h2>
<p><em>1. Know Couchbase architecture:</em><span style="font-weight: 400;"> Understand components, such as Server, Sync Gateway, and Autonomous Operator.</span></p>
<p><em>2. Study N1QL</em><span style="font-weight: 400;">: Familiarize yourself with the SQL-like query language for Couchbase.</span></p>
<p><em>3. Be familiar with data types</em><span style="font-weight: 400;">: Know how to store and query different data types like JSON, binary, and key-value pairs.</span></p>
<p><em>4. Know the use cases:</em><span style="font-weight: 400;"><strong>&nbsp;</strong>Familiarize yourself with the typical use cases of Couchbase such as mobile, web, and IoT applications.</span></p>
<p><em>5. Have practical knowledge:</em><strong><em> </em></strong><span style="font-weight: 400;">Demonstrate hands-on experience with Couchbase by working on projects or through online resources.</span></p>
<p>&nbsp;</p>
<h3><span style="font-size: 20px; color: #236fa1;"><strong>Bottom Line:</strong></span></h3>
<p><span style="font-weight: 400;">In conclusion, to clear a Couchbase interview, you should have a good understanding of the Couchbase architecture, N1QL, data types, use cases, and have practical knowledge of the platform. Stay updated with the latest advancements in technology and be prepared to answer questions related to your hands-on experience. Good luck!</span></p>1a:T900d,<p><span style="font-weight: 400;">Vue is a JavaScript framework used to create connected interfaces. Evan invented it, and he, along with the other active core team members, continues to maintain it. Vue.js is in charge of the view layer of an application. </span><strong>Vue.js Interview Questions </strong><span style="font-weight: 400;">the primary purpose of Vue.js interview questions is to assess the criticacandidate's l thinking skills and local knowledge; therefore, these questions have been classified depending on the difficulty level, that is, primary, intermediate, or advanced questions.&nbsp;</span></p>
<p><span style="font-weight: 400;">In this Blog, we have included the most recent and frequently asked Vue.js Interview Questions and Answers that have been further categorized as per the criteria mentioned above.</span></p>
<ul>
<li><a href="#basic"><span style="font-size: 16px; color: #236fa1;"><strong>Basic Vue.js Interview Questions for Freshers</strong></span></a></li>
<li><a href="#intermediate"><span style="font-size: 16px; color: #236fa1;"><strong>Intermediate Vue.js Interview Questions</strong></span></a></li>
<li><a href="#advanced"><span style="font-size: 16px; color: #236fa1;"><strong>Advanced Vue.js Interview Questions for Experienced</strong></span></a></li>
<li><a href="#tips"><span style="font-size: 16px; color: #236fa1;"><strong>Tips</strong></span></a></li>
<li><a href="#faqs"><span style="font-size: 16px; color: #236fa1;"><strong>FAQs</strong></span></a></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="font-size: 18px;"><strong>Most frequently asked Vue.js Interview Questions</strong></span></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#features">What are the significant features of Vue.JS?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#features">What are the filters in vue.js?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#vuejs-alternatives">Mention some of the alternatives to vue.js.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#why-vuejs-is-fast">Why is Vue.js so fast?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#components">Vue consists of how many components?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#advantages-of-vuejs-mixins">What are the advantages of utilizing Vue.js Mixins?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#array-detection">What are the array detection non-mutation methods in Vue.js?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#vuex">What is vuex?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#property">What is the $parent property in Vue.js?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="basic"></a>Basic Vue.js Interview Questions for Freshers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) What is Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue.js is a javascript framework used to develop the interactive interface. It's a progressive framework. Fast DOM rendering, reactive state management, tools, client-side routing, and server-side rendering are all higher-level problems that Vue addresses.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q2) Who is the founder of Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Evans invented Vue. JS. He and his team members maintain it.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) Why is Vue.js called a progressive framework?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue.js is called a progressive framework because it is dynamic.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) Can we create a custom filter in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, a custom filter can be created in Vue.js.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 58.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 58.5047px;">
<td style="width: 98.4573%; height: 58.5047px; text-align: center;">Want to acquire industry skills and gain complete knowledge of Vue.js? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/vuejs-training" target="_blank">Vue.js Training</a></strong></span> to get Job Ready!</td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="features"></a>Q5) What are the significant features of Vue.JS?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some of the significant features of Vue.js are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Components</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Virtual DOM</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Lightweight</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/routing-and-switching-in-ccna" target="_blank"><span style="font-weight: 400;">Routing</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Templates</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="filters"></a>Q6) What are the filters in vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A filter is a JS function that assists in changing the output of data to the browser.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q7) Mention some of the array change detection and mutation method in Vue.js</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some of the array change detection and mutation method in vue.js are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">push()</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">pop()</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">shift()</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">slice()</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">sort() and so on.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q8) Is vue.js supported by most browsers?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, the majority of browsers support vue.js.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q9) Does vue.js provide two-way communications?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, it provides two-way communication.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10) Name some of the popular websites that use vue.js.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some favorite websites that use Vue.js are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Grammarly</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Netflix</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Xiaomi</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Facebook</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Trivago</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Codeship</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Alibaba</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="vuejs-alternatives"></a>Q11) Mention some of the alternatives to vue.js.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some of the alternatives available for vue.js include:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Angular</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">React</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/bootstrap-tutorials" target="_blank"><span style="font-weight: 400;">Bootstrap</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">jQuery</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q12) What is the use of the 'const' keyword in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The 'const' keyword helps create constants.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q13) What is the use of Vue-router?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue router makes the connection between browser URl and Vues.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="why-vuejs-is-fast"></a>Q14) Why is Vue.js so fast?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue.js operates quicker than other <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/javascript-switch-case" target="_blank">Javascript</a></span> frameworks because of the use of a lightweight virtual DOM.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q15) Mention one advantage of using mixins in Vue.js.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The foremost advantage of using mixins in Vue.JS is that they offer flexibility in the distribution of reusable features.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q16) Are filters reusable in Vue?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, the filters can be reused in Vue.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="components"></a>Q17) Vue consists of how many components?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue comprises three components which are mentioned below:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Templates</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Styles</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/javascript-objects-properties" target="_blank"><span style="font-weight: 400;">JavaScript&nbsp;</span></a></span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q18) How can one add extra features to the application in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue-Plugins can be used to add extra features to the application in Vue.js.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q19) Mention some of the advantages of using Vue.js.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue.js provides numerous benefits to users. Some of them include the following:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy integrations</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reliability&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">User-friendly</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Improved performance</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy to grasp</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q20) List out some of the conditional directives in Vue.js.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some of the conditional directives included in Vue.js are mentioned below:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">V-if</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">V-else</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">V-else-if</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">V-show</span></li>
</ul>
<h2>&nbsp;</h2>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="intermediate"></a>Intermediate Vue.js Interview Questions</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="advantages-of-vuejs-mixins"></a>Q21) What are the advantages of utilizing Vue.js Mixins?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To flexibly distribute reusable features, the developers in Vue.js use mixins. There are numerous component options in mixins. They are held in one location, enabling all the components to be benefitted simultaneously.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q22) What is the primary purpose of using virtual DOM in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The primary goal of the virtual DOM is to speed up and improve the effectiveness of DOM manipulation. When your DOM contains many nodes, it becomes essential. In this situation, upgrading these nodes is costly for resource- and processing-intensive activity. Here, virtual DOM enters the picture and substantially speeds up JavaScript objects. To increase efficiency, Vue.js automatically groups <a href="https://tekslate.com/jquery-dom-traversing-methods" target="_blank">DOM</a> updates into bunches.</span></p>
<h3><span style="color: #e67e23; font-size: 20px;"><strong>Q23) Why is it necessary for the component data to be a function?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The component data must be a function rather than just providing the object as a copy of the returned data object required for each instance. Or else data change in one component instance will impact data in all other component instances.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="array-detection"></a>Q24) What are the array detection non-mutation methods in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The methods in Vue.js that consistently produce a new array instead of changing the original array are known as array detection non-mutation methods.</span></p>
<p><span style="font-weight: 400;">A list of the non-mutation methods are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">slice()</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">filter()</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">concat()</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q25) In vue router, what are navigation guards?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>By deviating from or canceling navigations, vue-navigation routers protect navigations.</span></p>
<p><span style="font-weight: 400;">The following is a list of the three methods that can be plugged into router navigations:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Per-route</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">In-component</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Global</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q26) What is the difference between one-way and two-way data binding?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The application UI part does not automatically update in one-way data binding. A custom code must be entered to ensure that updates are made after each change. Moreover, one-way data binding involves the usage of the v-bind Directive.&nbsp;</span></p>
<p><span style="font-weight: 400;">On the contrary, two-way data binding can automatically update the application's UI, considering that the data model is updated. The v-model Directive is used in the case of two-way data binding.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q27) What are the primary uses of filters in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The main functions performed by filters in vue.js are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">They are generally used to filter data at the DOM level. This is done so that data still intact in storage but presented in the specified way can be received.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">They are used to enhance the presentation of the view layer.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Moreover, filters are reusable.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Filters make it more convenient to format data at the view level.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q28) Mention types of Directive available in Vue.js.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The following directives are available in Vue js:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Empty Directives</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Custom Directives</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">General Directives</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Literal Directives</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q29) What is a watcher in vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A watcher in vue.js refers to a unique feature that assists in observing changes in data while applying various operations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q30) What makes Vue superior to Angular?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/angularjs-tutorials" target="_blank">Angular</a></span> helps in building enterprise-based applications owing to its extensive built-in functionalities and community support. However, Vue is a technically sound framework that assists in building user interfaces and solving various challenging issues.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q31) What is the difference between v-if and v-show directives?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The most common differences between v-show and v-if directives are given below:&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The v-if Directive is used to present the element to the DOM only if the expression succeeds, whereas the v-show Directive is used to present all elements to the DOM and then uses the <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/css-font-style-size-weight" target="_blank">CSS</a></span> display property to show or hide elements according to the expressions.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">V-if directives support v-else and v- else-if directives, whereas v-show directives don't support them.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The v-if Directive adds or removes the DOM, due to which it has a higher cost, whereas the v-show Directive has a higher initial render cost.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">v-if Directive supports the tab, whereas the v-show Directive doesn't support it.</span></li>
</ul>
<p><span style="color: #e67e23; font-size: 18px;"><strong><a id="vuex"></a>Q32) What is vuex?&nbsp;</strong></span></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong>VueX is a state management pattern and library for the Vue.js application. It acts as a centralized store for all the various components in the Vue.js application. Vuex provides rules to ensure that the state can only be changed predictably. Vuex help by keeping all that data in one place and allowing access to modify all of these separate components.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q33) What is the key in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue.js reuses DOM elements rather than producing a new one each time to show DOM elements more quickly. The key is a kind of flag that tells Vue, "if the data associated with this child component is moved somewhere else, then move the component along with it to preserve the changes that already exist."</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q34) What is $child property in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The $child property in Vue.js is identical to the $parent property, even though it's used to access the child instance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q35) Explain Vue.js reactivity and common issues when tracking changes.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Each of the properties specified in a Vue instance's data option is reactive, which means that once they change, the component is instantly updated and re-rendered.</span></p>
<p><span style="font-weight: 400;">During initialization, all such properties are transformed into getters and setters, enabling Vue to recognize when those properties are viewed or modified.</span></p>
<p><span style="font-weight: 400;">The following limitation may occur while creating the Vue app:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Due to a <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/cookies-javascript" target="_blank">JavaScript</a></span> restriction, Vue cannot detect the addition or deletion of object properties; as a result, new root-level reactive properties must be added via the Vue. Set method.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">In a similar vein, Vue cannot recognize index-based array item modifications. Vue. the Set is required to be used</span></li>
</ul>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="advanced"></a>Advanced Vue.js Interview Questions for Experienced</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q36) What is a vue-loader?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vue loader allows the creation of single file components in vue format as it is a webpack plugin. Single component files include three sections that are template, script, and style. The vue-loader module allows Webpack to extract and process each section using different loader modules, such as the SASS or SCSS loader makest, making creating an app using vue files simple.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q37) What is a single file component?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A file with the. Vue extension, which includes a Vue component, is referred to as a single-file component. It is a single file that contains the component's template, logic, and styling. One script block, optional template and style blocks, and additional custom blocks are included.</span></p>
<p><span style="font-weight: 400;">You must configure Vue Loader to parse the file before using one (usually done as part of a webpack building pipeline). However, this also encourages using non-standard languages like <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/html-tutorials" target="_blank">HTML</a></span> templating languages or Sass with pluggable pre-processors.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><span style="font-weight: 400;"><strong>Q38) H</strong></span><strong>ow to use a single-file component in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>We must set up Vue Loader to parse the file to use a single-file component in Vue.js (It is done automatically as a part of a webpack building pipeline). Additionally, HTML templating languages and Sass with pluggable pre-processors are supported in addition to non-standard languages.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q39) What are the problems solved by single file components in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To solve common issues in a JavaScript-driven application with a.vue extension, Vue.js uses Single File Components.</span></p>
<p><span style="font-weight: 400;">The following is a list of problems that Single File Components in Vue.js have resolved:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Every component has a unique name according to global criteria.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">String templates need ugly slashes for multiline HTML and lack syntax highlighting.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">CSS not supported. It means that CSS is completely absent from the modularization of HTML and JavaScript.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q40) Explain the life cycle of the Vue instance&nbsp;</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Lifecycle hooks are functions that every Vue instance runs through. Each vue has eight lifecycle hooks. An instance of js</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Before Create - This is the first lifecycle hook that is called when a Vue instance has been created.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Created - It's called immediately after the 'Before creates' hook, but the Vue instance has already set initial properties, data, etc.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Before mount - invoked right before the instance is mounted on the DOM. The template has been completed at this time.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Mounted - This is the name given to the template once it has been filled with data and is fully functional.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Before Updated - When any changes to data require the DOM to be changed, this method is called before the update.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Updated - It's called after the DOM has been updated.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Before destroys - It's a location where you can clean up your resources before terminating the Vue instance.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Destroyed - This method is called when all Vue instances have been destroyed. It will be activated when you call the destruct method on an object in the code.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q41) Why should arrow functions not be utilized when writing lifecycle hooks in Vue instances?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<p><span style="font-weight: 400;">Arrow function can't define a 'this' of their own as they are not independent. They are limited to the context of their parent function.</span></p>
<p><span style="font-weight: 400;">The keyword 'this' does not bind to the Vue instance when the arrow function (=&gt;) is used in the Vue app, resulting in problems.</span></p>
<p><span style="font-weight: 400;">Hence, Make use of the regular declaration instead of the arrow function.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q42) What are the most prominent features of styling?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Following is a list of the most prominent features of styling:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The stylelint has more than 160 built-in rules to catch errors, apply limits and enforce stylistic conventions.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It understands the latest CSS syntax, including custom properties and level 4 selectors.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It extracts the embedded styles from HTML, markdown, and CSS-in-JS object &amp; template literals.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is also used to parse CSS-like syntaxes like SCSS, Sass, Less, and SugarSS.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It supports reusing community plugins and creating their plugins.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q43) How does data flow between components in a Vue.js app?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Data is transferred from the parent component to the child components in Vue.js using a prop or a custom attribute. This unique attribute is converted into a property on the instance of the child component. The process is known as a one-way data flow.</span></p>
<p><span style="font-weight: 400;">The subordinate component is automatically updated after the parent component modifies a prop value. The child component can use an event to interact with the parent, although changing a property within a child component is not recommended. Unless it is an object or array, it does not also influence the parent component. The parent sets a handler to the event when the child component instance emits one, and data is returned to the parent.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="property"></a>Q44) What is the $parent property in Vue.js?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The $parent property in Vue.js connects a child to the parent instance. Identical to the $root property. Direct access is provided through the $parent property. However, it makes it difficult to test and debug the application. It is challenging to identify the source of the mutation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q45) What are some of Vue's most crucial directives?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<p><span style="font-weight: 400;">V-if adds or removes DOM elements</span></p>
<p><span style="font-weight: 400;">The v-model is used for two-way data bindings.</span></p>
<p><span style="font-weight: 400;">To iterate over items in an array or object, we can use the v-for function.</span></p>
<p><span style="font-weight: 400;">Similar to v-if, v-show displays and hides elements using the CSS display property rather than rendering every element to the DOM.</span></p>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="faqs"></a>FAQs related to Vue.js Interview Questions</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) Is Vue.JS front end or back end?</strong></span></h3>
<p><span style="font-weight: 400;">Vue.js is a JavaScript front-end framework that assists in building user interfaces. It is used for the creation of single-page applications. Moreover, it enables the developers to establish reusable components and manage the state of applications. It functions in the browser and interacts with the users, updating the application based on their inputs. However, Vue.js could be more helpful in backend development.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q2) What are Mixins in Vue?</strong></span></h3>
<p><span style="font-weight: 400;">Mixins refer to a versatile approach that offers a more convenient way of distributing functionalities for vue components. Mixin objects can comprise various component choices.&nbsp;</span></p>
<p><span style="font-weight: 400;">When a component uses a mixin, all mixin options are 'mixed' into the component's own.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) What is virtual DOM in Vue?</strong></span></h3>
<p><span style="font-weight: 400;">The virtual DOM is a collection of JavaScript objects that depict DOM nodes that should be presented on the page and maintained by Vue.js. These are often known as VNodes or virtual nodes.</span></p>
<p><span style="font-weight: 400;">The foremost aim of virtual DOM is to manipulate the DOM promptly. When an alteration is mandatory, the operations are carried out on the Virtual DOM instead of the Real DOM.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) What is VueJS mainly used for?</strong></span></h3>
<p><span style="font-weight: 400;">Vue.js is mainly used for creating web interfaces and single-page applications.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) Can we use react's JSX in Vue?</strong></span></h3>
<p><span style="font-weight: 400;">No, you can't use react's JSK transform as it differs from vue JSK change in Vue applications.</span></p>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="tips"></a>Tips Related to VueJs Interview</strong></span></h2>
<p><span style="font-weight: 400;">1. Be concise and assured: Any response you provide during the interview should be as concise as possible.</span></p>
<p><span style="font-weight: 400;">2. Give some real-world examples: Try to use examples from the real world when responding. This will demonstrate to the interviewer your familiarity with the subject</span></p>
<p><span style="font-weight: 400;">3. Pitch and tone: keep your voice down and do not get aggressive. You can better communicate your argument using a low voice and a calm tone.</span></p>
<p><span style="font-weight: 400;">4. Research the company: Study the organization. Adjust your responses to the needs of the business.</span></p>
<p><span style="font-weight: 400;">5. Do not rush to respond; instead, pay close attention. Take the time to carefully consider the interviewer's questions, then respond.</span></p>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<p><span style="color: #236fa1; font-size: 18px;"><strong>Conclusion</strong></span></p>
<p><span style="font-weight: 400;">Veu.js is continuously gaining popularity as it features a dynamically flexible architecture that focuses on the declarative present and component composition. It is used in the Information Technology and Services industry.</span></p>
<p><span style="font-weight: 400;">Listed are the 50 most common Vue.js Interview Questions and Answers, which will help you prepare and perform well. You can make a good impression on your potential employers by practicing and preparing. Best of luck!</span></p>1b:T9002,<p>UiPath allows web developers to carry out various tasks in web automation, including data extraction, application transfer, report generation, and website testing. The only RPA solution is UiPath which is used for various automation processes, including Citrix, PDF, Web, and Windows desktop automation. It offers an open-source platform that encourages teamwork and the digitization of menial jobs. It is employed in several industries, including banking, healthcare, finance, and many more. For the quarter that ended on October 31, 2022, UiPath's revenue was $0.263B, up 18.99% from the previous year.</p>
<p><br />If you are an aspirant planning for a job in the automation industry or a job change for UiPath technology, here is what you need to unlock the opportunity. These questions will provide you with an understanding of your technical knowledge and capabilities. It will help them judge how efficient you are in solving problems and taking the initiative. These UiPath Interview Questions will also help you prepare for interviews for all the roles related to UiPath.</p>
<p><a href="#freshers">RPA UiPath interview questions for Freshers</a><br /><a href="#experienced">RPA UiPath interview questions for Experienced</a><br /><a href="#scenario-based">Scenario-based UiPath interview questions</a><br /><a href="#faqs">FAQs for UiPath</a><br /><a href="#tips">Tips for Preparing</a></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="color: #000000; font-size: 18px;"><strong>Most frequently asked UiPath Interview Questions</strong></span></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#advantages-of-rpa">What are the advantages of using RPA?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#rpa-life-cycle">What constitutes the RPA life cycle's primary phases?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uipath-vs-selenium">What distinguishes UiPath from Selenium?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#machines-state">What is a machine's state?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uipath-automated-recording">What does UiPath's automated recording mean?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#session-variables">What are the session variables?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uipath-automated-recording">Explanation of UiPath Project Debugging</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#flow-switch">Describe Flow Switch in terms of UiPath.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#tfs-svn-and-uipath-repositories">Do you have any knowledge of TFS, SVN, and all Uipath repositories?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#leaving-the-loop">Which activity allows you to quickly leave the loop after a certain point while processing a huge item collection using For Each?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="freshers"></a>RPA UiPath Interview Questions for Freshers:</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1. Describe UiPath.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Daniel Dines and Marius Tirca launched the automation business Uipath in 2005. It is an automation program for Windows PCs that automates monotonous tasks. The most straightforward automation tool, UiPath, automates tiresome, repetitive operations by removing human involvement.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2. What is Robotic Process Automation (RPA)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Robotic Method Automation teaches robots to execute laborious and time-consuming jobs while acting like humans. Robots are trained in this procedure to complete specified tasks independently using the established rules and guidelines.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="advantages-of-rpa"></a>3. What are the advantages of using RPA?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>There are several advantages to using robotic process automation, including the following:</span><span style="font-weight: 400;"><br /></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cost-saving: You may reduce the workforce and cut costs by automating tedious processes.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Faster and more effective outcomes: They never make mistakes as people do. They will do the same without any mistakes once you give them the correct information and the appropriate guidelines and regulations.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">No code is required: With robotic process automation, we don't need to develop complicated programs to automate any process or application. Sometimes a restricted code can be used to accomplish the task.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Simple to use: As stated in the previous sentence, the UiPath is designed to be simple enough for anybody to use.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="rpa-life-cycle"></a>4. What constitutes the RPA life cycle's primary phases?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The RPA life cycle primarily consists of four phases, and they are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Analysis: The business and architect teams get together at this stage more than any other.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Bot development: The development team will collaborate to choose and create the bots at this stage.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Testing: The designed process is tested in this step to determine its quality levels and to look for flaws.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support and maintenance: The automated process is being closely watched at this point, and if anything goes wrong, the support staff will take swift action to fix it.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 44.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 44.5047px;">
<td style="width: 98.4573%; text-align: center; height: 44.5047px;"><em>Want to acquire industry skills and gain complete knowledge of UiPath? Enroll in Instructor-Led live <span style="color: #236fa1; font-size: 15px;"><strong><a style="color: #236fa1;" href="https://tekslate.com/uipath-training" target="_blank">UiPath Training</a></strong></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>5. How long would establish a framework for operational agility take?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>From the start of the project, operational agility may be built in an average time frame of 4 to 12 weeks.</span></p>
<p><span style="color: #e67e23; font-size: 18px;"><strong>6. What does RPA mean when it says it collects the information?</strong></span><strong><br /></strong></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In RPA, robots require raw data or information to carry out the tasks delegated to them. We even have a chance to manually feed the data to the robots because they can consistently complete the jobs depending on the data gathered from diverse sources.</span></p>
<p><span style="color: #e67e23; font-size: 18px;"><strong><a id="uipath-vs-selenium"></a>7. What distinguishes UiPath from Selenium?</strong></span><strong><br /></strong></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/introduction-oops-concept-selenium" target="_blank">Selenium</a></span> is a well-known testing tool that is employed to test a variety of websites and programs. Integrating with other apps in terms of the connection component is not feasible. When it comes to UiPath, a Robot Process Automation solution made to automate tasks formerly carried out by humans, it is even hard to operate with virtual environments like Citrix, etc. With only a little code, complicated activities can be automated with UiPath.</span></p>
<p><span style="color: #e67e23; font-size: 18px;"><strong>8. What makes the chatbot and RPA different from one another?</strong></span><strong><br /></strong></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong>An RPA and a chatbot are very different from one another. A <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.oracle.com/chatbots/what-is-a-chatbot/" target="_blank" rel="nofollow">chatbot</a></span> is pre-programmed software that mimics human behaviour. These chatbots facilitate the planned behaviours of the visitors. The best feature of chatbots is their ability to learn from prior interactions and adapt their behaviour. Chatbot is a fairly specific area of robotic process automation, which is a much bigger idea. Chatbots cannot modernize complicated procedures; RPA can.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>9. What are the fundamental conditions for RPA automation of front- and backend mechanisms?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>RPA is a widely used and reliable innovation for automating both frontend and backend processes while maintaining the highest standards of quality and protection. The frontend and backend operations are automated and simple to use. The visitors aren't required to worry about it because most of the backend and frontend automation operations are identical. The deployment and upkeep of the settings are simple.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>10. What are the primary factors to consider during the Automation phase?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The following step is to choose the finest foundation once you have found the automation tool that best suits your needs. Depending on the type of assignment, you must select the things labelled as In Scope and Out Scope. The test environment is the next point we need to think about, and output authentication is one of the important things to consider.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 35.5px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 35.5px;">
<td style="width: 98.4573%; height: 35.5px; text-align: center;">Check out the difference between <a href="https://tekslate.com/blueprism-vs-uipath" target="_blank"><span style="color: #236fa1;"><strong>Blue Prism vs UiPath</strong></span></a></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>11. What does RPA mean when it says it collects the information?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In RPA, robots require raw data or information to carry out the tasks delegated to them. We can also deliberately feed the data to the robots because they can consistently complete the jobs depending on the data gathered from multiple perspectives.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>12. What do the UIPath value and data types mean?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In UiPath, variables are used to store the data, and you may even alter a variable's value. The type of data that is stored in the variable might vary. UiPath supports various data kinds, including text, numeric, time, date, universal value, and data tables.</span></p>
<h3><span style="color: #e67e23;"><strong>13. What does UiPath activity sequencing mean?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The definition of a series is a brief sort of project that makes it simple to go from one operation to the next. You may utilize these blocks as many times as you like because they function as a single activity of block.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="machines-state"></a>14. What is a machine's state?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A machine must travel through several stages to do a single activity. These various states are referred to as machine states. If the action is activated, it enters several states.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>15. What does UiPath's break activity mean?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In UiPath, you may halt a specific loop at any moment and carry out additional tasks by using the break action.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>16. What exactly does UiPath's package management do?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A package manager is a collection of several components that aid in automating the process. Libraries, frameworks, and wrappers are just a few items included in package managers.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>17. What is the most efficient method for logging into UiPath?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>&nbsp;Each activity should have its login.</span><span style="font-weight: 400;"><br /></span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 51.4836px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 51.4836px;">
<td style="width: 98.4573%; height: 51.4836px; text-align: center;">Read these latest <span style="color: #236fa1;"><em><strong><a style="color: #236fa1;" href="https://tekslate.com/rpa-interview-questions" target="_blank">RPA Interview Questions</a></strong></em></span> that help you grab high-paying jobs</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>18. There should be a tracking procedure to understand the processes and remedy the problems.</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In manufacturing, you may customize the login based on your requirements.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>19. How exactly would the data be extracted from the database?</strong></span><strong><br /></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Using Linq, we can extract the data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>20. How can we access the database and read it?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>We can connect to the database and read the decentralized data flow with a database connection.</span></p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="experienced"></a>RPA UiPath Interview Questions for Experienced:</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>21. What is the usage of the UiPath Robotic Enterprise Framework format?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li><span style="font-weight: 400;">It serves as the foundation for any endeavour.</span></li>
<li><span style="font-weight: 400;">It will serve as a source for the robots in the front office.</span></li>
<li><span style="font-weight: 400;">In Manchester, the framework functions like a line.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="uipath-automated-recording"></a>22. What does UiPath's automated recording mean?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The option to automatically record the activities in UiPath. It may be modified and freely customized. The stages that are automatically produced for documenting the actions&mdash;which are to click, input into, and check certain items&mdash;are as follows.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>23. List the OCR (optical character recognition) tools that UIPath offers?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The OCR engines offered by UiPath are listed below:</span></p>
<ul>
<li><span style="font-weight: 400;">Google&nbsp;</span></li>
<li><span style="font-weight: 400;">Abby</span></li>
<li><a href="https://tekslate.com/msbi-tutorials" target="_blank"><span style="font-weight: 400;">Microsoft</span></a></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>24. What process do we employ to extract text from an image?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>We can retrieve text from the picture using Orc activity.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>25. What are the possible error-handling options in UiPath?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li><span style="font-weight: 400;">End Workflow&nbsp;</span></li>
<li><span style="font-weight: 400;">Catch Try</span></li>
<li><span style="font-weight: 400;">Throw</span></li>
<li><span style="font-weight: 400;">Catch</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>26. Define a machine's state.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A machine's state refers to the several stages it must transition through in order to carry out a single operation. The activity could change into several states once it is triggered.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="session-variables"></a>27. What are the session variables?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In UiPath, the session variable may serve as a pointer to a single session encounter. If the connection goes through many cycles at once, it could have comparable session characteristics but a different value.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>28. What conditions must be met for Element Persists?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>It is used to determine whether UI Element is available during program implementation. Existing elements are required to support <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.computerhope.com/jargon/b/boolean.htm" target="_blank" rel="nofollow">Boolean</a></span>.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>29. What is a package manager?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In UiPath, a package manager is a collection of several parts that enables the computerization of the process. Structures, libraries, and coverings are all things that a package administrator includes.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>30. How long will the foundation for operational agility take to establish?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>From the start of the project, the Operational Agility framework establishment takes between 4 to 12 weeks.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>31. What does the UiPath milestone schedule entail?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The order follows a project-like structure that moves from the beginning with one action to the next. It serves as a standalone action block. They might be used repeatedly by engineers.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="uipath-project-debugging"></a>32. Explanation of UiPath Project Debugging</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>For a specific operation, the error is found and displayed using the debugging approach. Breakpoints and logging are also present. It helps you compile information about the project and gradually highlight the problem.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>33. In UiPath, explain arguments.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Data is sent from one endeavour to another via arguments. They seem like forces from a global perspective because they gradually gather and transmit information. While arguments convey information across robotization, variables pass information between tasks. They enable you to reuse computerization repeatedly as a result. Numerous argument types that correspond to different types of variables are supported by UiPath Studio.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>34. What distinguishes process automation from test automation in particular?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Process automation is applied to streamline procedures where human interaction is not necessary. Additionally, Test Automation is utilized during the automation technology to test built cases to see whether they pass or fail.</span></p>
<p style="text-align: right;"><em><strong>Checkout: <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/RPA-vs-Selenium" target="_blank">[RPA vs Selenium]</a></span></strong></em></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>35. Citrix Automation definition.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Citrix Automation is employed by UiPath to manage and interact with multiple virtual. The method for implementing automation in Citrix machines is through Citrix robotization in UiPath.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="flow-switch"></a>36. Describe Flow Switch in terms of UiPath.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Flow switches and choices are the same in the context of UiPath. The flow switch offers an additional option called "flow step," which is the only distinguishing feature between both. The flow switch's branches are not only limited to the true or false branches but also each one is described as a flow step.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>37. How can I use Uipath to upload data to a queue? Which Uipath desktop automation tasks have you used?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li><span style="font-weight: 400;">On the Queues page, create a queue.</span></li>
<li><span style="font-weight: 400;">Drag an Add Queue Item activity to the Main panel in Studio from the Activities panel.</span></li>
<li><span style="font-weight: 400;">Put quotation marks around the name of the queue you generated in step 1 in the Queue Name field of the Properties panel.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="tfs-svn-and-uipath-repositories"></a>38. Do you have any knowledge of TFS, SVN, and all Uipath repositories?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You may establish a connection to a source control system like TFS or SVN using the Project panel, along with other things. The Connect Project to a Source Control button switches to TFS or SVN after you are linked to one of them. The URL of the Project may also be seen by hovering over the TFS or SVN button.</span><span style="font-weight: 400;"><br /></span></p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="scenario-based"></a>Scenario-Based UiPath Interview Questions:</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>39. How is it possible to claim that robotic process automation is a safe and dependable method?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The RPA has the same features built-in on numerous levels. The good news is that the run time factor differs greatly amongst all manufacturers' processes for modifying anything. All users need not be provided with the same activities; in fact, such actions might be limited. Typically, this entails developing, planning, executing, and revising the procedures. Every produced log has the ability to offer complete details with a broad reach. When contrasted to a manual procedure, RPA offers more security and control.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>40. Is it always required for a business to update its whole infrastructure in order to use RPA? If not, why not?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>RPA adoption is not always required when a business undergoes a significant transformation. It is simple to adapt to work with the current network. This is because firms can easily keep up with the pace thanks to the most recent robotic software and solutions for RPA that don't easily encounter compliance concerns.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>41. Can UiPath execute several iterations of the same procedure applications on a single robot in a single system?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, provided that each system is registered as one Robot, it is possible to run the same program across two robots. On a computer running Windows Server (2008 R2, 2012 R2, or 2016):</span></p>
<ul>
<li><span style="font-weight: 400;">The same process can be executed by all robots and distinct operations simultaneously by all robots.</span></li>
<li><span style="font-weight: 400;">High-density robots are what these are.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 46.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 46.5047px;">
<td style="width: 98.4573%; text-align: center; height: 46.5047px;"><em>Go through this <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/tutorials-rpa-tutorials" target="_blank">Robotic Process Automation (RPA) Tutorial</a></strong></span> to learn RPA end-to-end!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>42. Consider a situation when you have created automation using UiPath Community Edition. Let's assume that you wish to transfer the deployed bots to the client environment. How are you going to do that?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You must utilize the UiPath Enterprise edition to deploy your bots to the client environment. When you have the business edition, you may publish the code to the licensed version of Orchestrator and execute the deployed bot after moving the code to the environment.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="leaving-the-loop"></a>43. Which activity allows you to quickly leave the loop after a certain point while processing a huge item collection using For Each?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li><span style="font-weight: 400;">Nothing can be done. As an alternative, you must develop a Boolean variable upon which the For Every loop is severed.</span></li>
<li><span style="font-weight: 400;">For Each, the "Break" action is the most appropriate.</span></li>
<li><span style="font-weight: 400;">Each should be replaced with a While loop.</span></li>
</ul>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="faqs"></a>FAQs for UiPath</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1. What are the 3 key components of the UiPath platform?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>There are majorly 3 key components of the UiPath platform, they are:</span></p>
<p><span style="font-weight: 400;">UiPath Studio: UiPath Studio is a visual and graphical interface that enables users to design and build automation workflows.</span></p>
<p><span style="font-weight: 400;">UiPath Robot: UiPatch Robot is a component that executes the automation workflows designed in UiPath Studio. The Robot can run either in attended mode (when a user is present at the computer) or unattended mode (when running as a background process).</span></p>
<p><span style="font-weight: 400;">UiPath Orchestrator: UiPacth Orchestrator is a web-based platform that enables users to manage, monitor, and scale their automation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2. What is UiPath's full form?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>UiPath does not have a full form. It is a brand name.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>3. What is UiPath TCS used for?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>TCS (Tata Consultancy Services) is a global IT services company that provides a range of Tech services. TCS uses UiPath to help its clients automate their business processes and improve operational efficiency. Here are some other uses:</span></p>
<ul>
<li><span style="font-weight: 400;"> </span><span style="font-weight: 400;">Uses UiPath Studio to design and build automation workflows.</span></li>
<li><span style="font-weight: 400;">Uses UiPath Robots to execute automation.</span></li>
<li><span style="font-weight: 400;">Uses UiPath Orchestrator to manage and monitor automation.</span></li>
<li><span style="font-weight: 400;">Helps organizations reduce manual work.</span></li>
<li><span style="font-weight: 400;">Improves data accuracy.</span></li>
<li><span style="font-weight: 400;">Increases operational efficiency</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4. How many types of automation are there in UiPath?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>There are 6 types of automation in UiPath:</span></p>
<p><strong>Fully Attended</strong><span style="font-weight: 400;">: In fully attended automation, humans are present throughout the entire process.</span></p>
<p><strong>Partially Attended</strong><span style="font-weight: 400;">: In partially attended automation, humans are present only during certain parts of the process.</span></p>
<p><strong>Human in Loop: &nbsp;</strong><span style="font-weight: 400;">In human-in-loop automation, humans must intervene and make decisions at specific points during the process.</span></p>
<p><strong>Attended, Interval: </strong><span style="font-weight: 400;">In attended at intervals, automation human is present for only brief intervals during the process.</span></p>
<p><strong>Attended in Tandem</strong><span style="font-weight: 400;">: In attended in tandem automation, human works alongside the automation.</span></p>
<p><strong>Hybrid Deployment: </strong><span style="font-weight: 400;">In hybrid deployment automation, multiple types of automation are combined into one process.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>5. What are the 2 types of robots in UiPath?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The two types of robots in UiPath are:</span></p>
<p><strong>Standard Robot</strong><span style="font-weight: 400;">: Standard Robot refers to an attended or unattended robot that is assigned to a specific process or task and is dedicated to running that process or task continuously.</span></p>
<p><strong>Floating Robot</strong><span style="font-weight: 400;">: Floating Robot is a type of attended Robot that can be used by multiple processes or tasks and is not tied to a specific process or task. Floating robots are often used to provide additional resources when the demand for automation is high and can be used to support multiple processes simultaneously.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #236fa1; font-size: 24px;"><strong><a id="tips"></a>UiPath Tips for Preparing:</strong></span></h3>
<p><strong>1. Familiarize yourself with UiPath Studio</strong><span style="font-weight: 400;">: Make sure you are comfortable with UiPath Studio and understand its various components, such as workflows, sequences, and activities.</span></p>
<p><strong>2. Know the UiPath architecture:</strong><span style="font-weight: 400;"> Understand the architecture of UiPath and its various components like Robots, Orchestrators, and Attended &amp; Unattended Robots.</span><span style="font-weight: 400;"><br /></span></p>
<p><strong>3. Study the key concepts:</strong><span style="font-weight: 400;"> Brush up on key concepts like automation types, screen scraping, data scraping, and exception handling.</span></p>
<p><strong>4. Practical experience:</strong><span style="font-weight: 400;"> Get hands-on experience by working on projects related to automation. This will help you answer questions on how you have used UiPath in real-world scenarios.</span><span style="font-weight: 400;"><br /></span></p>
<p><strong>5. Learn about the UiPath ecosystem:</strong><span style="font-weight: 400;"> Understand the different tools and services available in the UiPath ecosystem and how they integrate with each other.</span><span style="font-weight: 400;"><br /></span></p>
<p><strong>6. Prepare for technical questions:</strong><span style="font-weight: 400;"> Be prepared to answer technical questions related to UiPath concepts and best practices.</span><span style="font-weight: 400;"><br /></span></p>
<p><strong>7. Research the industry and company: </strong><span style="font-weight: 400;">Get an understanding of the industry use cases. Do your research on the company and the role you are interviewing for. This will help you tailor your responses to their specific needs and requirements.</span><span style="font-weight: 400;"><br /></span></p>
<p><strong>8. Practice your communication skills:</strong><span style="font-weight: 400;"> During the interview, it is important to communicate your ideas and thought process clearly and effectively.&nbsp;</span><span style="font-weight: 400;"><br /></span></p>
<p><strong>9. Review your resume and cover letter:</strong><span style="font-weight: 400;"> Review your resume and cover letter to refresh your memory and be ready to talk about your experience and qualifications.</span></p>
<p><strong>10. Practice active listening and be yourself: </strong><span style="font-weight: 400;">&nbsp;Pay attention to the interviewer's questions and make sure you understand what they are asking before you answer. Be honest and authentic during the interview. Be confident about your body language, and accent, and do not pretend.</span></p>
<p>&nbsp;</p>
<p><span style="color: #e67e23; font-size: 18px;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">The combination of RPI and UiPath is a powerful one that allows the automation of numerous processes and tasks which is difficult or time-consuming to accomplish manually. RPI offers the hardware needed for the automation process, and UiPath offers the software to ensure the process operates smoothly. This is a fantastic method to cut down on the cost of labour, improve productivity, and free up human resources for more challenging tasks.</span></p>
<p><span style="font-weight: 400;">Above mentioned are the most common </span><strong>UiPath Interview Questions</strong><span style="font-weight: 400;">, which are helpful if you are preparing yourself to work for roles related to UiPath. These questions will help you to perform well in the interview, so go through them to succeed in the interview and make a good impression on the interviewer.</span></p>
<p>&nbsp;</p>1c:Tf99c,<p><span style="font-weight: 400;">Go, also known as Golang, is a modern programming language that was developed by Google in 2007. It is a statically-typed language that is designed to be fast, efficient, and scalable, making it an excellent choice for building web services, cloud-native applications, and other performance-critical systems. With its simplicity, concurrency support, and powerful standard library, Go has quickly become a popular choice among developers looking for a high-performance and productive language.</span></p>
<p><strong>Key features of Golang include:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Simple and straightforward syntax</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support for concurrency and parallelism</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Fast performance and low resource consumption</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Robust standard library</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Strong type safety and error handling capabilities.</span></li>
</ul>
<p><span style="font-weight: 400;">Whether you're a seasoned developer or just starting out, this blog is the perfect resource for mastering Golang. Divided into four sections you'll find comprehensive Golang Interview Questions&nbsp;that cover all aspects of the Golang programming language. With this guide, you'll have the tools and knowledge you need to demonstrate your expertise in Golang and ace your next interview.&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><a href="#freshers"><span style="font-size: 15px;"><strong><span style="color: #236fa1;">Golang Interview Questions for Freshers</span></strong></span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#experienced"><span style="font-size: 15px;"><strong><span style="color: #236fa1;">Golang Interview Questions for Experienced</span></strong></span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#advanced"><span style="font-size: 15px;"><strong><span style="color: #236fa1;">Advanced Golang Interview Questions</span></strong></span></a></li>
<li style="font-weight: 400;" aria-level="1"><a href="#scenario-based"><span style="font-size: 15px;"><strong><span style="color: #236fa1;">Golang Scenario-Based Interview Questions</span></strong></span></a></li>
</ul>
<p><span style="font-weight: 400;">Let's get started!</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.3844%;">
<h3><span style="font-size: 18px;"><strong>Most Frequently asked Golang Interview Questions</strong></span></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#go-handle-errors">How does Go handle errors?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#defer-keyword">What is the defer keyword used for in Go?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#test-code-in-go">How do you test code in Go?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#go-handle-panics-and-recoveries">How does Go handle panics and recoveries?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#go-type-system">Can you explain Go's type system and its advantages?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#interface-in-go">Explain the use of interfaces in Go and why they are important.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#testing-framework-in-go">Talk about Go's built-in testing framework and how it is used.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#go-garbage-collector">Why is Go's garbage collector important and how does it operate?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-processing-system">How would you implement a distributed data processing system in Go?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#payment-gateway-in-go">How does one set up a payment gateway in Go?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="freshers"></a>Golang Interview Questions and Answers for Freshers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1. What is Golang and what are its features?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go is a programming language developed by Google. It is known for its simplicity, efficient memory management, and concurrency support. Some of its key features include garbage collection, statically-typed variables, and strict typing.</span></p>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">2. What are Goroutines and how do they differ from traditional threads?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Goroutines are lightweight threads that can run simultaneously with other routines. They differ from traditional threads in that they are much lighter, cheaper, and faster to create and manage, and can run thousands or even millions of routines concurrently without affecting performance.</span></p>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">3. Talk about the different data types in Go.</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go has several built-in data types, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">bool: a boolean type that can hold either true or false</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">int: a signed integer type with varying sizes, such as int8, int16, int32, and int64</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">uint: an unsigned integer type with varying sizes, such as uint8, uint16, uint32, and uint64</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">float32 and float64: floating-point types with single and double precision, respectively</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">complex64 and complex128: complex numbers with real and imaginary components</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">string: a string type for representing sequences of characters</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">byte: a type that represents a single byte</span></li>
</ul>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;"><a id="go-handle-errors"></a>4. How does Go handle errors?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go handles errors through a mechanism called error values. When a function returns an error value, it signals to the caller that something has gone wrong. The caller can then check the error value and take appropriate action.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 53.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 53.5047px;">
<td style="width: 98.4573%; text-align: center; height: 53.5047px;"><em>Want to acquire industry skills and gain complete knowledge of Golang? Enroll in Instructor-Led live <span style="font-size: 15px; color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/golang-training" target="_blank">Golang Training</a></strong></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><strong><span style="font-size: 18px; color: #e67e23;">5. How does Go handle memory management?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go uses a garbage collector to automatically manage memory. The garbage collector keeps track of the memory usage of each object and frees up memory that is no longer in use. This makes it easier to write code without worrying about manual memory management.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>6. What is a slice in Go, and how does it differ from an array?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A slice is a data structure in Go that represents a segment of an array. Unlike an array, a slice can be resized dynamically and can grow or shrink as needed. </span><span style="font-weight: 400;">Slices</span><span style="font-weight: 400;"> also have built-in methods for working with their underlying arrays, such as append and copy.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>7. Explain a pointer in Go, and how is it used.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The memory address of another value is stored in a variable called a pointer. Pointers are used in Go to pass values to functions by reference, rather than by value. This allows multiple functions to access the same data, which can be useful in certain situations.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>8. Describe the struct in Go, and how is it used?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A struct is a composite data type in Go that can be used to define custom data structures. Structs allow you to group together related values and organize your data in a meaningful way. Structs can be used to store values in fields, and can also be passed as arguments to functions.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="defer-keyword"></a>9. What is the defer keyword used for in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The </span><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.educative.io/answers/what-is-the-defer-keyword-in-golang" target="_blank" rel="nofollow"><span style="font-weight: 400;">defer keyword</span></a></span><span style="font-weight: 400;"> is used in Go to schedule a function call to be executed immediately before the function that contains the defer statement returns. The defer keyword is useful for performing cleanup operations, such as closing a file or releasing a resource, even if an error occurs within the function.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>10. What is the difference between a package and an import in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A package is a collection of Go source files that are organized to provide specific functionality, such as a library for working with a particular data format. An import is a directive that allows you to use the functionality of another package in your own code.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="test-code-in-go"></a>11. How do you test code in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go has built-in support for testing and provides a standard package called &lsquo;testing&rsquo; that can be used to write and run tests. Tests can be written using the testing. T type and can be run using the &lsquo;go test&rsquo; command. The &lsquo;testing&rsquo; package also provides various functions for asserting the behavior of your code and for reporting errors or failures.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>12. What distinguishes a channel from a mutex in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A channel is a communication mechanism in Go that allows multiple goroutines to safely pass data back and forth. Channels can be used for both sending and receiving data and provide a way to synchronize communication between goroutines.</span></p>
<p><span style="font-weight: 400;">A mutex, on the other hand, is a synchronization tool used to protect shared data from concurrent access. Mutexes can be used to lock and unlock data, ensuring that only one goroutine at a time can access it. </span><a href="https://gobyexample.com/mutexes" target="_blank" rel="nofollow"><span style="font-weight: 400;"><span style="color: #236fa1;">Mutexes</span></span></a><span style="font-weight: 400;"> are typically used to ensure that data is consistent and to prevent race conditions in concurrent programming.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="experienced"></a>Golang Interview Questions and Answers for Experienced</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>13. How do you design and implement concurrent systems in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Concurrent systems in Go can be designed and implemented using goroutines and channels. Goroutines are lightweight threads that can run simultaneously with other routines, and channels provide a way to synchronize communication between goroutines. When designing concurrent systems in Go, it is important to consider the problem domain, the data being processed, and the performance requirements.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>14. What is the difference between the make and new functions in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The make function is used to create slices, maps, and channels, while the new function is used to create pointers to zero values of any type. The make function also initializes the underlying data structure, whereas new only allocates memory for the specified type.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="go-handle-panics-and-recoveries"></a>15. How does Go handle panics and recoveries?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go provides a mechanism for handling runtime errors through the use of the panic and recover functions. The panic function can be used to raise a runtime error, while the recover function can be used to recover from the error and resume normal execution. The use of recover is typically paired with the use of defer statements, which are executed before the function returns.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>16. How do you optimize Go code for performance?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Performance optimization in Go involves several strategies, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Writing efficient algorithms and data structures</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using the correct data types and avoiding unnecessary conversions</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Avoiding unnecessary memory allocation and garbage collection</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using concurrent programming techniques and channels to take advantage of parallel processing</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Profiling and benchmarking code to identify bottlenecks</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>17. What are the best practices for testing and debugging Go code?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some best practices for testing and debugging Go code include:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Writing comprehensive test cases that cover all scenarios and edge cases</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using the testing package and the go test command to run tests</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Debugging code using tools such as the Go debugger (delve) and log statements</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Using tools such as pprof to profile code and identify performance bottlenecks</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Writing clear, concise, and meaningful error messages to make debugging easier</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>18. What is the Go Standard Library and what are some of its most important packages?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Go Standard Library is a collection of packages that provide common functionality and are included with the Go distribution. Some of the most important packages in the Go Standard Library include:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">net/http: a package for building HTTP servers and clients</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">encoding/json: a package for encoding and decoding JSON data</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">strings: a package for working with strings</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">math: a package for mathematical operations</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">time: a package for working with time and dates</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>19. What is Go's garbage collection mechanism and how does it work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's garbage collection mechanism is a system that automatically frees up memory that is no longer in use. The garbage collector uses a tracing algorithm to identify objects that are no longer referenced, and then reclaims the memory associated with those objects. The garbage collector runs periodically in the background and is designed to be efficient and low-impact, so it does not significantly impact the performance of the program.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>20. How does Go handle concurrency and synchronization?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go provides several mechanisms for handling concurrency and synchronization, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Goroutines: lightweight threads that can run simultaneously with other routines</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Channels: a mechanism for synchronizing communication between goroutines</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Wait groups: a mechanism for synchronizing multiple goroutines</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Mutexes: a synchronization tool used to protect shared data from concurrent access</span></li>
</ul>
<p><span style="font-weight: 400;">Go also provides the sync package, which contains various tools and primitives for synchronizing access to shared data and coordinating communication between goroutines.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="go-type-system"></a>21. Can you explain Go's type system and its advantages?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go has a statically typed type system, meaning that all type information is known at compile time. Go's type system supports several built-in types, including numbers, strings, and booleans, as well as user-defined types. One of the main advantages of Go's type system is its simplicity and readability, making it easier for developers to write, maintain, and understand code. The type system also helps to prevent type-related errors, such as type mismatches or unintended conversions, which can lead to bugs and crashes.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>22. What is Go's approach to error handling and how does it differ from other programming languages?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go uses a simple, straightforward approach to error handling that emphasizes returning errors as values from functions, rather than throwing exceptions. When a function encounters an error, it returns a value indicating that an error has occurred, along with a descriptive error message. The calling function is then responsible for checking the error and taking appropriate action.</span></p>
<p><span style="font-weight: 400;">This approach to error handling provides a more flexible and composable way to handle errors and eliminates the need for a complex exception handling mechanism. It also encourages the development of well-documented, robust error handling practices.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>23. What is Go's approach to testing and how does it differ from other programming languages?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go has a built-in testing framework that provides a simple and easy-to-use mechanism for writing and running tests. Tests can be written using the testing package and can be run using the go test command. The testing package provides functions for asserting the behavior of code and reporting errors or failures. Go's testing framework emphasizes the importance of writing comprehensive and automated tests and encourages the development of a strong testing culture. This approach to testing differs from other <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/translatorand-programming-language" target="_blank">programming languages</a></span> that may have less support for testing or rely on manual testing practices.</span></p>
<h3><strong><span style="color: #e67e23; font-size: 18px;">24. Can you explain Go's garbage collection mechanism and how it affects performance?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's garbage collection mechanism is a system that automatically frees up memory that is no longer in use. The garbage collector uses a tracing algorithm to identify objects that are no longer referenced and reclaims the memory associated with those objects. The garbage collector runs periodically in the background and is designed to be efficient and low-impact, so it does not significantly impact the performance of the program. Go's garbage collection mechanism provides several benefits for performance, including reducing the amount of manual memory management required, eliminating the risk of memory leaks, and providing better overall memory utilization. The garbage collector is also designed to provide predictable performance, so it does not cause significant pauses or slowdowns in the program.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>25. Can you explain the use of channels in Go and how they enable concurrency?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Channels are a fundamental mechanism in Go for communicating between goroutines. A channel is a typed conduit through which values can be sent and received between goroutines. Channels provide a safe and efficient way to pass data between goroutines, ensuring that access to the shared data is properly synchronized and coordinated.</span></p>
<p><span style="font-weight: 400;">Channels can be used for various purposes, such as sending data from one goroutine to another, coordinating the execution of multiple goroutines, or communicating between goroutines when they are waiting for a result. By using channels, Go enables the development of highly concurrent programs that can take advantage of multiple processors or cores to run multiple tasks in parallel. Channels provide a powerful tool for managing and controlling the flow of data in concurrent programs, allowing developers to write scalable, efficient, and reliable programs.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="advanced"></a>Advanced Golang Interview Questions</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>26. Can you explain the differences between Go and other programming languages such as C++ or Java?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go is designed to be a fast, simple, and efficient programming language that is well-suited for modern computing environments. Unlike C++ or <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/java-stream-tutorial" target="_blank">Java</a></span>, Go is a statically typed, garbage-collected language that supports concurrent programming. Go also has a simplified type system, a built-in testing framework, and a focus on modern software development practices. Compared to C++, Go is designed to be more memory-safe, with a garbage collector that automatically frees up memory that is no longer in use. Go also has a simpler type system and a more straightforward error handling mechanism.</span></p>
<p><span style="font-weight: 400;">Compared to Java, Go is designed to be faster, with a lower overhead and more efficient memory management. Go also has a more straightforward type system and a focus on concurrency, making it well-suited for building high-performance, concurrent systems.</span></p>
<h3><strong><span style="font-size: 18px; color: #e67e23;"><a id="interface-in-go"></a>27. Explain the use of interfaces in Go and why they are important.</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Interfaces are a powerful mechanism in Go for defining abstract types that can be implemented by other types. An interface defines a set of methods that a type must implement in order to implement the interface.</span></p>
<p><span style="font-weight: 400;">Interfaces provide several benefits in Go, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Abstraction: Interfaces allow you to define abstract types that can be implemented by other types, providing a high level of abstraction and encapsulation.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Polymorphism: Interfaces allow you to write generic code that can work with values of different types that implement the same interface.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Decoupling: Interfaces allow you to separate the definition of an API from its implementation, making it easier to change or evolve the implementation without affecting the API.</span></li>
</ul>
<h3><strong><span style="color: #e67e23; font-size: 18px;">28. Tell us the use of Go's struct type and how it differs from other programming languages?</span></strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's struct type is a composite type that allows you to define custom data structures. A struct consists of a set of fields, each of which has a name and a type. Structs can be used to group related data and define complex data structures.</span></p>
<p><span style="font-weight: 400;">Go's struct type differs from other programming languages in several ways:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Structs are value types in Go, meaning that they are copied when they are passed as arguments to functions or assigned to variables.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Go's struct type supports anonymous fields, which allow you to embed one struct type inside another and inherit its fields and methods.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Go's struct type supports tags, which are metadata that can be attached to struct fields and used to customize the behavior of encoding and decoding packages, such as JSON or <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/fusion-application-xml-technologies" target="_blank">XML</a></span>.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>29. Can you explain the use of Go's defer statement and when it is useful?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The defer statement is a powerful mechanism in Go that allows you to defer the execution of a function until the surrounding function returns. The deferred function is executed in the reverse order in which it was deferred, allowing you to clean up resources or perform other cleanup tasks.</span></p>
<p><span style="font-weight: 400;">Defer is useful in several situations, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cleaning up resources: Defer can be used to clean up resources, such as closing files or releasing locks, even if an error occurs.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Debugging: Defer can be used to print debug information, such as stack traces, even if an error occurs.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Initialization: Defer can be used to initialize resources, such as setting up logging or opening files, even if an error occurs.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>30. Can you describe the concurrent programming model used by Go and how it varies from that of other programming languages?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go provides a powerful and efficient approach to concurrent programming through its support for goroutines and channels. Goroutines are lightweight threads of execution that are managed by the Go runtime, allowing multiple tasks to be executed concurrently within a single process. Channels provide a safe and efficient mechanism for communicating between goroutines, allowing them to coordinate and synchronize their execution.</span></p>
<p><span style="font-weight: 400;">Go's approach to concurrent programming differs from other programming languages in several ways:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Goroutines are much lighter-weight than traditional threads, allowing for much greater concurrency with less overhead.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Channels provide a more efficient and less error-prone mechanism for synchronizing and communicating between goroutines, compared to traditional locks and semaphores.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Go provides a built-in mechanism for managing and detecting deadlocks, which can occur when two or more goroutines are waiting for each other to finish.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Go provides a set of libraries and tools, such as the Go standard library and the Go toolchain, that are designed to support and simplify concurrent programming.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>31. Describe Go's garbage collection mechanism and how it works?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's garbage collection mechanism is a built-in mechanism for automatically freeing up memory that is no longer in use. The garbage collector periodically scans memory to identify objects that are no longer accessible by the program, and reclaims the memory used by these objects.</span></p>
<p><strong>The garbage collector works by using a combination of techniques, including:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Tracing: The garbage collector traces the references between objects to determine which objects are reachable and which objects are unreachable.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Mark-and-sweep: The garbage collector marks unreachable objects as dead and sweeps them from memory.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Compacting: The garbage collector compacts memory to reduce fragmentation and minimize the amount of memory used by the program.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Go's garbage collector is designed to be efficient and non-intrusive, allowing programs to run smoothly and quickly, even as the size of the heap grows.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>32. Explain Go's error handling mechanism and why it is important.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's error handling mechanism is a built-in mechanism for handling and reporting errors in Go programs. Go uses a combination of return values and panic/recover to handle and report errors. Error handling is important in Go because it allows programs to handle and recover from unexpected events, such as file I/O errors, network errors, or other unexpected conditions. By handling errors effectively, Go programs can be made more robust and reliable, and can provide meaningful error messages to the user.</span></p>
<p><span style="font-weight: 400;">Go's error handling mechanism also helps to promote good software design by encouraging programmers to write code that checks for and handles errors, rather than ignoring them or returning unexpected results.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="testing-framework-in-go"></a>33. Talk about Go's built-in testing framework and how it is used.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's built-in testing framework is a powerful mechanism for writing and running tests for Go programs. The testing framework provides a set of functions and types for writing tests, asserting expected behavior, and reporting results. The testing framework is used by writing test functions that test specific aspects of a program. These test functions are executed by the Go test runner, and the results are reported back to the developer. Go's testing framework is an essential tool for writing high-quality, reliable Go programs, as it provides a way to automate and verify that code behaves as expected, even as the code evolves over time.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>34. How does the build and deployment procedure for Go differ from that of other programming languages?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's build and deployment process is designed to be simple, efficient, and reliable. Go programs are typically built using the Go toolchain, which provides a set of commands for building, testing, and deploying Go programs. The build process involves compiling the source code into machine-executable code, and can be done using a single command, such as "go build".</span></p>
<p><span style="font-weight: 400;">One of the key differences between Go's build and deployment process and other programming languages is that Go produces a single, statically linked binary executable, rather than a collection of dynamically linked libraries. This makes deploying Go programs much simpler and more efficient, as there are no dependencies to manage or resolve. Go's deployment process also provides a number of advantages over other programming languages, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy distribution: Go programs can be easily distributed and installed, as they are a single, standalone executable.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy scaling: Go programs can be easily scaled, as they can be run on multiple machines, with no additional dependencies.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy deployment: Go programs can be easily deployed to a variety of environments, including cloud environments and containerized environments, with no additional dependencies.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy debugging: Go programs are easier to debug, as they can be run and debugged locally, with no additional dependencies.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>35. Could you elaborate on the Go interface system and its significance?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's interface system is a mechanism for defining and implementing contracts between different parts of a Go program. An interface defines a set of methods that a type must implement in order to fulfill the interface contract. The interface system is important in Go because it promotes code reuse, abstraction, and modularity. By defining and implementing interfaces, Go programs can be decomposed into smaller, more manageable pieces, and the relationships between these pieces can be more easily managed and understood.</span></p>
<p><span style="font-weight: 400;">Go's interface system also provides a way to write code that is decoupled from the underlying implementation, allowing for more flexible and maintainable code. This is especially important in large, complex programs, where changes in one part of the code can have far-reaching effects on other parts of the code.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>36. What is the struct and method system in Go, and how is it used?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's struct and method system is a mechanism for defining and using custom data types in Go programs. A struct is a composite data type that can contain a collection of fields, each of which holds a value. Methods are functions that are associated with a struct and can operate on its fields.</span></p>
<p><span style="font-weight: 400;">The struct and method system is used in Go to create custom data types that represent real-world entities, such as people, products, or orders. By creating custom data types, Go programs can be made more expressive and readable, and can more easily model the real-world entities that they are working with. Go's struct and method system also provides a way to encapsulate behavior and data, allowing for greater control over the implementation details of a type, and making it easier to reason about and test the behavior of a program.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>37. Can you describe the Go-type system and how it is applied in real-world situations?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's type system is a mechanism for defining and using custom data types in Go programs. Go's type system provides a number of built-in data types, such as integers, strings, and booleans, as well as the ability to define custom data types, such as structs and interfaces. In practice, Go's type system is used to define custom data types that model real-world entities, such as people, products, or orders. This allows Go programs to be more expressive and readable, and to more easily model the real-world entities that they are working with.</span></p>
<p><span style="font-weight: 400;">Go's type system also provides a way to encapsulate behavior and data, allowing for greater control over the implementation details of a type, and making it easier to reason about and test the behavior of a program. Additionally, Go's type system supports polymorphism, which means that a single function or method can operate on values of different types, provided they implement the same interface. This allows for greater code reuse and flexibility, as well as making it easier to write generic algorithms that can operate on a wide range of data types.</span></p>
<p><span style="font-weight: 400;">The use of Go's type system also helps to enforce type safety, which is the idea that values of different types cannot be used interchangeably. This helps to prevent type-related errors, such as mismatched data types or values, and ensures that the program behaves as intended. Overall, Go's type system provides a powerful and flexible mechanism for defining and using custom data types in Go programs, and is a key aspect of Go's language design and implementation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="go-garbage-collector"></a>38. Why is Go's garbage collector important and how does it operate?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go's garbage collector is a system for managing memory in Go programs. The garbage collector is responsible for automatically freeing memory that is no longer being used by a program. This frees the programmer from the burden of manually managing memory allocation and deallocation, and helps to prevent memory leaks and other related problems. The Go garbage collector works by periodically scanning the heap, which is the area of memory where Go programs allocate their data, and marking any objects that are still in use. Any objects that are not marked are considered garbage, and are eligible for collection and release. The garbage collector then frees the memory associated with these objects, making it available for future allocation.</span></p>
<p><span style="font-weight: 400;">Go's garbage collector is important for several reasons. First, it frees the programmer from the burden of manual memory management, which can be a complex and error-prone task. Second, it helps to prevent memory leaks, which can cause programs to consume more and more memory over time. Third, it helps to improve program performance, as garbage-collected programs can allocate memory more efficiently and dynamically, and can respond more quickly to changing memory requirements. Overall, Go's garbage collector is an essential part of Go's runtime system, and helps to make Go programs more robust, efficient, and manageable.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="scenario-based"></a>Golang Scenario-Based Interview Questions</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="data-processing-system"></a>39. How would you implement a distributed data processing system in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's net package to establish communication between nodes in the network.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a data partitioning mechanism to divide the incoming data into smaller chunks that can be processed in parallel.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's concurrency primitives, such as goroutines and channels, to manage the processing of data chunks across multiple nodes.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using a publish/subscribe pattern for inter-node communication and task coordination.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for collecting and aggregating the results from multiple nodes, and for combining them into a final result.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Ensure robust error handling and fault tolerance mechanisms are in place to prevent data loss and ensure data consistency.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>40. How might a Go programme for real-time conversation be implemented?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use websockets to establish real-time communication between clients and the server.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a messaging protocol for sending and receiving chat messages.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's concurrency primitives, such as goroutines and channels, to manage the flow of messages between clients and the server.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing user authentication and authorization to control access to the chat room.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for storing chat history and ensuring message delivery reliability.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>41. What is the best way to implement a job queue system in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a database or data store to store incoming jobs and their metadata.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's concurrency primitives, such as goroutines and channels, to manage the flow of jobs from the queue to worker processes.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing a task prioritization mechanism to ensure that important jobs are processed first.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for tracking the status of jobs and detecting and handling errors or exceptions.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing a retry mechanism for failed jobs to ensure job completion.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>42. How could a real-time analytics system be implemented in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's concurrency primitives, such as goroutines and channels, to process incoming data in real-time.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a data storage mechanism, such as a database or data store, to store processed data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's time and time-related packages to implement time-based data processing and analysis.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using a publish/subscribe pattern for inter-node communication and task coordination.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for visualizing and reporting the processed data in real-time.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>43. How would you implement a high-performance REST API in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's net/http package to implement HTTP handling and routing.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a request handling mechanism to parse incoming requests, validate request data, and generate appropriate responses.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using Go's middleware pattern to implement common request handling logic, such as authentication and authorization.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for handling and returning errors in a consistent and user-friendly manner.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using caching mechanisms, such as in-memory caching or Redis, to improve API performance.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>44. In Go, how might a recommendation engine be implemented?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a data storage mechanism, such as a database or data store, to store user data and preferences.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's data structures, such as arrays, slices, and maps, to store and manipulate data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a recommendation algorithm, such as collaborative filtering or content-based filtering, to generate recommendations.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's concurrency primitives, such as goroutines and channels, to manage the flow of data and computation.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing real-time data processing and updating to ensure the recommendations stay fresh.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>45. What steps would you take to set up a content management system in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a data storage mechanism, such as a database or data store, to store the content and its metadata.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's net/http package to implement HTTP handling and routing for content management and retrieval.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a user authentication and authorization mechanism to control access to the content.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's data structures and algorithms to implement content search and retrieval functionality.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using a template engine, such as Go's html/template package, to separate the presentation logic from the content management logic.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for handling and storing version history of the content.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>46. How would you implement a geolocation-based service in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use a third-party geolocation API, such as MaxMind or Google Maps API, to retrieve geographical information based on IP addresses or coordinates.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's net/http package to handle HTTP requests and responses to and from the geolocation API.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using Go's concurrency primitives, such as goroutines and channels, to manage the flow of requests and responses.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for storing and retrieving geolocation data for efficient subsequent lookups.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing user authentication and authorization to control access to the geolocation service.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="payment-gateway-in-go"></a>47. How does one set up a payment gateway in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a payment processing mechanism, such as using a third-party payment gateway API, to handle payment transactions.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's net/http package to handle HTTP requests and responses to and from the payment gateway API.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using Go's concurrency primitives, such as goroutines and channels, to manage the flow of payment transactions.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for storing and retrieving payment data and transaction history.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing user authentication and authorization to control access to the payment gateway.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>48. What steps would you take to develop a Go system for processing real-time stock market data?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use a third-party stock market API, such as Yahoo Finance or Alpha Vantage, to retrieve real-time stock market data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's net/http package to handle HTTP requests and responses to and from the stock market API.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using Go's concurrency primitives, such as goroutines and channels, to manage the flow of stock market data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a data storage mechanism, such as a database or data store, to store the processed stock market data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for processing and analyzing the stock market data in real-time.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>49. How could a popular web chat service be implemented in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's net/http package to handle HTTP requests and responses for chat messages.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement WebSockets, using Go's net/http package or a third-party package, to establish real-time communication between the client and server for chat messages.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using Go's concurrency primitives, such as goroutines and channels, to manage the flow of chat messages.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a data storage mechanism, such as a database or data store, to store chat messages and user information.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing user authentication and authorization to control access to the chat application.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>50. </strong></span><span style="font-size: 18px; color: #e67e23;"><strong>How would you implement a distributed task processing system in Go?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Use Go's concurrency primitives, such as goroutines and channels, to manage the flow of tasks.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a task queue, using Go's data structures or a third-party package, to store and manage tasks.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider using a message queue, such as RabbitMQ or <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/apache-kafka-tutorials" target="_blank">Apache Kafka</a></span>, to facilitate communication and task distribution among multiple worker nodes.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Implement a mechanism for monitoring task progress and handling task failures.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Consider implementing load balancing to distribute tasks evenly among worker nodes.</span></li>
</ul>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<h3><span style="font-size: 24px; color: #236fa1;"><strong>Golang FAQ&rsquo;s</strong></span></h3>
<h3><span style="color: #e67e23;"><strong><span style="font-size: 18px;">1. How to prepare for a Golang interview?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To prepare for a Golang interview, it's recommended to familiarize yourself with Go's syntax, data structures, concurrency, and standard library. You should also have a good understanding of the following topics:<a href="https://tekslate.com/explain-different-types-pointers-c-language" target="_blank"> pointers</a>, interface, error handling, garbage collection, and Go's strict typing. Practicing writing code, solving problems, and discussing your solutions with others will also help.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>2. Why is Go frequently referred to as a post-OOP language?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go is often referred to as a post-OOP language because it takes a different approach to solve problems compared to traditional OOP languages. Go emphasizes simplicity, concurrency, and scalability, and provides built-in support for concurrent programming with Goroutines and channels. Go's use of composition instead of inheritance, and its lack of classes, make it a different approach to solving problems compared to traditional OOP languages.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>3. What are the several built-in supports in the Go language?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go has several built-in supports, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Concurrency primitives, such as Goroutines and channels, to handle and manage concurrent processing.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">A standard library that provides packages for various functions and features, such as net/http for handling HTTP requests, encoding/json for encoding and decoding JSON data, and fmt for formatting and printing output.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Garbage collection for automatic memory management.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Strict typing for improved code clarity and error handling.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Built-in support for testing, benchmarking, and profiling.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4. Is the Go language static or dynamic?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go is a statically-typed language, which means that the type of a variable must be explicitly defined when it's declared and cannot change during runtime. This can lead to improved code clarity and error handling compared to dynamic typing.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>5. Is Golang functional or Object-Oriented?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go is not a functional language and does not have functional programming constructs, such as higher-order functions or immutability. However, it does provide some functional programming features, such as first-class functions, which can be used to write functional-style code. Go is often referred to as a procedural language, as it uses a procedural programming approach and emphasizes simplicity, concurrency, and scalability over object-oriented concepts.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong>Tips to clear the Golang Interview:</strong></span></h2>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Brush up on Go's fundamentals: Go syntax, data structures, and standard library.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Master Go's concurrency: Goroutines, channels, and error handling.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Familiarize yourself with Go's strict typing and garbage collection.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Be prepared to compare Go's approach with other programming languages.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Practice and improve: Code writing, problem-solving, and hands-on experience with Go's tools and ecosystem.</span></li>
</ul>
<p>&nbsp;</p>
<p><span style="font-size: 16px; color: #e67e23;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">In conclusion, Go is a powerful and efficient programming language that is well-suited for large-scale, concurrent, and scalable applications. Clearing a Golang interview requires a solid understanding of Go's syntax, data structures, concurrency model, and standard library. It's important to be familiar with Go's strict typing and garbage collection, as well as its approach to solving problems compared to other programming languages. Practicing writing code, solving problems, and discussing your solutions with others can also help you prepare for a Golang interview. Overall, being knowledgeable, confident, and open to learning will help you perform well in a Golang interview.</span></p>1d:T54a,<ul>
<li><span style="color: #000000;"><a style="color: #000000;" href="#burp-suite"><span style="font-weight: 400;">What is Burp Suite</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#features"><span style="font-weight: 400;">Burp Suite Features</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#enterprise-edition"><span style="font-weight: 400;"> Enterprise Edition&nbsp;</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#professional-edition"><span style="font-weight: 400;"> Professional Edition&nbsp;</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#community-edition"><span style="font-weight: 400;"> Community Edition&nbsp;</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#getting-started"><span style="font-weight: 400;"> Getting Started with Burp Suite&nbsp;</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#vulnerabilities"><span style="font-weight: 400;"> Checking for Vulnerabilities with Burp Suite&nbsp;</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#benefits"><span style="font-weight: 400;"> Benefits of Burp Suite</span></a></span></li>
</ul>1e:T7be9,<p><span style="font-weight: 400;">A few years back, Burp Suite was used by over 80% of all security testers, and over 70% of Fortune 500 companies use this tool for security testing today.&nbsp;</span>The Burp Suite Tutorial<span style="font-weight: 400;">&nbsp;has been downloaded over four million times and is employed in more than 40000 security testing projects. So, learning about Burp Suit becomes crucial.</span></p>
<p><br /><span style="font-weight: 400;">This&nbsp;</span><strong>Burp Suite Tutorial</strong><span style="font-weight: 400;">&nbsp;covers configuring Burp Suite, intercepting traffic, manipulating requests, and discovering vulnerabilities. Below, we have listed a comprehensive overview of the features, toolsets, and techniques available in Burp Suite. Let's understand the&nbsp;</span>Burp Suite Tutorial for Beginners<span style="font-weight: 400;"> and how to use them to test web applications effectively. You may check Burp Suite's latest versions <a href="https://portswigger.net/burp/releases" target="_blank" rel="nofollow"><span style="color: #236fa1;"><strong>here</strong></span></a>.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="font-size: 18px;"><strong>Burp Suite Tutorial - Table of Contents:</strong></span></h3>
<ul>
<li><a href="#burp-suite"><span style="font-weight: 400; color: #236fa1;">What is Burp Suite</span></a></li>
<li><a href="#features"><span style="font-weight: 400; color: #236fa1;">Burp Suite Features</span></a></li>
<li><a href="#enterprise-edition"><span style="font-weight: 400; color: #236fa1;"> Enterprise Edition&nbsp;</span></a></li>
<li><a href="#professional-edition"><span style="font-weight: 400; color: #236fa1;"> Professional Edition&nbsp;</span></a></li>
<li><a href="#community-edition"><span style="font-weight: 400; color: #236fa1;"> Community Edition&nbsp;</span></a></li>
<li><a href="#getting-started"><span style="font-weight: 400; color: #236fa1;"> Getting Started with Burp Suite&nbsp;</span></a></li>
<li><a href="#vulnerabilities"><span style="font-weight: 400; color: #236fa1;"> Checking for Vulnerabilities with Burp Suite&nbsp;</span></a></li>
<li><a href="#benefits"><span style="font-weight: 400; color: #236fa1;"> Benefits of Burp Suite</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #e67e23; font-size: 24px;"><strong><a id="burp-suite"></a>What is Burp Suite?</strong></span></h2>
<p><span style="font-weight: 400;">Burp Suite is an effective web application tester for penetration prevention. It's employed by security experts to identify and exploit security holes in web-based applications for sever businesses. Burp Suite uses various techniques and functions, such as an intruder proxy web application scanner, a spider, and repetition. The repeater can alter requests as well as solve problems. So, Burp Suite has become a vital tool for security professionals and ethical hackers.</span></p>
<p>An introduction to the Burp Suite tutorial<span style="font-weight: 400;">&nbsp;includes tools that cooperate to facilitate the entire testing process, starting with assessing and mapping the application's attack to discovering and exploiting security holes. It offers features like web application scanning and automated spidering, manual tools to probe and manipulate web-based applications, an intruder to brute force parameters, extensibility of custom scripting, and integration with various devices. It's designed to be simple and user-friendly, which makes it a perfect option for security professionals.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 42.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 42.5047px;">
<td style="width: 98.4573%; height: 42.5047px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Burp Suite? Enroll in Instructor-Led live <span style="font-size: 15px;"><a href="https://tekslate.com/burp-suite-training" target="_blank"><span style="color: #236fa1;"><strong>Burp Suite Training</strong></span></a></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 24px; color: #e67e23;"><strong><a id="features"></a>Features of the Burp Suite</strong></span></h3>
<p><em><strong>1) Scanner:</strong></em></p>
<p><span style="font-weight: 400;">One of the capabilities of&nbsp;</span><strong>the Burp Suite tutorial</strong><span style="font-weight: 400;">&nbsp;is the Scanner. Through scanners, experts find weaknesses in web applications through automated processes for identifying and exploiting vulnerabilities that are known to be vulnerable. It can perform the active scanning of the application, which can include the operation of fuzzing, identifying weaknesses and exploiting them, conducting authentication scans, and much more. It is an effective tool utilized by security researchers and ethical hackers to identify and fix flaws in software before malicious hackers target them.</span></p>
<p><em><strong>2) Application-Aware spider:</strong></em></p>
<p><span style="font-weight: 400;">Application-Aware spider is a component of the Burp Suite that provides an automated and efficient method for identifying the contents of web-based applications. It can detect specific behaviours and content, including hidden parameters, APIs with back-ends and dynamic range. It also conducts an extensive analysis of the application's response and can identify and investigate the structure of the application. Additionally, it detects and exploits specific vulnerabilities to the application, such as cross-site scripting and SQL injection, to discover new attack vectors. In turn, it helps to detect and address security concerns within web-based applications.</span></p>
<p><em><strong>3) Intruder:</strong></em></p>
<p><span style="font-weight: 400;">Another capability in Burp Suite is intruders that detect and exploits web vulnerabilities in applications. Intruder permits users to use custom attack payloads to attack the target application. It can identify vulnerabilities in authentication bypass, SQL injection attacks, Cross-Site Scripting (XSS) attacks, and other web-based security vulnerabilities in applications. Intruders can also support a variety of fuzzing and encryption methods used to create malicious requests. The Burp Suite's Intruder feature is an essential component of any web-based application's security audit and helps identify and exploit the weaknesses of web applications.</span></p>
<p><em><strong>4) Repeater:</strong></em></p>
<p><span style="font-weight: 400;">The Burp Repeater lets you alter requests manually and then play them back. The repeater offers a user-friendly design interface to create and change requests. It also allows you to manipulate and evaluate responses quickly. It can troubleshoot problems, perform manual security testing, and automate the exploitation of discovered vulnerabilities. The repeater can also assist in manipulating requests with an advanced scripting language. It is a useful and efficient tool for testing security.</span></p>
<p><em><strong>5) Sequencer:</strong></em></p>
<p><span style="font-weight: 400;">Sequencer is an automated function of Burp Suite designed to test whether session tokens have random properties created by web applications by analyzing the entropy of tickets. It is implemented by sending several queries to the app and recording the session tokens in the responses. It then conducts an analysis statistic of the receipts to determine the probability of randomness. Sequencer is a helpful tool for security professionals who want to guarantee the security of web-based apps and safeguard them from session fixation and other attacks.</span></p>
<p><em><strong>6) Comparer and Decoder:</strong></em></p>
<p><span style="font-weight: 400;">Comparer and Decoder are beneficial features of Burp Suite. Comparer is a tool used to analyze different inputs, like HTTP queries or replies, to detect the differences between the two. It can help see the differences between responses to requests and other web-based application data. A decoder is a software tool that can decode data in different formats, like URL-encoded, base64 encoded, or hex encoded. Decoders can also convert various kinds of data into text humans can read, for example, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/html-tutorials" target="_blank">HTML</a></span>, XML, and JSON. The two Comparers, along with Decoder, are vital tools utilized by security testers of web-based applications to discover and analyze possible security vulnerabilities.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="enterprise-edition"></a>Enterprise Edition of Burp Suite</strong></span></h3>
<p><span style="font-weight: 400;">Enterprise Edition of Burp Suite is a toolbox and capabilities designed to aid in automated security testing of web applications. It offers advanced scanning for vulnerabilities, automatized penetration testing, and reports. It allows teams of testers to analyze and test web applications in a teamwork and automated way.</span></p>
<p><span style="font-weight: 400;">The Enterprise Edition of Burp Suite performs security testing on websites like assessing vulnerability, auditing compliance and penetration tests. It is designed to help organizations test their web applications' security and ensure they are secure from malicious attacks. It allows organizations to swiftly find and correct any flaws in their web-based applications, as well as provide the assurance that their web applications are secure.</span></p>
<p><span style="font-weight: 400;">Burp Suite Enterprise Edition is simple to use and cost-effective. It offers a quick and secure method for companies to test the level of security for their website applications and ensure they are safe from malicious attacks. It is the ideal solution for businesses that require verification for security issues with their website applications swiftly and effectively.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="professional-edition"></a>Professional Edition of Burp Suite</strong></span></h3>
<p><span style="font-weight: 400;">Burp Suite Professional Edition is a powerful security testing tool utilized by pen testers and security experts. It's designed to find vulnerabilities in web-based apps, websites and mobile applications with advanced options like automated scanning, advanced manual testing and integration of third-party tools. Additionally, it provides comprehensive reports that allow you to monitor progress and pinpoint issues.</span></p>
<p><span style="font-weight: 400;">Security professionals and pen testers use Burp Suite Professional Edition to ensure the security of web applications. It helps identify and fix security issues before they become problems. It allows organizations to comply with security rules and standards, such as the <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://owasp.org/www-project-top-ten/" target="_blank" rel="nofollow">OWASP Top 10</a></span>. It can also identify and remove malicious content from a website or application.</span></p>
<p><span style="font-weight: 400;">Burp Suite Professional Edition is also used to assess the safety of mobile apps. It helps to find weaknesses that attackers can exploit. It also helps ensure that applications are safe before making them available to the general public.</span></p>
<p><span style="font-weight: 400;">Burp Suite Professional Edition is a must-have instrument for security professionals and pen testers. It helps identify and fix security issues, ensures compliance with security regulations, and tests the security of <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/mobile-application-testing-interview-questions-answers" target="_blank">mobile applications</a></span>.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="community-edition"></a>Community Edition of Burp Suite</strong></span></h3>
<p><span style="font-weight: 400;">Burp Suite Community Edition is an open-source and free web security testing platform for applications. This platform offers a collection of tools for various security-related tasks for web-based applications and web-based services. It is a popular tool for security professionals because it provides an array of options to assist them in their security checks.</span></p>
<p><span style="font-weight: 400;">In the Burp Suite Community Edition, the users can conduct manual checks, automate tests, and utilize the robust Burp Suite Proxy feature to modify and intercept traffic. It also has options like an intruder and spider that can detect vulnerabilities, such as SQL injection and XSS.</span></p>
<p><span style="font-weight: 400;">Furthermore, Burp Suite Community Edition generates reports and identifies potential security issues. In short, Burp Suite Community Edition is a powerful and comprehensive security tool that detects and prevents security issues in web applications.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 52.4977px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 52.4977px;">
<td style="width: 98.4573%; height: 52.4977px; text-align: center;"><em>Read these latest <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/burp-suite-interview-questions" target="_blank">Burp Suite Interview Questions</a></strong></span> that help you grab high-paying jobs</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="getting-started"></a>Getting Started with Burp Suite:</strong></span></h3>
<p><span style="font-weight: 400;">Burp Suite supports the entire testing process, from initial mapping and analysis of an application's attack surface to finding and exploiting security vulnerabilities. Burp Suite is a standalone application and a plugin for various other platforms.</span></p>
<p><em><strong>1) Downloading and installation of Burp Suite</strong></em></p>
<p><span style="font-weight: 400;">To install Burp Suite, download the latest version from the official website.&nbsp;</span></p>
<p><span style="font-weight: 400;">Once downloaded, you can run the installation wizard to install Burp Suite and open Burp Suite software (During the installation, you will select the components you wish to install and the install location for Burp Suite).</span></p>
<p><span style="font-weight: 400;">After the installation, you can start using Burp Suite by launching the application from the start menu.</span></p>
<p><strong>Main interface</strong></p>
<p><span style="font-weight: 400;">It's the primary interface of the Burp Suite that you'll see after you start the program, divided into six parts with several panels that you can work with:</span></p>
<p><span style="font-weight: 400;">&nbsp;Tab 1 provides tools and options available to perform various actions based on the current circumstances.</span></p>
<ul>
<li><span style="font-weight: 400;"> Tab 2 displays the sitemap view, updated when you manually visit the websites or by spidering the sites using Burp Proxy.</span></li>
<li><span style="font-weight: 400;"> Tab 3 displays the requests sent to the URLs present on the sitemap view.</span></li>
<li><span style="font-weight: 400;"> Tab 4 provides information about HTTP requests and responses, which can be reviewed in depth by selecting the particular query from the queue of requests.</span></li>
<li><span style="font-weight: 400;"> Tab 5 is the section where you can see the vulnerabilities and the other functional issues with the website by choosing the specific website from the sitemap view.</span></li>
<li><span style="font-weight: 400;"> Tab 6 is the section in which issues are described in depth about how they impact the areas the most, how severe they are, and the best way to fix the situation.</span></li>
</ul>
<p><strong>Configuring outbound SOCKS Proxy</strong></p>
<p><span style="font-weight: 400;">Sometimes in the context of your project, it is possible to redirect all of your Burp Suite web traffic via an outbound SOCKS proxy. It ensures that all traffic to the web application you want to access will pass through the SOCKS proxy instead of your IP address.</span></p>
<p><span style="font-weight: 400;">To set it up for configuration, access the user Options tab within section 1, as mentioned prior, then click on the Connection tab and then go to the section labelled by the name SOCKS Proxy and input information about your SOCKS Proxy in the area.</span></p>
<p><em><strong>2) Intercepting the HTTP/S Traffic</strong></em></p>
<p><span style="font-weight: 400;">When utilizing the</span><strong>&nbsp;Burp Suite</strong><span style="font-weight: 400;">&nbsp;as a proxy, it is necessary to set up the broker to ensure it is operational. Otherwise, it will be unable to record and display the URLs or data transmitted or received by the server. This Burp Suite tutorial has provided ways to set up your Burp Proxy in the browser. In section 1, click the Proxy tab and then click on the Options tab on the second row. You will find the Proxy Listener section labelled in which you can enter the proxy information of your local machine to take the traffic.</span></p>
<p><span style="font-weight: 400;">After the proxy configuration has been completed within the</span><strong>&nbsp;Burp Suite tutorial</strong><span style="font-weight: 400;">, navigate to your browser and configure the proxy settings to ensure that the browsers forward the traffic directly to Burp Suite. Since Internet Explorer and Chrome share identical proxy settings, they will appear across both anytime you alter the settings in either.</span></p>
<p><span style="font-weight: 400;">When you open Chrome, you must go into Settings &gt; Advanced Settings &gt; System &gt; Open Proxy Settings, and then enter the same proxy details you input in Burp Suite.</span></p>
<p><span style="font-weight: 400;">Alternatively, with Chrome, you can install an extension called Proxy SwitchySharp that lets you establish the proxy and later change between the no proxy settings or the proxy settings with one click.</span></p>
<p><span style="font-weight: 400;">The next step is the Firefox configuration section; it doesn't share its proxy with any other program and uses its configuration to use the broker. To set the proxy settings within Firefox, it is necessary to go into Options and then Networks, then General Settings, and then input the proxy information that you input in Burp Suite.&nbsp;</span></p>
<p><span style="font-weight: 400;">Alternatively, with Firefox, it is possible to install an extension called FoxyProxy that lets you define the proxy and change between the proxy settings and no proxy configurations in one click.</span></p>
<p><em><span style="font-weight: 400;"><strong>3. Configuring Intercept</strong></span></em></p>
<p><span style="font-weight: 400;">The proxy intercept feature configures the other element of the Burp Suite tutorial. It is essential to configure and set it up to intercept, capture or reject the request to or from the server hosting the site you like to target. To set it up, you will need to go through the Proxy tab, then in the sub-tabs, then go to Options, and then to the second and third sections known as Intercept client request and Intercept Server Request. You will need to set the rules according to them.</span></p>
<p><span style="font-weight: 400;">Let them be the default setting, as they're well-suited to that. In comparison, the Interceptor can be used to function like the Man in the Middle and controlled via proxy &gt; intercept.</span></p>
<p><em><strong>4. Configuring the target scope</strong></em></p>
<p><span style="font-weight: 400;">The next step is the method by which the</span><strong>&nbsp;Burp Suite</strong><span style="font-weight: 400;">&nbsp;will analyze the intended application by examining the application's GETs and post requests. Before beginning any testing, it's recommended to establish the scope first. When you place a web-based application into its content, Burp, you can focus on the specific web application. Executing any procedure against the area will only focus on those web application(s) included within the scope.&nbsp;&nbsp;</span></p>
<p><span style="font-weight: 400;">It ensures that any potentially damaging website or payload(s) won't be able to access any application on the internet that is not yours to use. Select the Target tab and select the Scope sub-tab. Click Add and enter the URL of your target that you have the authority to test and determine your scope.</span><span style="font-weight: 400;"><br /></span></p>
<p><em><strong>5. Searching for a specific term</strong></em></p>
<p><span style="font-weight: 400;">You can count on Burp Suite to make complex tasks simple for you. Searching any phrase or keyword in the vast amount of information and data is achievable by typing a search term. It is useful when searching for information such as usernames or passwords from the results pages for bugs, as we have done to find the "test" and have found the "test" parameter, which we will further analyze in the future.</span></p>
<p><span style="font-weight: 400;">If you are looking for a distinctive phrase or keyword in the data in the Request or Response, you must pick an option from the Request Queue. Then, navigate to either the Request tab or the Response tab from the account you want to search and then Enter your desired keywords in the text box below. The text will be highlighted in yellow to highlight the words that match your query keyword</span><strong>.</strong></p>
<p><em><strong>6. Using the spider</strong></em></p>
<p><span style="font-weight: 400;">In the language of the internet, the term spider refers to an action where a robot connects on the web and then crawls through the various websites accessible in the web application that is targeted. The pages the spider goes through within the particular web application will be updated on the Sitemap, which is found in section 2 in the interface's main area.</span></p>
<p><span style="font-weight: 400;">To get the spider to start at any given host, click on the Spider tab in section 1. Then, under the Control tab, choose your scope first. In the following</span><strong>&nbsp;Burp Suite,</strong><span style="font-weight: 400;">&nbsp;we have set the extent that we have previously set within the Burp Suite and then hit the Spider running button to start it.&nbsp;</span></p>
<p><em><strong>7. Using the Repeater</strong></em></p>
<p><span style="font-weight: 400;">The Repeater tab is one of the most useful functions within the&nbsp;</span><strong>Burp Suite</strong><span style="font-weight: 400;">. It is used multiple times during the duration of a penetration test. It permits you to alter any aspect of the HTTP request, including its header, and monitor the behaviour of the data that comes back from the server.</span></p>
<p><span style="font-weight: 400;">To send and process a request to the repeater, you must select and right-click on any request from the queue of Requests and then select "Send to Repeater". Alternatively, you can use a shortcut key, Command + R, to complete this process.</span></p>
<p><span style="font-weight: 400;">Click on the "Repeater" tab, and then modify the settings you want to make to the HTTP request. In the following&nbsp;</span><strong>Burp Suite</strong><span style="font-weight: 400;">, we changed the parameter's value from 1 to 100 and then clicked the Go button. You will see the responses from the server for web applications in response to the request that you modified.</span><span style="font-weight: 400;"><br /></span></p>
<p><em><strong>&nbsp;8. Using the Intruder</strong></em></p>
<p><span style="font-weight: 400;">The intruder can be used when you run a computerized test instead of a manual test. The Burp Intruder is a useful tool for automating or semi-targeted fuzzing. It can be targeted against any parameters of the HTTP request simultaneously.</span></p>
<p><span style="font-weight: 400;">To process and send a request in the intruder, it is necessary to select and right-click on one of the requests in the Request queue and then select "Send To Intruder". A shortcut key can also be used by pressing Control + I to accomplish the task</span><strong>.</strong></p>
<p><span style="font-weight: 400;">Go into the Intruder tab and select your presently active Intruder instance. Click on the tab titled Positions. The location of the input for the payload is already marked through Burp Suite. You are unrestricted to choose your option of position or any location suggested by the Burp Suite. In the&nbsp;</span><strong>Burp Suite</strong><span style="font-weight: 400;">, we are following the Burp Suite offered classes.&nbsp;</span></p>
<p><span style="font-weight: 400;">Head to the Payloads tab, select the kind of payload you desire to target against a particular area, and press "Start attack" or click the "Start attacking" button. It will then push all payloads to that input parameter and display the outcomes in detail.&nbsp;</span></p>
<p><em><strong>9. Decoder</strong></em></p>
<p><span style="font-weight: 400;">The Decoder feature can be used to encode or decode the data by operating different kinds of encoding techniques. It is possible to input encoded text into the encoded field and convert it to plaintext or any other type of encoding you prefer. For this&nbsp;</span><strong>Burp Suite</strong><span style="font-weight: 400;">, we have decoded a Base64 encoded string and then cracked it to plaintext. It is likely to do the same reverse.&nbsp;</span></p>
<p><em><strong>10. Comparer</strong></em></p>
<p><span style="font-weight: 400;">The Comparer is a component of the Burp Suite used to compare any two responses, requests, or other types of information. It is useful to compare the reactions using different outcomes or inputs. The comparison will be displayed by highlighting the colour.</span></p>
<p><em><strong>11. Saving the Burp Session</strong></em></p>
<p><span style="font-weight: 400;">A lot of times during a penetration test, you will need to stop or hold the test and then continue it anytime later. Alternatively, you could be asked to give your session to another security analyst. In these scenarios, the most efficient alternative is to create a backup of your session which can be done by choosing.&nbsp;</span></p>
<p><span style="font-weight: 400;">"Save the old state file" in the menu Burp on the top.</span></p>
<p><span style="font-weight: 400;">It will deliver an unstructured file you can recreate at any time or share with any consultant.</span></p>
<p>&nbsp;</p>
<h3><span style="font-size: 24px; color: #e67e23;"><strong><a id="vulnerabilities"></a>Checking for vulnerabilities with Burp Suite</strong></span></h3>
<p><span style="font-weight: 400;">Burp Suite is a means for detecting vulnerabilities as it lets security experts see and exploit vulnerabilities on the web quickly and efficiently. It offers a broad set of tools that can be utilized to analyze, detect and use a variety of security vulnerabilities in web applications.</span></p>
<p><span style="font-weight: 400;">Burp Suite can be described as a combined platform with several tools, including an interception proxy, a web-based application scanner, an automated spider, and an application fuzzer. These tools can monitor, modify, and analyze web traffic and identify potential security threats. The proxy feature lets security professionals observe the responses and requests between a browser and a web server, which allows them to detect and stop malicious requests. This will enable them to see security weaknesses that could be vulnerable, for example, SQL injection or cross-site scripting (XSS) and Cross-Site Request Forgery (CSRF).</span></p>
<p><span style="font-weight: 400;">The scanner feature in Burp Suite will automatically scan web-based applications for weaknesses, like insufficient patches or misconfigurations. Additionally, it provides comprehensive reports that enable security experts to spot and fix security vulnerabilities quickly. The spider feature in Burp Suite can scan web pages and find security concerns that could be a problem. The fuzzier part is used to assess the security of an application by supplying unanticipated inputs and identifying any unpredictable behaviour.</span></p>
<p><span style="font-weight: 400;">Burp Suite is a strong tool that allows security professionals to rapidly and effectively detect and exploit web-based application security problems. It's an excellent tool for identifying and using security holes.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="benefits"></a>Benefits of Burp Suite</strong></span></h3>
<p><span style="font-weight: 400;">Burp Suite is an effective tool that has multiple uses. It allows manual and automated testing of vulnerabilities and can be used to identify and exploit security flaws.&nbsp;</span></p>
<p><span style="font-weight: 400;">Following are the few benefits of Burp Suite:</span></p>
<p><em><strong>1) Improved Productivity</strong></em></p>
<p><span style="font-weight: 400;">Employing automated workflows and tools makes it possible to accelerate the web-based applications' testing process. Expert assistance with remediation and a boost in productivity by coordinating busy workloads is also achieved.</span></p>
<p><em><strong>2) Robust Integration&nbsp;</strong></em></p>
<p><span style="font-weight: 400;">Burp Suite can be integrated with ticketing systems. Additionally, feedback from CI/CD can be beneficial to developers.</span></p>
<p><em><strong>3) Automated Processing&nbsp;</strong></em></p>
<p><span style="font-weight: 400;">With automated processes, you can discover more vulnerabilities in web-based applications by analyzing them.</span></p>
<p><em><strong>4) Vast Extensions</strong></em></p>
<p><span style="font-weight: 400;">Burp Suite allows for customizing BApps for professional use and robust APIs, increasing scanning effectiveness.</span></p>
<p><em><strong>5) Better reporting</strong></em></p>
<p><span style="font-weight: 400;">Scanning may be carried out at a large scale, thanks to the help of HTML or <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/fusion-application-xml-technologies" target="_blank">XML</a></span> scan reports. Furthermore, easy dashboards display complete scan reports.</span></p>
<p>&nbsp;</p>
<p><span style="color: #e67e23; font-size: 16px;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">Overall, Burp Suite delivers a comprehensive set of elements that can help identify and exploit web application vulnerabilities. It is a powerful tool that can be used to determine, analyze, and control security flaws in web applications.</span></p>
<p><span style="font-weight: 400;">In this article, we have covered a lot of details regarding the&nbsp;</span><strong>Burp Suite tutorial.&nbsp;</strong><span style="font-weight: 400;">Hopefully, after reading this piece, you will be satisfied with executing a web application penetration test.&nbsp;</span></p>
<p><span style="font-weight: 400;"><br /><br /></span></p>1f:T793d,<p><span style="font-weight: 400;">Facets tools are the widely used tool that is broadly being used for billing, enrolment of new members, claim processing, and customer service in hospitals. It is a visualization tool that is used for finding models in datasets. Its features, like its dependability and real-time processing, make it quite popular these days.</span></p>
<p><span style="font-weight: 400;">Additionally, Facets also offers advanced analytics and reporting capabilities, allowing organizations to gain insights into their data and make informed business decisions. It also provides a user-friendly interface, making it easy for users to access and manage their data. With its robust security features, organizations can be assured that their sensitive data is protected. Overall, Facets is a versatile platform that provides a wide range of benefits to healthcare organizations and plays a critical role in improving the efficiency and quality of healthcare delivery.</span></p>
<p><span style="font-weight: 400;">In this article, we have divided the 40 most common&nbsp;</span>Facets interview questions<strong> </strong><span style="font-weight: 400;">into three categories that will help you face the interview fearlessly.</span></p>
<ul>
<li><a href="#basic"><span style="font-size: 18px; color: #236fa1;"><strong><span style="font-size: 16px;">Basic Level</span></strong></span></a></li>
<li><span style="font-size: 16px;"><a href="#freshers"><span style="color: #236fa1;"><strong>Fresher Level</strong></span></a></span></li>
<li><span style="font-size: 16px;"><a href="#experienced"><span style="color: #236fa1;"><strong>Experienced Level</strong></span></a></span></li>
</ul>
<table style="border-collapse: collapse; width: 99.9803%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.5056%;">
<h3><span style="font-size: 18px; color: #000000;">Most frequently asked Facets Interview Questions</span></h3>
<ul>
<li><a href="#modules-of-facets"><span style="color: #236fa1;">List the modules of Facets.</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#real-time-processing">How do Facets achieve real-time processing?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#spend-a-claim">How can you spend a claim?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#save-a-claim">How can you save a claim?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#revenue-code-and-procedure-code">What is the difference between revenue code and procedure code?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#facets-insights">Explain Facets insights.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#facets-quality-engineer">What is a Facet quality engineer?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#four-interactive-properties-in-facets-dive">Name any four interactive properties in Facet Dive.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#facets-altasmaker">What is Facets Atlasmaker?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#display-high-resolution-images">Can you display high-resolution images?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="basic"></a>Basic Facets Interview Questions and Answers</strong></span></h2>
<h3><strong style="color: #e67e23; font-size: 18px;">1. Explain facets.</strong></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The facets tool is the central administrative processing system built by Cognizant in 1993 to operate on hospital and medical transactions and claims from the facility. Claims processing, care management, billing, and network management workflow are all assisted by it. And currently, it is processing more than 80 health plans with millions of transactions per week as claims, consumers, care, and revenue management all are combined into this single platform.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2. List the use of Facets.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The facets tool is broadly used in the following places:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Billing - It can bring out complete billing requests, billing summaries, payments, etc.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Customer Transparency - It is generally used where transparency is required for cost projections, benefits, and eligibility.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Enrollment - ID card requests are created when a new member is enrolled, demographic details are updated, and others.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Claim Processing - It assists with real-time claim submission and processing.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Interoperability - It provides an integrated outlook and access to consumer expectations.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Customer Service- Real-time managing of customer service operations.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="modules-of-facets"></a>3. List the modules of Facets.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Numerous modules are offered by the Facets tool. A few of them include <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.softperfect.com/products/networx/" target="_blank" rel="nofollow">NetworX</a></span>, billing, subscribers/members, medical, providers, etc.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4. What are the advantages of Facets?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span><span style="font-weight: 400;">The advantages of the Facets tool are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The performance of the Facets tool is dependable.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It has the ability for real-time processing.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It can generate and consume huge amounts of information.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The level of stability is increased.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Each stage of the life cycle has built-in security.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It has enhanced resilience to disruptions.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 48.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 48.5047px;">
<td style="width: 98.4573%; height: 48.5047px; text-align: center;">Want to acquire industry skills and gain complete knowledge of Facets? Enroll in Instructor-Led live "<a title="Facets Training" href="https://tekslate.com/facets-training" target="_blank"><span style="color: #236fa1;"><em><strong>Facets Training</strong></em></span></a>" to get Job Ready!</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="real-time-processing"></a>5. How do Facets achieve real-time processing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>'Facets Data Publishing' is an event-driven architecture that uses a data streaming platform. The system can publish real-time data generated by claims, providers, and subscribers. By using data through batch or real-time procedures, the clients can consume or publish data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>6. Give the differences between hospital claims and medical claims.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Medical claims, also known as professional claims, are submitted by the clinic or the individual provider for the person's hospital treatment. The claims submitted by hospitals is the hospital claim which is also known as facility claims.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>7. How can you adjudicate a claim?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To adjudicate a claim, the F3 button in the Facets tool is used.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="spend-a-claim"></a>8. How can you spend a claim?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>With the help of the F5 button in the Facets tool, we can spend a claim.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>9. Why do we need to spend a claim?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>We can spend a claim when the claim needs to be paid as anticipated.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="save-a-claim"></a>10. How can you save a claim?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>With the help of F4 button in the Facets tool, we can save a claim.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>11. What are the fields are on claims screen?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The fields on a claims screen are as follows:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Subscriber id</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Provider id</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Diagnosis code</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Date of service</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Procedure code</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Revenue code</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Number of units</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Unit price.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>12. What are the stylistic properties?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Stylistic properties are optional property that controls the elements of Facet Dive with stylistic aspects.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>13. What are Facets used?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Facets offer unique and valuable options for the search results pages so that when users visit the catalogue and search for browse categories or products, they can see where they have landed in the catalogue.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="freshers"></a>Facets Interview Questions for Freshers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="revenue-code-and-procedure-code"></a>14. What is the difference between revenue code and procedure code?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The revenue code is used by hospital claims only and determines how much the revenue code costs. The procedure code is used by medical claims only, and it is used to price medical claims.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>15. Can facets integrate with other systems?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Facets can easily integrate with other systems by operating <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.redhat.com/en/topics/api/what-is-a-rest-api" target="_blank" rel="nofollow">REST-based APIs</a></span>.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>16. List the common errors faced while processing claims in Facets.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The common errors faced while processing claims in Facets are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Procedure code invalid</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Service definition error</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Provider record not found</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>17. Facets tool is built upon what technologies?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The facets tool is built upon 'ARCSS technologies.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="facets-insights"></a>18. Explain Facets insights.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Facets insights are built on <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/machine-learning-transforming-content-marketing" target="_blank">machine learning</a></span> models. It is used to forecast the possibility of a member leaving the plan. It also helps in recommending a cure to the representative who handles the member.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>19. Explain about Closed loop feedback?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The closed-loop feedback system regularly learns, which results in a decrease in errors and an increase in accuracy and stability. With a feedback system, the performance becomes more reliable, and resilience to disturbances increases.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>20. What companies use Facets?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The companies that use Trizetto Facets are based in the USA, all in the computer software industry. Davita Inc and Lorven Technologies use Trizetto Facets.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="facets-quality-engineer"></a>21. What is a Facet quality engineer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Facet quality engineer works with software and operations teams for continuous improvement in product development. A quality engineer should also have good communication skills to assist and support the team.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>22. What are the four Facet Dive controls?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The four facet dive controls are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Faceting controls that organize the record in a grid manner.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Colour controls help you to select specific colors.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Display controls help decide which dive should be supplied at a specific location.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Positioning controls help place the objects in a scatter plot.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="four-interactive-properties-in-facets-dive"></a>23. Name any four interactive properties in Facet Dive.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The four interactive properties in Facet Dive are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Vertical bucket</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Vertical facet</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Horizontal Facet</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Horizontal bucket</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>&nbsp;24. </strong><strong>How can you position the items along the axis with Facet interactions?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Vertical position and horizontal position are the two properties.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Vertical position: Vertical position is used to position the elements along the vertical axis.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Horizontal position: Horizontal position is used to position the elements along the Horizontal axis.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>25. What is Seaborn FacetGrid?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Seaborn is a fictitious entity. The FacetGrid class helps in the mapping of one variable's distribution, as well as multiple variables' relationships. Utilizing the data set as its source, the FacetGrid object appoints the values to row, column and colour segmentations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>26. Name the parameters of the Seaborn FacetGrid map method.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The parameters of the Seaborn FacetGrid map method are as follows:</span></p>
<ul>
<li><strong>Args </strong><span style="font-weight: 400;">- It is the name of the column that depicts the variable on the plot.</span></li>
<li><strong>Func </strong><span style="font-weight: 400;">- it is a charting function which accepts the data and argument.</span></li>
<li><strong>Kwargs </strong><span style="font-weight: 400;">- it is a keyword argument which is given to the plotting function.</span></li>
</ul>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="experienced"></a>Facets Interview Questions for Experienced</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>27. Name the important fields to process a claim.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The important fields that should be filled in to process a claim are Amount, submission date, Subscriber number, Date of service, Provider Number, and Number of units.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>28. What do you know about Medicare and Medicaid programs?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Medicare is a government-run healthcare insurance program for people who cross over the age of 65, and their medical expenses are paid by Trust funds. Medicaid is an assistance program federally funded and run by local and state governments. It serves people of all ages who have low incomes and are poor.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>29. What are Facet optimization software products?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>For the IT teams to fine-tune the Facets tools according to the customer needs, the following optimization methods are offered:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Configuration migration utility for Facets</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Facets enrollment toolkit</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Claim test pro</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Test data generator</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Supplemental mapping management tool for Facets</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Security management tool for Facets</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>30. What is Facet in Drupal?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Facet module offers a straightforward way to create and manage faceted search experiences on websites. Not only do they come with pre-made UI components, but developers can also produce their custom widgets, which they can submit to Drupal.org. Furthermore, these facets are compatible with Drupal Core Search and the popular Search API, allowing code and settings to be repurposed for these two leading search solutions.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>31. What is the data limit and loading speed while using Facets?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The data limit for Facets Dive is up to 10,000 records, and there is no limit for loading speed for data files, and the user must be patient to wait until the file opens.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>32. Which attribute is used to generate the data-specific color palette?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The "palette choice" four values, i.e., warm, calm, assist, and standard, is used to generate the data-specific color palette.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>33. Which attribute is used to position the items in grid cells?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The interactive "position mode" is used with scatter and stacked options to position the items in grid cells.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="facets-altasmaker"></a>34. What is Facets Atlasmaker?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Facets Atlasmaker is a terminal tool and a library for building sprite atlases.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>35. What are the functionalities of Atlasmaker?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The functionalities of Atlasmaker are as follows:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Altering and changing the size of the images</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Fetching of the image and changes can be done together.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Usage of the default image file when Atlas's alteration and recovery of the image are failed.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To read a local file as input and a picture file from the URL.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>36. By what technologies can a customer benefit from the Facets solution?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Customers with modern tools and abilities can use the Facets tool.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To give insights automatically, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/artificial-intelligence-interview-questions" target="_blank">artificial intelligence</a></span> and machine learning are used in Facets.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Container technologies decrease the development cost and time as the technology is used to make the Facets lighter.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cloud Facets can scale due to the cloud's scalability.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>37. What are the things an overview tool displays after uploading the data?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The four items that are displayed in the overview tool after uploading the data are:&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Data statistics like Median, Min, Max, and Standard Deviation.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The missing values are the rows with no data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Zero values which is the fraction of the information.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Training and Testing split is a graph that displays how the data set is divided.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="display-high-resolution-images"></a>38. Can you display high-resolution images?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>One can view a limited count of high-resolution images, which is dependent on the browser capacity of the computer. Also, it depends on the size of the sprite atlas you access in Facets Dive.</span></p>
<p><span style="font-weight: 400;">&nbsp;</span></p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong>Facets FAQs</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>1. What is a facet interview?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Using Facets, a management tool used to operate on medical and hospital transactions, and being skilled in answering some of the common Facets testing questions for interviews can enhance your chances for success in the interview.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2. What are facets in healthcare?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Facets is a central administration solution developed by TriZetto for health plans. Facets came from the requirement for a solution that made the health plans adapt to new industry drift without system restrictions. It includes different aspects of healthcare like healthcare costs, healthcare services, etc., and automates administrative tasks like billing, care management, claim processing, and network management workflow. Facets information technology has helped the healthcare industry with changes like members' requirements for personalized health information, security challenges, and many more.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>3. What are the 3 Facets?&nbsp;</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The three facets are problem method, problem structure, and problem solution.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>4. How does facets work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Facets workflow application is an automated arrangement that smoothens the work outcome for users automates manual work, and helps improve <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/business-analytics-in-pentaho" target="_blank">analytic business</a></span> processes. Facets can help enhance efficacy, reduce errors, and improve customer satisfaction.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>&nbsp;5. </strong><strong>What is facets in software testing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Claims processing, care management, billing and <a href="https://tekslate.com/networking" target="_blank">network</a> management workflow are all automated and assisted by enterprise-wide core solutions, i.e., Facets. But to utilize Facets completely, configuration per the organization's need is required, and software testing and security of the same is most important before going live.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong>Tips to clear the Facets interview</strong></span></h2>
<p><span style="font-weight: 400;">The impression that you make on the interviewer is very critical. The ability to communicate, basic social skills, attitude, education, and experience are a few traits that the interviewer evaluates. A few tips to clear the Facets interview are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Prepare yourself well enough with knowledge for the post you are applying for.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Always be on time.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Even if you are nervous, don't be embarrassed about it.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Always try and close the interview on a positive note.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Prepare some questions on your own to ask the interviewer in advance.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Listen carefully to each word of the interviewer.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Be focused and greet the interviewer with a smile.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Be truthful to the interviewer.</span></li>
</ul>
<p>&nbsp;</p>
<p><span style="font-size: 20px; color: #236fa1;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">The facets tool is widely used to operate the hospital, make medical transactions, and make claims from the facility. Currently, it is processing over 80 health plans with millions of transactions per week as claims, consumers, care, and revenue management. The developers continue to contribute to its development and provide support.</span></p>
<p><span style="font-weight: 400;">Above mentioned are the 40 most common&nbsp;</span><strong>Facets interview questions</strong><span style="font-weight: 400;">&nbsp;and answers that will help you prepare effectively and perform well in Facets interviews. Please go through them to make a good impression on the interviewer. So go through it! And you will succeed in the interview.</span></p>20:T7073,<p><span style="font-weight: 400;">Guidewire Data Platform is designed to ingest petabytes of data in near real-time from guidewire and third-party source systems, unify, transform, and curate this data, and provide services and APIs to access this curated data in raw format or as business intelligence visualizations.&nbsp;</span></p>
<p><span style="font-weight: 400;">Multiple curation engines running in the unified data platform automatically curate ingested data and feed a diverse set of advanced business analytics and AI/ML SaaS solutions. Because of its extensive R&amp;D team and partner ecosystem, it is used by more than 500 insurers - from new ventures to larger and more popular ones around the world. Thus, Guidewire developers will have a promising career and massive demand.&nbsp;</span></p>
<p><span style="font-weight: 400;">So, if you prepare well and crack the interview, you can get a prominent job. In this blog on Guidewire Interview Questions, we have combined the most commonly asked Guidewire interview questions for freshers and experienced in job interviews for different job roles in top companies like pwc, Capgemini, Accenture, etc. Go through these questions to ace the job interviews, and before you attend, review the interview call letter format to understand key details like timing and location.</span></p>
<p><span style="font-weight: 400;">These questions were divided into a few categories:</span></p>
<ul>
<li><a href="#basic"><span style="font-size: 16px;"><strong><span style="color: #236fa1; font-size: 14px;">Basic Guidewire Interview Questions</span></strong></span></a></li>
<li><span style="font-size: 14px; color: #236fa1;"><strong><a style="color: #236fa1;" href="#policy-center">Guidewire Policy Center Interview Questions</a></strong></span></li>
<li><span style="font-size: 14px; color: #236fa1;"><strong><a style="color: #236fa1;" href="#advanced">Advanced Guidewire Testing Interview Questions</a></strong></span></li>
<li><span style="font-size: 14px; color: #236fa1;"><strong><a style="color: #236fa1;" href="#faqs">Guidewire FAQs</a></strong></span></li>
<li><span style="font-size: 14px; color: #236fa1;"><strong><a style="color: #236fa1;" href="#tips">Tips</a></strong></span></li>
</ul>
<table style="border-collapse: collapse; width: 99.9842%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4364%;">
<h3><span style="font-size: 18px;">Most frequently asked Guidewire Interview Questions</span></h3>
<ul>
<li><a href="#modules-in-guidewire"><span style="color: #236fa1;">How many modules are there in guidewire?</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#policy-center-set-up">How do you set up the policy center?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#policy-center-users">How would you describe policy center users?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#curation-engines">Define Curation Engines.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#search-contacts">What exactly are search contacts?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#subrogation">What exactly is subrogation?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#guidewire-integration">What exactly is Guidewire integration?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#insurance-coverage">What exactly is insurance coverage?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#handling-policy">How do you handle policy?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#schema-evolution">Explain Schema Evolution.</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1;"><strong><span style="font-size: 24px;"><a id="basic"></a>Basic Guidewire Interview Questions and Answers</span></strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>1) What exactly is guidewire?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A guidewire is a high-level application for the insurance industry; insurers primarily use it worldwide to reduce IT operations and simplify transactions. Guidewire Software strives for maximum scalability and versatility. It also allows insurance companies to provide better service to policyholders and representatives, increase market share, and lower operating costs.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>2) What exactly is the insurance coverage?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Insurance coverage denotes that when a person purchases a protection strategy, the guarantee will be covered by the insurance company for a specific sum for themselves or the items for which they bought the protection strategy, for which they will be paying expenses to the insurance company.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="modules-in-guidewire"></a>3) How many modules are there in guidewire?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>ClaimCenter, PolicyCenter, and BillingCenter are the three primary programming items that overhaul a significant portion of a P&amp;C protection transporter. Numerous additional modules and an expanding number of value-added online administrations are accessible through Guidewire Live.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>4) What exactly is a policy center?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PolicyCenter, at its heart, disseminates pertinent information about a plan and manages a collection of processes that, if completed efficiently, result in policy changes. Policy modifications include:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Creating a new method.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Revitalizing an existing strategy for a new term.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Even canceling a policy.</span></li>
</ul>
<p><span style="font-weight: 400;">The device determines the purchase price of each policy (including a chauffeur to an automobile policy).</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="policy-center-set-up"></a>5) How do you set up the policy center?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Design PolicyCenter to meet your business needs using Guidewire Studio as the collaborative improvement environment (IDE). For more information on designing, creating rules, and using Gosu, consult the following resources:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Guide to PolicyCenter Configuration</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">PolicyCenter Rules Manual</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Gosu Reference Manual</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 43.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 43.5047px;">
<td style="width: 98.4573%; text-align: center; height: 43.5047px;"><em>Want to acquire industry skills and gain complete knowledge of Guidewire? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Guidewire Training" href="https://tekslate.com/guidewire-training" target="_blank">Guidewire Training</a></strong></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>6) What precisely is a dynamic product model?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PolicyCenter is a dynamic item that can be determined, created, and implemented in weeks. The item style for each product specifies what can be given for that item. An auto policy would undoubtedly include information about accident insurance coverage and uninsured vehicle driver property damage coverage. The studio makes it simple to configure your business logic.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="policy-center-users"></a>7) How would you describe policy center users?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Customers in PolicyCenter come in a variety of shapes and sizes. To respond to questions, customers typically expend a significant amount of energy working on system trades or investigating the status of a methodology. Customers search for an interaction record and view open data through the UI, so information analysis is critical.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>8) How can we make the policy center a success?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Market requirements PolicyCenter's ability to make quick item definition and work process changes helps you respond to administrative changes, advance business measures, and accelerate an ideal opportunity to showcase new items.</span></p>
<p><span style="font-weight: 400;">PolicyCenter helps you improve communications with specialists and policyholders, reliably pass on hunger, and provide better client administration.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>9) What exactly is Designer API?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Designer API excels at simplifying the inputs required for data curation. The designer understands how to inspect the metadata of a Data Platform data product and provide the curation engine with all the information required to publish a new curated Data Product. The API accepts simple SQL input and builds an execution plan in the curation engine to materialize a new data view. This plan may include joining data from multiple datasets, filtering data based on certain criteria, or aggregating data into a de-normalized view. The designer can also manage both streaming and batch modes of operation (streaming is the default).</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="curation-engines"></a>10) Define Curation Engines.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The focus of data ingestion is on raw data sources. On the other hand, making sense of that raw data and creating views that are useful for downstream consumption takes time and effort. To make creating curated views easier, Data Platform includes multiple curation engines and a Designer <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/api-testing-resume" target="_blank">API</a></span> interface. Views published by the curation engine are registered as new Data Products and are ingested and cataloged in the same way as any other data product.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><a id="policy-center"></a>Guidewire Policy Center Interview Questions</span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>11) What distinguishes lines from products?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The two lines are general responsibility and business property. If you have a business, you can purchase an overall obligation item that includes the comprehensive responsibility line. It is a multi-line item as opposed to a monoline item. On the other hand, a backup plan can sell various items with similar lines or lines.</span></p>
<h2><span style="font-size: 18px; color: #e67e23;"><strong><a id="search-contacts"></a>12) What exactly are search contacts?</strong></span></h2>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Search Contacts screen displays a list of contacts with whom you can collaborate. To access the Contact Details screen, tap the contact's name. This screen contains the tabs that go with it. Contact information, addresses, accounts, policies, and outstanding work orders.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>13) What does the term 'Indemnity' mean?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In insurance, the term &ldquo;indemnity&rdquo; is used to cover the loss or damage claimed by another person. For example, the gym owner has indemnity insurance to compensate customers in the event of injury or accident and avoid financial loss resulting from a lawsuit.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="subrogation"></a>14) What exactly is subrogation?</strong></span></h3>
<p><span style="font-weight: 400;">Subrogation is obtaining reimbursement from the responsible party for a claim that has already been paid. For example, if your car is damaged in an accident and you have car insurance, the insurance company will pay you the money.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>15) What five words best describe you, guidewire?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The hiring manager asks for this because he/she wants to learn more about your unique personality. This list can tell her much about who you are and how you might fit in at work. Your response also tells the manager about your self-perception, which is a good predictor of the type of employee you will be.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>16) With our software, we strive for continuous delivery and continuous deployment at Guidewire Software.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>End users rely on software updates to stay ahead of the competition in the industries in which guidewire Software operates. </span><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://dsimg.ubm-us.net/envelope/147982/366592/1208539115432_WP-Guidewire-ClaimCenter-AchievingClaimsExcellence.pdf" target="_blank" rel="nofollow"><span style="font-weight: 400;">Guidewire Software</span></a></span><span style="font-weight: 400;"> uses continuous delivery and deployment for its customers to ensure that updates happen as quickly and smoothly as possible. Please discuss what you know about these processes as a software architect, why they are essential, and what experience you have with them in response to this question.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>17) What are the most essential skills for a Guidewire Software Engineer?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>This question is an excellent way to demonstrate to the interviewer that you understand what it takes to succeed in your role. When responding to this question, highlight relevant skills and describe how they will help you succeed.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>18) What words would you use to describe your communication style?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Guidewire is a multinational corporation operating in the United States, Canada, and Europe. The interviewer may ask how you would modify your communication style to work with people from other cultures. Describe your ability to communicate effectively across borders and time zones.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>19) How long have you been working in Java development?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>This question is an excellent way to assess your knowledge of the <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/java-interface-in-java" target="_blank">Java</a></span> programming language. If you have yet to gain prior experience, you must explain how you would quickly learn and apply new skills. If you do have prior experience, you can talk about how you learned in previous roles that will help you succeed at guidewire.</span></p>
<p style="text-align: right;"><strong>Checkout : <em><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/java-constructors-in-java" target="_blank">[Constructors in Java]</a></span></em></strong></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="guidewire-integration"></a>20) What exactly is Guidewire integration?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Guidewire Cloud Integration Framework enables developers to build integrations between InsuranceSuite and third-party apps by leveraging a variety of APIs, messaging systems, and protocols.</span></p>
<h2>&nbsp;</h2>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="advanced"></a>Advanced Guidewire Testing Interview Questions</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>21) What exactly is the Guidewire Billing Center?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Guidewire BillingCenter is a sophisticated web-based billing system enabling insurance companies to manage customer relationships effectively while streamlining the premium collection process. It automates billing, promotes customer retention, and protects sensitive customer data.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="insurance-coverage"></a>22) What exactly is insurance coverage?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Insurance coverage is the risk or loss an insurance policy covers or protects. Insurance coverage assists insured individuals in recovering from losses caused by unexpected health issues, car accidents, damaged property, etc.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>23) What are Guidewire's main products?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Guidewire primarily provides three products that each serve a specific purpose:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">ClaimCenter for Guidewire</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">PolicyCenter at Guidewire</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">BillingCenter by Guidewire</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>24) What are the primary benefits of using Guidewire software?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The following are some of the benefits that an organization can gain from using guidewire:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;"><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/adobe-cq5-interview-questions-answers" target="_blank">AEM</a></span> Designer</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">article</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Traditional roadblocks are removed.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Contributes to the development of new and innovative policies</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Pay premiums on time.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Create and send policyholders automated alerts</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reduce operational costs.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Make data-driven choices.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Provide better and faster service to customers.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="handling-policy"></a>25) How do you handle policy?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You create and manage strategies using a web interface. You create work requests (or occupations) on this virtual Desktop that measure processes differently. Accommodation, issuance, strategy change, recharging, undoing, restoring, revamping, and reviewing are all careers.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>26) What are the skill sets required for data conversion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Information transformation to guidewire necessitates specific jobs and skills. Our experience suggests that effective information transformations necessitate the right knowledge in the right places. Guidewire information planners, information transformation subject matter experts, business investigators, information examiners, remove, change, load (ETL) engineers, ETL analyzers, useful analyzers, project managers, and information the board and conveyance subject matter experts are among them.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>27) What exactly is data ingestion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Data Platform offers Data Registration and Ingestion APIs for data producers to register and capture real-time streaming data. One of our initial objectives was to stream every event/change from the Guidewire InsuranceSuite products (such as ClaimCenter, PolicyCenter, and BillingCenter) to the Data Platform in near real-time. To achieve this goal, we looked at proven data collection technologies used in our Live Analytics products, such as Kafka Connect and Kafka. We provided an interface for other Guidewire applications to begin publishing structured data for integration using Kafka as our initial offering for ingestion.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>28) How does streaming work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To stream CDC data to Kafka, the Data Platform employs the open-source frameworks <span style="color: #236fa1;"><a style="color: #236fa1;" title="Apache Kafka Tutorial" href="https://tekslate.com/apache-kafka-tutorials" target="_blank">Apache Kafka</a></span> Connect and Debezium. Other open-source connectors are being considered to expand our CDC streaming options. The configuration of these connectors is automated; all you need to do is register a Data Product producer and database connection information...! That Data Platform handles the rest of the configuration!</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="schema-evolution"></a>29) Explain Schema Evolution.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The schema is the most critical piece of metadata that we track for systems (via schema-on-write). The rest of the Data Platform also uses schema to tag sensitive data at the field level. The Catalog service tracks and stores every version of every schema written, allowing it to reconstruct any record ingested into the Guidewire Data Platform at any time.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>30) What exactly is a Data Lake?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>All data ingested into the </span><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://assets.ctfassets.net/vdinc3339dpx/7qZC0iIZyTK9wqkh75vahb/767bd24e34bbc391aef85ad00f09edba/ClaimCenter_overview_brochure_jp.pdf" target="_blank" rel="nofollow"><span style="font-weight: 400;">Guidewire</span></a></span><span style="font-weight: 400;"> Data Platform is processed and stored in a long-term storage format using AWS technologies such as Lake Formation, S3, and Glue, which enable infinite scalability. Data Platform supports "Lake Formation-izing" data, which allows for the generation of fine-grained security access rules. Lake Formation is a relatively new AWS service that aims to combine the scalability of S3 with the low-level security policies found in traditional data stores. Data stored in S3 can be "Lake Formation-ized," which allows for allotment.</span></p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="faqs"></a>Guidewire FAQs</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>1) Is Guidewire a technology?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Guidewire is an enterprise software company serving the insurance and financial services industries. In its nearly 15-year history, the guidewire has created a leading system to help insurers (including Allstate Insurance Company, Nationwide Mutual Insurance Co., MetLife Auto &amp; Home, and Erie Insurance) design, market, and administer their products.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>2) Is Guidewire an ERP?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The guidewire is a CRM and ERP system.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>3) What is Guidewire Claim Center?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Guidewire ClaimCenter is a claims management system that works with all types of insurance, including personal, commercial, and workers' compensation.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>4) What language does guidewire use?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Guidewire uses a custom Java DSL called Guice. Guice is a language that allows software engineers to write object-oriented programs in a declarative style and easy-to-use syntax, which can shorten the development time and make it easy to test and maintain the code.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>5) Is Guidewire an application?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The guidewire is more than a program for homeowners. The guidewire is a package of services, applications, and guides that aim to make the home insurance process easier, cheaper, and more convenient than it's ever been for people who use them.</span></p>
<h3><span style="font-size: 22px; color: #236fa1;"><strong><a id="tips"></a>Tips to clear the Guidewire Interview:</strong></span></h3>
<p><span style="font-weight: 400;">1) Communicate with the account team to ensure client satisfaction and awareness of client workflow.</span></p>
<p><span style="font-weight: 400;">2) Compiled reporting data and provided reports to leadership, including VP, Senior Director, Director, CMO, and CEO.</span></p>
<p><span style="font-weight: 400;">3) Background references were conducted, including interviews with former employers, supervisors, peers, and direct reports to confirm the information provided by the applicant.</span></p>
<p><span style="font-weight: 400;">4) Worked directly with management to devise and implement a full digital marketing campaign, including developing an annual social media strategy, launching a new company website and blog, and implementing a proprietary internal software solution for tracking all social media activity.</span></p>
<p><span style="font-weight: 400;">5) Spearheaded a new relationship with an existing client by communicating with her account team on critical deliverables and timelines.</span></p>
<p><span style="font-size: 20px; color: #e67e23;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">A guidewire is a software solution that various insurers are adopting. The casualty and property insurance sector are one of the most famous industries for guidewire implementations. As it supports the popular and most widely-used programming language &ldquo;java,&rdquo; almost all software professionals can work with Guidewire software. Thus, to make a career in Guidewire, you just require good knowledge of Guidewire software and proper interview preparation. We have designed these Guidewire interview questions for testers to improve your interview preparation and help you get the job. I hope these Guidewire interview questions are enough to prepare for Guidewire interviews.</span></p>
<p>&nbsp;</p>21:T9c74,<p><span style="font-weight: 400;">WorkFusion is a leading provider of Intelligent Automation solutions for businesses worldwide. With a focus on AI and machine learning, WorkFusion delivers innovative software solutions designed to:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Improve operational efficiency</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reduce costs</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Drive growth</span></li>
</ul>
<p><span style="font-weight: 400;">Whether it's automating back-office processes or streamlining customer service, WorkFusion has a solution for every industry and every organization. The company's commitment to innovation and customer success makes it a trusted partner for organizations on their digital transformation journeys.</span></p>
<p><span style="font-weight: 400;">In this blog, you'll find a collection of </span>WorkFusion interview questions and answers<span style="font-weight: 400;"> that cover a range of topics related to WorkFusion's Intelligent Automation solutions. This blog is organized into few sections and will help you demonstrate your expertise and prepare for your interview:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#freshers">WorkFusion Interview Questions for Freshers</a></span></strong></li>
<li style="font-weight: 400;" aria-level="1"><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#experienced">WorkFusion Interview Questions for Experienced</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#rpa">WorkFusion RPA Interview Questions</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#faqs" target="_blank">WorkFusion FAQs</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#tips">Tips</a></span></strong></li>
</ul>
<p><span style="font-weight: 400;">Let's dive in!</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.3844%;">
<h3><span style="font-size: 18px;">Top 10 WorkFusion Interview Questions</span></h3>
<ul>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#workfusion-differ-from-rpa-tools">How does WorkFusion differ from other RPA tools?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#exceptions-and-errors">How do you handle exceptions and errors during automation?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#workfusion-analytics">How do you use WorkFusion's analytics and reporting capabilities to monitor automation performance?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#workfusion-cognitive-capabilities-work">Can you explain how WorkFusion's cognitive capabilities work?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#double-subscription-in-workfusion">What is the concept of Double Subscription in WorkFusion?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#scale-automation">How do you scale automation using WorkFusion?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#security-and-compliance">How do you implement security and compliance in automation using WorkFusion?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#workfusion-self-learning-automation">Can you explain how WorkFusion's Self-Learning Automation (SLA) works?</a></span></li>
<li><span style="color: #236fa1; font-size: 15px;"><a style="color: #236fa1;" href="#workfusion-chatbot-capabilities">How do you use WorkFusion's Advanced Chatbot capabilities to automate customer service tasks?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #236fa1;"><a id="freshers"></a>WorkFusion Interview Questions for Freshers:</span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) </strong><strong>What is Robotic Process Automation (RPA)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Robotic Process Automation (RPA) is a technology that allows software robots to automate mundane and repetitive processes. RPA can be utilised to enhance the effectiveness and precision of processes such as data input, document processing, and customer care.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="workfusion-differ-from-rpa-tools"></a>Q2) How does WorkFusion differ from other RPA tools?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion is a comprehensive RPA platform that includes advanced capabilities like machine learning, natural language processing, and computer vision, as well as a plethora of pre-built connectors for integrating with other systems and technologies. WorkFusion is thus better suited to automate complicated processes and decision-making, as well as unstructured data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) How do you approach automating a process using WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>When automating a process using WorkFusion, I would first analyze the process to identify which tasks can be automated and determine the best approach for automation. I would then use WorkFusion's automation capabilities such as smart process automation, optical character recognition, and machine learning to automate the tasks. I would also test and monitor the automation to ensure it is working effectively and make any necessary adjustments.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="exceptions-and-errors"></a>Q4) How do you handle exceptions and errors during automation?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>When handling exceptions and errors during automation, I would first identify the cause of the error. Depending on the type of error, I would either use WorkFusion's built-in error-handling capabilities or create custom error-handling rules to address the issue. I would also continuously monitor the automation to identify any potential errors and take necessary action to prevent them from happening in the future.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 26.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 26.5047px;">
<td style="width: 98.4573%; text-align: center; height: 26.5047px;"><em>Do you want to enrich your career by learning WorkFusion? Then Enroll in "<span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="WorkFusion Training" href="https://tekslate.com/workfusion-training" target="_blank">WorkFusion Training</a></strong></span>", this course will help you to boost your career.</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) Can you explain the difference between RPA and Intelligent Automation?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>RPA is a technology that automates repetitive, rule-based tasks by mimicking human actions to interact with digital systems.</span></p>
<p><span style="font-weight: 400;">Intelligent Automation, on the other hand, combines RPA with other advanced technologies like machine learning and artificial intelligence to automate more complex tasks and make decisions. WorkFusion is an example of an intelligent automation platform.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q6) Can you explain the benefits of using WorkFusion's Self-Learning Automation (SLA)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion's Self-Learning Automation (SLA) feature allows the software to learn and adapt to new data and situations on its own, reducing the need for human intervention. SLA uses machine learning algorithms to continuously analyze and improve automation, improving the efficiency and accuracy of self-learning Automation over time. Additionally, SLA allows for the automatic detection and handling of exceptions and errors.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q7) How do you integrate WorkFusion with other systems and technologies?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>APIs and connectors allow WorkFusion to be combined with other systems and technologies. I would first identify the systems and technologies that need to be merged, and then I would integrate them using WorkFusion's pre-built connectors or by developing new connectors. I would also ensure that data is correctly transmitted between systems and that the integration is safe.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q8) Can you explain WorkFusion's machine-learning capabilities?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion's machine-learning capabilities allow for the automation of more complex tasks and decision-making. It can be used to train models to perform tasks such as data extraction, image recognition, and natural language processing. I can use these models in automation to improve accuracy and efficiency. I can also use machine learning capabilities to continuously learn and adapt to new data, improving automation over time.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q9) How do you handle changes in the process or system during automation?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Handling changes in the process or system during automation requires a flexible automation approach. I would use WorkFusion's ability to easily update and maintain automation, making it easy to incorporate changes. I would also set up monitoring and alerting to detect any changes in the process or system and take appropriate action to keep the automation running smoothly.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10) How do you measure the success of automation using WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To measure the success of automation using WorkFusion, I would track key performance indicators (KPIs) such as automation rate, accuracy, and processing time. I would also track the costs saved by automation and compare it to the costs of manual processing. Additionally, I would track customer satisfaction, and employee satisfaction to know how the automation is impacting them.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q11) Can you describe a real-world scenario where you have used WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>One real-world scenario where I have used WorkFusion is automating the process of data entry for a retail company. The process involved manually entering large amounts of data from paper-based forms into the company's system. Using WorkFusion, I was able to automate the data entry process by using optical character recognition (OCR) to extract data from the forms and populate the system automatically. This led to a significant reduction in processing time and improved data accuracy.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q12) How do you ensure the security and compliance of automation using WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>I would use industry-standard security standards such as encryption, access controls, and secure data transfer to ensure the security and compliance of automation utilising WorkFusion. In addition, I would perform regular security audits to discover and remediate any weaknesses. Furthermore, I would check that the automation complies with applicable legislation and compliance requirements, such as HIPAA and GDPR.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><a id="experienced"></a>WorkFusion Interview Questions for Experienced:</span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q13) Can you explain how WorkFusion's Smart Process Automation (SPA) works?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Smart Process Automation (SPA) is a feature of WorkFusion that automates repetitive, manual, and data-intensive tasks by combining RPA with other advanced technologies such as machine learning, optical character recognition, and natural language processing. It allows for the automation of more complex tasks and decision-making, such as data extraction and image recognition. SPA also continuously learns and adapts to new data, improving automation over time.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q14) How do you use WorkFusion's machine-learning capabilities to improve data extraction?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Machine learning capabilities in WorkFusion can be utilised to train data extraction models. A variety of strategies, including supervised, unsupervised, and transfer can be used to train the models. These models can be used to extract information from a variety of sources, including papers, photos, and web pages. Machine learning models can increase data extraction accuracy and efficiency by continuously learning and adapting to new data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="workfusion-analytics"></a>Q15) How do you use WorkFusion's analytics and reporting capabilities to monitor automation performance?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion's analytics and reporting tools enable real-time monitoring of automation performance. I'd use the automation data to track key performance indicators (KPIs) like automation rate, precision, and process time. I'd also keep track of the savings from automation and compare them against the costs of manual processing. Furthermore, I would monitor consumer and employee happiness to see how automation is affecting them.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q16) Can you describe a real-world scenario where you have used WorkFusion's Intelligent Automation Cloud (IAC)?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>I used </span><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.workfusion.com/blog/new-course-get-to-know-intelligent-automation-cloud/" rel="nofollow"><span style="font-weight: 400;">WorkFusion's Intelligent Automation Cloud </span></a></span><span style="font-weight: 400;">(IAC) to automate invoice processing for a finance organization in one real-world instance. The manual inspection and approval of invoices was time-consuming and error-prone. I was able to automate invoice processing utilizing IAC by extracting data from invoices using machine learning and then routing the invoices for approval using RPA. This resulted in significant time savings and increased accuracy.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 29.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 29.5047px;">
<td style="width: 98.4573%; text-align: center; height: 29.5047px;"><em>Checkout our new blog on <strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/RPA-vs-Selenium" target="_blank">RPA vs Selenium</a></span></strong></em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q17) How do you use WorkFusion's optical character recognition (OCR) capabilities to automate document processing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion's optical character recognition (OCR) capabilities can be used to automate document processing by extracting data from documents such as PDFs, images, and scanned documents.&nbsp;</span></p>
<p><span style="font-weight: 400;">I would use OCR to identify the text and structure of the document, and then use that data to automate tasks such as data entry and document routing. Additionally, I would use machine learning to improve the accuracy and efficiency of the OCR process over time.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q18) Can you explain how WorkFusion's Natural Language Processing (NLP) capabilities work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion's Natural Language Processing (NLP) capabilities allow for the automation of tasks that involve understanding and processing human language.</span></p>
<p><span style="font-weight: 400;">NLP can be used to extract meaning and insights from unstructured text, such as emails and customer feedback. I would use NLP techniques such as sentiment analysis and entity recognition to understand the meaning of the text, and then use that information to automate tasks such as routing and tagging.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q19) How do you use WorkFusion's task-mining capabilities to automate processes?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion's task mining capabilities enable process automation by recognising and extracting jobs done by human workers. I'd utilise task mining to watch human workers complete tasks and identify the processes and activities they take. Then, utilising RPA and other modern technologies, I would leverage that information to construct automated procedures.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="workfusion-cognitive-capabilities-work"></a>Q20) Can you explain how WorkFusion's cognitive capabilities work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Advanced technologies such as machine learning, natural language processing, and computer vision are included in WorkFusion's cognitive capabilities, allowing the software to understand, reason, and learn like a human. Image identification, sentiment analysis, and language translation are all examples of jobs that can be automated using these capabilities. I would combine these capabilities with RPA to develop more advanced automation that can understand and respond to new data over time.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q21) How do you use WorkFusion's process discovery capabilities to identify automation opportunities?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>WorkFusion's process discovery capabilities allow for the identification of automation opportunities by analyzing the tasks and processes performed by human workers. I would use process discovery to observe human workers performing tasks and identify the steps and actions that are performed. Then, I would analyze the data to identify the tasks that are repetitive and time-consuming, which are the best candidates for automation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q22) How do you use WorkFusion's process intelligence capabilities to gain insights into automation performance?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The process intelligence features of WorkFusion enable the analysis and visualization of data from automation in order to acquire insights into performance. Process intelligence would be used to track key performance indicators (KPIs) such as automation rate, accuracy, and processing time and to identify opportunities for improvement. In addition, I would use process intelligence to analyze data from numerous automation in order to detect patterns and trends, as well as to make data-driven automation decisions.</span></p>
<p style="text-align: right;"><span style="font-weight: 400;"><strong>Checkout:</strong> <span style="color: #236fa1;"><em><strong>[<a style="color: #236fa1;" href="https://tekslate.com/tutorials-rpa-tutorials" target="_blank">RPA Tutorial</a>]</strong></em></span></span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="double-subscription-in-workfusion"></a>Q23) What is the concept of Double Subscription in WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Double Subscription in WorkFusion refers to the ability of the software to run two instances of the same automation simultaneously. This can be useful in situations where there is a need to maintain continuity of service, such as during maintenance or updates. By running two instances of the same automation, one can be updated or maintained while the other continues to run and handle any incoming tasks. It also helps in testing and validating the new instance before switching over to it, ensuring a smooth transition and reducing the risk of downtime. Additionally, Double Subscription allows for testing new features or configurations in a separate instance before applying them to the main automation.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q24) How do you troubleshoot and debug automation issues in WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>When troubleshooting and debugging automation issues in WorkFusion, I would first check the logs and error messages to identify the root cause of the issue. I would then use WorkFusion's built-in debugging tools such as breakpoints, watches, and step-by-step execution to further investigate the issue. Additionally, I would use monitoring and alerting to detect any issues in real time and take appropriate action.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q25) How do you manage and maintain automation workflows in WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To organize and manage automation processes in WorkFusion, I would leverage the platform's built-in workflow management tools. I'd also use version control to keep track of changes and roll them back if necessary. In addition, I would set up monitoring and alerting to notice any problems and take the necessary action to keep the automated functioning smoothly.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="scale-automation"></a>Q26) How do you scale automation using WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Scaling automation using WorkFusion can be achieved by using its built-in scalability features such as load balancing, and using cloud deployment options. I would also use WorkFusion's analytics and reporting capabilities to monitor automation performance and identify bottlenecks. Additionally, I would use machine learning capabilities to continuously learn and adapt to new data, improving the automation over time.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="rpa"></a>WorkFusion RPA Interview Questions:</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q27) How do you use WorkFusion's advanced analytics capabilities to improve automation?</strong></span></h3>
<p><span style="font-weight: 400;">The extensive analytics capabilities of WorkFusion enable the analysis and visualization of vast amounts of data in order to acquire insights about automation performance. I'd use these features to monitor key performance indicators (KPIs) including automation rate, accuracy, and processing time. I would also use analytics to find patterns and trends in data and to make data-driven automation decisions. I would also use analytics to discover areas for improvement and optimize automation performance.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="security-and-compliance" style="color: #e67e23;"></a><span style="font-size: 18px;">Q28) How do you implement security and compliance in automation using WorkFusion?</span></strong></span></h3>
<p><span style="font-weight: 400;">Implementing security and compliance in automation using WorkFusion requires following industry-standard security practices such as encryption, access controls, and secure data transfer. I would also conduct regular security audits to identify and address any vulnerabilities. Additionally, I would ensure that the automation adheres to relevant regulations and compliance requirements, such as HIPAA and GDPR.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q29) How do you use WorkFusion's cognitive capabilities to automate unstructured data?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's significant features include modern technologies like machine learning, natural language processing, and computer vision, which enables the software to comprehend, analyze, and learn like a human. These capabilities would be useful for automating tasks requiring unstructured data, such as picture identification, sentiment analysis, and language translation. Furthermore, I would employ cognitive talents for online analytical processing from unstructured data, such as text and photos, and then use that information to automate processes.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q30) How do you use WorkFusion's API capabilities to integrate with other systems and technologies?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's API capabilities enable it to be integrated with other systems and technologies. I'd use APIs to build custom connections to connect WorkFusion to other systems like CRM, ERP, and databases. I would also ensure that data is correctly transmitted between systems and that the integration is safe. Furthermore, I would leverage WorkFusion's pre-built connectors to link to standard systems and technologies like <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/salesforce-crm" target="_blank">Salesforce</a></span> and Oracle without the need for bespoke development.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="workfusion-self-learning-automation" style="color: #e67e23;"></a><span style="color: #e67e23; font-size: 18px;">Q31) Can you explain how WorkFusion's Self-Learning Automation (SLA) works?</span></strong></span></h3>
<p><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.streamoid.com/blog/how-do-self-learning-systems-work" target="_blank" rel="nofollow"><span style="font-weight: 400;">Self-Learning Automation</span></a></span><span style="font-weight: 400;"> (SLA) is a feature of WorkFusion that allows the software to learn and adapt to new data and situations on its own. SLA uses machine learning algorithms to continuously analyze and improve automation, reducing the need for human intervention. I would use SLA to improve the accuracy and efficiency of automation over time and to detect and handle exceptions and errors automatically.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q32) How do you use WorkFusion's Decision Automation capabilities to automate complex tasks?</strong></span></h3>
<p><span style="font-weight: 400;">Decision Automation capabilities in WorkFusion enable the automation of complicated processes and decision-making by integrating RPA with advanced technologies like machine learning and artificial intelligence. Decision automation would be used to construct automation that can make judgments depending on the data they process, such as routing work to the proper department or authorizing bills. Furthermore, I would employ decision automation to enhance automation accuracy and efficiency over time.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q33) How do you use WorkFusion's Predictive Automation capabilities to optimize automation performance?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's Predictive Automation capabilities allow for the use of machine learning to predict future events or outcomes and optimize automation performance. I would use predictive automation to identify patterns in data and make predictions about future automation performance. Additionally, I would use predictive automation to improve the accuracy and efficiency of automation over time and to detect and handle exceptions and errors automatically.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q34) How do you use WorkFusion's Robotic Process Automation capabilities to automate repetitive tasks?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's Robotic Process Automation capabilities allow for the automation of repetitive tasks through the use of software robots. I would use RPA to automate tasks such as data entry, document processing, and customer service tasks. Additionally, I would use RPA to improve the accuracy and efficiency of automation over time and to detect and handle exceptions and errors automatically.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q35) How do you use WorkFusion's Advanced Data Extraction capabilities to automate data-intensive tasks?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's Advanced Data Extraction capabilities enable the automation of data-intensive operations through the application of machine learning and optical character recognition (OCR). I would employ advanced data extraction to extract information from documents, photos, and web pages. Furthermore, I would employ advanced data extraction to increase the accuracy and efficiency of automation over time, as well as to automatically detect and handle exceptions and problems.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q36) How do you use WorkFusion's Advanced Image Recognition capabilities to automate image-based tasks?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's Advanced Image Recognition capabilities allow for the automation of image-based tasks through the use of machine learning and computer vision. </span></p>
<p><span style="font-weight: 400;">I would use advanced image recognition to extract data from images, such as text and numbers, and to identify and classify images. Additionally, I would use advanced image recognition to improve the accuracy and efficiency of automation over time and to detect and handle exceptions and errors automatically.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q37) How do you use WorkFusion's Advanced Natural Language Processing (NLP) capabilities to automate language-based tasks?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's Advanced Natural Language Processing (NLP) capabilities allow for the automation of language-based tasks through the use of advanced techniques such as sentiment analysis, entity recognition, and language translation. I would use advanced NLP to extract meaning and insights from unstructured text, such as emails and customer feedback. Additionally, I would use advanced NLP to improve the accuracy and efficiency of automation over time and to detect and handle exceptions and errors automatically.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 30.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 30.5047px;">
<td style="width: 98.4573%; height: 30.5047px; text-align: center;"><em>Also, Read these latest <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/rpa-interview-questions" target="_blank">RPA Interview Questions</a></strong></span> that help you grab high-paying jobs</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q38) How do you use WorkFusion's Advanced Computer Vision capabilities to automate visual-based tasks?</strong></span></h3>
<p><span style="font-weight: 400;">The Advanced Computer Vision features of WorkFusion enable the automation of visual-based tasks by utilizing advanced techniques such as object identification and image classification. I would employ advanced computer vision to extract data such as text and numbers from photographs and videos, as well as to recognize and classify images. Furthermore, I would employ advanced computer vision to increase the accuracy and efficiency of automation over time, as well as to quickly determine and handle exceptions and problems.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q39) How do you use WorkFusion's Advanced Machine Learning capabilities to improve automation?</strong></span></h3>
<p><span style="font-weight: 400;">WorkFusion's Sophisticated Machine Learning capabilities enable the adoption of advanced approaches to boost automation, such as deep learning and neural networks. I would employ advanced machine learning to train models for tasks such as data extraction, picture recognition, and language processing. In addition, I would employ powerful machine learning to increase the precision and effectiveness of automation over time, as well as to automatically detect and handle exceptions and failures.</span></p>
<h3><strong><a id="workfusion-chatbot-capabilities"></a><span style="font-size: 18px; color: #e67e23;">Q40) How do you use WorkFusion's Advanced Chatbot capabilities to automate customer service tasks?</span></strong></h3>
<p><span style="font-weight: 400;">WorkFusion's Advanced Chatbot capabilities allow for the automation of customer service tasks through the use of natural language processing and machine learning. I would use an advanced chatbot to understand customer queries, providing accurate and efficient responses in real time. Additionally, I would use an advanced chatbot to improve the accuracy and efficiency of automation over time and to detect and handle exceptions and errors automatically.</span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="faqs"></a>Most Common WorkFusion RPA FAQs:</strong></span></h2>
<h3><span style="color: #e67e23;"><strong>1) What is RPA Testing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>RPA (Robotic Process Automation) testing is the process of ensuring that an RPA solution operates as intended and meets the criteria by testing its functionality and performance. RPA testing comprises functional testing, performance testing, and regression testing. This ensures the automation's stability, accuracy, and efficiency.</span></p>
<h3><span style="color: #e67e23;"><strong>2) What is a Listener in WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In WorkFusion, a Listener is a component that enables the software robot to communicate with other systems and applications. The listener receives events or triggers from external systems and executes the associated automation flow based on the setup. This enables the automation of actions triggered by outside occurrences.</span></p>
<h3><span style="color: #e67e23;"><strong>3) What are different RPA jobs?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Different RPA jobs include RPA Developer, RPA Business Analyst, RPA Project Manager, RPA Solution Architect, RPA Quality Assurance Analyst, RPA Infrastructure Engineer, RPA Operations Manager, RPA Consultant, and RPA Trainer.</span></p>
<h3><span style="color: #e67e23;"><strong>4) Describe the two RPA Gateways</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The two types of gateways that can be deployed in RPA are On-Premises Gateways and Cloud Gateways. On-Premises Gateway is installed and runs on a local network, while Cloud Gateway is deployed on a cloud platform.</span></p>
<h3><span style="color: #e67e23;"><strong>5) How can we use Global Variable in WorkFusion?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Global Variables in WorkFusion can be used to store and access data that needs to be shared across multiple automation. These variables can be accessed and modified by any automation in the project. This allows for the easy sharing of data between automation and eliminates the need to hard-code data into each automation.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="tips"></a>Tips to clear WorkFusion RPA Interview:</strong></span></h2>
<p><em><span style="font-weight: 400;"><span style="font-size: 16px;">1) Understand the basics of RPA and WorkFusion:</span> </span></em><span style="font-weight: 400;">Before the interview, familiarize yourself with the basics of RPA and WorkFusion, including the features, capabilities, and use cases of the software.</span></p>
<p><span style="font-size: 16px;"><em><span style="font-weight: 400;">2) Understand the role you are applying for:</span></em></span><span style="font-weight: 400;"> Understand the role you are applying for and the specific skills and experience required for the job. Tailor your answers to the specific requirements of the role.</span></p>
<p><span style="font-size: 16px;"><em><span style="font-weight: 400;">3) Provide real-world examples:</span></em></span><span style="font-weight: 400;"> Provide real-world examples of how you have used WorkFusion in previous projects, highlighting your experience and skills with the software.</span></p>
<p><span style="font-size: 16px;"><em><span style="font-weight: 400;">4) Be prepared to answer technical questions:</span></em></span><span style="font-weight: 400;"> Be prepared to answer technical questions about the software, including its capabilities, troubleshooting, and maintenance.</span></p>
<p><span style="font-size: 16px;"><em><span style="font-weight: 400;">5) Practice with sample questions:</span></em></span><span style="font-weight: 400;"> Practice answering sample WorkFusion interview questions to familiarize yourself with the types of questions you may be asked.</span></p>
<p><span style="font-size: 16px;"><em><span style="font-weight: 400;">6) Be confident and demonstrate your expertise:</span></em></span><span style="font-weight: 400;"> During the interview, present yourself as confident and knowledgeable about WorkFusion, and be ready to demonstrate your expertise with the software.</span></p>
<p><span style="font-size: 16px;"><em><span style="font-weight: 400;">7) Show your willingness to learn:</span></em></span><span style="font-weight: 400;"> Show your willingness to learn new technologies and skills, as WorkFusion is a rapidly evolving technology and it's important to stay current.</span></p>
<p>&nbsp;</p>
<p><span style="font-size: 18px; color: #e67e23;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">In conclusion, preparing for a WorkFusion interview requires a good understanding of the software and its capabilities, as well as knowledge of RPA in general. Be prepared to answer both WorkFusion technical and functional questions, and provide real-world examples of your experience with the software. Practice with sample questions and be confident in your abilities. It's also important to demonstrate a willingness to learn new technologies and skills as WorkFusion is a rapidly evolving technology. </span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>22:Ta0d,<ul>
<li><span style="color: #000000;"><a style="color: #000000;" href="#cypress"><span style="font-weight: 400;">What is Cypress</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#features"><span style="font-weight: 400;">Features of Cypress Testing</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#why-cypress-is-special"><span style="font-weight: 400;">What makes Cypress so special?</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#architecture"><span style="font-weight: 400;"> Cypress Architecture</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#test-runner"><span style="font-weight: 400;"> Cypress Test Runner</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#dashboard"><span style="font-weight: 400;"> Cypress Dashboard</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#installation"><span style="font-weight: 400;">How to Install Cypress?</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#use-of-cypress-in-continuous-integration"><span style="font-weight: 400;">How to use Cypress with continuous integration?</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#workflow"><span style="font-weight: 400;">How to use Cypress in a continuous delivery workflow?</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#end-to-end-tests"><span style="font-weight: 400;">How to write end-to-end tests for native mobile applications using Cypress?</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#installation"><span style="font-weight: 400;">Install Cypress for Automation</span></a></span></li>
<li><span style="color: #000000;"><span style="font-weight: 400;"> </span><a style="color: #000000;" href="#cypress-vs-selenium">Cypress vs Selenium&nbsp;</a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#drawbacks"><span style="font-size: 14px;"><strong><span style="font-weight: 400;">Drawbacks of Cypress</span></strong></span></a></span></li>
</ul>23:T6487,<p><span style="font-weight: 400;">Recently, there has been a rising demand for test automation frameworks due to the tremendous growth of web applications in the market. Cypress is a fast and reliable testing framework that many developers have come to rely on recently. Cypress is developed to answer all the issues faced by the team while automating an application. It is used by many organizations, such as Revoluta, Alibaba Travels, Bitpanda, etc., in their tech stacks as integration and unit tests can easily be written and debugged with Cypress End to End test.&nbsp;</span></p>
<p><span style="font-weight: 400;">This<strong> Cypress tutorial</strong> will guide you through all its features, pros, and cons, with a real understanding of its efficiency.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="font-size: 18px;"><strong>Cypress Tutorial - Table of Contents:</strong></span></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#cypress"><span style="font-weight: 400;">What is Cypress</span></a></span></li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#features"><span style="font-weight: 400;">Features of Cypress Testing</span></a></span></li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#why-cypress-is-special"><span style="font-weight: 400;">What makes Cypress so special?</span></a></span>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#architecture"><span style="font-weight: 400;"> Cypress Architecture</span></a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#test-runner"><span style="font-weight: 400;"> Cypress Test Runner</span></a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#dashboard"><span style="font-weight: 400;"> Cypress Dashboard</span></a></span></li>
</ul>
</li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#installation"><span style="font-weight: 400;">How to Install Cypress?</span></a></span></li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#use-of-cypress-in-continuous-integration"><span style="font-weight: 400;">How to use Cypress with continuous integration?</span></a></span></li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#workflow"><span style="font-weight: 400;">How to use Cypress in a continuous delivery workflow?</span></a></span></li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#end-to-end-tests"><span style="font-weight: 400;">How to write end-to-end tests for native mobile applications using Cypress?</span></a></span></li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#installation"><span style="font-weight: 400;">Install Cypress for Automation</span></a></span></li>
<li><span style="color: #236fa1;"><span style="font-weight: 400;"> </span><a style="color: #236fa1;" href="#cypress-vs-selenium"><span style="font-weight: 400;">Cypress vs. Selenium&nbsp;</span></a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#drawbacks"><span style="font-size: 14px;"><strong><span style="font-weight: 400;">Drawbacks of Cypress</span></strong></span></a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #e67e23;"><strong><a id="cypress"></a>What is Cypress?</strong></span></h2>
<p><span style="font-weight: 400;">Cypress is an open-source JavaScript-based end-to-end testing framework for web applications. It is used on a large scale as a free test automation tool. Cypress is designed to write, set up, run, configure, execute, and debug tests easily for web applications. Cypress lets the developers test their web applications without additional configurations, as it runs directly in the browser and uses a built-in test runner.&nbsp;</span></p>
<p><span style="font-weight: 400;">Cypress is popular among developers as it is easy to use, has fast execution, and has a good developer experience. It has a unique feature that allows the developers to debug the test by rewinding and replaying any browser action. It also has an impressive API for interacting with web pages, making it easy for developers to test the behavior of a web application. Explore the full Cypress tutorial to know more.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="features"></a>Features of Cypress Testing</strong></span></h3>
<p><span style="font-weight: 400;">Cypress is an end-to-end testing framework with the following advantages.&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The installation process of the Cypress framework is easy and simple.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress does not require driver binaries, and the code executes natively in the browser.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The test code has access to the application's JS objects as both the test code and the application run in the same browser.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress is remarkable as it allows code to be easily altered and executed instantly.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress features a dashboard for comprehensive reporting.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Due to Cypress' built-in auto-wait features, tests are more reliable.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It provides a platform for the execution of coinciding tests.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress documentation is extensive, and the user base of Cypress is active and vibrant.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The framework is equipped to handle both Behaviour-Driven Development (BDD) approaches and <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://en.wikipedia.org/wiki/Test-driven_development" target="_blank" rel="nofollow">Test-Driven Development</a></span> (TDD) procedures.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Screenshots of the examination procedure are taken throughout each stage. These can be very helpful in resolving any problems that arise with the test.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress features an in-built request wait functionality, so additional waits are no longer needed to set up.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 40.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 40.5047px;">
<td style="width: 98.4573%; text-align: center; height: 40.5047px;"><em>Do you want to enrich your career by learning Cypress Automation? Then Enroll in "<span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/cypress-training" target="_blank"><strong>Cypress Training</strong></a></span>", this course will help you to boost your career.</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2><span style="color: #e67e23; font-size: 24px;"><strong><a id="why-cypress-is-special"></a>What makes Cypress so special?</strong></span></h2>
<h4><em><strong style="font-size: 14px;"><a id="architecture"></a><span style="font-size: 18px;">1) Cypress Architecture</span></strong></em></h4>
<p><span style="font-weight: 400;">Cypress is built on a modern architecture that makes it easy to set up, write, run, and debug tests. Cypress is built on a Node.js server and uses the Mocha test framework to structure and organize tests. It also uses the Chai assertion library to verify test results. Cypress utilizes a custom command line interface (CLI) to interact with the tests. The architecture of Cypress is designed to provide a fast, secure, and reliable testing environment.</span></p>
<p><span style="font-weight: 400;">Cypress architecture is very performant and reliable when testing web applications Tests run faster and more reliably due to the architecture&rsquo;s non-blocking I/O model, which allows for multiple tasks to be handled simultaneously. Tests also require less code and are easier to maintain due to Cypress&rsquo; simplified assertion library and test runner.</span></p>
<h4><em><span style="font-size: 18px;"><strong><a id="test-runner"></a>2) Cypress Test Runner</strong></span></em></h4>
<p><span style="font-weight: 400;">The Cypress Test runner is a unique interactive built-in test runner with the Cypress testing framework. The Cypress Test Runner is launched by running the Cypress command in the terminal. It provides a user interface for running tests, displaying the results of those tests, and debugging any issues that may arise.&nbsp;</span></p>
<p><span style="font-weight: 400;">While viewing the application under test allows you to see the commands as executed. Any changes made to the test code will automatically be reflected in the test runner without manually reloading the browser. It provides a 'time-travel' feature that allows developers to see the state of the browser at any point in time during the test, which helps in debugging the test.</span></p>
<h4><em><span style="font-size: 18px;"><strong><a id="dashboard"></a>3) Cypress Dashboard</strong></span></em></h4>
<p><span style="font-weight: 400;">The Cypress Dashboard is a cloud-based service that allows developers to record test runs, view screenshots and videos of test runs, and share test results with others, typically while running the Cypress tests. The Cypress Dashboard allows developers to view the results on a web-based dashboard and provides insight into what happened when the tests ran.</span></p>
<p><span style="font-weight: 400;">The Cypress Dashboard provides a feature called "parallelization," which allows running multiple tests simultaneously on different machines; this helps in reducing the time taken to run all the tests. It also provides methods to schedule tests to run automatically and provides a way to monitor the test execution remotely. It is a paid service.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="use-of-cypress-in-continuous-integration"></a>How to use Cypress with continuous integration?</strong></span></h3>
<p><span style="font-weight: 400;">Cypress can be integrated with various continuous integration (CI) platforms. The process of integrating Cypress with a CI platform varies depending on the platform you are choosing. Here are the basic steps to integrate Cypress with a CI platform:</span></p>
<p><span style="font-weight: 400;"><strong>Step 1:</strong> Make sure Cypress is installed in your project by running the command.</span></p>
<pre class="language-markup"><code>npm install cypress --save-dev</code></pre>
<p><span style="font-weight: 400;"><strong>Step 2:</strong> Run your Cypress tests; this typically involves creating a configuration file (e.g., .travis.yml, circle.yml) and specifying the commands that should run to execute your tests.</span></p>
<p><span style="font-weight: 400;"><strong>Step 3:</strong> Configure your CI platform to run the Cypress test command, which is:</span></p>
<pre class="language-markup"><code>cypress run</code></pre>
<p><span style="font-weight: 400;"><span style="font-weight: 400;"><strong>Step 4:</strong> To record the test results, Cypress provides a command that records the test result and stores it in the Cypress Dashboard for further analysis.</span></span></p>
<pre class="language-css"><code>cypress run --record --key=abc123</code></pre>
<p><span style="font-weight: 400;"><strong>Step 5:</strong> Schedule your test runs to run at specific intervals.</span></p>
<p><span style="font-weight: 400;"><strong>Step 6:</strong> Cypress Dashboard provides a way to monitor the test execution remotely and analyze the test results.</span><span style="font-weight: 400;"><span style="font-weight: 400;"><br /></span></span></p>
<p><span style="font-weight: 400;">The integration process varies depending on the CI platform you are using and the specific requirements of your project. Refer to the documentation provided by the CI platform and Cypress for more information on integrating Cypress with your CI platform.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 32.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 32.5047px;">
<td style="width: 98.4573%; text-align: center; height: 32.5047px;"><em>Read these latest <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/cypress-interview-questions" target="_blank">Cypress Interview Questions</a></strong></span> that help you grab high-paying jobs</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="workflow"></a>How to use Cypress in a continuous delivery workflow</strong></span></h3>
<p><span style="font-weight: 400;">Cypress can be used in a continuous delivery (CD) workflow to test web applications automatically. Here are the basic steps to use Cypress in a Continuous Delivery workflow:</span></p>
<ol>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Make sure Cypress is installed in your project by running the command in the same way as shared in the first step of integrating Cypress with a CI platform.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">After successful installation, write automated tests using Cypress to test various web application functionalities.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Run Cypress tests as a part of the continuous integration (CI) process to ensure that changes made to the code do not break the existing functionality.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">After running the Cypress test, record the test results in Cypress Dashboard for further analysis.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Monitor the test execution remotely and analyze the test results provided by the Cypress Dashboard.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Once the tests have been run and passed, the application can be deployed automatically using a CD tool (<span style="color: #236fa1;"><a style="color: #236fa1;" title="Jenkins Tutorial" href="https://tekslate.com/jenkins-tutorials" target="_blank">Jenkins</a></span>, Travis, or CircleCI).</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To run at specific intervals, schedule the test runs and deployment.</span></li>
<li style="font-weight: 400;" aria-level="1">To ensure everything is working as expected, continuously monitor the application in production and run tests periodically.</li>
</ol>
<p><span style="font-weight: 400;">For specific information on how to use Cypress in a CD workflow,&nbsp; it is important to refer to the document provided by the CD tool and Cypress, as the Continuous Delivery workflow varies depending on the project's specific requirements.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="end-to-end-tests"></a>How to write end-to-end tests for native mobile applications using Cypress?</strong></span></h3>
<p><span style="font-weight: 400;">Cypress is a web-based end-to-end testing framework. Cypress is designed to test web applications that run in a browser. In the following example, all the functions come from Mocha other than the one that begins with cypress.&nbsp;</span></p>
<p><span style="font-weight: 400;">All the test files will begin with a &ldquo;block&rdquo; or describe () function. This function enables a way to make things easier to read and provides a way to organize the tests. As describe () can provide the condition for the tests written inside them, test files can have multiple describe (). </span></p>
<pre class="language-markup"><code>// app.spec.js
describe ("React TodoMVC", () =&gt;{
  it("adds a single todo", () =&gt;{
    су.visit( ("http://localhost:8888") // Arrange
    су.get(".new-todo"). type ("Buy Milk{enter}") // Act
    cy.get(".todo-list li"). should ("have. length", 1) // Assert
})
})</code></pre>
<p><span style="font-weight: 400;">We have it blocked in end-to-end tests for native mobile applications. This is the actual test, where the test code goes as well. First, a test name, &ldquo;adds a single todo," is provided and passed in a callback function. The three things that are required to write end-to-end tests for native mobile applications using React TodoMVC app are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Arrange: Visit the URL http://localhost:8888</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Act: Type in the string&nbsp; "Buy Milk," press the Enter key and get the element with the class of .new-todo.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Assert:&nbsp; Declaring that single todo is added to the application.</span></li>
</ul>
<p><span style="font-weight: 400;">It's important to note that this approach requires a good knowledge of mobile testing; Cypress, a web-based testing framework, requires additional tools to test mobile apps.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="installation"></a>Installation Process of Cypress for Automation</strong></span></h3>
<p><span style="font-weight: 400;">The installation process of Cypress depends on the development environment you are using. Here are the general steps to install Cypress in a local development environment:</span></p>
<p><span style="font-weight: 400;">Step 1: Cypress requires Node.js to be installed on your machine. You can download the latest version of Node.js from the official website and follow the installation instructions.</span></p>
<p><span style="font-weight: 400;">Step 2: Once the installation is done, create a new project directory and initialize it as a Node.js project by running the below-mentioned command in the terminal.&nbsp;</span></p>
<pre class="language-markup"><code>npm init</code></pre>
<p><span style="font-weight: 400;">Step 3: install Cypress, run the below-mentioned command in the terminal. This command installs Cypress as a development dependency in your project.</span></p>
<pre class="language-markup"><code>npm install cypress --save-dev</code></pre>
<p><span style="font-weight: 400;">Step 4: </span><span style="font-weight: 400;">Once Cypress is installed, you can open the Cypress Test Runner by running the below-mentioned command in the terminal</span></p>
<pre class="language-markup"><code>npx cypress open</code></pre>
<p><span style="font-weight: 400;">Step 5: As Cypress uses the Mocha test framework, you can create a test file in the integration folder inside the cypress folder.</span></p>
<pre class="language-markup"><code>yarn add cypress --dev</code></pre>
<p><span style="font-weight: 400;">It is also possible to install Cypress via yarn, which is another package manager for <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/cookies-javascript" target="_blank">javascript</a></span>; the command is:</span></p>
<p><span style="font-weight: 400;">After Cypress is installed, you can start writing and running tests for your web application. Cypress provides many examples and documentation on how to use the framework, which you can refer to for more information.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 21.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 21.5047px;">
<td style="width: 98.4573%; text-align: center; height: 21.5047px;"><em>Also, have a look at our new blog <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/cypress-alternatives" target="_blank">Cypress Alternatives</a></strong></span></em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><span style="font-size: 24px;"><strong><span style="color: #e67e23;"><a id="cypress-vs-selenium"></a>Cypress vs Selenium:</span></strong></span></h3>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 9.26422%; text-align: center;">
<p><strong>Factors</strong></p>
</td>
<td style="width: 32.6386%; text-align: center;">
<p><strong> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Cypress</strong></p>
</td>
<td style="width: 58.0796%; text-align: center;">
<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Selenium</strong></p>
</td>
</tr>
<tr>
<td style="width: 9.26422%;">
<p><span style="font-weight: 400;">Languages</span></p>
</td>
<td style="width: 32.6386%;">
<p><span style="font-weight: 400;">It works on JavaScript.</span></p>
</td>
<td style="width: 58.0796%;">
<p><span style="font-weight: 400;">It supports many languages like <a href="https://tekslate.com/tutorials-python" target="_blank">Python</a>, Java, Php, etc.</span></p>
</td>
</tr>
<tr>
<td style="width: 9.26422%;">
<p><span style="font-weight: 400;">Frameworks</span></p>
</td>
<td style="width: 32.6386%;">
<p><span style="font-weight: 400;">It supports Mocha JS.</span></p>
</td>
<td style="width: 58.0796%;">
<p><span style="font-weight: 400;">It supports multiple frameworks.</span></p>
</td>
</tr>
<tr>
<td style="width: 9.26422%;">
<p><span style="font-weight: 400;">Setup</span></p>
</td>
<td style="width: 32.6386%;">
<p><span style="font-weight: 400;">The setup is very easy. Additional downloads are not required.</span></p>
</td>
<td style="width: 58.0796%;">
<p><span style="font-weight: 400;">As it requires Browser-specific driver installation and configuration of the test environment, it is a bit complicated.</span></p>
</td>
</tr>
<tr>
<td style="width: 9.26422%;">
<p><span style="font-weight: 400;">Documentation</span></p>
</td>
<td style="width: 32.6386%;">
<p><span style="font-weight: 400;">It has user-friendly documentation.</span></p>
</td>
<td style="width: 58.0796%;">
<p><span style="font-weight: 400;">It has well-established documentation.</span></p>
</td>
</tr>
<tr>
<td style="width: 9.26422%;">
<p><span style="font-weight: 400;">Browsers</span></p>
</td>
<td style="width: 32.6386%;">
<p><span style="font-weight: 400;">Edge, Firefox(beta), Chrome, Electron.</span></p>
</td>
<td style="width: 58.0796%;">
<p><span style="font-weight: 400;">Safari, Chrome, Firefox, Opera, Edge, IE.</span></p>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="drawbacks"></a>Drawbacks of Cypress</strong></span></h3>
<p><span style="font-weight: 400;">Being a powerful and popular end-to-end testing Cypress framework has some drawbacks as well:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress only supports the latest version of Chrome, Firefox, Edge, and Electron compared to Selenium which supports more browsers.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress works only on JavaScript and can only use <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/node-js-examples" target="_blank">Node.js</a></span>.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress does not support older versions of Internet Explorer, which is a drawback for many organizations that use older browsers.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It does not provide built-in support for visual regression testing, which is used to detect visual changes in a web application.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress is known to use more memory than other testing frameworks; this can be a problem running multiple tests or on a machine with limited memory.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress Dashboard is a paid service, which could be a limitation for small projects or those with a tight budget.</span></li>
</ul>
<p>&nbsp;</p>
<p><span style="color: #e67e23; font-size: 18px;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">Cypress is a globally used automation testing framework. However, before deciding if Cypress is the right choice for your testing needs, it is important to consider the advantages and drawbacks. Before deciding, spend some time and automate a few test cases on a cloud-based platform that integrates with Selenium and Cypress. You will know which automation tool is best for your organization and team in the long run.</span></p>24:T5386,<p><span style="font-weight: 400;">PostgreSQL is a highly reliable and robots ORDBMS &ndash; Object Relational Database Management system known for its excellent performance. Most organizations have adopted it to manage their data recently. Several trials have emphasized the power of these compelling management features, and PostgreSQL has exhibited a proficient execution rate with zero crashes. Even at the highest database load, it has performed excellently, making it the best database management system for several organizations. Managing the database has helped businesses track their performances and profit to a remarkable extent.</span></p>
<p><span style="font-weight: 400;">Getting started with PostgreSQL can be challenging, so we have brought you a guide specially planned for beginners! The new object-relational database management system is worth exploring with its excellent logical and relation features, making it the most reliable, robust, and efficient system.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><span style="font-size: 18px;"><strong>PostgreSQL Tutorial - Table of Contents:</strong></span></h3>
<ul>
<li><a href="#postgresql"><span style="color: #236fa1;">What is PostgreSQL</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#features">Features of PostgreSQL</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#history">History of PostgreSQL</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#installation">Installation Process</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#use-of-postgrsql">Why is PostgreSQL best for you?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#postgresql-for-beginners">Is PostgreSQL suitable for beginners?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#conclusion">Conclusion</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #e67e23; font-size: 24px;"><strong><a id="postgresql"></a>What is PostgreSQL?</strong></span></h2>
<p><span style="font-weight: 400;">PostgreSQL is a powerful open-source ORDBMS (Object-Relational Database Management System). It was introduced in 1996 and has become one of the world's most popular open-source database management systems. PostgreSQL is known for its reliability and efficient performance. PostgreSQL is highly scalable and can be used in single-node and multi-node environments. It supports various data duplication options, including streaming, logical, and cascading duplication, which ensures its high availability and data longevity feature.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="features"></a>Features of PostgreSQL:</strong></span></h3>
<p><em><strong>1) Object Relational Database</strong><span style="font-weight: 400;"><strong>:</strong> </span></em></p>
<p><span style="font-weight: 400;">PostgreSQL is an object-relational database that can store complex data structures in a relational database. It supports data types such as integers, floating point numbers, strings, date/time values, and other common data types and objects.&nbsp;</span></p>
<p><em><strong>2) </strong><strong>Stored Procedures &amp; Triggers</strong><span style="font-weight: 400;"><strong>:</strong> </span></em></p>
<p><span style="font-weight: 400;">PostgreSQL allows users to write stored procedures and triggers in SQL and other procedural languages such as PL/pgSQL, PL/Tcl, and PL/Perl. These features enable developers to extend the database functionality and automate tasks.&nbsp;</span></p>
<p><em><strong>3) Multi-Version Concurrency Control (MVCC):</strong><span style="font-weight: 400;">&nbsp;</span></em></p>
<p><span style="font-weight: 400;">PostgreSQL utilizes a <span style="color: #000000;">Multi-Version Concurrency Control</span> (MVCC) system, which allows multiple versions of the same data to existing in the database. This makes it easier to maintain data consistency and allows for better scalability and performance.&nbsp;</span></p>
<p><em><strong>4) User-Defined Functions</strong><span style="font-weight: 400;"><strong>:</strong> </span></em></p>
<p><span style="font-weight: 400;">PostgreSQL supports user-defined functions (UDFs). UDFs allow users to write tasks to extend the database and enable complex data manipulation.&nbsp;</span></p>
<p><em><strong>5) Database Replication</strong><span style="font-weight: 400;"><strong>:</strong> </span></em></p>
<p><span style="font-weight: 400;">PostgreSQL supports replication, which is the ability to replicate data from one database to another. This feature allows for better scalability, high availability, and improved data integrity.&nbsp;</span></p>
<p><em><strong>6) Server-Side Programming</strong><span style="font-weight: 400;"><strong>:</strong> </span></em></p>
<p><span style="font-weight: 400;">PostgreSQL supports server-side programming, allowing developers to write custom logic and execute it on the server. This enables developers to build custom applications on top of the database.&nbsp;</span></p>
<p><em><strong>7) Security</strong><span style="font-weight: 400;"><strong>:</strong> </span></em></p>
<p><span style="font-weight: 400;">PostgreSQL offers a wide range of security features, including authentication, access control, encryption, and auditing. These features can help protect a database from malicious attacks and unauthorized access.</span></p>
<p><span style="font-weight: 400;">Overall, PostgreSQL is a powerful and versatile database management system well-suited for many use cases and applications.</span></p>
<p>&nbsp;</p>
<table style="border-collapse: collapse; width: 100.012%; height: 50.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 50.5047px;">
<td style="width: 98.4573%; text-align: center; height: 50.5047px;"><em>Want to acquire industry skills and gain complete knowledge of PostgreSQL? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="PostgreSQL Training" href="https://tekslate.com/postgresql-training" target="_blank">PostgreSQL Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="history"></a>History of PostgreSQL:</strong></span></h3>
<p><em><strong>#<span style="color: #e67e23; font-size: 16px;">1980s</span></strong></em></p>
<p><span style="font-weight: 400;">PostgreSQL often referred to as "Postgres," was created in 1986 by a computer science professor named Michael Stonebraker at the University of California, Berkeley. The original version of the software was called "Ingres" and was designed to be a more robust and capable alternative to existing relational databases at the time.</span></p>
<p><em><strong>#<span style="color: #e67e23; font-size: 16px;">1990s</span></strong></em></p>
<p><span style="font-weight: 400;">In 1994, a team of graduate students and Stonebraker continued to improve and develop the software by adding new features and capabilities. The software was also renamed to "Postgres" to reflect its capabilities and new direction as an object-relational database management system.</span></p>
<p><span style="font-weight: 400;">The software released an open source under the name "PostgreSQL" to reflect its origins as a derivative of the Ingres project in 1996. The open-source release of PostgreSQL was a turning point for the project as it allowed a community of developers and users to contribute to the development of the software and provide support.</span></p>
<p><em><strong>#<span style="color: #e67e23; font-size: 16px;">2000s - Today</span></strong></em></p>
<p><span style="font-weight: 400;">PostgreSQL continued to evolve and improve over the next decade with its new features in SQL, with improved performance and scalability added. In recent years, PostgreSQL has been widely considered one of the most potent and capable open-source databases, known for its reliability, robustness, and performance.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="installation"></a>Installation Process of PostgreSQL:</strong></span></h3>
<p><span style="font-weight: 400;">Follow the steps to install PostgreSQL so that your experience a great database system:&nbsp;</span></p>
<p><strong>Step 1:&nbsp;</strong><span style="font-weight: 400;">Download the software for your system. You can download the installer for your operating system from the official website. (</span><a href="https://www.postgresql.org/download/" target="_blank" rel="nofollow"><span style="font-weight: 400;">https://www.postgresql.org/download/</span></a><span style="font-weight: 400;">)</span></p>
<p><span style="font-weight: 400;">After downloading the installer, follow the below steps to complete the PostgreSQL installation:</span></p>
<p><span style="font-weight: 400;"><strong>Step 1. a:</strong>&nbsp;Click on the next button.</span></p>
<p><strong>Step 1. b:</strong><span style="font-weight: 400;">&nbsp;Select the installation folder for PostgreSQL to be installed and then click Next.</span></p>
<p><strong>Step 2:</strong><span style="font-weight: 400;">&nbsp;To install, choose the components according to your requirement and click the Next button.</span></p>
<p><strong>Step 3:</strong><span style="font-weight: 400;">&nbsp;Choose the database directory and click Next to store the data.</span></p>
<p><strong>Step 4:</strong><span style="font-weight: 400;">&nbsp;Set up the password for the database superuser (Postgres)&nbsp;</span></p>
<p><span style="font-weight: 400;"><strong>Step 5:</strong> Create the port for PostgreSQL. Do make sure that other applications do not use this port. If you need clarification, leave it to default and click Next.&nbsp;</span></p>
<p><strong>Step 6:</strong><span style="font-weight: 400;">&nbsp;Select the default locale utilized by the database and click on the Next button.</span></p>
<p><strong>Step 7:</strong><span style="font-weight: 400;">&nbsp;To start the installation, click the Next button.</span></p>
<p><span style="font-weight: 400;">Hold back, as it might take a few minutes for the installation to complete.</span></p>
<p><strong>Step 8:</strong><span style="font-weight: 400;">&nbsp;Click on the Finish button to complete the PostgreSQL installation.&nbsp;</span></p>
<p><strong>Note: </strong><span style="font-weight: 400;">To connect to the database, you will need to use a client tool such as pgAdmin or the command-line tool PSQL. </span></p>
<p><span style="font-weight: 400;">You will need the information:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Host: The IP address or hostname of the machine where the database is running</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Port: The port number on which the database is listening (default is 5432)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Database: Connect to the name of the database.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">User: The username you want to connect to.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Password: The password for the user.</span></li>
</ul>
<p><span style="font-weight: 400;">Once installed, you need to start the PostgreSQL service to connect to the database.</span></p>
<p>&nbsp;</p>
<table style="border-collapse: collapse; width: 100.012%; height: 41.5px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 41.5px;">
<td style="width: 98.4573%; text-align: center; height: 41.5px;"><em>Read these latest <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/postgresql-interview-questions" target="_blank">PostgreSQL Interview Questions</a></strong></span> that help you grab high-paying jobs</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong>Working Process:</strong></span></h3>
<p><span style="font-weight: 400;">Creating a new database is simple. Once connected, you can use the command in the command line of your choice (e.g., SQL Shell or PSQL) and type in 'CREATE DATABASE [DATABASE_NAME].' And voila, you've got yourself a new database. On Windows, you can use the Services app to start the service.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To create a table in the database, you can use the command "CREATE TABLE table_name (column_name data_type constraint, ....);."</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To update data in a table, you can use the command "UPDATE table_name SET column1 = new_value WHERE condition;."</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To retrieve data from a table, you can use the command "SELECT column1, column2, ... FROM table_name WHERE condition;."</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To delete data from a table, use the "DELETE FROM table_name WHERE condition;"</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To insert data into a table, you can use the command "INSERT INTO table_name (column1, column2, ...) VALUES (value1, value2, ...);"</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">To populate this new database, input data from other sources, such as spreadsheets or text files. There are multiple ways to do this, depending on your operating system. If you're using Windows, consider using "COPY" commands or BCP Utility Tool. Alternatively, if you prefer MacOS, look into PGAdmin's import option.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The next step is learning how to query within PostgreSQL&mdash;which is where most of your work of an introductory SELECT statement: "SELECT * FROM table_name;" This retrieves all columns and rows of data stored in the specified table_name. You can also refine your search by selecting specific columns instead of all of them.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">While we're on the topic of querying, let's talk about transactions. A transaction ensures that any changes made during one operation remain permanent even if something goes wrong later. To start a transaction, use the "BEGIN;" command followed by your code. End your trade with either a COMMIT or ROLLBACK command.</span></li>
</ul>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="use-of-postgrsql"></a>Why is PostgreSQL best for you?</strong></span></h3>
<p><span style="font-weight: 400;">PostgreSQL is an incredible database system that provides powerful functionality for its users. It allows you to store, organize and retrieve data quickly and accurately. And since it's open-source, you won't have to worry about expensive licensing fees or complicated setup processes. You'll be able to focus on what matters most, i.e., creating outstanding results. Some of its valuable features include:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">PostgreSQL is known for its ability to handle large-scale enterprise environments.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It can manage a large amount of data and supports advanced features such as geospatial data, JSON, and full-text search.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It supports a wide range of programming languages, making it the perfect choice for all developers.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It has built-in support for stored procedures, triggers, and resilience.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Its robust security features, including support for role-based access control, auditing, and encryption, give good privacy to your database.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It has a large and active community of developers and users who contribute to the development of the software and provide support.</span></li>
</ul>
<p><span style="font-weight: 400;">With PostgreSQL, you can produce high-quality output with fewer other databases like <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/workday-hcm-tutorial" target="_blank">Workday</a></span>, Salesforce, SAP, etc. Above mentioned are just a few examples of the many features and functionalities that PostgreSQL can offer.&nbsp;</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong>Facts about PostgreSQL:</strong></span></h3>
<p><span style="font-weight: 400;">With its extensive features and potentiality, PostgreSQL can be used for all sorts of projects, from small tasks to large-scale enterprise solutions. Many large organizations and companies use PostgreSQL. Examples of the many large organizations and companies that use PostgreSQL are Apple, Cisco, IMDb, NASA, Paypal, Uber, Spotify, and many more.&nbsp;</span></p>
<p><span style="font-weight: 400;">Different companies use PostgreSQL for other purposes.&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Apple uses PostgreSQL for the Siri voice recognition system, and Instagram uses it to store and retrieve user data.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">NASA uses it to store and retrieve data from satellite and weather monitoring systems.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Paypal uses PostgreSQL to store and retrieve financial data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Uber uses it to store and retrieve data on drivers, riders, and trips.&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Spotify uses PostgreSQL to store and retrieve data on songs, users, and playlists.</span></li>
</ul>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><strong><a id="postgresql-for-beginners"></a>Is PostgreSQL suitable for beginners?</strong></span></h3>
<p><span style="font-weight: 400;">PostgreSQL is a powerful and flexible database management system, enabling users to write with human emotion while being logical. Its syntax is clear and concise, making it easy for beginners to understand the technical terms easily.</span></p>
<p><span style="font-weight: 400;">Furthermore, PostgreSQL allows you to tailor your queries and results to fit the specific needs of any age group or reading level. Its ability to limit words and phrases makes it ideal for communicating complex ideas to younger audiences. With its comprehensive range of features and capabilities, PostgreSQL can be used for all sorts of projects, from small tasks to large-scale enterprise solutions.&nbsp;</span></p>
<p><span style="font-weight: 400;">PostgreSQL is a good option for beginners who want to learn about relational databases and <span style="color: #236fa1;"><a style="color: #236fa1;" title="SQL Tutorial" href="https://tekslate.com/sql-tutorials" target="_blank">SQL</a></span>. It is a powerful and feature-rich database management system used globally by almost all industries. It has an enormous community of developers and users who can help you learn from basic to advance effortlessly.</span></p>
<p><span style="font-weight: 400;">Another significant advantage of PostgreSQL is that it is open-source and free to use, modify, and distribute. It also makes it a cost-effective option for learning and experimenting with databases, as the cost is a significant concern for beginners. PostgreSQL also has a simple and intuitive SQL interface, which can make it easy to learn how to work with relational databases.</span></p>
<p>&nbsp;</p>
<p><span style="font-size: 20px; color: #e67e23;"><strong><a id="conclusion"></a>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">PostgreSQL is widely considered one of the world's most influential and robust open-source databases. Its broad range of functionalities and features increase its usability in almost every industry. Since it has a large and active community of developers and users who continue to contribute to its development and provide support, it is rising extensively. Approx. 6099 companies across the world are using PostgreSQL as their database management system. The number might seem countable. However, it includes the world's top companies successfully earning millions. If you are planning to switch to PostgreSQL, you are correct.</span></p>25:T8015,<p><span style="font-weight: 400;">Saviynt is a leading provider of identity and access management solutions that help organizations secure and manage access to sensitive data and applications.&nbsp;</span><span style="font-weight: 400;">Therefore, there is a massive need for people with a strong foundation in IAM software like Saviynt. </span><span style="font-weight: 400;">According to studies, Saviynt holds a 2.74% market share for access-cloud-security-brokers, providing many prospects for reputable businesses and specialists in this field. Regardless of size, "security" or the organization's activities' location are most of them' top concerns. Organizations have made protecting data from growing security dangers a full responsibility.</span></p>
<p><span style="font-weight: 400;">In this Saviynt interview guide, we have compiled a list of frequently asked questions about Saviynt to help you prepare for your interview. These Saviynt Interview Questions cover a wide range of topics including Saviynt's product offerings, industry trends, and implementation best practices. Whether you are a seasoned professional or just starting out, this guide will provide you with the information you need to ace your Saviynt interview.&nbsp;</span></p>
<p><span style="font-weight: 400;">These are the three levels into which we've categorized the Saviynt Interview Questions:</span></p>
<ul>
<li><a href="#freshers"><span style="font-size: 16px; color: #236fa1;"><strong>Saviynt Interview Questions for Freshers</strong></span></a></li>
<li><a href="#experienced"><span style="font-size: 16px; color: #236fa1;"><strong>Saviynt Interview Questions for Experienced</strong></span></a></li>
<li><a href="#certification"><span style="font-size: 16px; color: #236fa1;"><strong>Saviynt Certification Questions</strong></span></a></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4573%;">
<h3><strong><span style="color: #000000;">Most frequently asked Saviynt Interview Questions</span></strong></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#saviynt-technology-workflow">How does Saviynt technology work?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#iam">What exactly is IAM?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#saviynt-employed-contexts">In what contexts is Saviynt employed?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#entitlement-and-its-use">What is an entitlement, and how are they used?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#saviynt-identity-bot-workflow">How does Saviynt Identity Bot work?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#segregation-of-duties">What does Saviynt mean by segregation of duties?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#iga-in-saviynt">What does IGA mean in Saviynt?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#purpose-of-saviynt-iga">What is the purpose of the Saviynt IGA?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#saviynt-modules">What modules does Saviynt contain?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#saviynt-cloud-pam-workflow">How does Saviynt's Cloud PAM work?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong>Most Common Saviynt FAQs:</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) How can I get ready for my Saviynt interview?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Examine all the technologies included in your resume by carefully reading it. If you plan to attend a technical interview with Saviynt, thoroughly prepare at least two technologies or languages. Cloud Security, SQL, Java, Identity Management, and <span style="color: #236fa1;"><a style="color: #236fa1;" title="Unix Tutorial" href="https://tekslate.com/unixlinux" target="_blank">UNIX</a></span> are the most typical subjects and abilities that Saviynt interviewers look for.</span></p>
<p><span style="font-size: 18px; color: #e67e23;"><strong>Q2) The Saviynt interview consists of how many rounds?</strong></span></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong>3&ndash;4 rounds typically make up the Saviynt interview procedure. The Resume Shortlist, Technical, and One-on-One Rounds are the Saviynt interview process's most frequent stages.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="saviynt-technology-workflow"></a>Q3) How does Saviynt technology work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Enterprises can protect apps, data, and infrastructure with Saviynt's unified platform for the cloud (Office 365, AWS, Salesforce, and Workday) (SAP, <a href="https://tekslate.com/oracle-ebs-training" target="_blank">Oracle EBS</a>). Saviynt is leading the development of IGA 2.0 by fusing sophisticated risk analytics and intelligence with fine-grained privilege control.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) What were the most common inquiries during the Saviynt interview?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Top inquiries during the Saviynt interview included:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">IAM principles, Roles, rights, obligations, and the many methods for importing user data.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">How were you made aware of Saviynt?</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">How do you handle team disputes?</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 38.4977px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 38.4977px;">
<td style="width: 98.4573%; text-align: center; height: 38.4977px;"><em>Want to acquire industry skills and gain complete knowledge of Saviynt? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Saviynt Training" href="https://tekslate.com/saviynt-training" target="_blank">Saviynt Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) SailPoint or Saviynt&mdash;which is superior?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>When compared, they each serve different purposes. <span style="color: #236fa1;"><a style="color: #236fa1;" title="SailPoint Tutorial" href="https://tekslate.com/sailpoint-tutorials" target="_blank">SailPoint</a></span> is the only option if you want a more extensive user base and sophisticated features. Additionally, you may choose Saviynt if you want superior features but only care a little about the community.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q6) Saviynt is what sort of business?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Saviynt, Inc creates security software. The company provides administration, identity governance, and cloud security solutions. Enterprises can protect apps, data, and infrastructure on a single platform for cloud and enterprise thanks to Saviynt.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q7) How many people work for Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In all, Saviynt employed about 850 people worldwide.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q8) Saviynt developer: what is it?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>IAM solutions and systems installation, integration, configuration, and deployment are the duties of the Saviynt developers for this domain.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q9) Saviynt, is it cloud-based?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Your digital transformation activities benefit from identity management's added security and operational effectiveness. Industry-leading cloud solutions from Saviynt precisely regulate each Identity.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10) What exactly is Saviynt's security manager?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A complete compliance-as-a-service platform from Saviynt includes features for Identity Governance and Management, Application Risk and Governance, Cloud Security, and Cloud PAM.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="freshers"></a>Saviynt Interview Questions for Freshers:</strong></span></h2>
<p><span style="font-weight: 400;">If you're new to this subject, beginners often ask this question. You'll feel more assured if you practice these questions in advance of the interview.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q11) How can I define Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Saviynt, a platform for cloud-based authentication and authorization control, might aid contemporary businesses in realizing their cloud objectives. It offers the most cutting-edge method for dealing with compliance &amp; security issues. Saviynt provides cloud security, seamless user experience, identity governance or IGA, and granular application access. It also defends whole business ecosystems.</span></p>
<p><span style="font-weight: 400;">Saviynt is trusted by the biggest businesses in the world to speed up digital transformation, enable remote workforces, and maintain compliance. Most businesses rely on Saviynt to uphold adherence requirements, accelerate digital transformation, and approve the crew.</span></p>
<p><span style="font-weight: 400;">Saviynt provides cloud, enterprise, and data security software on a single platform. Saviynt stands out from its competitors by reducing security threats, managing intelligence, and analyzing risk.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong><a id="iam"></a>Q12) What exactly is IAM?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Users and devices can access applications of platforms and in the cloud only under the supervision of IAM (Identity and Access Management). Employees, stakeholders, clients, and others are referred as users, and devices that support IAM and also PCs, tablets, routers, cell phones, sensors, etc.</span></p>
<p><span style="font-weight: 400;">Each user is given a distinct digital identity &amp; password via the IAM tool. Their identities must be protected in order to stop unauthorized access to organizational information.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q13) What&rsquo;s the danger of IAM?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The following IAM risks are faced by organizations using the revised architecture:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Operational Danger</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Security Risk in Information</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Risk of Compliance</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Privacy Peril</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="saviynt-employed-contexts"></a>Q14) In what contexts is Saviynt employed?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The departments listed below utilize Saviynt.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Medical Finance Services</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Federal Government Higher Energy Education</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q15) What software programs can be integrated with Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The software programs that can be integrated with Saviynt are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Both Azure Okta and AD</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Azure, GCP, and AWS</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Workday, Salesforce</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Epic, Cerner</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/servicenow-tutorials" target="_blank"><span style="font-weight: 400;">Service Now</span></a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Oracle Box, SAP</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Office 365</span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 31.4977px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 31.4977px;">
<td style="width: 98.4573%; text-align: center; height: 31.4977px;"><em>Checkout our new blog on <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/sailpoint-vs-okta" target="_blank">Sailpoint vs Okta</a></strong></span></em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q16) What are the fundamental functions of Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Saviynt's primary functions include:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Managing many clouds</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Updating Old Machine Identities</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Vendor/Third-Party Access</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Internal Identities Constant Compliance Control</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q17) What products and operating systems do Saviynt support?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The products and operating systems that Saviynt support are:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Intelligence and Identity Governance</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Access Governance for Applications and Infrastructure</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Governance of Data Access</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">External Access Control</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q18) What&rsquo;s the rationale behind Saviynt's division of labor?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The separation of roles is the central tenet of Saviynt because it makes it easier for many users to complete their activities by implementing a service technique to mitigate the risk of internal fraud.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="entitlement-and-its-use"></a>Q19) What is an entitlement, and how are they used?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A device and application's entitlements describe its advantages across all platforms. Each profile in a database has an associated entitlement.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q20) How does Saviynt define an authoritative source?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A safe application and the only source for data accuracy is called an Authoritative Source. This document is the primary source of data verification and storage and saving device for the customer's information.</span></p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="experienced"></a>Saviynt Interview Questions for Experienced:</strong></span></h2>
<p><span style="font-size: 14px; color: #000000;">If you&rsquo;re an experienced candidate in this profession with two years or more, the interviewer may ask you some of these questions. Using these questions as a preparation tool can increase your knowledge &amp; self-assurance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q21) What is the Connected Applications?</strong><span style="font-weight: 400;">&nbsp;</span></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The correct answer is that connected applications&mdash;also known as linked apps&mdash;are programs connected to Saviynt by OOTB adapters and adhere to all connection requirements. These applications also provide ads that and Security System permits automatically.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="saviynt-identity-bot-workflow"></a>Q22) How does Saviynt Identity Bot work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Identity Bot from Saviynt is automated to speed up application onboarding, cut costs, and improve productivity. It provides for the direct attachment of incompatible programs and enables them to automate consumer access without a combination technique. As soon as possible, iBOT added features to Saviynt's IGA system to provide efficient, multi-application data processing and improved access to the administration.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q23) The security manager of Saviynt is what?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>For Cloud (Office 365, AWS, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/microsoft-azure">Azure</a></span>, Salesforce, Workday) and Enterprise applications, Saviynt enables businesses to secure operations, data, and resources in a single solution (SAP, Oracle EBS). Saviynt is a <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://saviynt.com/it-security-perspective-iga-2-0-strategy-must-haves/" target="_blank" rel="nofollow">pioneer of IGA 2.0</a></span> by integrating cutting-edge hazard analytics, information, and powdery advantage monitoring.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q24) What exactly is a reliable source?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The sole source of truth&mdash;precisely taken into account&mdash;is another name for an authoritative application. The standard application starts by looking at a particular document and is acceptable since it keeps the customers' data. The application's authoritative resource is where most customer issues are routinely handled.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="segregation-of-duties"></a>Q25) What does Saviynt mean by segregation of duties?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Requiring different people to carry out diverse duties to complete a service method is crucial for addressing the risk of internal fraud and blunders.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q26) Why is IAR used in Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Saviynt's Intelligent Access Request offers cutting-edge capabilities to locate secure and practical access to help solve this issue. This aids users in comprehending unusual or dangerous access requests. By removing the need to wait for approvals, Saviynt's cutting-edge functionality aids in staff productivity.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q27) Mention a few advantages of Saviynt's IAR.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Advantages of Saviynt's IAR:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Make a smooth request for access.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Rapid Access</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Design of a more effortless approval procedure</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Simple risk identification</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="iga-in-saviynt"></a>Q28) What does IGA mean in Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Identity of Governance Application at Saviynt makes it easier for administrators and also end users to complete access request workflows. Included are application guidelines, division of duties (SOD), and automatic IGA avoidance of additional risk breaches. Businesses use Saviynt apps to offer their partners, clients, and employees customizable methods when seeking, delivering, and overseeing application access.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="purpose-of-saviynt-iga"></a>Q29) What is the purpose of the Saviynt IGA?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>When it's necessary to provide safety &amp; security for the company's essential data, Saviynt Identity Governance and Administration (IGA) is employed. Providing proper accessibility for best customers, which saves time, boosts the company's productivity.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q30) What are the various Saviynt API calls that are available?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Saviynt has several API calls, including</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Rule-engineering &amp; APIs</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">CRUD APIs (Read, Update, Create, Delete) (CRUD)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Managing rules using APIs</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">APIs for controlling the procedure for approving access requests</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">APIs for dashboards and management analytics</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">APIs for Separating Tasks (SoD)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">APIs to administer delegations</span></li>
</ul>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="certification"></a>Saviynt Certification Questions</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="saviynt-modules"></a>Q31) What modules does Saviynt contain?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Saviynt contains several modules, including:</span></p>
<p><span style="font-weight: 400;">Reports on Identity Analytics, <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.zoho.com/vault/educational-content/what-is-password-management.html" target="_blank" rel="nofollow">Password Management</a></span>, User Administration, SOD Management &amp; Continuous Controls of Request Certification Rule / Roles / Policy Management</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q32) Please mention the model of Saviynt's multi-dimensional RISK.</strong></span></h3>
<p><strong>Ans: </strong></p>
<p><strong>Static:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Contextual access regulations</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Policies for separating duties</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Security and compliance measures</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Glossary and Classification</span></li>
</ul>
<p><strong>Dynamic:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Analysis of use</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Peer study of outliers</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Analysis of behavior</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">External role access</span></li>
</ul>
<p><strong>Inherent:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">User type</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Vulnerability/Threat intelligence</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Geolocation</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q33) Who oversees security at Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;">Answer: The information, features, and resources in the cloud (<span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/workday-hcm-tutorial" target="_blank">Workday</a></span>, Office 365, AWS, Salesforce, Azure) and corporate platforms are all under the security manager's control at Saviynt (SAP &amp; Oracle EBS). IGA 2.0 is powered by Saviynt, which automates monitoring for power advantages, knowledge, and risk analytics.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q34) What are a few attributes of Saviynt?</strong></span></h3>
<p><strong>Ans:</strong></p>
<p><strong>1) ATTESTATION Tab:</strong><span style="font-weight: 400;"> The ATTESTATION tab starts the authentication process to certify accessibility for various services.</span></p>
<p><strong>2) ADMIN Tab: </strong><span style="font-weight: 400;">The ADMIN tab manages funds, protection authorities, people, titles, password plans, tasks, specific teams, endpoints, and organizational interactions.</span></p>
<p><strong>3) ARS Tab:</strong><span style="font-weight: 400;"> When a need for personal data connection accessibility is present, the ARS tab is utilized to transfer tasks that the user has recommended. It may be used for code resets, updating certain information, and creating additional functions.</span></p>
<p><strong>4) ROLE Tab:</strong><span style="font-weight: 400;"> Role mining, entitlement discovery, and other processes are produced using the ROLE tab.</span></p>
<p><strong>5) SOD Tab:</strong><span style="font-weight: 400;"> The SOD Tab is utilized to create, publish, and manage SOD. SOD Reports, SOD Violations, Ruleset Requests, Mitigating Controls, Ruleset, Risk, and other SOD-related items are handled as part of this.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q35) What&rsquo;s mean the Identity Access Rule in Saviynt?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Identity Access Rules are a set of rules that specify certain circumstances and trigger particular actions. Identity Access rules may be enhanced or the processes modified using the Global Configuration settings.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q36) What actors take part in a campaign in Saviynt?</strong></span></h3>
<p><strong>Ans:</strong></p>
<p><strong>1) Certified:</strong><span style="font-weight: 400;"> Service account owners, user managers, role owners, entitlement owners, and certificate issuers.</span></p>
<p><strong>2) End-User:</strong><span style="font-weight: 400;"> The term "end-user" refers to customers who have access and are being assessed by a certifier.</span></p>
<p><strong>3) Delegate: </strong><span style="font-weight: 400;">A person to whom the Certifier has delegated their responsibilities.</span></p>
<p><strong>4) Campaign Owner: </strong><span style="font-weight: 400;">A member of the SAM Support group who is in charge of the campaign.</span></p>
<p><strong>5) Access Provisioning Team:</strong><span style="font-weight: 400;"> In the case of manual provisioning, the SAM role administrator and L3 support role.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q37) Please briefly describe each of the Saviynt campaigns.</strong></span></h3>
<p><strong>Ans:</strong></p>
<p><strong>1) User Manager: </strong><span style="font-weight: 400;">The user manager campaign can provide access licenses and monitor the Line Managers' acquisition of such licenses.</span></p>
<p><strong>2) Service Account:</strong><span style="font-weight: 400;"> This campaign is used when it's essential to provide the tools for Generic Account Protectors to evaluate and validate the acquisition of access to the chosen Generic Accounts. These profiles may be service accounts, depending on the criteria.</span></p>
<p><strong>3) Entitlement: </strong><span style="font-weight: 400;">The Entitlement owners can access and approve the titles through this Campaign.</span></p>
<p><strong>4) Role Owner: </strong><span style="font-weight: 400;">This campaign allows role owners to review and license the tasks.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q38) What are some of the primary responsibilities of Saviynt?</strong></span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">During the identification lifecycle, accessibility choices are made while keeping risks in mind.</span></li>
<li style="font-weight: 400;" aria-level="1">Monitoring of the solution profile may be simplified with simplicity.</li>
<li style="font-weight: 400;" aria-level="1">Giving users and administrators self-service capabilities reduces their reliance on IT processes.</li>
<li style="font-weight: 400;" aria-level="1">Saviynt offers good data exposure, administration, and control.</li>
<li style="font-weight: 400;" aria-level="1">Provisioning tasks can be automated with Identity Bot, an integrated <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/tutorials-rpa-tutorials" target="_blank">RPA</a></span> engine.</li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q39) How do orphan accounts work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The accounts that are live consumer profiles in the identity database but have no personal connections to the profile are known as orphan accounts.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="saviynt-cloud-pam-workflow"></a>Q40) How does Saviynt's Cloud PAM work?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PAM is a cloud-architected &amp; cloud-delivered solution from Saviynt that grants business-critical access to multi-cloud workloads and hybrid apps (Privileged Access Management). The PAM provides automatic multi-cloud workload recognition, which also helps reduce attack surfaces, enables complete audit capability for just-in-time (JIT), upholds compliance requirements, and establishes permanent accounts.</span></p>
<p>&nbsp;</p>
<p><span style="font-size: 20px;"><strong><span style="color: #e67e23;">Conclusion:</span></strong></span></p>
<p><span style="font-weight: 400;">After reading that, you could have developed an understanding of interview inquiries by Saviynt. Go to the interview, then confront your fear. This blog may have more quizzes in the future. You now feel more prepared to answer the most frequent Saviynt interview questions.</span></p>
<p>&nbsp;</p>
<p><span style="font-weight: 400;"><br /><br /></span></p>26:T7716,<p>PostgreSQL is a powerful, open-source relational database management system (<span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/data-distribution-rdbms" target="_blank">RDBMS</a></span>) that has been in active development for more than 30 years. It is designed to handle a wide variety of workloads and is used in a wide range of applications, from small personal projects to large, enterprise-level systems.</p>
<p>In a PostgreSQL interview, you will be asked a wide range of questions, including technical and functional. This article will cover the most common <strong>PostgreSQL interview questions</strong> that will help you in your interview preparation. Irrespective of the fact whether you are an experienced candidate or a fresher, these questions will help you demonstrate your knowledge and skills to potential employers.</p>
<p><span style="font-weight: 400;">We have divided these interview questions into 2 categories:</span></p>
<ul>
<li><a href="#for-freshers"><strong><span style="color: #236fa1;"><span style="font-size: 16px;">PostgreSQL Interview Questions for Freshers</span></span></strong></a></li>
<li><a href="#for-experienced"><strong><span style="color: #236fa1;"><span style="font-size: 16px;">PostgreSQL Interview Questions for Experienced</span></span></strong></a></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4238%;">
<h3>Most frequently asked PostgreSQL Interview Questions</h3>
<ul>
<li><span style="font-size: 14px;"><a href="#postgresql-vs-mysql"><span style="color: #236fa1;"><span style="color: #236fa1;">What is the difference between PostgreSQL and MySQL?</span></span></a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-concurrency">How does PostgreSQL handle concurrency?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-transcations">How does PostgreSQL handle transactions?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-indexes">Explain about indexes in PostgreSQL.</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-database">How do you manage and monitor a PostgreSQL database?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-memory">Can you explain how PostgreSQL uses memory?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-performance-issues">How do you handle performance issues in PostgreSQL?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-huge-database">How does PostgreSQL manage huge data sets?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#materialized-view-in-postgresql">What in PostgreSQL is a Materialized View?</a></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#postgresql-vacuum">What is the purpose of a Vacuum in PostgreSQL?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="for-freshers"></a>PostgreSQL Interview Questions for Freshers:</strong></span></h2>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q1) Name a few key elements of PostgreSQL.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The key elements of PostgreSQL :</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support for advanced data types, such as arrays, hstore, and JSON</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support for full-text search</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Concurrent transactions and robust reliability</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support for stored procedures and triggers written in various programming languages</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support for common SQL standards, as well as many advanced features such as partitioning and replication</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-vs-mysql"></a>Q2) What is the difference between PostgreSQL and MySQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>While both PostgreSQL and MySQL are popular open-source relational database&nbsp;</span><span style="font-weight: 400;">management systems, they do have some notable differences. PostgreSQL has features like built-in support to handle multiple access, and complex data types. MySQL is an easy to use and the most commonly used web based application because&nbsp; along with being a simple query language it can also handle huge amounts of data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-concurrency"></a>Q3) How does PostgreSQL handle concurrency?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL handles concurrency via Multi-Version Concurrency Control (MVCC). If a user wants to update a row, PostgreSQL creates a new version of the row and locks it without disturbing the old ones so that other users can access it. And once the new version is created, it replaces the old one and the lock will be removed. Doing this prevents conflicts and gives space for high concurrency.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) Can you explain the role of a "PostgreSQL table space"?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In PostgreSQL, a predefined set of tables and indexes are stored in an area called the table space on the computer's file system. The same concept can be found in several other database management systems. Doing this enhances performance and security because each table has its own files set that can be embedded in a plethora of file systems or storage locations.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 48.021px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 48.021px;">
<td style="width: 98.4238%; height: 48.021px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of PostgreSQL? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/postgresql-training" target="_blank">PostgreSQL Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q5) How do you monitor the performance of a PostgreSQL database?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>There are a range of built-in tools available to monitor the efficiency of a PostgreSQL database. The views "pg stat activity" and "pg stat all tables," which offer factual information on the database activity and table statistics, are examples of these tools. Using tools like pgAdmin and PgAdmin, PostgreSQL also provides a graphical user interface for more thorough monitoring. In additional to these built-in capabilities, PostgreSQL performance may very well be tracked using a number of external tools, including Nagios, Prometheus, and Grafana. These tools offer sophisticated monitoring capabilities and can be used to locate and fix performance problems.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q6) How do you backup a PostgreSQL database?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>There are several ways to backup a PostgreSQL database, but one of the most common methods is to use the &lsquo;pg_dump&rsquo; command-line utility. This utility creates a logical backup of the database in a format that can be restored using the &lsquo;pg_restore&rsquo; command. Additionally, you can use pg_basebackup to make a physical backup that is ready to use for warm or hot backup for restore in a different location.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q7) What is the purpose of the vacuum process in PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In PostgreSQL, the vacuum process is used to reclaim space from deleted or updated rows. When a row is deleted or updated, the old version of the row is not immediately removed from the table but is instead marked as "dead" or "dead tuples". The vacuum process scans the table for these dead tuples and reclaims the space they occupy. This is important for maintaining the performance and integrity of the database.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-transcations"></a>Q8) How does PostgreSQL handle transactions?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>For the purpose of controlling database changes, PostgreSQL employs the idea of a "transaction." A series of one or more SQL statements that are executed as a single piece of work is known as a transaction. Since every transaction is atomic, it can either be fully committed or totally rolled back. By doing this, even in the event of a mistake or system failure, the database is guaranteed to remain in a consistent state.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-indexes"></a>Q9) Explain about indexes in PostgreSQL.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A database component known as an index in PostgreSQL offers a quick and effective way to search for certain rows in a table or view. Indexes function by making a backup of the indexed information in a particular data structure that facilitates quick lookups, such as a B-tree, Hash, Bitmap, or GIN.</span></p>
<p><strong><em>1) B-tree:</em></strong><span style="font-weight: 400;"> The default index type in PostgreSQL is B-tree which is well suited for most use cases. B-tree indexes are ordered, so they are well suited for range queries, and they also support efficient lookups for equality operations.</span></p>
<p><strong><em>2) Hash:</em></strong><span style="font-weight: 400;"> Hash indexes are good for exact-match queries, but they are less efficient for range queries. They are designed for small tables and for queries that always return a small number of rows.</span></p>
<p><strong><em>3) Bitmap:</em></strong><span style="font-weight: 400;"> For data warehousing activities involving sophisticated queries with several conditions, bitmap indexes are an invaluable tool. A set of rows can be represented as a bitmap using bitmap indexing, where each bit in the bitmap represents a row in the database and is set if the relevant row satisfies the query criteria. Due to the effective processing of complicated queries involving numerous conditions, data warehousing task performance can be greatly enhanced.</span></p>
<p><strong><em>4) GIN:</em></strong><span style="font-weight: 400;"> Full-text searches and data types like arrays and hstore both employ GIN (Generalized Inverted Index) indexes as their primary index type. They are especially helpful for difficult searches involving a lot of text or data. Although GIN indexes can provide quick searching, their complexity may make them slower to insert and update. Nevertheless, they can be a vital part of many applications that call for sophisticated search capabilities as they are a potent tool for enhancing the performance of searches in enormous datasets.</span></p>
<p><span style="font-weight: 400;">It's critical to remember that building indexes has a price. Inserting, updating, or deleting data takes longer the more indexes you have. Furthermore, having an excessive number of indices can actually harm overall performance. Therefore, in order to select the appropriate indexes to boost performance, it is essential to have a solid understanding of the queries and usage patterns of the database. It is feasible to strike a compromise between enhanced performance and effective data management by carefully choosing and managing indexes depending on unique usage patterns and query needs.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q10) How</strong><span style="font-weight: 400;"> </span><strong>does PostgreSQL manage data integrity and constraint enforcement?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL supports a wide range of data integrity constraints, including primary keys, foreign keys, unique constraints, check constraints, and exclusion constraints. These constraints are enforced by the database system to ensure that the data in the cables remains consistent and accurate. Additionally, PostgreSQL provides triggers and rules that allows developers to create custom constraints and actions to be taken when data is inserted, updated, or deleted.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-database"></a>Q11) How do you manage and monitor a PostgreSQL database?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL offers built-in tools like pgAdmin and pg_stat_activity, and third-party monitoring tools like pgwatch2 and pgBadger to manage and monitor the database's performance and configuration.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q12) How does PostgreSQL handle large data and high traffic?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL has several features that make it well-suited for handling large data and high traffic. It supports horizontal scaling through the use of read replicas and connection pooling which allows multiple connections to be handled by a single backend process. Additionally, it also has advanced memory management, which allows it to efficiently handle large amounts of data in memory. And it also can handle read-only large tables using materialized views, partitioning which can improve the query performance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q13) How does PostgreSQL handle data replication?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL has several replication options, including streaming replication, logical replication, and clustered solutions like pgpool-II and repmgr. Streaming replication is the most common method, using Write-Ahead Log to replicate changes in real-time, minimizing data loss during primary server failure. Logical replication allows for replication of specific tables or rows for more targeted replication.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q14) How do you manage and monitor a PostgreSQL server?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL offers built-in tools like pgAdmin and psql to manage and monitor servers, and third-party tools like Nagios, Munin, and Zabbix can be integrated for a more comprehensive view of server performance and resource usage.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-memory"></a>Q15) Can you explain how PostgreSQL uses memory?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL employs memory in a number of ways to boost performance. While data read from disc is cached by the file system cache, data and indexes are stored in shared buffers. Additionally, sorting, hashing, and other processes use memory, and a memory management system automatically frees up any memory that is not being used.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q16) Can you explain how PostgreSQL manages disk space?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>PostgreSQL allocates and deallocates space in blocks for tables and indexes. When a block becomes full, a new block is allocated. As rows are updated or deleted, blocks may become empty and are returned to the operating system's file system to be reused. The autovacuum process runs periodically to reclaim space that is </span></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="for-experienced"></a>PostgreSQL Interview Questions Experienced:</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-performance-issues"></a>Q17) How do you handle performance issues in PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;">Poor database design, sluggish queries, or lack of hardware resources can all lead to PostgreSQL performance problems. Database performance can be examined to find slow queries, missing indexes, and other bottlenecks using programmes like pgAdmin, explain analyse, and pg stat statements. Performance needs to be watched carefully over time in order to spot problems early and fix them.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q18) How do you handle high availability in PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;">PostgreSQL supports several high availability solutions, such as streaming replication, logical replication, and clustered solutions like pgpool-II, repmgr, and others. The most common way of achieving high availability is through the use of streaming replication, where one server, called the primary, is used to accept writes and the other servers, called replicas, receive a copy of the data in real-time. In case of a primary failure, one of the replicas can be promoted to primary and continue to accept writes.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q19) How does PostgreSQL manage security?</strong></span></h3>
<p><span style="font-weight: 400;">Data security features provided by PostgreSQL include authentication, authorization, and encryption. Authorization limits access to data and operations, while encryption protects sensitive data. Authentication confirms user identification and role. Additionally, PostgreSQL supports third-party authentication protocols including LDAP, Kerberos, and PAM.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-huge-database"></a>Q20) How does PostgreSQL manage huge data sets?</strong></span></h3>
<p><span style="font-weight: 400;">PostgreSQL uses parallel processing, sharding, and partitioning to manage huge datasets. While sharding distributes data across different servers to lessen server load, partitioning breaks a table into smaller portions based on certain criteria. Multiple queries are processed concurrently in parallel to shorten the overall execution time. The efficiency of queries on huge datasets can be improved by utilising additional techniques like caching and indexing.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 34.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 34.5047px;">
<td style="width: 98.4573%; height: 34.5047px; text-align: center;"><em>Checkout our new blog on <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/postgresql-tutorial" target="_blank">PostgreSQL Tutorial</a></strong></span></em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q21) How does PostgreSQL manage data migration?</strong></span></h3>
<p><span style="font-weight: 400;">PostgreSQL supports data migration through tools like pg_dump, pg_restore, and logical replication. Third-party tools like liquibase and Flyway can also be used for data migration.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q22) Can you explain the concept of indexes and explain when you would use a clustered index?</strong></span></h3>
<p><span style="font-weight: 400;">You can easily locate particular rows in a table or view using PostgreSQL indexes. They make a copy of the indexed data and store it in a particular data structure, such as a B-tree or hash. An index called a clustered index is one that organises the rows according to how they are physically stored; it is helpful for frequent queries that require ordering or range-scanning depending on that column.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q23) Explain the differences between subquery and a join?</strong></span></h3>
<p><span style="font-weight: 400;">A subquery is a query that is nested inside another query, whereas a join is a method used to combine data from two or more tables in a database. A subquery can be used in different clauses like WHERE, FROM and HAVING clause, but join is only used in FROM clause.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q24) How would you go about finding the duplicate rows in a table?</strong></span></h3>
<p><span style="font-weight: 400;">Using a GROUP BY clause and a HAVING clause in a query, you may look for duplicate rows in a table. This gives you the option to group rows by a particular column and then filter the results to only display those groups that have multiple rows, which signify duplicate rows.</span></p>
<pre class="language-markup"><code>SELECT column1, column2, . . . , count(*)

FROM mytable

GROUP BY column1, column2, . . .

HAVING count(*)&gt;1;</code></pre>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q25) How do you manage multiple users accessing the database at once?<br /></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong></span><span style="font-weight: 400;"><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/What-is-MVCC-How-does-Multiversion-Concurrencty-Control-work" target="_blank" rel="nofollow">Multi-Version Concurrency Control</a></span> (MVCC) is a technique used by PostgreSQL to control concurrent access to the database. Each transaction may operate with a consistent view of the data thanks to MVCC, which makes sure that each transaction sees a snapshot of the data as it was at the time of the transaction. Conflicts that may arise from concurrent access are automatically handled by the database.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="materialized-view-in-postgresql"></a>Q26) What in PostgreSQL is a Materialized View?<br /></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>When using PostgreSQL, a materialised view is a database object that keeps the output of a SELECT statement in a physical table. As a result, data can be queried more quickly because fewer computations are required each time a view is requested. A sort of "caching" mechanism, it entails pre-calculating some pricey queries and storing the results for later use. It works well for applications involving data warehouses or huge data aggregation.<br /></span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q27) What distinctions can be drawn between temporary tables and table variables?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>In PostgreSQL, table variables are utilized to keep records within functions and stored procedures, while temporary tables are used to store the outcomes of a query that is only utilized for the duration of a single session. Temporary tables are created using the "CREATE TEMPORARY TABLE" statement and are only visible to the current session, while table variables are created using the "DECLARE" statement and are only visible within the function or stored procedure in which they are defined.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q28) How do you implement full-text search in PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>PostgreSQL supports full-text search using &ldquo;tsvector&rdquo; and &ldquo;tsquery&rdquo; data types and GIN, GIST, and SP-GiST index types. To implement full-text search, create a &ldquo;tsvector&rdquo; column, a trigger function to update it, and an index on the &ldquo;tsvector&rdquo; column. Perform the search using the "@@" operator.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="postgresql-vacuum"></a>Q29) What is the purpose of a Vacuum in PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>A vacuum in PostgreSQL is a process that reclaims space from dead rows and keeps the database running efficiently. PostgreSQL uses a technique called MVCC to handle concurrent access to the database. When a row is deleted or updated in a table, it is not immediately removed from the table, but is instead marked as "dead" and left in place. A vacuum process will then run and reclaim the space used by these dead rows. This is done to prevent the table from becoming too fragmented and slowing down the query performance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q30) How do you implement database replication in PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>PostgreSQL supports several types of replication such as synchronous, asynchronous and logical replication.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Synchronous replication ensures that all the changes made on the master are immediately propagated to the standby node.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Asynchronous replication ensures that the changes made on the master are propagated to the standby node as soon as possible.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Logical replication is a feature that allows you to replicate a specific table, a set of tables or even the whole database.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It can be done by using pg_basebackup and streaming replication, by configuring the primary server and the replication servers, or by using logical replication with the pg_logical extension.</span></li>
</ul>
<p>&nbsp;</p>
<h3><span style="color: #236fa1; font-size: 24px;"><strong>Most Common PostgreSQL FAQ's:</strong></span></h3>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) What is PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>Known for its robust features and scalability, PostgreSQL is an open-source relational database management system (RDBMS). Large-scale web applications, corporate intelligence, and data warehousing are just a few examples of high-demand applications where it is frequently employed.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q2) What are some advantages of using PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>PostgreSQL offers a number of advantages, including:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support for advanced data types and indexing methods</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Robust concurrency control</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Support for stored procedures, triggers and views</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">High performance and scalability</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">High availability and disaster recovery</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Large and active community, which makes it a great choice for various use cases.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q3) Can I use PostgreSQL in a production environment?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>Indeed, PostgreSQL is a solid database management system that is appropriate for usage in a real-world setting. Applications that are important to their operations rely on PostgreSQL in many sizable businesses and organisations.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) What distinguishes PostgreSQL from MySQL in particular?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>Both PostgreSQL and MySQL are popular open-source relational databases, but they have some key differences. PostgreSQL is known for its advanced features such as more robust concurrency control, support for more data types and enhanced indexing, support for stored procedures and triggers. MySQL is known for its high performance and is widely used in web applications.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) What are the types of indexes supported in PostgreSQL?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong>PostgreSQL supports several types of indexes, including B-Tree, Hash, GiST, SP-GiST and GIN indexes. Each index type is optimized for different types of queries and data distribution. For example, B-Tree indexes are suitable for equality and range queries, while GIN indexes are optimized for full-text search.</span></p>
<p>&nbsp;</p>
<p><span style="color: #e67e23; font-size: 18px;"><strong>Conclusion:</strong></span></p>
<p><span style="font-weight: 400;">These PostgreSQL interview questions and answers can be used as a starting point to understand PostgreSQL&rsquo;s concepts and features, because it covers a diverse range of topics such as performance optimization, security, and replication, indexing, concurrency and the notable differences between PostgreSQL and the other databases.&nbsp;&nbsp;</span></p>
<p>&nbsp;</p>27:T5bfd,<p><span style="font-weight: 400;">Cypress is a front-end testing tool for the current web that is JavaScript-based. Its major goal is to handle all issues that a developer or Quality Assurance engineer encounters when testing an app. One of its best features is that it is a developer-friendly tool that employs a unique DOM modification technique.</span></p>
<p><span style="font-weight: 400;">The Set is divided into 3 parts</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#basic">Basic Cypress Interview Questions</a></strong></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#experienced">Cypress Interview Questions for Experienced</a></strong></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#automation">Cypress Automation Interview Questions</a></strong></span></li>
</ul>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4238%;">
<h3><span style="color: #000000;">Most frequently asked Cypress Interview Questions</span></h3>
<ul>
<li><a href="#cypress-limitations"><span style="color: #236fa1;">What are Cypress's limitations?</span></a></li>
<li><a href="#cypress-limitations"><span style="color: #236fa1;">Is Cypress a BDD or TDD system?</span></a></li>
<li><a href="#is-it-possible-to-utilize-bdd-in-cypress"><span style="color: #236fa1;">Is it possible to utilize BDD in Cypress?</span></a></li>
<li><a href="#can-cypress-support-many-tabs"><span style="color: #236fa1;">Can cypress support many tabs?</span></a></li>
<li><a href="#cypress-setup"><span style="color: #236fa1;">How will you set up cypress?</span></a></li>
<li><a href="#browsers-that-cypress-supports"><span style="color: #236fa1;">Please list some of the browsers that cypress supports.</span></a></li>
<li><a href="#dom-elements-interaction-in-cypress"><span style="color: #236fa1;">In cypress, how can you interact with DOM elements?</span></a></li>
<li><a href="#automation-in-cypress"><span style="color: #236fa1;">In cypress, what do you mean by automation?</span></a></li>
<li><a href="#which-selectors-does-cypress-support"><span style="color: #236fa1;">Which selectors does cypress support?</span></a></li>
<li><a href="#how-cypress-framework-manage-reusability"><span style="color: #236fa1;">How should the Cypress framework manage reusability?</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="basic"></a>Cypress Interview Questions and Answers:</strong></span></h2>
<h3><span style="color: #e67e23;"><strong>1) How would you describe the Cypress framework?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress's main characteristics include the following:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">This tool can run tests and perform commands in the browser, making tests faster and less flaky.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It can take screenshots of tests when each step is completed.</span></li>
</ul>
<p><span style="font-weight: 400;">In addition, cypress provides network traffic control, built-in assertions, and automatic wait.</span></p>
<h3><span style="color: #e67e23;"><strong>2) Cypress is what kind of framework?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress is a JavaScript-based end-to-end testing framework built on mocha. This feature-rich <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/functions-javascript" target="_blank">JavaScript</a></span> test framework runs on and in the browser, making asynchronous testing simple and convenient.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="cypress-limitations"></a>3) What are Cypress's limitations?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Create JavaScript tests. Cypress can only utilize Node because JavaScript is the world's most famous programming language.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">There is no multi-tab support.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">*Cypress is a slower wood.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Maintenance.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The syntax could be more complex and consistent.</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong>4) Can we use testing in conjunction with cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes. Allows you to define a set of fixed, particular data states for a collection of tests (group fixtures).</span></p>
<h3><span style="color: #e67e23;"><strong><a id="is-cypress-bdd-or-tdd-system"></a>5) Is Cypress a BDD or TDD system?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress is a JavaScript-based end-to-end testing framework built on top of mocha. This feature-rich JavaScript test framework runs on and in the browser, making asynchronous testing simple and convenient. It also pairs with any JavaScript testing framework using a BDD/TDD assertion library and a browser.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 34.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 34.0374px;">
<td style="width: 99.999%; text-align: center; height: 34.0374px;"><em>Want to acquire industry skills and gain complete knowledge of Cypress? Enroll in Instructor-Led live&nbsp;<span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Cypress Training" href="https://tekslate.com/cypress-training" target="_blank">Cypress Training</a></strong></span>&nbsp;to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><strong>6) What makes cypress quicker than Selenium?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress, as a tool, is suited for introducing developers to test automation rather than serving as a replacement for <span style="color: #236fa1;"><a style="color: #236fa1;" title="Selenium Tutorial" href="https://tekslate.com/selenium-tutorials" target="_blank">Selenium</a></span>. This is why cypress is one of the world's fastest-growing automation tools. Selenium, on the other hand, is a more general-purpose tool for a larger audience.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="is-it-possible-to-utilize-bdd-in-cypress"></a>7) Is it possible to utilize BDD in Cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A cucumber is a tool that aids and supports <span style="color: #236fa1;"><a style="color: #236fa1;" title="Behavior Driven Development (BDD)" href="https://www.techtarget.com/searchsoftwarequality/definition/Behavior-driven-development-BDD" target="_blank" rel="nofollow">Behavior Driven Development</a></span> (BDD). Cypress integrates with Cucumber to allow you to write test scenarios in BDD format. Cypress takes advantage of Cucumber's capabilities by utilizing the Cucumber-preprocessor node module.</span></p>
<h3><span style="color: #e67e23;"><strong>8) What language is spoken in cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Greek Cypriots speak Cypriot Greek as their everyday language (vernacular), while Turkish Cypriots speak Cypriot Turkish. The standard languages (Standard Modern Greek and Standard Turkish) are utilized for official purposes.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="can-cypress-support-many-tabs"></a>9) Can cypress support many tabs?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress instructions are executed within a browser. Multiple browser tabs will never be supported. Cypress cannot drive two browsers at the same time.</span></p>
<h3><span style="color: #e67e23;"><strong>10) Does cypress support XPath</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>It should be noted that cypress also supports <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/implementations-x-path-functions-selenium" target="_blank">Xpath</a></span> selectors. That, however, does not happen by accident. To put it another way, we need 'Cypress-Xpath' external plugins to help this selector.</span><strong><br /></strong></p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="experienced"></a>Cypress Interview Questions for Experienced</strong></span></h2>
<h3><span style="color: #e67e23;"><strong>1) How would you characterize the Cypress testing tool?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress is a front-end testing tool that uses Javascript. It was created with node js. The tool is useful for running tests in a browser. In this way, it can make the entire testing process more trustworthy and simpler.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="cypress-setup"></a>2) How will you set up cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To install cypress, we must first install Node. After that, we can use the command npm to install the cypress.</span></p>
<h3><span style="color: #e67e23;"><strong>3) Could you explain the Cypress architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A Node server process powers this utility. The Node process and cypress constantly synchronize, communicate, and execute tasks on each other's behalf. Not only that, but cypress also functions at the network layer, changing and reading web traffic at the same time. This allows cypress to alter everything that comes through the browser.</span></p>
<h3><span style="color: #e67e23;"><strong>4) What exactly is Cypress CLI?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress CLI is useful because it allows you to run Cypress tests from the command line. One such feature is used in the Pipelines to execute the Cypress tests. It also provides Flags Control and Options for the Cypress Test Behaviour.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="browsers-that-cypress-supports"></a>5) Please list some of the browsers that cypress supports.</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress is compatible with the following:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Electron&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Firefox&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Edge</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Chromium</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Chrome</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong>6) How can you tell the difference between Cypress and Selenium?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cypress only supports the Typescript and <span style="color: #236fa1;"><a style="color: #236fa1;" title="JavaScript Operators" href="https://tekslate.com/javascript-operators" target="_blank">JavaScript</a></span> programming languages. Selenium, on the other hand, supports all of the major programming languages, including C#, <span style="color: #236fa1;"><a style="color: #236fa1;" title="Python Tutorial" href="https://tekslate.com/tutorials-python" target="_blank">Python</a></span>, Java, Ruby, JavaScript, and others.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">While Selenium supports all major browsers, cypress only supports a handful.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The configuration in Selenium is complicated. Cypress contains ready-to-use frameworks.</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong>7) What testing frameworks are included with cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress comes with the assertion libraries Chai and Mocha. However, we are unable to use TestNG or Junit in Cypress.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="dom-elements-interaction-in-cypress"></a>8) In cypress, how can you interact with DOM elements?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In cypress, we may utilize CSS Selector to communicate with DOM components.</span></p>
<h3><span style="color: #e67e23;"><strong>9) What exactly do you mean by "hooks" in cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress hooks are commonly used to specify or define preconditions we want to perform before each test or a set of tests. After each (), after (), beforeEach (), and before are some of the accessible hooks ( ).</span></p>
<h3><span style="color: #e67e23;"><strong>10) In the Cypress framework, how will you handle reusability?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress includes the commands.js and index.js files in the Support folder by default. Index.js is executed before each test file. We can store reusable behavior in this folder, such as global override and custom commands.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="automation-in-cypress"></a>11) In cypress, what do you mean by automation?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress automation is a procedure that executes a Test Code in conjunction with the app. This test cannot be carried out in a single loop. It does, however, take place in a single browser. <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/node-js-tutorials" target="_blank">Node.js</a></span> Server is commonly employed in actions outside of the computer.</span></p>
<h3><span style="color: #e67e23;"><strong>12) What is Cypress run?&nbsp;</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress Run helps in the execution of Cypress tests in Headless Browsers. It also aids in the opening of a new browser tab. It is also useful in loading the tool at the URL Cypress, which was previously installed from the same. Cypress aids in the discovery of cypress.json. Furthermore, it keeps running tests on the webpack monitor.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="which-selectors-does-cypress-support"></a>13) Which selectors does Cypress support?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>This tool only supports CSS selectors by default. However, we can utilize third-party plugins to access the Xpath selectors.</span></p>
<h3><span style="color: #e67e23;"><strong>14) How will you launch the Cypress window and run tests?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>After we've installed the cypress, we can access the npm cypress open command. The tests can then be run by clicking on the test file name.</span></p>
<h3><span style="color: #e67e23;"><strong>15) How do I view the tool's default configuration?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Under the Cypress window Test Runner, you can see the default configuration. There, you must select Settings &amp; Configurations.</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 50.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 50.5047px;">
<td style="width: 98.3844%; text-align: center; height: 50.5047px;"><em>Also, Checkout our new blog on <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/cypress-tutorial" target="_blank">Cypress Tutorial</a></strong></span></em></td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><strong><a id="automation"></a>Cypress </strong></span><span style="color: #236fa1; font-size: 24px;"><strong>Automation </strong></span><span style="color: #236fa1; font-size: 24px;"><strong>Interview Questions</strong></span></h2>
<h3><span style="color: #e67e23;"><strong>1) Is XPath support available in cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress does not support XPath by default. However, with the Cypress-Xpath plugin, we can utilize XPath to interact with all DOM components. We can use npm to install the plugin.</span></p>
<h3><span style="color: #e67e23;"><strong><a id="how-cypress-framework-manage-reusability"></a>2) How should the Cypress framework manage reusability?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress includes index.js and commands.js by default in the Support folder. Index.js is executed before each test file. We can store reusable behavior in this folder, such as custom commands and global overrides.</span></p>
<h3><span style="color: #e67e23;"><strong>3) What are the disadvantages of the Cypress testing software?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Only JavaScript is supported.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">There is no support for multiple tabs.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Iframes are not permitted.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Only Web Testing is supported.</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong>4) How can we dynamically update the baseUrl in cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Using the CLI Command, we can alter the baseUrl in cypress dynamically.</span></p>
<h3><span style="color: #e67e23;"><strong>5) Is mocha used by cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress has expanded mocha and used its bdd syntax for unit and integration testing.</span></p>
<h3><span style="color: #e67e23;"><strong>6) How do I set up cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>If we wish to install cypress, we must first install Node. Once Node is installed, we can Install cypress with the command npm.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 24.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 24.0374px;">
<td style="width: 98.4238%; text-align: center; height: 24.0374px;"><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Also, Check out our blog to learn about Salesforce Automation System!&quot;}" data-sheets-userformat="{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}"><em>Also, Check out our blog on</em> </span><span style="color: #236fa1;"><em><strong><a style="color: #236fa1;" title="Cypress Alternatives" href="https://tekslate.com/cypress-alternatives" target="_blank">Cypress Alternatives</a></strong></em></span></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><strong>7) In cypress, how do I press the button?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To click an element on cypress, use the.click() function. The element function should be connected with the click function. That is, we must first obtain the desired element before clicking.</span></p>
<h3><span style="color: #e67e23;"><strong>8) In cypress, how do I make suites?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>We can construct a describe() block. The described block serves as a suite, and each test can be built as a separate it() block within it. Describe() functions similarly to a suite in this context.</span></p>
<h3><span style="color: #e67e23;"><strong>9) Why should I write my tests in the integration folder when I can write them in other folders?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In cypress, the default tests folder is integration. Therefore when we run the tests, it will look in the integration folder for all test files.</span></p>
<p><span style="font-weight: 400;">However, you can construct the tests in a different location; in that case, you must alter the configuration and specify where your integration folder is located using the "integrationFolder" option.</span></p>
<h3><span style="color: #e67e23;"><strong>10) Which selectors will be supported by cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>By default, cypress only supports CSS selectors. To support Xpath selectors, we can use a third-party plugin.</span></p>
<h3><span style="color: #e67e23;"><strong>11) What exactly is an environment variable in cypress?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The Environment Variables are variables whose values are determined at the operating system level, independent of the application or framework.</span></p>
<h3><span style="color: #e67e23;"><strong>12) What are Cypress Preserve Cookies?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>By default, cypress clears the cookies after each test. To avoid removing cookies, use cypress's preserve cookies option.</span></p>
<h3><span style="color: #e67e23;"><strong>13) What precisely are Cypress custom commands?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress has a collection of default commands such as cy. Visit, cy. Reload, and so on. In cypress, we can also create our custom commands.</span></p>
<h3><span style="color: #e67e23;"><strong>14) What precisely is Shadow DOM?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Shadow DOM enables the addition of disguised DOM trees to standard DOM tree components &mdash; this shadow DOM tree starts with a shadow root.</span></p>
<h3><span style="color: #e67e23;"><strong>15) What is the Testing Framework that Cypress includes?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Cypress comes with the assertion libraries Mocha and Chai. However, we can't use Junit or TestNG. Such minor inquiries can also be useful in Cypress Interview Questions.</span></p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23;"><strong>Conclusion:</strong></span></h3>
<p><span style="font-weight: 400;">Cypress is an excellent tool for individuals who works to develop relevant end-to-end tests quickly. It makes debugging difficulties very simple thanks to its preview, photos, videos, and pictures. It has some flaws. There may be better solutions for some projects.</span></p>
<p>&nbsp;</p>28:T5772,<p><span style="font-weight: 400;"> New Relic is a software company based in San Francisco. It develops cloud-based software that helps website owners track their website's status and health. It has been 14 years since this company was founded. After 14 years, this company has reached a total revenue of $786.5 million as of March 2022. The company has a total of 2217 employees working it.</span></p>
<p><span style="font-weight: 400;">New Relic is a cloud-based software service known as Software As A Service (SaaS). It monitors the status and health of any application or website. It checks the traffic and its performance in the environment.</span></p>
<p><span style="font-weight: 400;">However, before we jump to New Relic interview questions, let us tell you some important facts about New Relic.</span></p>
<ol>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">New Relics was founded by Lew Cirne in 2008, who became the company's CEO.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Bill Staples joined the company as the Chief Product Officer on February 14 2020.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">In February 2013, New Relic raised $80 million from investors like Allen &amp; Company, T. Rowe Price, Benchmark Capital, etc.</span></li>
</ol>
<p><span style="font-weight: 400;">The above key points clearly state the demand for New Relic professionals. We are confident that our New Relic interview questions can assist you in cracking the interview and bagging your dream job.</span></p>
<p><span style="font-weight: 400;">We have classified <strong>New Relic interview Questions</strong>&nbsp;into three parts, namely</span></p>
<ul>
<li><a href="#basic"><span style="color: #236fa1;"><strong>Basic</strong></span></a></li>
<li><a href="#freshers"><span style="color: #236fa1;"><strong>For Freshers</strong></span></a></li>
<li><a href="#experienced"><span style="color: #236fa1;"><strong>For Experienced</strong></span></a></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<h3 style="text-align: center;"><span style="color: #000000; font-size: 18px;">Most Frequently asked New Relic Interview Questions</span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<ul>
<li><a href="#how-new-relic-different-from-splunk"><span style="color: #236fa1;">How is New Relic different from other software such as Splunk?</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#url-in-runbook">What do you mean by URL in Runbook?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#data-collection-in-new-relic">What is the process of data collection in New Relic?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#function-of-new-relic">What is the function of New Relic?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#is-new-relic-a-siem">Is New Relic a SIEM?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#who-is-owner-of-new-relic">Who is the owner of New Relic?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sla-in-new-relic">What is the SLA in New Relic?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#new-relic-language">What is the language used by New Relic?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#relic-one">What is relic one?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="basic"></a>Basic New Relic Interview Questions and Answers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="how-new-relic-different-from-splunk"></a>Q1) How is New Relic different from other software such as Splunk?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic is a tool which helps to monitor and observe the performance and traffic of a website or any application. On the other hand, software like Splunk helps manage the data and create logs of events and other data.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q2) What is the infrastructure of New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic gives the client complete details of the hosting environment and configuration of a website. If there is any change in those configurations, then there can be alerts to permit the change from the client.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q3) Describe New Relic's APM?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The New Relic's APM allows monitoring of the performance statistics of various websites and applications. We can also sync the important and relevant data such as alerts, logs and so on to the New Relic mobile app to monitor those data from the app itself.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 39.0374px;">
<td style="width: 98.4238%; height: 39.0374px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Splunk? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Splunk Training" href="https://tekslate.com/splunk-training" target="_blank">"Splunk Training"</a></strong></span>&nbsp;to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;">Q4) What is the process to set alerts in New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>On the one.newrelic.com website, click on Alerts &amp; AI and then click on policies. Select "New Alert Policy" from the policy index page and give it a meaningful name of a maximum of 64 characters. Select the incident you want notified about and click "Create".</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q5) What is the use of Runbook in New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Runbook in New Relic allows the user to recover from any unexpected crashes or failures of the application or website.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="url-in-runbook"></a>Q6) What do you mean by URL in Runbook?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>URL of your runbook allows you to link to the information or the procedure you need to undergo in case the application failure exceeds its critical threshold.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q7) How do you create a new dashboard in New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You need to click the "Create a new dashboard" button from the top-right corner of the dashboards section, and you will get a relic dashboard ready for you.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q8) What are the steps to disable the New Relic notifications?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go to "Alerts &amp; AI" from one.newrelic.com, select "Alert Policies", and select a policy. Then from the "Alert Conditions" list, select a condition whose notification you do not need and toggle it off.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="data-collection-in-new-relic"></a>Q9) What is the process of data collection in New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic APM stores data from various applications and websites and stores it within the enterprise. The users can have access to the data in a dashboard interface view.</span></p>
<h2><span style="color: #236fa1;"><strong><a id="freshers"></a>New Relic Interview Questions and Answers for Freshers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;">Q10) What is New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic is a software that manages and analyses any website or application's performance and traffic data and allows the client to see it in a dashboard interface with the statistical charts of performance and traffic. Monitoring is critical to your application's performance. The New Relic platform provides developers and operations with full-stack visibility through integrated alarms and dashboards, providing insight into everything from the digital customer experience to the apps and dynamic infrastructure. It integrates with your favourite programming languages, databases, and web frameworks&mdash;so you can discover what's happening at the source of your information, whether it's people or things.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="function-of-new-relic"></a>Q11) What is the function of New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<ul>
<li><span style="font-weight: 400;">It can import data from different APIs, Agents, etc., and access it from a single user interface.</span></li>
<li><span style="font-weight: 400;">It can also build chats and analyze the data of a website.</span></li>
<li><span style="font-weight: 400;">If there is any threat or a breach on the website, New Relic also notifies about it in that instant.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;">Q12) What are the advantages of New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The website owners can monitor the status of their website from the comfort of their homes and their systems. They can manage all the data, from any errors from the customer's side to any degradation in the application's performance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="is-new-relic-a-siem"></a>Q13) Is New Relic a SIEM?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>SIEM is a type of software that gives back-end engineers information regarding the health and state of a website. On the other hand, New Relic is a software allowing users to be their SIEM. All the data analyzed and collected by New Relic is directly monitored by the website owners from any device and location.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q14) Which category of companies uses New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The target companies of New Relic are the recent start-ups and firms with a small revenue of between $1 million to $10 million and a limited number of resources and employees ranging between 10 to 50.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q15) What is the procedure to copy a dashboard?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>One can copy a dashboard by cloning it. From the "Dashboards Menu", you can search for the dashboard you are looking for and select the "Clone Dashboard" option in that specific dashboard. Your dashboard will be cloned.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q16) What do you mean by FACET?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>FACET linking has been a feature which is in demand ever since its release. This feature allows the user to increase the interactivity of their dashboard and improves the filtering process experience.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q17) Where does New Relic store its data?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic is a self-hosted software. It stores its data in its server central, Chicago and another IBM-hosted data centre in Frankfurt. It also stores some of its data in cloud storage through Amazon <a href="https://tekslate.com/aws-tutorials" target="_blank">AWS</a>.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="who-is-owner-of-new-relic"></a>Q18) Who is the owner of New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic is founded and owned by its current executive chairman, Lew Cirne, in 2008.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q19) Is New Relic a public software?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The company announced on December 12, 2014, that New Relic was becoming a public software.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q20) What was the change in the New Relics pricing model?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>In July 2020, New Relic announced that to lower the barrier in data collection, its pricing model will change to become a per-user system.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 41.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 41.0374px;">
<td style="width: 98.4238%; text-align: center; height: 41.0374px;">Related Article: <span style="color: #236fa1;"><a style="color: #236fa1;" title="Splunk Commands" href="https://tekslate.com/splunk-commands" target="_blank"><em><strong>List of Splunk Commands</strong></em></a></span></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;">Q21) What are the analytics of New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic is a company that manages billions of metrics among millions of applications its customers and delivers the data to more than 5 lakh users and 12 thousand business accounts</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q22) What is a key transaction in New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The APM key transaction feature enables you to create and view key transactions in your APM account. You can use this feature in your New Relic account to make it easier to find the transactions you want to examine or resolve. By grouping transactions into sets, you can find them quickly, no matter where they are in your account. You may also need to set thresholds on key transactions to measure alert performance.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="sla-in-new-relic"></a>Q23) What is the SLA in New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You will better understand application performance thanks to the SLA reports, which indicate application downtime and trends over time. New Relic will not provide service level agreement (SLA) reports for your application if it solely creates non-web transactions. To create a description of all transactions, add metrics for web and non-web from the drop-down menus on the Application Usage page, then select Recorder from the Metric menu.</span></p>
<h2><span style="color: #236fa1;"><strong><a id="experienced"></a>New Relic Interview Questions and Answers for Experienced</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 18px;">Q24) Which of the following is not one of the components of New Relic?</span></h3>
<p><strong>APM</strong></p>
<p><strong>Infrastructure</strong></p>
<p><strong>Mobile</strong></p>
<p><strong>Datalog</strong></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong>APM</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q25) Which is not a type of transaction in New Relic?</span></h3>
<p><strong>Web</strong></p>
<p><strong>Non-web</strong></p>
<p><strong>Node</strong></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Node</span></p>
<p><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q26) What is the correct configuration of the file name of the New Relic Agent?</span></strong></span></p>
<p><strong>newrelic.yml</strong></p>
<p><strong>newrelic.conf</strong></p>
<p><strong>newrelic.prop</strong></p>
<p><strong>newrelic.json</strong></p>
<p><span style="font-weight: 400;"><strong>Ans: </strong>newrelic.yml</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="new-relic-language"></a>Q27) What is the language used by New Relic?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The core language used by New Relic in its development and management is NRQL.</span></p>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q28) What is the code used to ignore persistent SignalR connections in New Relic?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<div><code><strong>&lt;!-- Optional for basic traces. --&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;tracerFactory name="NewRelicAgentCoreTracer "&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;match assemblyName="AspNetSignalR.Core"</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>className="AspNet.SignalR.PersistentConnection"&gt;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;exactMethodMatcher methodName="Process"/&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;/match&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;/tracerFactory&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;/instrumentation&gt;</strong></code></div>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q29) What is the code to set up New Relic for the Django development server?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span></p>
<div><code><strong>&lt;!-- wp:paragraph --&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;p&gt;import&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>newrelic.agent&lt;br&gt;newrelic.agent.initialize('/home/username/path/to/myproject/newrelic-1.9.0.21/newrelic.ini')&lt;/p&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;!-- /wp:paragraph --&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code><strong>&lt;!-- wp:paragraph --&gt;&nbsp;</strong></code></div>
<div>&nbsp;</div>
<div><code><strong>&lt;p&gt;import os&lt;br&gt;os.environ.setdefault("DJANGO_SETTINGS_MODULE", "myproject.settings")&lt;br&gt;from Django.core.wsgi import get_wsgi_application&lt;br&gt;application = get_wsgi_application()&lt;br&gt;application = newrelic.agent.wsgi_application()(application)&lt;/p&gt; &lt;!-- /wp:paragraph --&gt;</strong></code></div>
<h3><span style="color: #e67e23; font-size: 18px;">Q30) How can someone extract data from New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>By clicking the "Export as CSV" link in the upper right corner of the page titled "All Transactions table" inside the overall app, we can export a comprehensive list of app server transactions, time, and apdex, among other things.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="relic-one"></a>Q31) What is relic one?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic One is a scalable, data-driven observability platform that gathers and contextualizes all operational data from any source, making instrumentation, data ingestion and exploration, correlation, and machine learning-powered analysis easier for every business.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q32) What is the "Workloads" feature of New Relic?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>This &ldquo;workloads&rdquo; function aggregates health and activity data from the front end to the back end and enables monitoring of the data based on a set of responsibilities.</span></p>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q33) What do the New Relic plugins allow you to do?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic is a software service that allows you to monitor the health of your website in real-time and gain valuable insights in the cloud and hybrid settings.</span></p>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q34) Where can you find the query builder in New Relic?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Go to one.newrelic.com and click "Query your data" to find the query builder.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q35) What is the procedure to add a new chart in the relic dashboard?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You can add new charts with the query builder feature. You can move and put the chart anywhere on your dashboard, suiting your layout.</span></p>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q36) How can I read the database report on their website?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>To view a report on your app&rsquo;s database activity, go to one.newrelic.com &gt; APM &gt; (select an app) &gt; Reports &gt; Database. The default report gives the average of the activity in 24 hours for the last seven days. If you want the reports of a specific period, then you must mention the range and apply the changes.</span></p>
<h3><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q37) Is New Relic PCI compliant?</span></strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Many New Relic customers operate in environments like HIPPA or SOX, and New Relic does not interfere with the customer's compliance requirements.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;">Q38) State whether New Relic is GDPR compliant or not.</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>New Relic is GDPR compliant as it ensures the privacy and security of the customer's data.</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>29:T3f44,<p><span style="font-weight: 400;">Dynatrace, Inc. is an NYSE-traded multinational technology company that helps businesses and government institutions worldwide. This company will monitor and enhance its software applications' quality, development and security processes, information technology (IT) infrastructure, and user experiences.</span></p>
<p><span style="font-weight: 400;">We will look at the interview questions but before that, let's look at some facts about the Dynarace industry.</span></p>
<ol style="list-style-type: lower-alpha;">
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The total assets of Dynatrace are worth 2.54 billion dollars&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The net income of the Dynatrace is about 52.46 million dollars</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The total equity of the Dynatrace&nbsp; is about 1.30 billion dollars</span></li>
</ol>
<p><span style="font-weight: 400;">We have divided software interview questions into two segments:</span></p>
<ul>
<li><a href="#freshers"><span style="color: #236fa1;"><strong><span style="font-size: 16px;">For freshers</span></strong></span></a></li>
<li><a href="#experienced"><span style="color: #236fa1;"><strong><span style="font-size: 16px;">For experienced</span></strong></span></a></li>
</ul>
<table style="border-collapse: collapse; width: 100.017%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.3494%;">
<h3>Most Frequently Asked Dynatrace Interview Questions</h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#architecture-of-dynatrace">Explain the architecture of Dynatrace.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#dynatrace-monitors-performance-metrics">Can you explain to us the way Dynatrace monitors performance metrics?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#challenges-dynatrace-helps-address">What are the challenges Dynatrace helps address?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#correlate-issues-which-dynatrace-detects-to-root" target="_blank">How will you correlate issues which Dynatrace detects to their root causes?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#dynatrace-monitors-performance-metrics">How will you monitor service level agreements by using Dynatrace?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#baseline-anomalies-in-context-of-dynatrace">Define the baseline anomalies in the context of Dynatrace?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#improve-performance-using-dynatrace">Explain how you can improve performance using Dynatrace?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1;"><a id="freshers"></a>Dynatrace Interview Questions for Freshers:</span></h2>
<h3><span style="color: #e67e23;">Q1) Define Dynatrace.</span></h3>
<p><strong>Ans: </strong><span style="font-weight: 400;">Dynatrace is a software intelligence platform that offers <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/impact-artificial-intelligence-content-marketing" target="_blank">artificial intelligence</a></span> for operations, application performance management, digital experience management and monitoring of cloud infrastructure.</span></p>
<h3><span style="color: #e67e23;"><a id="architecture-of-dynatrace"></a>Q2) Explain the architecture of Dynatrace.</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Dynatrace is a distributed application performance management system, sometimes known as SaaS. It is used as an agent-based architecture, in which easy installation of small software components that may be monitored or observed on each of the servers that are being performed. Performance information is gathered by these agents and relayed to the central Dynatrace server.</span></p>
<h3><span style="color: #e67e23;">Q3) How will you use Dynatrace for capturing APM metrics and business KPIs?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Dynatrace gives users many options when capturing APM data and key business indicators. One option is to make use of the Dynatrace Recorder, which is a piece of software that allows user sessions to be recorded and then replayed at a later time. It helps capture various times, such as when a website loads and a user responds. Synthetic transactions, simulated user actions that may use to monitor application performance, is yet another method for gathering this information. Synthetic transactions are an example of an alternative way to collect this data.</span></p>
<h3><span style="color: #e67e23;">Q4) What are some of the common data sources that can be easily used with Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Dynatrace is flexible enough to integrate with many external data systems. However, the most widespread and well-known are log files, application performance management (APM) tools, and network data.</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 57.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 57.0374px;">
<td style="width: 99.9986%; height: 57.0374px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of ServiceNow? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/servicenow-training" target="_blank">ServiceNow Training</a></strong></span>&nbsp;to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q5) What do you understand of OneAgent in the context of Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Each monitored host has an agent called OneAgent installed on it, and this agent is what gathers performance statistics. Dynatrace then analyses and reports on the performance data.</span></p>
<h3><span style="color: #e67e23;"><a id="dynatrace-monitors-performance-metrics"></a>Q6) Can you explain to us the way Dynatrace monitors performance metrics?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Performance metrics are monitored by Dynatrace, which does so by continuously gathering data from the system it is monitoring. After that, this data is processed and evaluated to determine whether or not there are any possible performance difficulties. If any problems are discovered, Dynatrace will offer advice on how to resolve those problems.</span></p>
<h3><span style="color: #e67e23;"><a id="challenges-dynatrace-helps-address"></a>Q7) What are the challenges Dynatrace helps address?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Dynatrace helps address several challenges, including application monitoring, performance issues, and security.</span></p>
<h3><span style="color: #e67e23;">Q8) Is it possible to integrate Dynatrace with any other monitoring tools? If yes, then which tools?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Yes, you can combine Dynatrace with other monitoring software, and it's not a problem. Dynatrace can work with various third-party tools, including Zabbix, <a title="Nagios Interview Questions" href="https://tekslate.com/nagios-interview-question-and-answers" target="_blank"><span style="color: #236fa1;">Nagios</span></a>, and New Relic.</span></p>
<h3><span style="color: #e67e23;">Q9) What are the different types of components which are involved in a typical installation of Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The installation of Dynatrace consists of the below-mentioned components:</span></p>
<ul>
<li><strong>Agent: </strong><span style="font-weight: 400;">This is the agent deployed on every monitored host, and its job is to gather all of the performance data.</span></li>
<li><strong>Server:</strong><span style="font-weight: 400;"> The information gathered by the OneAgents is sent to this part, where it is processed.</span></li>
<li><strong>Web UI: </strong><span style="font-weight: 400;">This is the interface via which users can view all of the data and information that Dynatrace has gathered.</span><span style="font-weight: 400;"><br /></span></li>
</ul>
<h3><span style="color: #e67e23;">Q10) Explain what an application environment map is in the context of Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A visual representation of your program's infrastructure and the relationships between its various parts, the application environment map is vital to any development process. Servers, databases, online services, etc., all fall under this category. It's an efficient method of seeing the big picture of your application's structure.</span></p>
<h2><span style="color: #236fa1;"><strong><a id="experienced"></a>Dynatrace Interview Questions for Experienced:</strong></span></h2>
<h3><span style="color: #e67e23;">Q11) Explain briefly the difference between managed and standalone clusters in Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A group of Dynatrace servers controlled and monitored by a single server at the cluster level is a managed cluster. A freestanding cluster is a collection of Dynatrace servers in which each server is responsible for its management.</span></p>
<h3><span style="color: #e67e23;"><a id="correlate-issues-which-dynatrace-detects-to-root"></a>Q12) How will you correlate issues which Dynatrace detects to their root causes?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Use Dynatrace's Problem Management function to trace back issues to their origins after the software has uncovered them. With this function, you may examine the symptoms and origins of each problem that has been identified. Doing so allows you to spot problems as soon as they develop and address them efficiently.</span></p>
<h3><span style="color: #e67e23;">Q13) What best or perfect way to set up alerts using Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Using the Alerting Profile function of Dynatrace is the most effective method for configuring alerts to be sent out. It allows you to define distinct alerting profiles for each scenario, and then you can apply those profiles to the monitors most relevant to that scenario. You can control when you receive notifications, ensuring that you only get them when you require them and that they are relevant to the circumstances.</span></p>
<h3><span style="color: #e67e23;"><a id="monitor-service-level-using-dynatrace"></a>Q14) How will you monitor service level agreements by using Dynatrace?</span></h3>
<p><span style="font-weight: 400;">Dynatrace can be used to monitor SLAs in many different ways. Dynatrace can initially be utilized for app and service performance monitoring. It will tell you if the applications and services you offer live up to your established service level agreements. Furthermore, Dynatrace can help you keep tabs on your services and apps' uptime. It will help you determine whether issues are causing your apps and services to be unavailable to users.</span></p>
<h3><span style="color: #e67e23;">Q15) Is it essential for teams to access actionable insights about their applications and services? What is your opinion?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>First, it facilitates quicker problem recognition and diagnosis by teams. Second, it provides teams with insight into the usage and effectiveness of their products and services. Third, it enables groups to monitor developments and settle on well-informed selections for future alterations or enhancements. Teams can ultimately deliver higher-quality software and services if they have access to actionable information.</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 25.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 25.0374px;">
<td style="width: 98.3494%; text-align: center; height: 25.0374px;">Related Article: <span style="color: #236fa1;"><em><strong><a style="color: #236fa1;" href="https://tekslate.com/servicenow-tutorials" target="_blank">ServiceNow Tutorial</a></strong></em></span></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q16) Can you give me some examples of real-world scenarios where Dynatrace helps solve problems?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>You may use Dynatrace to keep tabs on how your apps are doing in real-time, spot problems and bottlenecks, and get insights that can help you optimize your code. In addition to monitoring application performance, it can be used to keep tabs on the health of individual servers or server farms and track how well applications are doing.</span></p>
<h3><span style="color: #e67e23;">Q17) State the way you get started with automating deployments using Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Installing the <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.dynatrace.com/support/help/get-started#deploy-dynatrace" target="_blank" rel="nofollow">Dynatrace Deployment</a></span> Automation plugin would be the first step in the process. It will give you the tools and APIs you need to make your deployments run automatically. You may start automating your deployments with the Dynatrace Deployment Automation API immediately after downloading the plugin</span></p>
<h3><span style="color: #e67e23;"><a id="baseline-anomalies-in-context-of-dynatrace"></a>Q18) Define the baseline anomalies in the context of Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Baseline anomalies are performance changes that fall outside the normal range of variation. These changes occur caused by several factors, including infrastructure, workload, or application code changes. </span></p>
<h3><span style="color: #e67e23;">Q19) What kinds of results can you expect from using Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Dynatrace allows you to track how well your apps are doing. It is a comprehensive set of metrics covering response times, throughput, and error rates. When issues arise with your applications, Dynatrace can help you locate and diagnose them.</span></p>
<h3><span style="color: #e67e23;"><a id="improve-performance-using-dynatrace"></a>Q20) Explain how you can improve performance using Dynatrace?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Dynatrace provides performance information to help you identify and fix application performance issues. By using Dynatrace, you can quickly improve the performance of your applications just by identifying and resolving bottlenecks and slowdowns.</span></p>
<p><strong>FAQ's:</strong></p>
<p><strong>1) Which is the No.1 software company in the world?</strong></p>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Microsoft is the No.1 software company in the world.</span></p>
<p><strong>2) What type of tool is dynatrace?</strong></p>
<p><span style="font-weight: 400;"><strong>Ans:</strong> it is a monitoring tool.</span></p>
<p><strong>3) What is the advantage of using dynatrace?</strong></p>
<p><span style="font-weight: 400;"><strong>Ans:</strong> The advantage is it allows <a title="DevOps Tutorial" href="https://tekslate.com/devops-tutorials" target="_blank">DevOps</a> teams to find dependencies in any application.</span></p>
<p><strong><span style="color: #e67e23;">Conclusion:</span></strong></p>
<p><span style="font-weight: 400;">The frequently asked questions are some of the ones that come up most often in Dynatrace interviews. If you want to do well in an interview, look at the questions or just use the ones above to practice.</span></p>2a:T3045,<h2><span style="color: #e67e23;"><strong>CISSP Interview Question and Answers</strong></span></h2>
<p><span style="font-weight: 400;">The CISSP managerial certification calls for at least 5 years of practical expertise in 2 of the 8 security domains. It is a prestigious credential, the knowledge of which is highly valued as well as its practical application.</span></p>
<p><span style="font-weight: 400;">Hence, if you want to ace the CISSP interview then knowledge and preparation are what you need the most. We bring to you the best CISSP interview questions and answers to win it.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4238%;">
<h3>Most frequently asked CISSP Interview Questions</h3>
<ul>
<li><a href="#security-risks"><span style="color: #236fa1;">What elements raise the security risks?</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#how-should-risks-be-reported">How should risks be reported?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#analysis-and-monitoring-of-network-traffic">Describe the analysis and monitoring of network traffic.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#denial-of-service-attack">Describe a denial-of-service attack.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#why-suppliers-or-subcontractors-dangerous">Why were suppliers or subcontractors considered dangerous?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#rsa-with-diffie-hellman">Compare and contrast RSA with Diffie-Hellman.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#phishing-scam">What exactly is a phishing scam?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#internet-security-for-business">How crucial is internet security for a business?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q1) Explain threat, risk, and vulnerability with reference to cybersecurity.</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;A system's safety measures have some degree of vulnerability (weakness), and a threat is an attacker who takes advantage of that weakness. Risk measures the likelihood of loss when the threat takes advantage of the vulnerability. For instance, a detractor can easily break into a server using the regular username and password and arbitrarily control it.</span></p>
<h3><span style="color: #e67e23;"><a id="security-risks"></a>Q2) What elements raise the security risks?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Although there is no clear-cut solution to this question, it demonstrates your focus and assurance in the interviewer. You can respond that one of the main contributing factors is a lack of a highly qualified executive team or funding for security software. Or perhaps there is a lack of commitment on the side of workers who do not follow the finest security procedures.</span></p>
<h3><span style="color: #e67e23;"><a id="how-should-risks-be-reported"></a>Q3) How should risks be reported?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> It is necessary to assess the risk first before reporting it. There are two methods for doing that: quantitative analysis and qualitative analysis. Both technical and commercial professionals profit from this approach. Businesspeople can calculate future losses in numbers when technical experts can identify the frequency and impact. The audience reported that the risk was afterward evaluated and disclosed.</span></p>
<h3><span style="color: #e67e23;">Q4) Specify which processes will be used in the strategy implementation to increase security.</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Forms are made available to developers to make it easier for them to document the systems where changes happened during the implementation process and to track and detect any change that occurs.</span></p>
<h3><span style="color: #e67e23;"><a id="analysis-and-monitoring-of-network-traffic"></a>Q5) Describe the analysis and monitoring of network traffic.</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Network traffic monitoring, which is comparable to network traffic analysis, is a security logical tool used by administrators of computer systems to identify security flaws that could compromise network traffic monitoring, functionality, and accessibility.</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 48.035px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 48.035px;">
<td style="width: 98.3494%; text-align: center; height: 48.035px;"><em>Want to acquire industry skills and gain complete knowledge of CISSP? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/cissp-certification-training" target="_blank">CISSP Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q6) What does Defense in depth entail?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Network traffic monitoring, which is comparable to network traffic analysis, is a security logical tool used by admins of computer systems to identify security flaws that could compromise network traffic monitoring, performance, and exposure.</span></p>
<h3><span style="color: #e67e23;">Q7) Which type of access control permits a group of users to use a resource?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Users are categorized by roles in access control systems. The network's designated locations were then assigned these roles. This makes it simpler to find users who accessed resources.</span></p>
<h3><span style="color: #e67e23;"><a id="denial-of-service-attack"></a>Q8) Describe a denial-of-service attack.</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> It is a program that floods another network with a large number of packets in an effort to deplete its resources, disable it, and make it unusable.</span></p>
<h3><span style="color: #e67e23;"><a id="why-suppliers-or-subcontractors-dangerous"></a>Q9) Why were suppliers or subcontractors considered dangerous?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Without enough training and supervision, vendors frequently have extensive access to the organization's systems. In general, there is no plan for finishing a contract. Data is transferred by email, where the risks of viruses and other malware were significant, and vendors also work from home, offer cloud services, etc. Companies also infrequently verify the security of data that has been safely removed from vendor assets once projects are completed.</span></p>
<h3><span style="color: #e67e23;">Q10) When does a person become a risk to information security?</span></h3>
<p><span style="font-weight: 400;">Ans. People who are frequently referred to as "insider" hazards. When they unintentionally or actively engage in a way that puts them at risk for information security, either vendors or employees become potential security risks. For instance, misplacing organizational resources, casually discussing clients with outsiders, etc.</span></p>
<h3><span style="color: #e67e23;"><a id="rsa-with-diffie-hellman"></a>Q11) Compare and contrast RSA with Diffie-Hellman.</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Diffie-hellman is a key-exchange protocol, whereas RSA is a signing system. The main distinction between the two is that whereas Diffie-Hellman doesn't require you to memorize any key information in advance, RSA does. Organizations do not want to see blank faces.</span></p>
<h3><span style="color: #e67e23;">Q12) How significant are tools in an organization? What should one do if a tool breaks down?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> A company shouldn't rely just on its tools. Tools are frequently used for two purposes: first, to complete tasks that cannot be completed manually, like antivirus. The second is to finish a time-sensitive operation, like installing a firewall, on schedule. We require a tool to speed up the tasks, which is the third reason. The staff should make sure that they are sufficiently knowledgeable about the tools and how they operate.&nbsp;</span></p>
<p><span style="font-weight: 400;">Now, when a tool breaks down, we can figure out what could have gone wrong. It's risky to rely too heavily on the technologies, thus backup strategies or alternate ways need to be in place. If there is a third party involved, it is feasible to do the necessary maintenance and audits. For proper operation, hardware and software cleanliness must be upheld.</span></p>
<h3><span style="color: #e67e23;">Q13) How can remote workers' connections to the office network be secured?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> The staff members can use a VPN service. With the use of a virtual private network, or VPN, customers can create a tunnel from an unstable network to the office network. Other security tools, such as firewalls and access controls, are still necessary. Two-factor authentication is required for a VPN service to improve the security architecture.</span></p>
<h3><span style="color: #e67e23;">Q14) What is the best strategy to guarantee connectivity between the headquarters and the ten office locations?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> The offices could be linked in a number of different ways. One method is to connect utilizing ten T1 connections that run from various sites to the main office. The second method might involve MPLS connections between the offices. The best option is to use MPLS rather than T1 lines because T1 requires 10 different T1 handling circuits at the headquarters, whereas MPLS does not.</span></p>
<h3><span style="color: #e67e23;"><a id="phishing-scam"></a>Q15) What exactly is a phishing scam?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> A phishing assault is a sort of social engineering in which individuals are persuaded to divulge private information by opening phony email attachments or links. Malware is dispersed by this attack, and networks are also compromised.</span></p>
<h3><span style="color: #e67e23;">Q16) How can you tell if someone has accessed the network without an authorization?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> Proper log monitoring is necessary to make sure that no evidence of unauthorized access exists. In order to notify users whether a login attempt succeeds or fails, servers might be configured to do so. Any unwanted access will be found and dealt with as soon as possible thanks to a diligent monitoring program.</span></p>
<h3><span style="color: #e67e23;"><a id="internet-security-for-business"></a>Q17) How crucial is internet security for a business?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> The Internet cannot be opened like a freeway since it is the untrusted portion of the network. While limiting internet access could be a solution, the majority of businesses rely on it for their daily operations. Internet access should be limited in accordance with corporate policies. Access to some websites may be restricted, for example, by restricting the upload feature to stop data leaks. To make sure that the internet is used responsibly and not for selfish gains&mdash;such as downloading movies or other content&mdash;internet records might be monitored.</span></p>
<h3><span style="color: #e67e23;">Q18) How many different kinds of firewalls are there, and what makes each one unique?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong> A network firewall and a web application firewall are the two types of firewalls from an organizational perspective. While a web application can filter layer 7 traffic and defend against web application attacks, a network firewall can only give security against layer 3 attacks.</span></p>2b:T417a,<h2><span style="color: #e67e23;">Clojure Interview Question and Answers</span></h2>
<p><span style="font-weight: 400;">Clojure is a functional programming language that supports numerous paradigms and operates on a variety of unique hosts. One of the most widely used hosts for running Clojure is the JVM, or Java Virtual Machine. Additionally, Clojure has full access to the Java Functions and Java Development Kit. With Clojure, Java functions and Java Development Kit are available right out of the box. Additionally, programmers can use a node or a browser to access JavaScript runtime through Clojure.</span></p>
<p><span style="font-weight: 400;">Are you trying to get a job in Clojure? Attempting to find the greatest interview questions to pose. Here is the answer. All you need to have is some basic knowledge of Java and .Net to win the interview.&nbsp;</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.3494%;">
<h3>Most frequently asked Clojure Interview Questions</h3>
<ul>
<li><a href="#why-clojure"><span style="color: #236fa1;">Why should you choose Clojure?</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#features-of-clojure">Mention a few features of Clojure</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#clojure-spec">Explain Clojure Spec</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#uses-of-macros">Explain the uses of Macros</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-platforms-does-clojure-run-on">What platforms does Clojure run on?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#closure-code-process-phases">Mention the Closure code process phases</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#clojure-version-in-repl">What is the best way to show the Clojure version in the REPL?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#clojure-operators">What are some of the Clojure Operators?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#map-in-clojure" target="_blank">Define Map in Clojure</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q1) Explain Clojure</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Rich Hickey created the programming language Clojure, a member of the Lisp family, for the Java Virtual Machine (JVM). It is open source, dynamic typed, and of the JVM.</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The programming language Clojure has compiled language.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The Lisp dialect Clojure is a potent macro system.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Clojure is a fantastically easy language.</span></li>
</ul>
<h3><span style="color: #e67e23;"><a id="why-clojure"></a>Q2) Why should you choose Clojure?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Because the general-purpose programming language Clojure is open source, has a dynamic type system, and it is free.</span></p>
<h3><span style="color: #e67e23;">Q3) What Are the Basics of the Languages?</span></h3>
<p><strong>Ans.&nbsp;</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Lisp and an open source programming language form the foundation of Clojure.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Clojure is a structured programming language&nbsp;</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Clojure is a dynamic type of system.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The JVM is used to execute Clojure.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It's free to use Clojure.</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="features-of-clojure"></a>Q4) Mention a few features of Clojure</strong></span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The characteristics of Clojure include the following:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The programming language Lisp serves as its foundation.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It is a language for functional programming.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It controls an application's state.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It allows for concurrency.</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong>Q5) What is Clojure used for?</strong></span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Clojure is widely utilized for handling huge amounts of data, Large-scale predictions, commercial AI, and data mining are all excellent applications.</span></p>
<table style="border-collapse: collapse; width: 100.017%; height: 50.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 50.0374px;">
<td style="width: 98.3494%; text-align: center; height: 50.0374px;"><em>Want to acquire industry skills and gain complete knowledge of Clojure? Enroll in Instructor-Led live <strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/clojure-training" target="_blank">Clojure Training</a></span></strong> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q6) Mention a few advantages of Clojure</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;">&nbsp;</span>Clojure has been gaining popularity in recent years for its ability to work on multiple platforms, including the JVM, JavaScript, and Node.js. Some of the advantages of Clojure are:</p>
<ul>
<li>Clojure runs on multiple platforms without any changes&nbsp;</li>
<li>Clojure provides an interactive development environment&nbsp;</li>
<li>Clojure supports many types of languages such as Java, JavaScript, C++, Ruby, etc.</li>
</ul>
<h3><span style="color: #e67e23;"><a id="clojure-spec"></a>Q7) Explain Clojure Spec</span></h3>
<p><strong>Ans. </strong><span style="font-weight: 400;">The Clojure library's Spec type is often used to describe the data and functional structures. The major purposes of the Clojure spec are to explain bad data; automatically build test cases to test functions and confirm and validate data.</span></p>
<h3><span style="color: #e67e23;">Q8) What do you understand by Clojure REPL?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Reading Eval Print Loop is the abbreviation of REPL. An example of a programming language that supports interaction with an active Clojure program is the Clojure REPL. It can also be improved by modifying it by evaluating each code expression separately.</span></p>
<h3><span style="color: #e67e23;">Q9) What do Clojure macros do?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The majority of code-generating procedures are written using macros, giving developers a strong means of modifying the languages to suit their needs.</span></p>
<h3><span style="color: #e67e23;"><a id="uses-of-macros"></a>Q10) Explain the uses of Macros</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Typically, the inline code is produced using Clojure macros. For developers or consumers, Clojure offers straightforward macro facilities without placing any demands on them.</span></p>
<h3><span style="color: #e67e23;">Q11) Has Clojure been multi-threaded?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Programming with multiple threads is made easier by Clojure in so many ways. The fundamental data structures can easily be exchanged between threads because they are irreversible.</span></p>
<h3><span style="color: #e67e23;">Q12) Name a few programming languages</span></h3>
<p><strong>Ans. </strong><span style="font-weight: 400;">Some examples of the many programming languages are as follows:</span></p>
<ul>
<li><span style="font-weight: 400;">Haskell</span></li>
<li><span style="font-weight: 400;">Clojure</span></li>
<li><span style="font-weight: 400;">Phyton</span></li>
<li><span style="font-weight: 400;">Erlang</span></li>
<li><span style="font-weight: 400;">Scala</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="what-platforms-does-clojure-run-on"></a>Q13) What platforms does Clojure run on?</strong></span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Clojure operates on two different platforms:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Java</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">.Net</span></li>
</ul>
<h3><span style="color: #e67e23;">Q14) Explain JVM</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> JVM is an abbreviation for Java Virtual Machine. JVM is a specific kind of machine or engine that offers an important runtime environment to power JavaScript or other applications. The JVM's primary function is to translate Java Bytecode into machine-level language.</span></p>
<h3><span style="color: #e67e23;">Q15) What is the main purpose of Clojure in JVM?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The primary purpose of Clojure is as a host programming language. It utilizes the JVM and offers Java compatibility. The language offers performance, security, stability, and portability security while running in Java.</span></p>
<h3><span style="color: #e67e23;"><a id="closure-code-process-phases"></a>Q16) Mention the Closure code process phases</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The Clojure code is processed through three different types of phases, which are as follows:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reading time</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Build time</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Runtime</span></li>
</ul>
<h3><span style="color: #e67e23;">Q17) Which iterations of Java are recognized by the programming language Clojure?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The Clojure programming language supports the enhanced Java 5 platform.</span></p>
<h3><span style="color: #e67e23;"><a id="clojure-version-in-repl"></a>Q18) What is the best way to show the Clojure version in the REPL?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> You must use the command if you wish to show the Clojure version in the REPL.</span></p>
<p><span style="font-weight: 400;">Clojure Printin &ndash; Version</span></p>
<h3><span style="color: #e67e23;">Q19) What kinds of functions does the Clojure programming language employ?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The primary categories of functions used in Clojure are as follows:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><em><span style="font-weight: 400;">Anonymous</span></em><span style="font-weight: 400;"> - Simple functions without names fall under the category of anonymous functions.</span></li>
<li style="font-weight: 400;" aria-level="1"><em><span style="font-weight: 400;">Named -</span></em><span style="font-weight: 400;"> Functions that are named are those that are connected to a symbol that serves as an identifier.</span></li>
<li style="font-weight: 400;" aria-level="1"><em><span style="font-weight: 400;">High Order Functions</span></em><span style="font-weight: 400;"> - These kinds of functions frequently have another function as a parameter.</span></li>
</ul>
<h3><span style="color: #e67e23;">Q20) Name Clojure variables</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Following are some of the Clojure variables:&nbsp;</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Int</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Long</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Short</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Char</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Boolean</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">String</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Float</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="clojure-operators"></a>Q21) What are some of the Clojure Operators?</strong></span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The following operators are available in Clojure:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Arithmetic</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Recursive</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Reasoning</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Bitwise</span></li>
</ul>
<h3><span style="color: #e67e23;">Q22) What does the Clojure.main namespace mean?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> Functions in the Clojure.main namespace enables open dialogue sessions and Clojure programs.</span></p>
<h3><span style="color: #e67e23;">Q23) What characteristics does a socket server have?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> The socket server properties are as follows:</span>&nbsp;</p>
<table style="border-collapse: collapse; width: 76.4445%; height: 516px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 23.9582%;">
<p><strong>Properties of Socket Server</strong></p>
</td>
<td style="width: 76.0413%;">
<p><strong>Description</strong></p>
</td>
</tr>
<tr>
<td style="width: 23.9582%;">
<p><span style="font-weight: 400;">Server-daemon</span></p>
</td>
<td style="width: 76.0413%;">
<p><span style="font-weight: 400;">Assuming it is true, the socket server thread does not obstruct exit by default.</span></p>
</td>
</tr>
<tr>
<td style="width: 23.9582%;">
<p><span style="font-weight: 400;">Address</span></p>
</td>
<td style="width: 76.0413%;">
<p><span style="font-weight: 400;">It addresses or hosts, It is set to loopback by default.</span></p>
</td>
</tr>
<tr>
<td style="width: 23.9582%;">
<p><span style="font-weight: 400;">Port</span></p>
</td>
<td style="width: 76.0413%;">
<p><span style="font-weight: 400;">It is necessary and requires positive integers.</span></p>
</td>
</tr>
<tr>
<td style="width: 23.9582%;">
<p><span style="font-weight: 400;">Accept</span></p>
</td>
<td style="width: 76.0413%;">
<p><span style="font-weight: 400;">It serves as a function-named symbol. It is needed since it is used to invoke when the socket accepts.</span></p>
</td>
</tr>
<tr>
<td style="width: 23.9582%;">
<p><span style="font-weight: 400;">Args</span></p>
</td>
<td style="width: 76.0413%;">
<p><span style="font-weight: 400;">It is a list of arguments to accept that must be supplied in the order.</span></p>
</td>
</tr>
<tr>
<td style="width: 23.9582%;">
<p><span style="font-weight: 400;">Bind-err</span></p>
</td>
<td style="width: 76.0413%;">
<p><span style="font-weight: 400;">Err is bound to the socket out stream by default, which is true.</span></p>
</td>
</tr>
<tr>
<td style="width: 23.9582%;">
<p><span style="font-weight: 400;">Client-daemon</span></p>
</td>
<td style="width: 76.0413%;">
<p><span style="font-weight: 400;">Since the socket client thread will not block exit, it is by nature true.</span></p>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><a id="map-in-clojure"></a>Q24) Define Map in Clojure</span></h3>
<p><strong>Ans. </strong><span style="font-weight: 400;">A collection called a "Map" is used to map Keys to Values. It offered two different map types:</span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">HashMaps</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">SortedMaps</span></li>
</ul>2c:T442,<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#rainforest-qa">Rainforest QA</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#katalon">Katalon</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#testim-io">Testim.io</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#webdriver-io">WebdriverIO</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#protractor">Protractor</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#autify">Autify</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#ghost-inspector">Ghost Inspector</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#jest">Jest</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#puppeteer">Puppeteer</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#mocha" target="_blank" rel="noopener">Mocha</a></span></li>
</ul>2d:T44cc,<p>Several Quality Analysts (QA) and their teams go with Cypress.io when it comes to creating automated software tests. This is because this tool helps execute tests directly inside a browser, thus, solving some of the most irritating timing issues.&nbsp;</p>
<p>However, regardless of the advantages, Cypress also has a few downsides. For instance:</p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">It can be used only by somebody who is familiar with JavaScript, which makes it expensive to scale up testing</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Tests with Cypress can be extremely time-consuming to set up</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">These tests are restricted to performing actions in a single browser, meaning important functions of certain applications can go untested</span></li>
</ul>
<p><span style="font-weight: 400;">This eventually compels people to look for Cypress alternatives instead of going with this tool. If you are also one from the lot, this post covers some of the best Cypress alternatives that you can try. So, without further ado, let&rsquo;s have a look at these options.</span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<h3 style="text-align: center;"><span style="font-size: 18px;"><strong>Cypress Alternatives - Table of Contents</strong></span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#rainforest-qa">Rainforest QA</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#katalon">Katalon</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#testim-io">Testim.io</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#webdriver-io">WebdriverIO</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#protractor">Protractor</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#autify">Autify</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#ghost-inspector">Ghost Inspector</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#jest">Jest</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#puppeteer">Puppeteer</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#mocha" target="_blank" rel="noopener">Mocha</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><strong><span style="color: #e67e23;">Top Cypress Alternatives</span></strong></h2>
<p><span style="font-weight: 400;">Jotted down below are some top and latest Cypress alternatives to try:</span></p>
<h3><strong><span style="color: #e67e23;"><a id="rainforest-qa"></a>1. Rainforest QA</span></strong></h3>
<p><span style="font-weight: 400;">Rainforest QA is one codeless functional testing tool that generally uses a drag-and-drop editor to create interactive tests. These tests easily communicate with the visual layer of your application in the way a real user would. Plus, anybody can write and maintain tests in this tool without adding any custom attributes.&nbsp;</span></p>
<p><span style="font-weight: 400;">To test the visual layer, this tool uses pixel-matching to discover and interact with elements on the UI. You will not have to worry about locators or adding any custom attributes.</span></p>
<h3><span style="color: #e67e23;">Features of Rainforest QA</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">An option to embed a test in other tests to speed up maintenance and writing</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Can run tests on older and current versions of four major browsers such as Firefox, Chrome, Microsoft Edge, and Safari</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Tests can include actions outside of a browser window or a browser tab</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Tests are less affected by minor changes in the code</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Fast and easy to investigate test failures with video replays</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 38px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 38px;">
<td style="width: 98.2759%; height: 38px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Cypress? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/cypress-training" target="_blank" rel="noopener">Cypress Training</a></strong></span>&nbsp;to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><strong><span style="color: #e67e23;"><a id="katalon"></a>2. Katalon</span></strong></h3>
<p>This tool is built on Appium and Selenium and is designed to be used by both non-developers and developers for mobile app testing and web testing. You can find a record-and-playback feature in this tool that lets non-developers create test scripts with ease. And then, being a developer, you can stop and restart the recording at any point during the creation or execution of a test.&nbsp;</p>
<p>This way, you can create complicated test cases and fix broken tests as well. Katalon also has a free version. However, it is only for those who wish to use this software on simple platforms.</p>
<h3><span style="color: #e67e23;">Features of Katalon</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Run a test and know if it failed or not</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">IDE that lets you generate automatic tests</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy set up for on-demand testing</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Advanced and intuitive debugger</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Fast scripting with keyword-driven testing</span></li>
</ul>
<h3><span style="font-weight: 400; color: #e67e23;"><strong><a id="testim-io"></a>3. Testim.io</strong></span></h3>
<p>Testim.io is one such tool that uses a Chrome extension to record varying steps for basic tests. If you wish to create complicated tests, you will have to insert custom code in <a href="https://tekslate.com/functions-javascript" target="_blank">JavaScript</a>. This tool was specially built to be used with several other tools, like Sauce Labs, BrowserStack, Applitools, GitHub, and TestRail.</p>
<p>However, one of the things to keep in mind is that when you use Testim.io, you will not get any support for iPad, Android or iPhone platforms.</p>
<h3><span style="color: #e67e23;">Features of Testim.io</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Run between two and eight concurrent tests</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">AI-powered, self-improving stabilizers</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Quick diagnosis and troubleshooting</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Effective expansion of testing operations with controls</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Scalable, fast running of tests</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="webdriver-io"></a>4. WebdriverIO</strong></span></h3>
<p>WebdriverIO is an end-to-end, open-source testing framework that is built on JavaScript. It also runs on NodeJS. Moreover, this software is capable of testing applications that are built on web frameworks, such as Polymer, Angular or React.</p>
<p>You can easily configure WebdriverIO if you want cross-browser testing to run on the WebDriver Protocol. Or, if you want automation through Puppeteer, you can run this software on Chrome DevTool Protocol.</p>
<h3><span style="color: #e67e23;">Features of WebdriverIO</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Supports native mobile application testing for iOS and Android</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Offers several third-party plugins</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Create test automation frameworks that meet all requirements</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Add complicated sets and helpful functions to extend the features</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Supports modem mobile frameworks and web frameworks</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="protractor"></a>5. Protractor</strong></span></h3>
<p>Protractor is another end-to-end testing framework that is developed on top of WebDriverJS. Since tests and applications developed with JavaScript can be quite lengthy and complicated, this software is designed to ease out the element locator syntax with ElementFinder feature.</p>
<p>This ElementFinder feature offers condensed code to discover and interact with a variety of elements.</p>
<h3><span style="color: #e67e23;">Features of Protractor</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Supports behaviour driven development</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Allows integration of Mocha and Jasmine</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Adequate for Angular and <a href="https://tekslate.com/angularjs-tutorials" target="_blank">AngularJS</a> applications</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Uses browser-specific drivers and native events to test</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Automatically executes the subsequent steps in the test</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="autify"></a>6. Autify</strong></span></h3>
<p>Autify is one of the best Cypress alternatives. It is powered by AI codeless test automation. The software is extremely easy to use and doesn&rsquo;t require any coding or knowledge of programming language to create test scripts.&nbsp;</p>
<p>So, even if you are from a non-engineering background, you can still create scripts without any extensive training. You can easily run and record regression tests. And then, with the algorithm of this software, you can find UI changes, continue test scenarios, and do much more.</p>
<h3><span style="color: #e67e23;">Features of Autify</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">A no-code platform</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Makes use of GUI to record test scenarios and play back</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">AI maintains the test scripts</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Cross-browser compatibility, including mobile devices</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Can be integrated with Jenkins, Slack, and more</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="ghost-inspector"></a>7. Ghost Inspector</strong></span></h3>
<p>Ghost Inspector lets you automate tests for browsers, websites, e2e testing and user interfaces. It is a bit similar to Selenium IDE, however, it offers a streamlined test recorder tool for Firefox and Chrome.&nbsp;</p>
<p>Keeping the technology in mind, even this tool is powered by artificial intelligence. Hence, you can completely automate the codeless tests.</p>
<h3><span style="color: #e67e23;">Features of Ghost Inspector</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">An option to record, schedule and automate tests</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Supports several browsers</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Compatible with plenty of technologies</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Get to compare updates simultaneously</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Easy to use software</span></li>
</ul>
<h3><strong><span style="color: #e67e23;"><a id="jest"></a>8. Jest</span></strong></h3>
<p>Jest is one of the best JavaScript testing framework tools focused on simplicity. This tool can work with various projects, including those that use Vue, Angular, React, Node, TypeScript, Babel, and more.</p>
<p>Majorly, this tool aims to work out of the box; thus, it lets you relish a configuration-free process on most of the JavaScript projects.&nbsp;</p>
<h3><span style="color: #e67e23;">Features of Jest</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Create tests to track large objects effortlessly</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Parallelized tests that maximize performance</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Great API that has been maintained well</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Fast and safe test creation</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">An option to generate code coverage</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="puppeteer"></a>9. Puppeteer</strong></span></h3>
<p>Puppeteer is a Node library that can offer high-level API to control Chromium or Chrome over DevTools Protocol. This one runs headless by default. However, it can easily be configured to run full Chromium or Chrome.&nbsp;</p>
<p>Through this tool, you can effortlessly test a variety of chrome extensions. Not just that, you can also capture a timeline trace of the website to diagnose performance problems.</p>
<h3><span style="color: #e67e23;">Features of Puppeteer</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Create an updated, automated testing environment</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Run tests directly in Chrome through JavaScript and other browser features</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Get to automate keyboard input, UI testing, form submission, and more</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">An option to crawl a Single-Page Application</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Generate PDFs and screenshots of pages</span></li>
</ul>
<h3><span style="color: #e67e23;"><strong><a id="mocha"></a>10. Mocha</strong></span></h3>
<p>This one is a feature-rich JavaScript test framework that runs on Node.js as well as in the browser. With this tool, you can make asynchronous testing quite fun and simple. Mocha tests generally run serially.</p>
<p>This way, they allow accurate and flexible reporting. This tool can also map uncaught exceptions to correct and simplify test cases.</p>
<h3><span style="color: #e67e23;">Features of Mocha</span></h3>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Offers support for varying assertion libraries</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Get to write tests with Behaviour Driven Development (BDD)</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Can run in both the browser and <a href="https://tekslate.com/node-js-tutorials" target="_blank">Node.js</a></span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Makes asynchronous testing extremely effortless</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">JavaScript API available for test running</span></li>
</ul>
<h3><span style="color: #e67e23;">Wrapping Up</span></h3>
<p><span style="font-weight: 400;">Sure, Cypress has a variety of benefits to offer. However, when you cannot get the most out of it, refer to these Cypress alternatives listed above. With these tools and software, you can maintain and write automated UI tests, even if you are not adept at programming. So, dive deeper, get to know more about these tools, find their useful features, and see which would suit your requirements best. After thorough research, make your decision cautiously.</span></p>
<p>&nbsp;</p>2e:T2b33,<h2><span style="color: #e67e23;"><strong>TeamCity Interview Question and Answers</strong></span></h2>
<p>TeamCity is a continuous integration and deployment tool for software development teams. It is used by companies like Yahoo!, LinkedIn, and other large enterprises. In this blog, we have compiled a list of TeamCity Interview Questions to help you crack that interview.</p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.3496%;">
<h3>Most frequently asked TeamCity Interview Questions</h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#is-team-an-open-source-tool">Is TeamCity an open-source tool?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#how-teamcity-deployment-work">How does TeamCity deployment work?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#teamcity-build-configuration">Explain a TeamCity build configuration</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#teamcity-build">What exactly is a TeamCity build?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#teamcity-artifact-path">What does TeamCity's artifact path mean?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#teamcity-database">What database is used by TeamCity?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#teamcity-meta-runner">What does TeamCity's meta runner mean?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#how-to-make-teamcity-agents-available">How can you make TeamCity's agents available?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q1) What is the purpose of the TeamCity tool?</span></h3>
<p><strong>Ans:</strong><span style="font-weight: 400;">&nbsp; A Java-based CI server is called TeamCity. It enables integration, and coding, and is simpler to configure with straightforward procedures. On TeamCity, many platforms and environments are used concurrently for parallel builds.</span></p>
<h3><span style="color: #e67e23;"><a id="is-team-an-open-source-tool"></a>Q2) Is TeamCity an open-source tool?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; JetBrains offers TeamCity, a server for continuous deployment and building management. Commercial software with a proprietary license was first made available on October 2, 2006; it comes with three free Build Agent licenses as well as a freemium license for up to 100 build configurations.</span></p>
<h3><span style="color: #e67e23;">Q3) Is TeamCity a tool for CDs?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; A general-purpose CI/CD solution like TeamCity offers maximum flexibility for all types of development methods and processes. You can quickly check the status of your builds, learn what prompted them, get the most recent build artifacts, and more using the Projects Overview.</span></p>
<h3><span style="color: #e67e23;"><a id="how-teamcity-deployment-work"></a>Q4) How does TeamCity deployment work?</span></h3>
<p><strong>Ans.</strong><span style="font-weight: 400;"> TeamCity offers the build configuration of the Deployment type. This type can be used to identify build settings that perform deploying to a specific environment. Typically, these build configurations depend on the works whose results they deploy via a snapshot or an artifact.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 48px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 48px;">
<td style="width: 98.3496%; height: 48px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of TeamCity? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/teamcity-training" target="_blank">TeamCity Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q5) What does DevOps TeamCity mean?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; TeamCity is a consumer-friendly continuous integration (CI) server for DevOps, build engineers, and professional developers. It is simple to set up and completely free for open-source projects and small teams.</span></p>
<h3><span style="color: #e67e23;"><a id="teamcity-build-configuration"></a>Q6) Explain a TeamCity build configuration</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; The build configuration name will be suggested by TeamCity, and it will configure the remaining options for you: It will choose the VCS repository's type and establish the VCS root. It will automatically detect the default branch for a Git repository. In the VCS root settings, you can choose to change it now or in the future.</span></p>
<h3><span style="color: #e67e23;">Q7) Is TeamCity software for continuous integration?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; Developers and build engineers may easily set up and use Jet Brains TeamCity, a free continuous integration (CI) server, with the Professional Server License.</span></p>
<h3><span style="color: #e67e23;"><a id="teamcity-build"></a>Q8) What exactly is a TeamCity build?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; A build in TeamCity is a procedure that includes one or more steps and completes a specific CI/CD task. You are prepared to set up and run your first build once you have installed and launched TeamCity according to the instructions provided here.</span></p>
<h3><span style="color: #e67e23;">Q9) In what location are TeamCity build logs kept?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; On the TeamCity server computer, the logs are kept in plain text files on a disc directory (often in /logs).</span></p>
<h3><span style="color: #e67e23;">Q10) Are private builds triggered automatically?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; It is not possible to start the private build automatically. If you wish to construct the modifications you have stored in a shelve-set, you must queue a private build. Before checking your code in, you can test changes using a private build.</span></p>
<h3><span style="color: #e67e23;">Q11) Explain TeamCity build agent</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; A TeamCity build agent is a software application that launches the actual build operations after listening for commands from the TeamCity server. It is set up and installed independently of the TeamCity server.</span></p>
<h3><span style="color: #e67e23;">Q12) Is TeamCity a scheduler or a tool for building?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; Build tools include Teamcity. It is a control and continuous integration server that runs on Java and is licensed under Javabite. Because it focuses primarily on build automation, it may be utilized everywhere without any effort.</span></p>
<h3><span style="color: #e67e23;"><a id="teamcity-artifact-path"></a>Q13) What does TeamCity's artifact path mean?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; Build artifacts are files generated by the build that are saved on the TeamCity server and can be downloaded via the TeamCity UI or used as prerequisites for other builds.</span></p>
<h3><span style="color: #e67e23;">Q14) What is a job in TeamCity?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; A software project, a particular version or release of a project, or any other logical collection of build configurations can all be considered to be a TeamCity project. There is a name, an ID, and an optional description for the project. User roles and permissions are maintained in TeamCity on a project-by-project basis.</span></p>
<h3><span style="color: #e67e23;"><a id="teamcity-database"></a>Q15) What database is used by TeamCity?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; TeamCity by default makes use of a HyperSQL DataBase-based internal database (HSQLDB). The default configuration stores the database files in, which is typically BuildServer.</span></p>
<h3><span style="color: #e67e23;">Q16) What is kept in the DB by TeamCity?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; In a SQL database, TeamCity keeps track of users, build outcomes, build histories, and certain runtime information.</span></p>
<h3><span style="color: #e67e23;">Q17) How do I recover a TeamCity backup?</span></h3>
<p><strong>Ans:</strong><span style="font-weight: 400;">&nbsp; </span></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Enter the Data Directory's path on the TeamCity First Start page and select Restore from backup.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">You can upload a ZIP package containing the backed-up data or enter the following command to the backup directory on the TeamCity server.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Select the desired database.</span></li>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">Continue the restoration.</span></li>
</ul>
<h3><span style="color: #e67e23;"><a id="teamcity-meta-runner"></a>Q18) What does TeamCity's meta runner mean?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; In essence, a meta-runner is a set of build steps from one build configuration that can be applied in another. A meta-runner is an XML definition that includes build steps, prerequisites, and characteristics that you may use in XML definitions of other build configurations. Using the online UI, TeamCity enables the extraction of meta-runners.</span></p>
<h3><span style="color: #e67e23;">Q19) Jenkins vs. TeamCity: Which is preferable?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; TeamCity is a JetBrains-exclusive product, whereas Jenkins is an open-source continuous integration platform. Jenkins provides a robust ecosystem of plugins and integrations, whereas TeamCity is simpler to set up and operate.</span></p>
<h3><span style="color: #e67e23;"><a id="how-to-make-teamcity-agents-available"></a>Q20) How can you make TeamCity's agents available?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; When using the web UI, agents can be manually enabled or disabled by clicking the status icon next to their name. You may also add a note and choose whether TeamCity should automatically disable or enable the agent after a certain amount of time. TeamCity will adhere to the guidelines and display the comment icon.</span></p>
<p>&nbsp;</p>2f:T2cf3,<h2><span style="color: #e67e23;"><strong>SPARQL Interview Questions and Answers</strong></span></h2>
<p><span style="font-weight: 400;">This blog will provide you with important questions in Sparql and how to answer some of the most commonly asked Sparql interview questions.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.3496%;">
<h3>Most Frequently asked SPARQL Interview Questions</h3>
<ul>
<li><a href="#advantages-of-sparql"><span style="color: #236fa1;">What are the advantages of SPARQL?</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#rdf">What is RDF?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#semantic-web">What is semantic web?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#query-forms-in-sparql">What are query forms in SPARQL?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#geo-sparql">What is GeoSPARQL?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sparql-star">What is SPARQL-Star?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-data-structures-does-sparql-use">What kind of data structures does SPARQL use?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sparql-examples">What are some examples of where you might use SPARQL?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q1) What is SPARQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>SPARQL is a query language for RDF. It stands for SPARQL Protocol and RDF Query Language. It has many different uses, but is mostly used to interrogate data sets that have been created by the Semantic Web.</span></p>
<h3><span style="color: #e67e23;"><a id="advantages-of-sparql"></a>Q2) What are the advantages of SPARQL?</span></h3>
<p><span style="font-weight: 400;">&nbsp;<strong>Ans: </strong>SPARQL has the power to filter, project, aggregate, and join data from multiple sources. It also has many advantages over SQL such as:</span></p>
<ul>
<li><span style="font-weight: 400;">SPARQL supports more than one store/database technology</span></li>
<li><span style="font-weight: 400;">SPARQL can be used for querying different types of graphs</span></li>
<li><span style="font-weight: 400;">SPARQL can be used for querying RDF with or without URIs</span></li>
<li><span style="font-weight: 400;">SPARQL can be used for querying RDFS</span></li>
<li><span style="font-weight: 400;">SPARQL has a wider variety of operations.</span></li>
</ul>
<h3><span style="color: #e67e23;">Q3) What is the difference between SPARQL and SQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>SPARQL is a query language for RDF, which is a graph-based data model. SQL is a query language for relational databases. SPARQL can be used to query graph data, while SQL queries tabular data. SPARQL supports both querying and updating, while SQL only supports querying.</span></p>
<h3><span style="color: #e67e23;"><a id="rdf"></a>Q4) What is RDF?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>RDF stands for Resource Description Framework. It is a data model for representing information on the web. RDF provides a way to describe data so that it is easy to find and understand.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 43px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 43px;">
<td style="width: 98.2759%; text-align: center; height: 43px;"><em>Want to acquire industry skills and gain complete knowledge of SPARQL? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/sparql-training">SPARQL Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: left;"><span style="color: #e67e23;">Q5) In how many formats can RDF be represented?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>RDF can be represented in various formats. The most popular are:</span></p>
<ul>
<li><span style="font-weight: 400;">RDF/XML</span></li>
<li><span style="font-weight: 400;">Turtle</span></li>
<li><span style="font-weight: 400;">TriG</span></li>
<li><span style="font-weight: 400;">N3</span></li>
<li><span style="font-weight: 400;">JSON-LD</span></li>
</ul>
<h3><span style="color: #e67e23;"><a id="semantic-web"></a>Q6) What is semantic web?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Semantic web is a web of data that is linked and accessible. There are different types of data, such as RDF, RDFS and OWL. The semantic web is a term coined in the mid-90s to refer to the next generation of the World Wide Web. The semantic web will allow computers to better understand what information they are retrieving from the World Wide Web and how it relates to other information on the Semantic Web.</span></p>
<h3><span style="color: #e67e23;">Q7) What are Triple Patterns?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Triple Patterns is a web-based tool that helps people to learn and practice SPARQL queries. It provides a set of sample datasets that can be queried in order to learn how to write SPARQL queries. The datasets are organized according to the W3C's RDF Primer, which is a document that can be used as an introduction to RDF and SPARQL.</span></p>
<h3><span style="color: #e67e23;"><a id="query-forms-in-sparql"></a>Q8) What are query forms in SPARQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>A SPARQL query form is a set of keywords that can be used to create a query. A SPARQL query form is not an actual command, but rather it is a set of keywords that can be used to create a query.</span></p>
<h3><span style="color: #e67e23;">Q9) What are extensions in SPARQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Sparql extensions are a way of adding new functionality to SPARQL. Extensions can be used for things such as:</span></p>
<ul>
<li><span style="font-weight: 400;">Adding support for new data types</span></li>
<li><span style="font-weight: 400;">Adding support for Geospatial data</span></li>
<li><span style="font-weight: 400;">Extending the set of functions available in SPARQL</span></li>
<li><span style="font-weight: 400;">Adding support for querying or updating external data sources.</span></li>
</ul>
<h3><span style="color: #e67e23;">Q10) What are the different types of queries in SPARQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The following are different types of queries in SPARQL:</span></p>
<ol>
<li><span style="font-weight: 400;"> SELECT</span></li>
<li><span style="font-weight: 400;"> ASK</span></li>
<li><span style="font-weight: 400;"> CONSTRUCT</span></li>
<li><span style="font-weight: 400;"> DESCRIBE</span></li>
<li><span style="font-weight: 400;"> INSERT DATA</span></li>
<li><span style="font-weight: 400;"> DELETE DATA</span></li>
<li><span style="font-weight: 400;"> BINDINGS</span></li>
</ol>
<h3><span style="color: #e67e23;"><a id="geo-sparql"></a>Q11) What is GeoSPARQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The GeoSPARQL query language was designed by the Open Geospatial Consortium (OGC) to provide a standard interface for querying geo-referenced data on the web. It is an extension of SPARQL, which is a query language for RDF graphs that can be used anywhere on the web.</span></p>
<h3><span style="color: #e67e23;">Q12) What is a federated query?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The federated query technique is a way to retrieve information from different datasets without having to use the same data model. This technique allows the user to ask questions that are not possible with traditional queries and retrieve information from different datasets without having to use the same data model.</span></p>
<h3><span style="color: #e67e23;"><a id="sparql-star"></a>Q13) What is SPARQL-Star?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>SPARQL-Star is a free and open-source software for querying and editing RDF data. SPARQL-Star is a query editor that enables you to explore, edit, and execute SPARQL queries on your local machine or on remote servers using the HTTP protocol.</span></p>
<p><span style="font-weight: 400;">It is built with the following features:</span></p>
<ul>
<li><span style="font-weight: 400;"> A graphical interface for editing SPARQL queries</span></li>
<li><span style="font-weight: 400;"> Query execution in a tabbed browser window</span></li>
<li><span style="font-weight: 400;"> The ability to execute multiple queries at once</span></li>
<li><span style="font-weight: 400;"> The ability to export results in different formats.</span></li>
</ul>
<h3><span style="color: #e67e23;">Q14) Disadvantages of SPARQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The key disadvantage of SPARQL is that it's not an easy language to learn. Developers who are new to SPARQL often find themselves struggling to understand how to write queries.</span></p>
<p><span style="font-weight: 400;">SPARQL has some other disadvantages as well. It doesn't have a clear path for upgrading from one version of the standard to another, and there are no formal guidelines for its implementation in commercial software products.</span></p>
<h3><span style="color: #e67e23;"><a id="what-data-structures-does-sparql-use"></a>Q15) What kind of data structures does SPARQL use?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>There are three types of data structures that SPARQL uses:</span></p>
<ul>
<li><strong>Data</strong><span style="font-weight: 400;">: The data is what we are retrieving or inserting.</span></li>
<li><strong>Variables:</strong><span style="font-weight: 400;"> Variables are used in queries to represent values that we do not know yet, but will know when querying the database.</span></li>
<li><strong>Functions:</strong><span style="font-weight: 400;"> Functions are used in queries to express constraints on the data and other functions.</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 35px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 35px;">
<td style="width: 98.3496%; height: 35px; text-align: center;">Relate article: <span style="color: #236fa1;"><em><a style="color: #236fa1;" href="https://tekslate.com/stack-using-linked-list-in-data-structures"><strong>Stack using Linked List in Data Structures</strong></a></em></span></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><a id="sparql-examples"></a>Q16) What are some examples of where you might use SPARQL?</span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Some examples of where you might use SPARQL are as follows: </span></p>
<ul>
<li><span style="font-weight: 400;">Search for a specific resource in a dataset.</span></li>
<li><span style="font-weight: 400;">Find all resources with certain properties.</span></li>
<li><span style="font-weight: 400;">Find all resources that match certain criteria.</span></li>
</ul>
<p><span style="font-weight: 400;"><br /><br /></span></p>30:T3ff6,<p><span style="color: #000000;">In this blog, we will take a look at some of the most common Windchill Interview questions asked in a PTC Windchill interview. We have also provided some tips on how to answer them effectively.<br /></span></p>
<table style="border-collapse: collapse; width: 100.012%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<h3 style="text-align: center;"><span style="font-size: 18px;">Most frequently Asked Windchill Interview Questions</span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.4573%;">
<ul>
<li><a href="#ptc-products"><span style="color: #236fa1;">List some of the PTC products</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#windchill-workgroup-manager">The definition of Windchill Workgroup Manager</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#windchill-project-link">Explain the Windchill Project link</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#windchill-quality-solutions">Explain Windchill Quality Solutions</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#winchill-end-item">Explain Windchill&rsquo;s End Item</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#describe-windchill-enhancements">Describe in detail the Windchill 9.0 enhancements to usability, visualization, and other areas.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-is-interesting-in-release-of-windchill">What is interesting in the release of Windchill 9.1?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#usability-and-supportability-in-windchill">Give a succinct description of the usability and supportability upgrades in Windchill 9.1.</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #236fa1;"><strong>Windchill Interview Questions and Answers</strong></span></h2>
<h3><span style="color: #e67e23;">Q1) What exactly is PTC Windchill?</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> PTC Windchill is a product lifecycle management (PLM) solution that allows companies to better manage their products and processes. It has the capability of managing data from product inception to retirement.</span></p>
<h3><span style="color: #000000;"><span style="color: #e67e23;">Q2) What are some of the most important skills for success in this role?</span><br /></span></h3>
<p><span style="color: #000000;"><strong>Ans: </strong>The most important skills for success in this role would be: analytical thinking, problem solving, and decision making skills. You will also need strong verbal and written communication skills.</span></p>
<h3><span style="color: #e67e23;"><a id="ptc-products"></a>Q3) List some of the PTC products</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>An assortment of computer-aided design features is offered by the PTC CAD software. Other products offered by PTC include:</p>
<ul>
<li>CREO Parametric; previously known as Pro/Engineer</li>
<li>CREO Simulate; previously known as Pro/Mechanica</li>
<li>CREO Direct; previously known as CoCreate OneSpace Modeling</li>
<li>Options Modeller for CREO</li>
<li>CREO Illustrate schematics</li>
<li>CREO View</li>
<li>Illustrate CREO</li>
</ul>
<h3><span style="color: #e67e23;">Q4) What are the essentials of Windchill PDM?</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>PTC's production-proven PTC Windchill software serves as the foundation for PTC Windchill Product Data Management (PDM) Essentials. Data management tasks are made simpler by transparently integrating them into the design process with Windchill PDM Essentials. It maintains all types of information produced during the creation of a product, including CAD drawings, customer specifications, schematics, and Bill of Materials (BoMs). With this cutting-edge product data management tool, managing, sharing, and reviewing your data is simple.&nbsp;</p>
<p>A single view of the most recent product data is now possible, and desktop tools, <span style="color: #236fa1;"><a style="color: #236fa1;" title="Microsoft BI Tutorial" href="https://tekslate.com/msbi-tutorials" target="_blank">Microsoft</a></span> Office, and key-end CAD vendors are all more tightly integrated. Additionally, it offers your users time savings through improved version control, automated data release, and straightforward search features.</p>
<table style="border-collapse: collapse; width: 100%; height: 38px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 38px;">
<td style="width: 98.3496%; height: 38px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Windchill? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/ptc-windchill-training" target="_blank">Windchill Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><a id="windchill-workgroup-manager"></a>Q5) The definition of Windchill Workgroup Manager</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>A compatible authoring program and a Windchill server can share data through the client-based Windchill Workgroup Manager tool from PTC. It has a built-in browser that gives you access to both a shared project space on the server and a local workspace on your client.</p>
<h3><span style="color: #e67e23;">Q6) How does Windchill PDMLink work?</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>How can you preserve the integrity of your product information with so much data scattered around your business and several people working on the same files? Windchill PDMLink is the answer. A Web-based Product Data Management (PDM) solution with extensive industry experience, Windchill PDMLink allows globally dispersed teams while controlling crucial operations including content, update, and configuration management. By keeping master data in a safe location where you can manage, track, and record all changes, Windchill PDMLink preserves the accuracy of your product information.</p>
<p>When you make changes to your data, Windchill PDMLink stores a modified version of the data, signed and dated, in a safe location alongside the original data, which is kept as a permanent record in its original format. You can manage both the release cycle and configuration of your product with Windchill PDMLink, which also offers change control management.</p>
<h3><span style="color: #e67e23;"><a id="windchill-project-link"></a>Q7) Explain the Windchill Project link</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>Windchill, a web-based framework for collaborative product creation called ProjectLink automates and tracks projects. You and your team may interact, hold meetings, exchange and discuss documents and product architectures, and track task progress using the shared workspace that ProjectLink offers. ProjectLink is a secure web-based solution that can be utilized with ease in any collaboration context, including private exchange environments and public business-to-business (B2B) exchanges.</p>
<p>It can also be applied outside of your company's an engineering and manufacturing divisions. Windchill ProjectLink can be used to handle any project that calls for team members to exchange electronic information, such as authoring yearly reports or developing training materials.</p>
<h3><span style="color: #e67e23;">Q8) What do you know about Windchill Partslink?</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>PDMLink's Windchill PartsLink module delivers part classification-based functionalities. Through simple navigation and searching, PartsLink gives you the ability to execute generic attribute searching and manage your findings. You can search for components by entering a part number or a free-form product description in the search criteria text box. You can use text and photos to view the hierarchically arranged structure of your sections.&nbsp;</p>
<p>By limiting parameters in a generic search, you can further narrow your search. Your team can use Windchill PartsLink to carry out similar part searches. By extending your search, you can look for parts that match the specified component and have parametric qualities that are within a specific percentage or absolute tolerance of it. The result set can also be exported to a file. Many businesses miss out on the advantages of reusing product components because they lack an extensive part search system. Limiting the result set through criteria-based searching greatly aids in reuse decision-making. PTC Windchill PartsLink assists in resolving such issues.</p>
<h3><span style="color: #e67e23;"><a id="windchill-quality-solutions"></a>Q9) Explain Windchill Quality Solutions</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>You might have access to one or more programs depending on the Windchill Quality Solutions suite you have such as the Windchill Quality Solutions 10.1 Desktop, Windchill Quality Solutions 10.1 Administrator, or Windchill Quality Solutions 10.1 Web Access. The core of the Windchill Quality Solutions suite is Windchill Quality Solutions, the desktop version. The feature-rich Windows program for all of your dependability and maintainability tasks is available in team and corporate additions.</p>
<p>The Windchill Quality Solutions Administrator, which gives you alternatives for administrative controls including tools to facilitate secure login, is also a part of the enterprise. You can access data entry, filtering, graphing, reporting, and other features through Windchill Quality Solutions Web Access, which is provided particularly for Windchill FMEA violations in the enterprise edition.</p>
<h3><span style="color: #e67e23;"><a id="winchill-end-item"></a>Q10) Explain Windchill&rsquo;s End Item</span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong> </span>The components of a product that are finally put together or sold to a buyer are called end items. Windchill designates it as the principal end item for the context when you construct parts with the end item property set to yes. Primary ends are automatically gathered and added to your modifications.</p>
<h3><span style="color: #e67e23;">Q11) For managing processes and product data, is there any other Windchill software?</span></h3>
<p><span style="color: #e67e23;"><strong><span style="color: #000000;">Ans: </span></strong></span></p>
<ul>
<li>An essential component of Manufacturing Process Management is Windchill MPMLink.</li>
<li>Companies in the retail, garment, footwear, and consumer product industries frequently utilize Windchill FlexPLM as their product lifecycle management solution.</li>
<li>PTC's Integrity product and Windchill PDMLink work together to provide Windchill Requirements Management, which controls product data software and hardware requirements.</li>
<li>Discrete manufacturers can manage their portfolios using the tool Windchill PPMLink.</li>
<li>Throughout a product's serviceable lifecycle, Windchill Service Information Manager generates dynamic, correlated service part information.</li>
<li>By enabling service information to be arranged and optimized for reliability, usefulness, and rich, graphics-driven delivery, Windchill Service Parts enhances service operations.</li>
</ul>
<h3><span style="color: #e67e23;">Q12) How does the PTC Product Development System (PDS) integrate with Windchill 9.0?</span></h3>
<p><span style="color: #e67e23;"><strong><span style="color: #000000;">Ans: </span></strong></span>A key element of PTC's comprehensive product development system is Windchill. It enables enterprises to streamline crucial product development procedures and have a single repository in charge of all product information. PTC's Prod uct Development System can be swiftly installed, offers a lower total cost of ownership, and decreases the risk of technological obsolescence over time thanks to its integrated, pure Internet, and interoperable architecture. Learn more about PTC's Product Development System.</p>
<h3><span style="color: #e67e23;"><a id="describe-windchill-enhancements"></a>Q13) Describe in detail the Windchill 9.0 enhancements to usability, visualization, and other areas.</span></h3>
<p><span style="color: #e67e23;"><strong><span style="color: #000000;">Ans: </span></strong></span>Product View Lite 9.0 introduces new integrated visualization capabilities that dramatically increase loading, interacting, and disseminating visualization data performance, enhancing user productivity. Enhanced reporting features with market-leading Cognos 8 Business Intelligence, including instantaneous, out-of-the-box reports on change management activities, user task status, and project progress</p>
<p>Strong user interface configuration tools allow you to customize the interactions and functionalities that are available to a specific user based on their job and activities. Utilize new smart replication capabilities that enhance system performance and availability while lowering replication setup and administrative upkeep to efficiently coordinate information with remote users and outside partners. Extended supportability options, which make use of commercially available Java extensions and frameworks, simplify installations, and include more system monitoring tools.</p>
<h3><span style="color: #e67e23;">Q14) What possibilities are there for quickly putting Windchill 9.0 solutions into production?</span></h3>
<p>&nbsp;<span style="color: #e67e23;"><strong><span style="color: #000000;">Ans: </span></strong></span>To assist top firms in realizing the full potential of Windchill, PTC Global Services combines strategic process consulting, system implementation services, and an innovative educational strategy. These operations have been integrated and executed utilising a cutting-edge Realized Value Methodology, a compilation of experiences and lessons acquired from thousands of client encounters, to ensure that our customers receive the greatest value from their investment in the shortest amount of time.These resources are integrated to create several standard solutions that are created to satisfy the requirements of a specific business process, industry, or stage of implementation.</p>
<h3><span style="color: #e67e23;"><a id="what-is-interesting-in-release-of-windchill"></a>Q15) What is interesting in the release of Windchill 9.1?</span></h3>
<p><strong>Ans: </strong>Along with several enhancements to enterprise product content management, usability, and supportability, Windchill 9.1 now provides better support for core product development processes.</p>
<h3><span style="color: #e67e23;">Q16) How does the PTC product development system (PDS) accommodate Windchill 9.1?</span></h3>
<p><strong>Ans: </strong>A key element of PTC's comprehensive product development system is Windchill. It enables enterprises to streamline crucial product development procedures and have a single repository in charge of all product information. PTC's Product Development System can be swiftly installed, offers a lower total cost of ownership, and decreases the risk of technological obsolescence over time thanks to its integrated, pure Internet, and interoperable architecture.</p>
<h3><span style="color: #e67e23;"><a id="usability-and-supportability-in-windchill"></a>Q17) Give a succinct description of the usability and supportability upgrades in Windchill 9.1.</span></h3>
<p><strong>&nbsp;Ans:</strong> Numerous usability enhancements in Windchill 9.1 make it easier to navigate and use the program. Column freeze and column resize are two specific examples. Along with streamlining deployment, Windchill 9.1 has significantly enhanced installation processes. This update will substantially simplify the transition from Windchill 9.0 to Windchill 9.1 and won't involve data migration.</p>
<p>&nbsp;</p>31:T2c11,<h2><span style="color: #e67e23;"><strong>Introduction To Cloud Analytics</strong></span></h2>
<p>Large databases and other data sets are used by the cloud analytics software to create helpful summaries &amp; insights, sometimes through visualizations or charts, that guide corporate choices.</p>
<p>Some cloud analytics software focuses solely on a single sort of data, such as website usage or social media activity. Others are more comprehensive and work with numerous data sources, regardless of how dissimilar, to present an overall picture of how your firm is performing.</p>
<p>By utilizing the cloud, your team may take advantage of strong computing capabilities in distant data centers, enabling you to handle more difficult jobs that in the past might have necessitated a supercomputer. Employees and others can log in using a computer, mobile, or tablet after the data has been imported to examine and work with the results.</p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.2759%;">
<h3><strong>Table of Contents</strong></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#cloud-analytics">What is Cloud Analytics?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#types-of-cloud-analytics">Types of Cloud Analytics</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#how-firms-apply-cloud-analytics">How do firms apply Cloud Analytics?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#why-cloud-analytics">Why should anyone use Cloud Analytics?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#cloud-analytics-tools">A few cloud analytics tools</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><a id="cloud-analytics"></a>What is Cloud Analytics?</span></h3>
<p>When data is manipulated and analyzed remotely, as opposed to locally in an on-premises business system, this is referred to as cloud analytics. Users have access to, and the ability to gather, analyze, and make use of, analytics systems located in the cloud. With the help of these systems, users may analyze big data sets, spot trends, and find areas where the business needs to improve.&nbsp;</p>
<p>Instead of creating equipment to perform the process on-site, cloud analytics enables businesses to process massive data volumes in a scalable, more inexpensive way.</p>
<table style="border-collapse: collapse; width: 100%; height: 38px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 38px;">
<td style="width: 98.2759%; height: 38px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Domo? Enroll in Instructor-Led live <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/domo-training" target="_blank">Domo Training</a></strong></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><a id="types-of-cloud-analytics"></a>Types of Cloud Analytics:</span></h3>
<p>Although it is simple to picture the cloud as an exquisite being, the word refers to vast computer networks that are hosted in one or more data centers. One of the cloud model types listed below might be appropriate for the analytics platform you want to construct, depending on your objectives and goals in terms of security, scalability, and accessibility, among other factors.</p>
<p>There are three types of Cloud Analytics &ndash; Public, Private, and Hybrid. Let&rsquo;s learn each of them in detail below:</p>
<p><strong>1) Public Cloud:</strong></p>
<p>In a public cloud, services such as virtual computers, storage capacity, applications, and more are made accessible to the general public via a third party. Although users occasionally have to pay for usage or utilization, they are frequently provided for free. Because IT systems are linked and data is kept confidential on this public cloud, an enterprise can cut expenditures and maintenance requirements.</p>
<p><strong>2) Private Cloud:</strong>&nbsp;</p>
<p>A private cloud is only accessible by certain individuals within one organization, as opposed to being made available to the broader public. It has the same scalability and accessibility benefits as a public cloud but is housed in a data center that is only owned by that one company or a hosting provider. Although this offers greater data protection and privacy, it is frequently far more expensive.</p>
<p><strong>3) Hybrid Cloud:</strong></p>
<p><strong> </strong>This one combines the public and private clouds mentioned above. Companies that choose a hybrid cloud architecture use the public cloud for less-sensitive data while retaining a smaller private cloud for information that should only be seen by that particular organization.</p>
<h3><span style="color: #e67e23;"><a id="how-firms-apply-cloud-analytics"></a>How do firms apply Cloud Analytics?</span></h3>
<p>There are practically endless ways to operate a business, just as there are countless methods to apply cloud analytics. For instance, a corporation that streams digital music would require different cloud analytics than a merchant.</p>
<p>Although increasing profitability is typically the ultimate goal of cloud analytics, firms may have more specific goals, such as maximizing profitability from current clients or boosting global sales. Reports and visualization tools can highlight areas where a business is functioning well or poorly, helping to inform more comprehensive initiatives. Cloud analytics may be used by both small and large firms to sift through vast amounts of customer and corporate data to uncover important insights.</p>
<p>For instance, businesses that depend heavily on their sales teams may employ cloud analytics to understand better why certain regions perform better than others. Analytics may help you identify markets where you have a competitive advantage and can succeed by doubling down, as well as those where it is difficult to close the business due to competition. An influencer on social media might identify trends in the kinds of posts that receive the most likes. Another option is for a geneticist to sequence the millions of nucleotides that make up a genome using cloud analytics. There are countless other potential use cases, of which these are just a few examples.</p>
<h3><span style="color: #e67e23;"><a id="why-cloud-analytics"></a>Why should anyone use Cloud Analytics?</span></h3>
<p>When compared to conventional techniques like spreadsheets and other desktops- or on-premises solutions, cloud analytics provide significant advantages. Cloud analytics is an obvious choice due to its benefits, such as:</p>
<p><strong>Scalability and Growth:</strong> Cloud computing solutions provide near-limitless flexibility and tremendous capabilities on demand. Without having to buy, build up, or operate any of your servers or other resources as your needs change as your business grows, these facilities are available when required for scaling up or scaling down.</p>
<p><strong>Unified Approach From Anywhere:</strong> Employees may need to be taught on numerous platforms if your finance, IT, marketing, and sales teams manage their database and utilize distinct analysis tools. They lose time hunting for information from different systems or need to be taught a variety of solutions as a result. Your complete workforce has access to a single source of data and insights through cloud analytics that are drawn from your organization's ERP system, regardless of where they are located.</p>
<p><strong>Break down communication gaps:</strong> When all of your personnel utilize the same system, it makes it easier for departments to collaborate. Users only have access to the data they need, but teams may communicate more readily across departments to uncover more insightful information.</p>
<p><strong>Cost Reduction:</strong> Hosting and managing any on-premises systems incurs expenses for IT staff, hardware, and development work. Cloud analytics results in a single bill and, frequently, lower overall expenditures.</p>
<p><strong>Find solutions Faster:</strong> Data processing is made possible by the more potent servers made available by cloud computing, as opposed to on-site systems or employee laptops.</p>
<p><strong>Teamwork:</strong> The cloud is by nature superior for sharing. Employees can work within the same data sets and share results with a few clicks, eliminating the need for network drives, email attachments, and the confusion caused by different copies of the same file.</p>
<p><strong>Enhanced Security:</strong> The majority of cloud analytics services frequently backup data to servers spread across many regions to protect it in the event of a fire or other natural disaster. There are no local hard drives to be stolen because there is no local storage of data, and flash drives or emails are not used to communicate sensitive information. Users only have access to the information they require, all data is password-protected, and audit logs show who accessed what, when, and how.</p>
<h3><span style="color: #e67e23;"><a id="cloud-analytics-tools"></a>A few cloud analytics tools</span></h3>
<p>Tools for cloud analytics come in a variety of forms. A lot of these are simple to access using your web browser. Here are a few examples of some common categories of cloud analytics tools:</p>
<p><strong>Website Analytics:</strong> Website traffic analytics is one of the most popular categories of cloud analytics. With the use of these cloud analytics tools, you may better analyze a website's traffic, bounce rate, conversion rate, and various statistics to make changes that will enhance the user experience while also increasing income and profitability.</p>
<p><strong>Sales Analytics:</strong> Platforms for sales analytics assist you in managing customers, and leads, assessing sales across geographies, and keeping track of your sales team's performance. Significant trends or signals can be revealed by this data, which can aid in the development of more successful sales tactics by leaders.</p>
<p><strong>Financial Analytics:</strong> Without a big staff of financial analysts, it would be hard to uncover trends in revenue and expense as well as other information in your financial results using financial analytics alone.</p>
<p><strong>Performance Analytics:</strong> Performance analytics examines sales, manufacturing, or other data to identify inefficiencies, expenditure sources, and areas of improvement.</p>
<h3><span style="color: #e67e23;">Conclusion:</span></h3>
<p>Every day, your company produces a staggering amount of data. Consolidating that data and transforming it into useful insight while simultaneously lowering acquisition and maintenance costs is made possible by cloud analytics. The secret is to foresee your company's requirements so you can make the most of your preferred cloud analytics platform. The information you require to give your firm a competitive edge is there in front of you. You may put them in your fingers with the help of cloud analytics.</p>
<p>&nbsp;</p>32:T2b16,<p>Apttus inherits the majority of the incredible capabilities that Salesforce offers its customers, such as the flexibility to operate enterprises in numerous languages, wireless sync, and, of course, analytics. It exists solely to provide trustworthy and accurate quotations in real-time, which not only assists businesses in obtaining this information but also benefits sales teams in cross-selling.</p>
<p>Apttus is trusted by some of the world's largest corporations, including Intermid, Emirates, and Metacube. Apttus' market share is increasing quickly, and corporations pay an average salary of $150K each year. As a result, you still have an option to advance your career within Apttus Development. This Apttus Interview Questions blog will assist you in acing your interview and securing the Apttus Developer position in your dream company.</p>
<table style="border-collapse: collapse; width: 99.9867%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.5496%;">
<h3>Most frequently asked Apttus CPQ Interview Questions</h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">What is Apttus?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q4">Does Apttus's CPQ tool support eSignatures?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q8">What is a Product Attribute?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q10">What is the term "category"?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q12">What does the term "search filters" mean?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q19">What are Packaged Products?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q21">What are the primary impediments to sales in a company?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q24">What is the Hierarchy of Products?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q25">How will machine learning affect the future of CPQ tools?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;">Apttus CPQ Interview Questions and Answers</span></h2>
<h3><span style="color: #e67e23;"><a id="q1"></a>Q1) What is Apttus?</span></h3>
<p><strong>Ans: </strong>Apttus is a leader in business processing automation tools. It is a 2006-founded American corporation. It offers administrative solutions designed to optimize a range of economic and business activities.</p>
<h3><span style="color: #e67e23;">Q2) What does the abbreviation CPQ stand for? What is the purpose of this?</span></h3>
<p><strong>Ans: </strong>CPQ is an abbreviation for Configure Price Quote. This is a software application that is commonly utilized by sales professionals. Thus, using this tool, sales professionals inside a company would get a holistic perspective of all components of a project quotation, assisting them in reaching an optimal degree of pricing accuracy.</p>
<h3><span style="color: #e67e23;">Q3) How come Apttus is referred to as a "Quote to Cash" model?</span></h3>
<p><strong>Ans: </strong>Because the technology enables organizations to be more successful in terms of retargeting, as well as more dynamic and flexible in their follow-up with consumers by offering a personalized ecosystem.</p>
<h3><span style="color: #e67e23;"><a id="q4"></a>Q4) Does Apttus's CPQ tool support eSignatures?</span></h3>
<p><strong>Ans: </strong>Yes, the Apttus DocuSign suite can be integrated, enabling users to utilize the eSignature functionality directly inside the Apttus platform.</p>
<table style="border-collapse: collapse; width: 99.9867%; height: 22px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 22px;">
<td style="width: 98.5496%; height: 22px; text-align: center;"><em>If you want to enrich your career and become a professional in Apttus, then visit Tekslate - a global online training platform: "<a href="https://tekslate.com/apttus-training" target="_blank"><span style="color: #236fa1;"><strong>Apttus Training</strong></span></a>" This course will help you to achieve excellence in this domain.</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q5) Why is the CPQ tool regarded as a modern-day organizational utility tool?</span></h3>
<p><strong>Ans: </strong>It is considered a modern-day multipurpose tool since it satisfies the following criteria:</p>
<ul>
<li>Offers a tremendous platform for marketing.</li>
<li>A legitimate node for accurate and trustworthy product details.</li>
<li>Due to the customization, customized pricing quotations are available.</li>
<li>Incentives are offered in accordance with the product options.</li>
</ul>
<h3><span style="color: #e67e23;">Q6) What is the term "product"?</span></h3>
<p><strong>Ans: </strong>It is a commodity that may be marketed as a Standalone, Option, or Bundle to customers.</p>
<ul>
<li>Standalone - It is available for purchase separately.</li>
<li>Bundle - A bundle is a collection of two or more goods.</li>
<li>Options - It gives end customers more product offerings.</li>
</ul>
<h3><span style="color: #e67e23;">Q7) What does the term "Product Group" mean?</span></h3>
<p><strong>Ans:&nbsp; </strong>Product Group is an APTTUS Customized object that holds a collection of goods.</p>
<h3><span style="color: #e67e23;"><a id="q8"></a>Q8) What is a Product Attribute?</span></h3>
<p><strong>Ans: </strong>Product Attributes are associated with a product's characteristics such as color, mass, and volume.</p>
<h3><span style="color: #e67e23;">Q9) What is a Catalogue of Products?</span></h3>
<p><strong>Ans: </strong>The Product Catalogue is a repository for all items accessible in your business.</p>
<h3><span style="color: #e67e23;"><a id="q10"></a>Q10) What is the term "category"?</span></h3>
<p><strong>Ans: </strong>A category is a broad classification of items. It enables end consumers to choose them from the Product catalog.</p>
<h3><span style="color: #e67e23;">Q11) What is an audit trail?</span></h3>
<p><strong>Ans: </strong>The Audit Trail feature in business software is important for obtaining data or tracking any recent configuration changes made by the organization's management. Data can be retained in the audit trail for up to 12 weeks.</p>
<h2><span style="color: #236fa1; font-size: 24px;">Apttus CLM Interview Questions</span></h2>
<h3><span style="color: #e67e23;"><a id="q12"></a>Q12) What does the term "search filters" mean?</span></h3>
<p><strong>Ans: </strong>By utilizing the data of respective fields, search filters assist us in locating outcomes. To locate product alternatives, we may apply a search filter depending on the values of their fields.</p>
<h3><span style="color: #e67e23;">Q13) What does the term "Exclusion Rules" mean?</span></h3>
<p><strong>Ans: </strong>Exclusion Rules assist us in generating error messages and promoting to consumers the need of excluding both goods.</p>
<h3><span style="color: #e67e23;">Q14) How does the CPQ tool assist your sales leaders in exhibiting persuasive behavior?</span></h3>
<p><strong>Ans: </strong>Given that it is a well-known truth that the more businesses sell, the more profit the company earns, it is obvious for the company to invest in some type of instrument that creates or instills drive. Thus, one such tool is CPQ; it provides the appropriate details about the product at the appropriate moment.</p>
<h3><span style="color: #e67e23;">Q15) What exactly is a pricelist?</span></h3>
<p><strong>Ans: </strong>Pricelists are used to keep track of different pricing for a single product dependent on the supply chain.</p>
<h3><span style="color: #e67e23;">Q16) What Is The Definition Of Inclusion Rules?</span></h3>
<p><strong>Ans: </strong>Inclusion Rules assist us in generating error messages and promoting solutions to users.</p>
<h3><span style="color: #e67e23;">Q17) How Are Price Rules Determined?</span></h3>
<p><strong>Ans: </strong>Price Rules Collections include criteria for updating a product's Price Rules.</p>
<h3><span style="color: #e67e23;">Q18) What Exactly Are Price Matrixes?</span></h3>
<p><strong>Ans: </strong>Pricing Matrices are used to modify the price of a particular item on a market price.</p>
<h3><span style="color: #e67e23;"><a id="q19"></a>Q19) What are Packaged Products?</span></h3>
<p><strong>Ans: </strong>Packaged Products are a collection of multiple products that would provide value to the customer's purchase.</p>
<h3><span style="color: #e67e23;">Q20) What does the term "Inner Bundles" mean?</span></h3>
<p><strong>Ans: </strong>Inner Bundles are also referred to as multi-level packages, as they allow consumers to pick a bundle within another package.</p>
<h3><span style="color: #e67e23;"><a id="q21"></a>Q21) What are the primary impediments to sales in a company?</span></h3>
<p><strong>Ans: </strong>The primary impediments to sales in a company are as follows:</p>
<ul>
<li>It is nearly hard to discover all product options and thorough information about new items.</li>
<li>Incapable of determining which items would best fit the customer's requirements. This is entirely due to the marketing executive's confusion concerning product offerings themselves, as there is no central repository for all product portfolio and their most relevant data.</li>
<li>There are no specified discount guidelines for goods.</li>
<li>Manual quotation generation is prone to human mistakes.</li>
</ul>
<h3><span style="color: #e67e23;">Q22) How will the use of CPQ software impact the organization's sales?</span></h3>
<p><strong>Ans:&nbsp; </strong>The following are the critical components of changing an organization's sales:</p>
<ul>
<li>Increase Speed.</li>
<li>Eliminate Inaccuracies.</li>
<li>Maximize the size of the transaction.</li>
<li>Provide comprehensive and up-to-date data.</li>
</ul>
<h3><span style="color: #e67e23;">Q23) What does the abbreviation ABO mean in the Apttus CPQ tool?</span></h3>
<p><strong>Ans:&nbsp; </strong>ABO is the abbreviation for Asset-Based Ordering platform.</p>
<h3><span style="color: #e67e23;"><a id="q24"></a>Q24) What is the Hierarchy of Products?</span></h3>
<p><strong>Ans: </strong>Product Hierarchy is a term that refers to the succession of products and how they are related to one another.</p>
<h3><span style="color: #e67e23;"><a id="q25"></a>Q25) How will machine learning affect the future of CPQ tools?</span></h3>
<p><strong>Ans: </strong>It enables salespeople to compare their current valuation quotation to all prior price quotes submitted by their significant sales executives, therefore creating a comparative atmosphere. This assists in reducing errors in the present price quotation and modifying it in accordance with the system's advice. All of this contributes to a great pricing quotation and attracts consumers.</p>33:T3d5c,<h2><span style="color: #e67e23;" data-sheets-value="{'1':2,'2':'Hardware design development interview Questions'}" data-sheets-userformat="{'2':33559041,'3':{'1':0},'12':0,'15':'\'Helvetica Neue\'','28':1}">Hardware Design Engineer Interview Questions and Answers</span></h2>
<p>Hardware engineers design and produce a number of electrical circuits for computers, machines, and other equipment applications. They build computer chip layout blueprints, run performance testing, analyze statistical information, and modify a variety of analogue and digital components.</p>
<p>The spectrum of hardware engineering services is expanding as robots, machine learning, network simulators, and other innovations progress. During a hardware design interview, companies are looking for the best applicant to exhibit significant expertise in electrical engineering and be an effective problem solver.&nbsp;</p>
<p>As a result, we've compiled a list of frequently asked Hardware Design Development interview questions that might assist you in landing your ideal job!</p>
<table style="border-collapse: collapse; width: 99.9867%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.5496%;">
<h3>Most frequently asked Hardware Design Engineer Interview Questions</h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">What Are the Functions of a Hardware Engineer?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q4">What is the purpose of a microcontroller?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q7">What Does Fault Tolerance Mean?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q9">How are you going to define VLSI?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q12">Define Multiprocessing vs. Multitasking</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q15">What is a Watchdog Timer?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q17">What do you mean when you say "NRE"? What difference does it make?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q18">What is a semaphore?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q21">What kind of registers does an INTEL CPU contain?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q27">Justify the existence of parallel address space.</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><strong><a id="q1"></a>Q1) What Are the Functions of a Hardware Engineer?</strong></span></h3>
<p><span style="color: #000000;"><strong>Ans:&nbsp;</strong></span>A hardware engineer may have a variety of responsibilities depending on the organization. These activities include information systems research, development, and testing. Additionally, hardware engineers create microprocessors, routers, bridges, memory devices, computer chips, and other computer peripherals. Moreover, it is within their responsibilities to identify future trends in computer equipment.</p>
<h3><span style="color: #e67e23;">Q2) Describe How Scalability Can Be Achieved?</span></h3>
<p><strong>Ans:</strong> You can achieve scalability by updating a system. This may entail boosting the processing capability of a system to enable practical task completion. Another method of scaling a system is to enhance the architectural style. This will result in a more efficient technique of delivering software onto hardware.</p>
<h3><span style="color: #e67e23;">Q3) Describe what embedded real-time systems are?</span></h3>
<p><strong>Ans:</strong> Real-time embedded devices are machines that analyze, respond to, and control their surrounding environment in real-time. Through valves, sensors, and other input-output connectors, the ecosystem gets connected to the computer system.</p>
<h3><span style="color: #e67e23;"><a id="q4"></a>Q4) What is the purpose of a microcontroller?</span></h3>
<p><strong>Ans:</strong> A microcontroller is a self-contained concept that integrates peripherals, memory, and a CPU. It is sometimes referred to as an embedded system.</p>
<table style="border-collapse: collapse; width: 99.9867%; height: 41px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 41px;">
<td style="width: 98.5496%; height: 41px; text-align: center;"><em>Do you want to master Hardware Design Development? Then enroll in "<a href="https://tekslate.com/hardware-design-development-training" target="_blank"><strong><span style="color: #236fa1;">Hardware Design Development Training</span></strong></a>" This course will help you to master Hardware Design Development.</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;">Q5) What Is the Difference Between Hard and Soft Real-Time Systems?</span></h3>
<p><strong>Ans:</strong> Hard real-time systems are those that place a high premium on the output being delivered on time. Any late answer or delay will always be seen as a failure.</p>
<p>On the other hand, soft real-time implementations are not as rigorous as hard real-time systems. The system's efficiency drops as the reaction time increases, but this degradation is tolerable and may be adjusted to a certain degree for repetition of the result.</p>
<h3><span style="color: #e67e23;"><strong>Q6) What is the difference between a microprocessor and a microcontroller?</strong></span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li style="font-weight: 400;" aria-level="1"><span style="font-weight: 400;">The microprocessor is responsible for managing resources (I/O, memory) that are not part of its design.</span></li>
<li style="font-weight: 400;" aria-level="1">Microcontrollers incorporate I/O, memory, and other components that are optimized for control.</li>
</ul>
<h3><span style="color: #e67e23;"><a id="q7"></a>Q7) What Does Fault Tolerance Mean?</span></h3>
<p><strong>Ans:</strong> Fault tolerance relates to the feature of a framework that enables it to continue functioning even when component losses are incurred. Nonetheless, it is critical to quickly determine the source of the issue to rectify it and restore full performance.</p>
<h3><span style="color: #e67e23;">Q8) What is the purpose of the DMA address?</span></h3>
<p><strong>Ans: </strong>DMA addresses deal with physical addresses. It is a mechanism that provides information and addresses buses immediately during data transport. As a result, it is only a physical address.</p>
<h3><span style="color: #e67e23;"><a id="q9"></a>Q9) How are you going to define VLSI?</span></h3>
<p><strong>Ans: </strong>It is an acronym for Very Large-Scale Implementation and is a technique that enables engineers to shrink the size of equipment. At the moment, this technology allows for the construction of a complete electrical circuit on a microchip.</p>
<h3><span style="color: #e67e23;">Q10) What is the definition of a chip? What is the importance of this?</span></h3>
<p><strong>Ans: </strong>A chip is nothing more than a bit piece of electronic equipment. Although it is tiny in size, it contains a large number of electrical components.</p>
<p>The major purpose of chips is to minimize computer components&rsquo; size and circumvent other developmental difficulties. They contribute significantly to cost reduction.</p>
<h3><span style="color: #e67e23;">Q11) What is Architectural Risk and How Can It Be Reduced?</span></h3>
<p><strong>Ans: </strong>An architectural risk is a chance that an architectural style may fall short of meeting a project's criteria. Failure may manifest itself in inferior visual appeal and inefficiencies not authorized by the contractor.&nbsp;</p>
<h3><span style="color: #e67e23;"><a id="q12"></a>Q12) Define Multiprocessing vs. Multitasking</span></h3>
<p><strong>Ans: </strong>Multiprocessing refers to a CPU's capacity to run many applications concurrently. Multiple processors are used in computers today to increase their multiprocessing capacities. On the other hand, multitasking refers to a multiprocessor's capacity to switch between concurrently executing processes.</p>
<h3><span style="color: #e67e23;">Q13) What is the purpose of a clock generator? What role does it play in the hardware?</span></h3>
<p><strong>Ans: </strong>A clock generator is nothing more than a circuit that generates clocks, or analysis of responses, to synchronize a circuit. It ensures the proper operation of any gear that utilizes electronics. A clock generator may be used to create a range of different frequencies.</p>
<h3><span style="color: #e67e23;">Q14) What is the definition of interrupt latency? How are you going to minimize it?</span></h3>
<p><strong>Ans: </strong>Interrupt latency is the time required to exit the interrupt service procedure following the treatment of a particular interrupt. Interrupt latency can be decreased by developing small ISR procedures.</p>
<h3><span style="color: #e67e23;"><a id="q15"></a>Q15) What is a Watchdog Timer?</span></h3>
<p><strong>Ans: </strong>A watchdog timer is an electrical device or board that performs a specified function after a predetermined time period if anything really goes horribly wrong with a computer circuit.</p>
<h3><span style="color: #e67e23;">Q16) Why is an endless loop required in embedded systems?</span></h3>
<p><strong>Ans: </strong>Embedded programs incorporate endless loops to execute or analyze the program's state continuously. For instance, consider the scenario where a program's state is constantly checked for any unusual mistakes that may occur during run-time, such as memory corruption or division by zero.</p>
<h3><span style="color: #e67e23;"><a id="q17"></a>Q17) What do you mean when you say "NRE"? What difference does it make?</span></h3>
<p><strong>Ans: </strong>NRE is an abbreviation for Nonrecurring Engineering Costs. In other words, it is the budgeted cost of designing and developing any hardware. It is significant since this cost is frequently considerable, and businesses cannot always guarantee a return on investment.</p>
<h3><span style="color: #e67e23;"><a id="q18"></a>Q18) What is a semaphore?</span></h3>
<p><strong>Ans: </strong>A semaphore is an abstraction or variable used to manage access to the entire resource by several processes. Semaphores are frequently utilized in two ways:</p>
<ul>
<li>To utilize a shared memory area.</li>
<li>To share file access.</li>
</ul>
<h3><span style="color: #e67e23;">Q19) When is it necessary to utilize a recursive function? Mention the effect of inline recursion routines.</span></h3>
<p><strong>Ans: </strong>When the frequency of recursive calls is not enormous, the recursion function can be utilized. The inline functions attribute specifies that every time the function is called, it will replicate its full definition. A call back function defined as inline places an additional load on the compiler's processing.</p>
<h3><span style="color: #e67e23;">Q20) Describe a circuit that divides the frequency of a clock cycle in half.</span></h3>
<p><strong>Ans: </strong>Simply construct a T Flip flop to split the frequency of a clock. Assign clock as the input signal and logic 1 as the T input.</p>
<h3><span style="color: #e67e23;"><a id="q21"></a>Q21) What kind of registers does an INTEL CPU contain?</span></h3>
<p><strong>Ans: </strong>Special functional registers such as an accumulator, a program controller, and a data pointer are included, along with three registry banks r0 to r7 and bit addressing domains such as B.</p>
<h3><span style="color: #e67e23;">Q22) What is the difference between testing and verification?</span></h3>
<p><strong>Ans: </strong>Verification is a pre-silicon activity, whereas testing is a post-silicon activity. Verification is the process of ensuring the design's functioning throughout the design cycle. Testing is used to identify production flaws.</p>
<h3><span style="color: #e67e23;">Q23) How Do You Determine Whether Two 8-bit Signals Are Identical?</span></h3>
<p><strong>Ans: </strong>XOR each bit of A with the bit of B, and so on. Eight XOR gates' outputs are then sent as i/p to an eight -i/p nor gate. If o/p equals 1, A=B.</p>
<h3><span style="color: #e67e23;">Q24) What Are the Constraints on Set Up and Hold Time? What Do They Indicate?</span></h3>
<p><strong>Ans: </strong>Assume a rising edge activates your flip-flop. The time period during which data must be steady before the positive edge clocking is the setup time restriction. The time period during which data must remain steady following the positive edge of the clock is referred to as the hold time restriction.</p>
<p>If any of these restrictions are broken, the flip-flop enters a metastable position, in which the outcome of the flip-flop cannot be determined.</p>
<h3><span style="color: #e67e23;">Q25) In hardware design, what is soldering and de-soldering?</span></h3>
<p><strong>Ans: </strong>Soldering is a process used to attach one object to another using a soldering gun mechanically. This technique is explored when some degree of hardware modification is necessary.</p>
<p>On the other hand, de-soldering refers to the process of separating these elements from one another or from the PCB on which they are mounted.</p>
<h3><span style="color: #e67e23;">Q26) What distinguishes macros from inline functions?</span></h3>
<p><strong>Ans: </strong>Macros are typically utilized when a series of instructions/tasks must be replayed. They are tiny programs that do certain preset tasks.</p>
<p>Normally, we use the #define declaration to specify the values of various variables so that if the value has to be changed, just the value needs to be updated and the modification is reflected everywhere.</p>
<h3><span style="color: #e67e23;"><a id="q27"></a>Q27) Justify the existence of parallel address space.</span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li>The two physically distinct memories that share the same address space.</li>
<li>The two variables are accessible in this case using distinct access modes.</li>
<li>The direct addressing method is used to retrieve lower bytes, whereas the indirect addressing method is used to access higher bits of data.</li>
</ul>
<h3><span style="color: #e67e23;">Q28) What are the advantages and disadvantages of assembling in embedded systems?</span></h3>
<p><strong>Ans:</strong></p>
<p>Pros:</p>
<ul>
<li>These are hardware-oriented applications.</li>
<li>As long as the same chip is utilized, the code is portable.</li>
<li>Instructions are executed quickly.</li>
<li>Point mutations are simple.</li>
</ul>
<p>Cons:</p>
<ul>
<li>The programs are lengthy and might get confusing.</li>
<li>The applications are not easily executable on lesser computers.</li>
<li>The code cannot be executed on computers with varying CPU architectures.</li>
<li>There is no System Development Kit included.</li>
</ul>
<h3><span style="color: #e67e23;">Q29) What are the advantages of unions in embedded devices?</span></h3>
<p><strong>Ans:</strong> Unions are being used in embedded devices to group programs that operate in distinct modes. Then, the model-specific data may be stored in a structure, and these models can be combined into a union.</p>
<h3><span style="color: #e67e23;">Q30) In embedded systems, what are actuators?</span></h3>
<p><strong>Ans: </strong>A component that is used to track the motion of systems and machinery is called an actuator. It is powered by the electrical current, which transforms the energy contained in a control input into mechanical vibrations after acquiring it.</p>34:T20ba,<h2 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>SAP MDG Tutorial</strong></span></h2>
<p style="text-align: justify;">SAP Master Data Governance is a much-anticipated addition to the SAP Business collection's business methods, offering domain-specific MDG for systematically producing, editing, and disseminating master data.</p>
<p style="text-align: justify;">Master data governance and management are provided by SAP. They enable the company to manage master data while providing enterprise-wide data that is constant, accurate, and useful. Let's go through SAP Master Data Governance in-depth in this tutorial.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23;"><strong>Overview</strong></span></h3>
<p style="text-align: justify;">SAP MDG is an ideal complement to SAP ERP, which is part of the SAP business suite. With SAP MDG, SAP introduces a unified data management solution for validating, preserving, and allocating master data. This combination improves maintenance techniques, allows for significant improvements in reference data quality, and assures compliance with legal requirements. Furthermore, SAP MDG's automated workflow allows the business and maintenance processes to be sped up and stabilized. The organization is aware of the size increase and internationalization because MDG allows for a volume of Master data of up to a million records per object. As a result, they can take on the challenges of running a successful master data management unit.</p>
<p style="text-align: justify;">Master data that is accurate and reliable serves as the foundation for all business activities. Inconsistencies in payment terms, customer addresses, or risky items details can cause major delays in the company process, such as improper deliveries, invoice payment, and so on. As a result of the variations, full shipments of goods do not reach their intended destination. Organizations face considerable financial risk as a result of this, as well as an increased danger of making incorrect business decisions due to inconsistency in data.</p>
<p style="text-align: justify;">The organization's intricacy is mirrored in its master data and administration. At the local and global levels, master data management is generally done in common structural setups. Globally generated and controlled master data is enriched by local features. With SAP MDG, organizations can overcome these issues and govern whole master processes in an automated and uniform manner. By employing effective data governance functions to produce, manage, and replicate master data, they are capable of maintaining the reliability and precision of master data across their business. The Company's essential processes, such as fiscal consolidation, product innovations, and supplier onboarding, benefit from consistent master data governance.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23;">What exactly is SAP MDG?</span></h3>
<p style="text-align: justify;">SAP Master Data Governance is a master data management solution that allows us to centrally produce, change, and distribute master data, as well as consolidate master data across the system environment. This data integration allows for the reuse of validation frameworks, data models, and business logic, resulting in a significant increase in master data quality.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23;">Why should you utilize SAP MDG?</span></h3>
<ul style="text-align: justify;">
<li>To guarantee enterprise stability, SAP MDG centrally manages supplier, materials, finance, consumer, as well as other data.</li>
<li>The advantage of having a visible audit trail that shows why, by whom, and when data is changed.</li>
<li>For data authentication, utilizing, integrating, and repurposing existing business logic and infrastructure.</li>
<li>Make use of pre-built user interfaces and a workflow based on the confirmed data models.</li>
<li>Parallel master data in non-SAP and SAP systems, enabling for master data governance generation and maintenance.</li>
<li>SAP MDG provides a one-of-a-kind solution that provides both central governance and aggregation, streamlines management, and lowers ownership costs.</li>
<li>Reacts to Enterprise Information Management and Master Data Management issues by providing a unique and reliable perspective of data.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23;">SAP Master Data Governance's Advantages</span></h3>
<ul style="text-align: justify;">
<li>It employs standard SAP ERP tests.</li>
<li>Utilizing SAP data structures and capabilities that are discrete and already exist.</li>
<li>Adaptability and flexibility as per the client's individual needs.</li>
<li>Floor plan manager allows you to customize, adapt, and configure the user interface.</li>
<li>BRFplus incorporates a rules-based workflow that can be customized easily and individually. It also has an automatic workflow control feature.</li>
<li>Data harmonization and consolidation across several systems.</li>
<li>Task transparency in the Master Data Management area.</li>
<li>The impact of data on corporate processes should be transparent.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23;">SAP Master Data Governance Advancement</span></h3>
<p style="text-align: justify;">SAP Master Data Governance advancement: When it comes to dealing with the challenges of master data management while maximizing SAP investment, SAP Master Data Governance provides a lot of advantages. Pre-configured data models, role-based user interfaces, validations, and pre-defined processes are also included in the application. The workflow may be improved with little effort, allowing several people to contribute their knowledge of complex master data. An employee may, for example, change categorization details on a substantial master file, while another employee may add another activity and their conversion.</p>
<p style="text-align: justify;">Workflows involve steps for approving data changes. The data is stored in a staging location separate from the product's Master Data until it is approved. The data is transferred to the tables of the creative master data after approval. The data is subsequently disseminated across the system, which agrees to the Master Data's update. MDG ensures that both SAP Business and non-SAP systems have consistent rights, definitions, and data duplication in this way. MDG has compliance and a full audit trail based on all of these changes and approvals. MDG also allows you to modify existing MDG applications or construct entirely new MDG applications based on custom-defined data models, which include roles, validations, processes, and user interfaces.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23;">The functionality of financial data SAP MDG</span></h3>
<ul style="text-align: justify;">
<li>To assist financial firms in completing their financial close as quickly as possible.</li>
<li>Allows companies to create financial data objects in a centralized location and then distribute them to decentralized locations.</li>
<li>This assures that all financial units, including Reporting, Financial, Operational, and Planning Consolidation, use the same set of entities.</li>
<li>Provides a group setting where financial specialists can discuss new items, avoid doing things they don't want to do and reach the entire audit track for all changes.</li>
<li>Time requirements for data and group change requests are taken into account.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23;">In what way does MDG authorize an enterprise with authenticated data?</span></h3>
<p style="text-align: justify;">The SAP MDG application provides customers with reliable master data, allowing them to increase organizational productivity, accessibility, and process flexibility. In addition to customer and supplier data, the current MDG edition extends the master data consolidation feature to the master data domain. The new integration approaches enable data changes in the Ariba supplier and performance management solution, SAP S/4 HANA, and Hybrid eCommerce solutions, allowing businesses to better manage on-premises data as well as hybrid cloud processes and apps.</p>
<p style="text-align: justify;">&nbsp;</p>35:T35fc,<p>Businesses are looking for correlations between data sets in order to gain important insights. Trying to profit from the strengths of each data collection is a business aspiration. Looker is a critical business intelligence tool for organizations that enables them to create perceptive visuals. It has an intuitive user interface, i.e., completely browser-based, and encourages dashboard interaction.</p>
<p>The Looker tool is used by companies such as Chime, DigitalOcean, Typeform, and more to create visualizations and interfaces. According to payscale.com, the typical annual compensation for a Looker developer in the US is about $110K. Therefore, you have the chance to develop a lucrative career with Looker. In this blog, we will discuss top <strong>Looker Interview Questions and Answers</strong> that help you ace the interview.</p>
<table style="border-collapse: collapse; width: 99.9867%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.5496%;">
<h3><span style="color: #000000;">Most frequently asked Looker Interview Questions</span></h3>
<ul>
<li><a href="#q2"><span style="color: #236fa1;">Describe the Data Flow.</span></a></li>
<li><a href="#q5"><span style="color: #236fa1;">Describe what a drill-down analysis is.</span></a></li>
<li><a href="#q8"><span style="color: #236fa1;">Explain Pivoting.</span></a></li>
<li><a href="#q10"><span style="color: #236fa1;">Give the advantages of using Looker?</span></a></li>
<li><a href="#q11"><span style="color: #236fa1;">Describe OLTP.</span></a></li>
<li><a href="#q14"><span style="color: #236fa1;">What is the full form of NDTs?</span></a></li>
<li><a href="#q17"><span style="color: #236fa1;">How is data cleaning defined?</span></a></li>
<li><a href="#q19"><span style="color: #236fa1;">What are Looker blocks?</span></a></li>
<li><a href="#q22"><span style="color: #236fa1;">How would you define Logistic Regression?</span></a></li>
<li><a href="#q25"><span style="color: #236fa1;">Is it possible to filter the data using table calculations?</span></a></li>
<li><a href="#q29"><span style="color: #236fa1;">What data is used to calculate the table values?</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;">Looker Interview Questions and Answers</span></h2>
<h3><span style="color: #e67e23;">Q1) What is the definition of the term "Business Intelligence"?</span></h3>
<p><strong>Ans: </strong>Organizations of all sizes perform a variety of procedures or activities that result in the generation of massive amounts of data. The data contains important information that may be used to improve corporate operations. That is where Business Intelligence Capabilities come into play, assisting firms in meaningful data exploration. The capacity to make better informed and data-driven decisions are enhanced by timely data processing and accurate reporting.</p>
<h3><span style="color: #e67e23;"><a id="q2"></a>Q2) Describe the Data Flow.</span></h3>
<p><strong>Ans: </strong>It is mostly a task that is done with the assistance of an SSIS package and is responsible for data transformation. The source and destination are always clearly defined, and users may easily keep up with the amendments and modifications.</p>
<h3><span style="color: #e67e23;">Q3) How Do You Define Logistic Regression?</span></h3>
<p><strong>Ans: </strong>It is essentially a method that is recognized for accurately verifying a dataset that contains unbiased variables. The validation level is determined by how accurately the final findings are dependent on these factors. It is not always appropriate to remove them as indicated.</p>
<h3><span style="color: #e67e23;">Q4) What do you mean by Looker Business Intelligence?</span></h3>
<p><strong>Ans: </strong>The BI software from Looker assists in the exploration and analysis of data. We can bring together data from many sources to produce a cohesive perspective. Other than data, we can then create real-time metrics and simply distribute them. It has some impressive visuals and drill-down interfaces.</p>
<table style="border-collapse: collapse; width: 99.9867%; height: 24px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 24px;">
<td style="width: 98.5496%; height: 24px; text-align: center;"><em>Want to become a certified Looker Professional? then Enroll here to get <a href="https://tekslate.com/looker-training" target="_blank"><span style="color: #236fa1;"><strong>"Looker Training"</strong></span></a>&nbsp; Course from Tekslate.</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23;"><a id="q5"></a>Q5) Describe what a drill-down analysis is.</span></h3>
<p><strong>Ans: </strong>Drilling down is a feature that most business intelligence systems have. It enables a thorough examination of data and provides in-depth conclusions. You may dive down into a study or showcase component to obtain more detailed information about it.</p>
<h3><span style="color: #e67e23;">Q6) Describe the complete cache mode.</span></h3>
<p><strong>Ans: </strong>The usual cache style setting is full cache mode. Prior to execution, the benchmark result group will be cached. The complete dataset from the defined site search location will then be retrieved and stored. The full cache option is optimal when dealing with big data sets.</p>
<h3><span style="color: #e67e23;">Q7) What is the SSIS acronym?</span></h3>
<p><strong>Ans: </strong>SQL Server Integration System is abbreviated as SSIS. It is a relational component that is used to create processes for file transfer activities. It is an extraction, transformation, and loading (ETL) tool that collects data from many sources, changes it, and imports it into a new destination.</p>
<h3><span style="color: #e67e23;"><a id="q8"></a>Q8) Explain Pivoting.</span></h3>
<p><strong>Ans: </strong>Pivoting is a term that refers to the process of transferring data from columns to rows and conversely. Pivoting ensures that no information is lost either in a row or column when the same information is being shared.</p>
<h3><span style="color: #e67e23;">Q9) What Does The Term "Drilling" Mean In Data Analysis?</span></h3>
<p><strong>Ans: </strong>It is essentially a strategy for analyzing the information contained in data that appears to be helpful. Additionally, it might be regarded as a way to avoid issues such as legitimacy and copyright.</p>
<h3><span style="color: #e67e23;"><a id="q10"></a>Q10) Give the advantages of using Looker?</span></h3>
<p><strong>Ans: </strong>The advantages of Looker are:</p>
<ul>
<li>Data Administration - We assess and quantify the organization's current and future potential.</li>
<li>Integrations - This indicates the capacity of a system to communicate with other platforms that provide a variety of sources and functions.</li>
<li>Data Management - Looker converts reports to a variety of file types and distributes analytical findings.</li>
</ul>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;">Looker BI Tool Interview Questions</span></h2>
<h3><span style="color: #e67e23;"><a id="q11"></a>Q11) Describe OLTP.</span></h3>
<p><strong>Ans: </strong>Online Transaction Processing enables transaction-oriented programs to access information. It is concerned with a firm's day-to-day operations. It entails updating, adding, and removing tiny portions of data from a database. Because it works with tiny data sets, the execution frequency is higher.</p>
<h3><span style="color: #e67e23;">Q12) Distinguish between the no-cache and partial cache modes.</span></h3>
<p><strong>Ans: </strong>When the benchmark set of data is too big to import into memory, the no-cache mode is utilized. Whenever the content is relatively tiny in size, the partial cache method is employed. Using partial cache mode, the query index is well-indexed, resulting in quicker results.</p>
<h3><span style="color: #e67e23;">Q13) Describe the Drilling Process.</span></h3>
<p><strong>Ans: </strong>Drilling is a technique that we employ to delve into the intricacies of relevant data. Moreover, we might consider it for resolving concerns such as legitimacy and licensing.</p>
<h3><span style="color: #e67e23;"><a id="q14"></a>Q14) What is the full form of NDTs?</span></h3>
<p><strong>Ans: </strong>NDTs are an abbreviation for Native Derived Tables. By supplying the exploration variable on the data structure through the appropriate columns, we may build NDTs.</p>
<h3><span style="color: #e67e23;">Q15) Are logs related to packages?</span></h3>
<p><strong>Ans: </strong>Yes, the logs are package-specific. You may activate package logging using the logging settings.</p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23;">Q16) Describe the heap analysis of user flow in Looker.</span></h3>
<p><strong>Ans: </strong>Heap automatically syncs user activity such as clicks, gestures, and actions across web-based applications. It enables data enrichment through the use of bespoke APIs. This will aid in the analysis of user activities and their visual presentation.</p>
<h3><span style="color: #e67e23;"><a id="q17"></a>Q17) How is data cleaning defined?</span></h3>
<p><strong>Ans: </strong>In general, we have a variety of techniques for eliminating mistakes and discrepancies from datasets. Data cleaning is a term that refers to the combination of various techniques. These techniques are intended to improve the quality of information.</p>
<h3><span style="color: #e67e23;">Q18) Describe a few approaches for data cleaning.</span></h3>
<p><strong>Ans: </strong>This can be accomplished in any manner. However, the first point to remember is the scope of the data. If it is very large, it should be split into smaller components. Evaluating the precise facts is another strategy that might be used. Moreover, developing utility qualities is quite useful and dependable.</p>
<h3><span style="color: #e67e23;"><a id="q19"></a>Q19) What are Looker blocks?</span></h3>
<p><strong>Ans: </strong>Looker Blocks are pre-configured portions of LookML code that expedite the analytics process. You may utilize these looker blocks and modify them to meet the unique requirements. They assist to develop adaptive and rapid analytics.</p>
<h3><span style="color: #e67e23;">Q20) Is it OK to utilize templated filters in PDTs?</span></h3>
<p><strong>Ans: </strong>Generally, it is not advised to use templated filters. Each time the filter is changed, the table is rebuilt, putting a lot of burden on the system.</p>
<p>&nbsp;</p>
<h2><span style="color: #236fa1; font-size: 24px;">Looker Developer Interview Questions</span></h2>
<h3><span style="color: #e67e23;">Q21) Why are duplicates of tables generated in a database's same PDT?</span></h3>
<p><strong>Ans: </strong>When you modify the SQL of a generated table and access it, the PDT creates a new replica of the table. Table clones are produced only when the SQL in development mode differs from the SQL in continuous mode.</p>
<h3><span style="color: #e67e23;"><a id="q22"></a>Q22) How would you define Logistic Regression?</span></h3>
<p><strong>Ans: </strong>Logistic Regression is a technique that was developed for the purpose of thoroughly verifying a dataset that contains unbiased variables. The verification level is determined by the degree to which the overall results are dependent on these factors. It is not always a good idea to alter them once they have been stated.</p>
<h3><span style="color: #e67e23;">Q23) What purpose does the SQL runner serve?</span></h3>
<p><strong>Ans: </strong>SQL runner enables immediate access to various databases and supports much accessibility. SQL runner performs exploration and query creation.</p>
<h3><span style="color: #e67e23;">Q24) Describe the methods that are beneficial when dealing with Multiple-Supply Issues?</span></h3>
<p><strong>Ans: </strong>The methods are:</p>
<ul>
<li>Identification of related records.</li>
<li>Schema reorganization.</li>
</ul>
<h3><span style="color: #e67e23;"><a id="q25"></a>Q25) Is it possible to filter the data using table calculations?</span></h3>
<p><strong>Ans: </strong>Yes, we may filter the data in the table computations using definite logic.</p>
<h3><span style="color: #e67e23;">Q26) Which deployment method is preferable, SQL Server or File System?</span></h3>
<p><strong>Ans: </strong>As contrasted to File System deployment, SQL Server deployment is superior. SQL server development is a lightning-fast operation. As a result, it produces rapid outcomes. Additionally, it ensures data security.</p>
<h3><span style="color: #e67e23;">Q27) What do you mean when you refer to SSIS package deployment?</span></h3>
<p><strong>Ans: </strong>We have a file labeled as the manifest file in SSIS. It always ensures that the packages contain trustworthy or permitted data and are not in violation of any policies. Users can install the same in either the System files or SQL Server, depending on their allotment or constraints.</p>
<h3><span style="color: #e67e23;">Q28) What Are The Two Most Frequently Used Data Validation Methods?</span></h3>
<p><strong>Ans: </strong>Error Detection and Data Screening. Both of those approaches are identical but are presented in unusual ways.</p>
<h3><span style="color: #e67e23;"><a id="q29"></a>Q29) What data is used to calculate the table values?</span></h3>
<p><strong>Ans: </strong>Following the result of the query, table computations are performed. They perform operations on the data contained in the exploration table.</p>
<h3><span style="color: #e67e23;">Q30) What is the "Rebuild Derived Tables and Run button" used for?</span></h3>
<p><strong>Ans: </strong>It is used to initiate a rebuild of any permanent dependent tables affected by the request. Also, we utilize this to initiate the rebuild of all upstream PDTs.</p>36:T2c4c,<p>&nbsp;</p>
<h2><span style="color: #e67e23; font-size: 14pt;">Test Classes in Salesforce</span></h2>
<h3><span style="color: #e67e23; font-size: 14pt;">We have three types of testing</span></h3>
<p><strong>Unit testing: </strong>Testing each component individually is called unit testing it is the job of a developer.</p>
<p><strong>Integration testing: </strong>This is the testing which is a combination of unit testing.</p>
<p><strong>System testing: </strong>Once the integration testing complete system testing is the testing after rectifying some of the errors in integration testing.</p>
<h2><span style="color: #e67e23; font-size: 14pt;"><strong>Sample Test Classes</strong></span></h2>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 1:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class UpdateHandoffAttachedTest{
 Static testMethod void HandoffAttached(){
 Account a = new Account();
 a.Name='Test Account';
 a.phone='8686864286';
 a.Rating='Hot';
 insert a;
 //Create a new Opportunity
 Opportunity opp=new Opportunity();
 opp.Name='Test Oppty';
 Opp.StageName='Prospecting';
 Date myDate = Date.newinstance(&lsquo;2012, 2, 17&rsquo;);
 opp.CloseDate=myDate;
 opp.Accountid=a.id;
 insert opp;
 //Create Top X Designation with Positive scenario
 Top_X_Designation__c t = new Top_X_Designation__c();
 t.Type__c='Contract Flow Down/Handoff';
 t.Document_Attached__c=True;
 t.Opportunity__c=opp.id;
insert t;
 Opportunity o1 = &ldquo;Select Handoff_Attached__c from Opportunity where id=:opp.id &ldquo;;
 System.assertEquals('Yes',o1.Handoff_Attached__c);
 //Update Top X Designation with Negative scenario
 t.Type__c='Contract Flow Down/Handoff';
 t.Document_Attached__c=False;
 t.Opportunity__c=opp.id;
 Update t;
 Opportunity o2 = &ldquo;Select Handoff_Attached__c from Opportunity where id=:opp.id &ldquo;;
 System.assertEquals('No',o2.Handoff_Attached__c);
 delete t;
 Opportunity o3 = &ldquo;Select Handoff_Attached__c from Opportunity where id=:opp.id &ldquo;;
 System.assertEquals(null,o3.Handoff_Attached__c);
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 2:</strong></span></h3>
<pre>@isTest
 public class DuplicateAccountTestClass {
 public static testMethod void testAccountDuplicateTrigger() {
 String addError;
 Account a1= new Account(Name='Test Account');
 insert a1;
 Account a2= new Account(Name='Test Account');
 insert a2;
 System.assertequals('You Cannot Create the Duplicate Account', addError);
 try {
 insert a2;
 }
 catch (Exception e) {
 System.debug('We want to see this. This means the trigger is working.');
 }
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 3:</strong></span></h3>
<pre>@isTest
 private class HelloWorldTestClass {
 static testMethod void validateHelloWorld() {
 Account a = new Account(name='T1 Account');
 // Insert account
 insert a;
 // Retrieve account
 a = &ldquo;SELECT hello__c FROM account WHERE Id =:a.id&rdquo;;
// Test that HelloWorld program correctly added the value
 // "World" to the Hello field
 System.assertEquals('World', a.hello__c);
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 4:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class PrefixDoctorTest{
 Public static testMethod void PreDoctor(){
 Lead l=new Lead();
 l.LastName='Anil';
 l.company='Wipro';
 l.Status='Open - Not Contacted';
 insert l;//inserting a single record
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 5:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class OppTeamTest{
 static testMethod void CreateOppOwnerintoSalesTeam(){
 //inserting an opportunity record
 Opportunity opp= new Opportunity();
 opp.Name='Test Opportunity';
 Date myDate = Date.newinstance(2012,6,24);
 opp.CloseDate=myDate;
 opp.StageName='Prospecting';
 insert opp;
 Opportunity opty=&ldquo;Select OwnerId from Opportunity where id=:opp.id&rdquo;;
 OpportunityTeamMember otm=&ldquo;Select UserId from OpportunityTeamMember where Op
 portunityId=:opp.id&rdquo;;
 System.assertEquals(opty.OwnerId,otm.UserId);
 }
 }

</pre>
<blockquote>
<p><em>Inclined to build a profession as SalesForce Developer? Then here is the blog post on, explore <a title="SalesForce Training" href="salesforce-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>SalesForce Training</strong></span></a></em></p>
</blockquote>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 6:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class DiscountTriggerTest{
Public static testMethod void Discount(){
 Book__c b = new Book__c();
 b.Name='Test';
 b.Price__c=100;
 insert b;
 Book__c b2 = &ldquo;Select Price__c From Book__c where id=:b.id&rdquo;;
 System.assertEquals(90,b2.Price__c);
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 7:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class ContactsCreationTest{
 static testMethod void CreateContacts(){
 Account a = new Account();
 a.name='Test Account';
 a.phone='9052757414';
 a.Rating='Hot';
 a.Number_of_Locations__c=4;
 insert a;
 List&lt;Contact&gt; lc=&ldquo;Select id from Contact where AccountId=:a.id&rdquo;;
 System.assertEquals(a.Number_of_Locations__c, lc.size());
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 8:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class UpdateCPActivenOnOpptyTest{
 static testMethod void updateCustomerProjectOnopty(){
 //Inserting first Opportunity
 Opportunity opp1= new Opportunity();
 opp1.Name='Test Opportunity 1';
 Date myDate = Date.newinstance(2012,6,24);
 opp1.CloseDate=myDate;
 opp1.StageName='Prospecting';
 insert opp1;
 //Inserting a Customer Project with Status equal to Active for above opp1
 Customer_Project__c cp1=new Customer_Project__c();
 cp1.Name='Test 1';
 cp1.Status__c='Active';
 cp1.Opportunity__c=opp1.id;
 insert cp1;
 Opportunity o1=&ldquo;Select Active_Customer_Project__c from Opportunity where id=:opp1.i
d&rdquo;;
 System.assertEquals(true,o1.Active_Customer_Project__c);
 //Inserting first Opportunity
 Opportunity opp2= new Opportunity();
 opp2.Name='Test Opportunity 1';
 Date d = Date.newinstance(2012,6,24);
 opp2.CloseDate=d;
 opp2.StageName='Prospecting';
 insert opp2;
 //Inserting a Customer Project with Status equal to Inactive for above opp2
 Customer_Project__c cp2=new Customer_Project__c();
 cp2.Name='Test 2';
 cp2.Status__c='Inactive';
 cp2.Opportunity__c=opp2.id;
 insert cp2;
 Opportunity o2=&ldquo;Select Active_Customer_Project__c from Opportunity where id=:opp2.i
 d&rdquo;;
 System.assertEquals(false,o2.Active_Customer_Project__c);
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 9:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class CreateCRonContactCreationTest{
 static testMethod void CreateContact(){
 //Inserting Contacts with Postive Scenario
 Contact c1 = new contact();
 c1.LastName='Anil Reddy';
 c1.Contact_Relationship__c=True;
 insert c1;
 List&lt;Contact_Relationship__c&gt; ConRel1 = &ldquo;SELECT Id FROM Contact_Relationship__
 c WHERE Contact__r.Id =:c1.id&rdquo;;
 //verify that Contact Relationship was created for above contact
 System.assertEquals(1,ConRel1.size());
 // Inserting Contacts with Negative Scenario
 Contact c2=new Contact();
 c2.lastName='Sateesh Reddy';
 c2.Contact_Relationship__c=false;
 insert c2;
 List&lt;Contact_Relationship__c&gt; ConRel2 = &ldquo;SELECT Id FROM Contact_Relationship__
 c WHERE Contact__r.Id =:c2.id&rdquo;;
 System.assertEquals(0,ConRel2.size());
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 10:</strong></span></h3>
<pre style="padding-left: 30px;">@isTest
 Public Class UpdateCROwnerNameTest{
 static testMethod void updateCROwnerName(){
 //inserting a user
 Profile pId= &ldquo;select id from Profile where name =: 'System Administrator'&ldquo;;
 User u= new User();
 u.LastName = 'Test User ';
 u.Alias = 'ta';
 u.Isactive =true;
 u.Username = 'testuseraccount@test.com';
 u.Email = 'testuser@test.com';
 u.CommunityNickname= 'TestCN';
 u.TimeZoneSidKey = 'America/Los_Angeles';
 u.LocaleSidKey='en_US';
 u.EmailEncodingKey= 'ISO-8859-1';
 u.ProfileId = pId.Id;
 u.LanguageLocaleKey = 'en_US';
 insert u;
 //inserting a Contact
 Contact c = new Contact();
 c.LastName='Anil';
 insert c;
 //inserting a Contact Relationship
 Contact_Relationship__c cr= new Contact_Relationship__c();
 cr.Name='Test Contact Relationship';
 cr.Contact__c=c.id;
 insert cr;
 //updating the Owner Name
 Contact_Relationship__c cr1=&ldquo;Select OwnerId from Contact_relationship__c where id =:
 cr.id&rdquo;;
 cr1.Ownerid=u.id;
 update cr1;
 Contact_Relationship__c cr2=&ldquo;Select OwnerId from Contact_relationship__c where id =:
 cr1.id&rdquo;;
 System.assertEquals(u.id,cr2.OwnerId);
 }
 }</pre>
<h3><span style="color: #000000; font-size: 14pt;"><strong>Test Class for Triggers Scenario 11:</strong></span></h3>
<pre>@isTest
 Public Class InsertAccountTeamTest{
 static testMethod void AccountMangerInsertIntoAccountTeam(){
 //inserting a user
 Profile pId= &ldquo;select id from Profile where name =: 'System Administrator'&ldquo;;
 User u= new User();
 u.LastName = 'Test User ';
 u.Alias = 'ta';
 u.Isactive =true;
 u.Username = 'testuseraccount@test.com';
 u.Email = 'testuser@test.com';
 u.CommunityNickname= 'TestCN';
 u.TimeZoneSidKey = 'America/Los_Angeles';
 u.LocaleSidKey='en_US';
 u.EmailEncodingKey= 'ISO-8859-1';
 u.ProfileId = pId.Id;
 u.LanguageLocaleKey = 'en_US';
 insert u;
 //Inserting an Account
 Account a = new Account();
 a.Name='Test Account';
 insert a;
 //inserting Customer for above account
 Customer__c c=new Customer__c();
 c.Name='Test';
 c.Account__c=a.id;
 c.Account_Manager__c=u.id;
 insert c;
 AccountTeamMember atm=&ldquo;Select UserId from AccountTeamMember where AccountId
 =:a.id&rdquo;;
 System.assertEquals(u.id,atm.UserId);
 }
 }</pre>
<h3><span style="font-size: 14pt;"><strong>For in-depth understanding on Salesforce click on</strong></span></h3>
<ul>
<li><a href="http://tekslate.com/tutorials/salesforce-crm/" target="_blank" rel="noopener">Salesforce Tutorials</a></li>
<li><a href="http://tekslate.com/salesforce-interview-questions-answers" target="_blank" rel="noopener">Salesforce Interview Questions &amp; Answers</a></li>
<li><a href="http://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in SalesForce</a></li>
<li><a href="http://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in SalesForce</a></li>
<li><a href="http://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li><a href="http://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="salesforce-wave-analytics-training/" target="_blank" rel="noopener">Salesforce Wave Analytics Training</a></li>
</ul>37:T42d4,<h2><strong><span style="font-size: 24px;"><span style="color: #e67e23;">Introduction to </span><span style="color: #e67e23;">WebMethods&nbsp;</span></span></strong></h2>
<p style="text-align: justify;"><span style="color: #000000;">WebMethods is an integration platform that has many different runtime components &amp; &nbsp;various Development tools. It includes EAI &amp; B2B capability. The WebMethods supports many e-standards Like XML Rosetta Net,EDI etc. WebMethods is considered a middleware market. The main competitors of Webmethods are TIBCO, Vitria, See beyond &amp; IBM WebSphere MQ product series. It provides a good graphical tool to produce flow service that do mapping from any data format into the other format &amp; connecting different application together. </span></p>
<p style="text-align: justify;"><span style="color: #000000;">It also serves as a huge hub for trading partner integration. In this you do not build applications, instead, you use it to integrate your SAP-ERP system to the <span style="color: #236fa1;"><a style="color: #236fa1;" title="Siebel Business Analyst Interview Questions" href="https://tekslate.com/interview-questions-on-siebel-business-analyst/" target="_blank">Siebel</a></span> CRM as an example or the &nbsp;Mainframe to the <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://en.wikipedia.org/wiki/PeopleSoft" target="_blank" rel="nofollow">PeopleSoft</a></span>. The Advantage of using Webmethods: It delivers Improved business responsiveness: Get real-time visibility into your enterprise-wide business processes &amp; up minute status information. User-focused information: That define the exact data to be captured to support you&rsquo;re analytical &amp; decision-making requirements.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Integration is about making things simpler &ndash; for customers, for suppliers and for employees, both IT and line of business. But the actual achievement of integration is not at all simple and requires skilled, experienced professionals who can apply integration technologies&nbsp;to solve and meet your organization&rsquo;s unique requirements. EOK&rsquo; broad range of skills and implementation experiences has allowed us to become one of the leaders in the delivery of services around integration technologies such as webMethods, Oracle, IBM and SAP.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="aligncenter wp-image-22219 size-full" title="WebMethods Enterprise Service Bus" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/06/Capture-42.png" alt="WebMethods Enterprise Service Bus" width="462" height="292" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Despite investing in best-of-breed application solutions, businesses are still faced with challenges, such as:</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Secure, enterprise-wide connectivity</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Seamless communication across the supply chain</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Reduced development times</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Rapid time-to-market</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">The webMethods product suite is a comprehensive, mature business integration product suite, offering secure enterprise-class solutions to help you handle ever-changing standards and interoperability requirements, efficiently manage business processes across the extended enterprise, and keep up with growing demands.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">At the core of the suite is the webMethods Enterprise Service Bus (ESB) Platform, the foundation for your Service-Oriented Architecture (SOA). The webMethods ESB Platform provides the foundation for rapid integration and collaboration within and beyond your organization. The Enterprise Service Bus Platform allows users to build, execute, and manage business processes across the extended enterprise.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.2759%;">
<h3>WebMethods Tutorial - Table of Contents</h3>
<ul>
<li><a href="#webmethods"><span style="color: #236fa1;">What is WebMethods?</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#integration-server">What is Integration Server in WEB METHODS?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#enterprise-service-bus">What is an Enterprise Service Bus?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#modules">What are the modules of webMethods Product Suite?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#eok-offerings">EOK Offerings</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#components">Components of Webmethods</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#integration-server">Integration Server</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#advantages">Advantages of WebMethods</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 12pt;"><a id="webmethods"></a><span style="font-size: 24px;">What is WebMethods?</span></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">Software AG's webMethods Integration Platform is a proven, pre-integrated software suite featuring the market-leading Enterprise Service Bus (ESB) that enables enterprises to rapidly integrate systems, services, devices, processes, business partners and data to provide new business value and improve business performance.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 22px;"><a id="integration-server"></a>What is Integration Server in WEB METHODS?</span></h3>
<p style="text-align: justify;"><span style="color: #000000;">webMethods Integration Server is one of the core application servers in the webMethods platform. It is a Java-based, multiplatform enterprise integration server. It supports the integration of diverse services, such as mapping data between formats</span> and communication between systems.</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 12pt;"><a id="enterprise-service-bus" style="color: #e67e23;"></a><span style="font-size: 24px;">What is an Enterprise Service Bus?</span></span></h2>
<p style="text-align: justify;">Software AG&rsquo;s webMethods Integration Platform is an enterprise service bus solution that quickly connects all systems and applications no matter where they reside. This powerful solution offers a proven and pre-integrated software suite that makes it easy to quickly integrate systems, servers, processes, devices, partners and data. With this enterprise service bus platform, organizations not only get a solution for application integration, B2B and cloud integration but for managed file transfer, master data management and mobile applications as well.</p>
<h3 style="text-align: justify;"><span class="que" style="color: #e67e23; font-size: 22px;"><a id="modules"></a>What are the modules of webMethods Product Suite?</span></h3>
<ul>
<li>Integration and B2B</li>
<li>Service-Oriented Architecture</li>
<li>Business Process Management</li>
<li>Business Activity Monitoring</li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 18px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 18px;">
<td style="width: 98.3496%; height: 18px; text-align: center;"><em>Do you want to Master WebMethods? Then enroll in<a title="WebMethods Training" href="https://tekslate.com/web-methods-training" target="_blank"><strong> <span style="color: #236fa1;">"WebMethods Training"</span></strong></a> This course will help you to master WebMethods</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 12pt;"><a id="eok-offerings" style="color: #e67e23;"></a><span style="font-size: 22px;">EOK Offerings</span></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Whether you need to integrate internal applications, trading partners, mainframes, messaging or are developing your SOA, EOK using webMethods offers you the most mature, comprehensive and easy-to-use integration platform available to harness the value of current IT systems.</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Enterprise Application Integration</span></li>
<li style="text-align: justify;"><span style="color: #000000;">E-Standards</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Architecture Overview</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 22px;">Enterprise Application Integration</span></h3>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Integration Server/Broker/Adapters expertise for versions 4.x thru 7.x</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Consulting: Customized EAI solutions, EAI Product evaluation, Design, Implementation, Migration, upgrade and Maintenance.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Competitive migrations for ISVs - from other databases / development platforms to .Net, Windows &amp; SQL Server.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Product Evaluations: With Superior capabilities in technologies like J2EE, .NET, AS400, Mainframe, help make the right decisions with EAI tools.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Adapter Development: Significant Adapter development work in integrating ERP and mainframe applications.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Legacy Application and Data Integration.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Legacy Application and Data Integration.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Open Source and Standards-based Integration &ndash;<a title="JBoss Tutorials" href="https://tekslate.com/tutorials/jboss/" target="_blank" rel="noopener">Jboss</a>.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">ESB/Messaging, JMS and standards-based technologies like XML/XSLT.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 22px;">E-Standards</span></h3>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Technical Expertise in EDI (x12, EDIFACT), XML (RosettaNet, BizTalk), HIPAA (Healthcare), SWIFT (Financial Services)</span></li>
<li style="text-align: justify;"><span style="color: #000000;">EDI implementation, Migration, Upgrade, Support and Maintenance services.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Design and Architect webMethods EDI implementation</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Integrate customized partners EDI standards.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 22px;">Architecture Overview</span></h3>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Detailed analysis of current as well as future processes, applications and infrastructures.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Optimization of business process and performance management.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Review webMethods configuration, Hardware configuration and the supporting systems.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Databases and network connectivity to provide tangible recommendations.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Evaluate existing architecture to identify performance limits in your hardware and architecture.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Provide/Ensure best practices implemented.</span></li>
</ul>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 22px;"><strong><a id="components"></a>Components of Webmethods</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">The architecture contains a number of components. In 8.2 webmethods 28 components are involved. But in the case of webmethods 6.1 twelve components are divided into three groups based on their utilization. <em>The three different groups are named as</em>:</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Runtime Components</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Design Time Components</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Administration Components</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 22px;">Some Of WebMethods Components List</span></h3>
<div>
<ul>
<li>WebMethods Integration Server</li>
<li>WebMethods Broker</li>
<li>WebMethods Adapters (such as <a title="Weblogic JDBC" href="https://tekslate.com/jdbc-weblogic/" target="_blank" rel="noopener">JDBC</a>,SAP,Blaze,SFDC)</li>
<li>CentraSite</li>
<li>Universal Messaging</li>
<li>WebMethods Designer</li>
<li>WebMethods Mediator</li>
<li>WebMethods Optimize for Infrastructure</li>
<li>WebMethods Optimize for Process</li>
<li>Trading Networks</li>
<li>WebMethods Insight</li>
<li>WebMethods Business Process Management Suite (BPMS)</li>
<li>WebMethods Enterprise Gateway</li>
</ul>
</div>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><a id="integration-server" style="color: #e67e23;"></a><span style="font-size: 24px;">Integration server</span></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">WebMethods Integration Server&nbsp;is one of the core application servers in the WebMethods&nbsp;platform. It is a&nbsp;Java-based, multiplatform enterprise integration server. It supports the integration of diverse services, such as mapping data between formats and communication between systems. An integration server may also be known as the core of WebMethods Enterprise Service Bus.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The Software AG webMethods Integration Server together with the Universal Messaging/Broker forms the foundation of the Enterprise Server Bus (ESB). The webMethods Integration Server hosts packages that contain services and related files and comes with several packages out-of-the-box.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">An Integration Server instance runs as a multi-threaded process within a single Java Virtual Machine (JVM) which itself relies on operating system resources to execute its work.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Services can also be created to form the overall application systems that perform functions, such as integrating your business systems with those of external systems, retrieving data from legacy systems, and accessing and updating databases.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The Integration Server listens for client requests on one or more ports. The type of protocol that the server uses can be associated with each port. The server supports HTTP, HTTPS, FTP, FTPS and e‐mail ports.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">In the WebMethods ESB , the Integration server act as the endpoint of a spoke or you can simply call IS is the spoke in the WebMethods ESB.</span></p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 24px;"><a id="advantages"></a>Advantages of WebMethods</span></h2>
<p style="text-align: justify;"><span style="color: #000000;">The main advantage of WebMethods Training is it provides completeness of the solution. See how WebMethods is not only an integration bus but also full support for modern IT in terms of:</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Business Process Management</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Business Activity Monitoring</span></li>
<li style="text-align: justify;"><span style="color: #000000;">B2B / Trading Networks</span></li>
<li style="text-align: justify;"><span style="color: #000000;">SOA governance</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Mobile</span></li>
</ul>
<p style="text-align: justify;">These core tutorials help you to learn the fundamentals of WebMethods.&nbsp;</p>38:T82a0,<p>Are you planning to attend an interview for the SAP HCM Developer role but are confused about how to crack that interview and also what would be the most probable <strong>SAP HCM interview Questions</strong> that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked SAP HCM interview questions which are often asked in multiple interviews.</p>
<p>In this article, we will cover the following:</p>
<ul>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sap-hcm-interview-questions">SAP HCM Interview Questions</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sap-hr-interview-questions">SAP HR Interview Questions</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sap-hcm-interview-questions-experienced">SAP HCM Interview Questions for Experienced</a></span></strong></li>
<li><strong><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sap-hcm-payroll-interview-questions">SAP HCM Payroll Interview Questions</a></span></strong></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<h3 style="text-align: center;"><span style="font-size: 18px;">Most frequently asked SAP HCM Interview Questions</span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<ul>
<li><a href="#client"><span style="color: #236fa1;">What Is Client In The SAP System?</span></a></li>
<li><a href="#personnel-subareas"><span style="color: #236fa1;">What Are Personnel Subareas?</span></a></li>
<li><a href="#features"><span style="color: #236fa1;">What Are Features In SAP HCM?</span></a></li>
<li><a href="#three-administrators"><span style="color: #236fa1;">What are the three administrators?</span></a></li>
<li><a href="#organizational-plan"><span style="color: #236fa1;">How does any company use an organizational plan?</span></a></li>
<li><a href="#dynamic-actions"><span style="color: #236fa1;">What are Dynamic Actions? Give a few examples?</span></a></li>
<li><a href="#wage-types-evaluation"><span style="color: #236fa1;">How can we evaluate wage types indirectly?</span></a></li>
<li><a href="#default-wage-types"><span style="color: #236fa1;">How can you define default wage types for the Basic Pay Infotype?</span></a></li>
<li><a href="#can-posting-run-deleted"><span style="color: #236fa1;">Can a posting run be deleted?</span></a></li>
<li><a href="#payroll-results-to-FICO"><span style="color: #236fa1;">How do you post the payroll results to FICO?</span></a></li>
<li><a href="#day-with-day-type"><span style="color: #236fa1;">Which characteristics does a day with day type 1 have?</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 24px; color: #236fa1;"><a id="sap-hcm-interview-questions"></a>SAP HCM Interview Questions</span></h2>
<h3><span style="color: #e67e23;"><strong><span style="font-size: 12pt;">Q1) List The Various Components Of The Enterprise Structure In Systems, Applications, And Products (SAP) In Human Capital Management (HCM)?&nbsp; &nbsp; &nbsp; &nbsp; </span></strong></span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong></span> The components of the enterprise structure in SAP HCM are given as follows:</p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">Client</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Company code</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Personnel area</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Personnel subarea</span></li>
</ul>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="client" style="color: #e67e23;"></a>Q2) What Is the Client In The SAP System?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> In the SAP R/3 (R stands for Real-time) system, a client is an organization and a legal entity. A client is positioned at the highest level among all the organizational units. It contains the master data of various business processes, such as customers, products, and vendors. A three-digit number is used to represent clients in the SAP R/3 system.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q3) What Is the Company Code?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> A company code is a unique four-character alphanumeric code that represents a legally independent enterprise.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q4) What Is Personnel Area?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> A personnel area is a subunit of the company code. It is identified as an organizational unit representing an area in an enterprise, which is organized according to personnel administration, time management, and <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/payroll-sap-hr" target="_blank">payroll</a></span> accounting criteria. It is represented as a four-character alphanumeric code. For example, the personnel area code for a corporation is CORP.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 28px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 28px;">
<td style="width: 98.3496%; height: 28px; text-align: center;"><em>Do you want to Master SAP SD? Then enroll in<a title="SAP SD Training" href="https://tekslate.com/sap-sd-training" target="_blank"><strong> <span style="color: #236fa1;">"SAP SD Training"</span></strong></a><span style="color: #236fa1;"> </span>This course will help you to master SAP SD</em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="personnel-subareas" style="color: #e67e23;"></a>Q5) What Are Personnel Subareas?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> A personnel subarea is a part of the personnel area, which can be subdivided according to the geographical location or the strategic line of business. It is represented as a four-character alphanumeric code. For example, if the branches or locations of an organization are defined as personnel areas, then its departments, such as HR and ADMIN, are the personnel subareas of the organization.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q6) What Is SAP HCM Workflow?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> The <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.sap.com/india/products/human-resources-hcm.html" target="_blank" rel="nofollow">SAP HCM </a></span>Workflow automates business processes and assigns tasks to appropriate persons at the right time.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q7) What Do You Mean By Infotypes In SAP HCM?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Infotypes are referred to as system-controlled characteristics of employees. Information related to an employee is stored in the form of Infotypes.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q8) which are represented by a four-digit numeric code given as follows:</strong></span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong></span>&nbsp;</p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">0000 for actions</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">0001 for organizational assignment</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">0002 for personal data</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">0003 for payroll status</span></li>
</ul>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="features" style="color: #e67e23;"></a>Q9) What Are Features In SAP HCM?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Features are decision trees customized in the Implementation Guide (IMG) screen in SAP HCM that are made up of technical fields whose values are defaulted in the easy access.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q10) How Do You Hire A New Employee?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> A new employee is hired with the PA40 transaction code. After that, all the Infotypes are maintained for the employee by using the PA30 transaction code.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="three-administrators" style="color: #e67e23;"></a>Q11) What are the three administrators?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> The three administrators are : </span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Personnel Administrator &nbsp;</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Payroll Administrator </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Time Administrator</span></li>
</ul>
<p>&nbsp;</p>
<h2 id="scenario"><span style="font-size: 24px; color: #236fa1;"><a id="sap-hr-interview-questions"></a>SAP HR Interview Questions</span></h2>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="organizational-plan" style="color: #e67e23;"></a>Q12) How does any company use an organizational plan?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> The company organization structure and reporting structure are represented through the organization plan. The active plan version is the current plan version and the other plan versions are considered as various planning Stages. Used for manpower planning. Normally plan version"01" is always made the active plan version.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q13) What is an evaluation path?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> An evaluation path describes a chain of relationships that exists between individual organizational objects in the organizational plan. </span></p>
<p><span style="font-weight: 400;">You can maintain evaluation paths on</span> <strong><em>img -&gt; Personnel Management -&gt;Organization Management-&gt; Basic Settings-&gt; Maintain Evaluation Paths</em></strong><span style="font-weight: 400;">.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q14) What is the difference between a job and a position?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Job is not concrete, it is generic. (Eg: Manager, Assistant Manager, Consultant). Positions are related to persons. The position is concrete and specific which is occupied by Persons. (Eg: Manager &ndash; Finance, Consultant &ndash; SAP HR).</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="dynamic-actions" style="color: #e67e23;"></a>Q15) What are Dynamic Actions? Give a few examples?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Dynamic actions when triggered by the system. They are the result of some personnel actions. If changes are made (personnel action) to the personnel data of an info type, then has an effect on the data of a second info type, the system automatically displays the info type. One of the main purposes of the dynamic action (of the system) is to have consistent and coherent data. These actions are started automatically by the system, unlike the Personnel actions which you start by yourself. The best example is when an action is carried out like hiring; it needs to populate a set of info types. In the initial entry of details in info type 0000 is personnel action. Then the system automatically displays the next info types- which are the result of dynamic action.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q16) What is the difference between Indian and US Payroll?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Does each of them have their own ITs and the taxation differs? Yes, since the Benefits are more important in the US. In the US unemployment tax will come. Garnishments will come, Residence taxation, Work tax, and others.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="wage-types-evaluation" style="color: #e67e23;"></a>Q17) How can we evaluate wage types indirectly?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> You must define the characteristics of the wage type to be evaluated indirectly. To do this, go to the IMG under Payroll *: Reimbursements, Allowances, and Perks &reg; Maintain Wage Type Characteristics. </span></p>
<p><span style="font-weight: 400;">In this activity, if the wage type has to be Indirectly Evaluated, you must first assign INVAL in the Indirect eval. module field. </span></p>
<p><span style="font-weight: 400;">Then, you must assign the Module variant(A, B, C, D) for the wage type. Now when you populate the Basic Pay infotype (0008), the configured wage types will get defaulted, and those wage types configured for INVAL will also have their amounts defaulted.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q18) What ways are there to perform pay scale reassignment?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> You can reassign the pay scale to any position through position maintenance(PO13). Go to change planned compensation and reassign the pay scale to the desired position.</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Simple and extended pay increases</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Simple Standard Pay Increase</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Go to reporting. In the Program field enter report RPU51000.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">The selection screen for the report is displayed.</span></li>
</ul>
<p><span style="font-weight: 400;">In the PayScale Group, Pay Scale Level, and Wage Type fields, enter the employees who should receive a standard pay increase. Enter the date from which the Customizing settings should be changed. In the Increase and Rounding sections, enter the necessary data, for example, an increasing amount or an increased percentage rate.</span></p>
<p><span style="font-weight: 400;">The amount of the indirectly valuated wage types is adjusted according to the data in the Customizing settings. No new infotype records have been created in the Basic Pay infotype (0008).</span></p>
<p><span style="font-weight: 400;">Extended Standard Pay Increase</span></p>
<p><span style="font-weight: 400;">In the Program field enter report RPITRF00.In the Selection section, enter the selection criteria you want to use to effect an extended standard pay increase.</span></p>
<p><span style="font-weight: 400;">Choose Batch Input.</span></p>
<p><span style="font-weight: 400;">If you do not select Batch Input, the pay scale reclassification will only be simulated. A results log is displayed, that you can evaluate as required. If necessary, enter the pay scale structure for which you want to effect a standard pay increase.</span></p>
<p><span style="font-weight: 400;">Process the batch input session.</span></p>
<p><span style="font-weight: 400;">The payments for the selected employees have been adjusted in accordance with the data specified in Customizing. New infotype records have been created in the Basic Pay infotype (0008).</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q19) What is the employee subgroup grouping for primary wage types used for?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> You can use these groupings to specify which wage types may be entered for which employee subgroups.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q20) Through which T-Code you are able to create a remuneration statement?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> PC00_Mxx_CEDT (xx - denotes the molga for a country).</span></p>
<h2 id="advanced"><span style="color: #236fa1; font-size: 24px;"><a id="sap-hcm-interview-questions-experienced"></a>SAP HCM Interview Questions for Experienced</span></h2>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="default-wage-types" style="color: #e67e23;"></a>Q21) How can you define default wage types for the Basic Pay Infotype?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> The system can suggest a default wage type for basic pay (IT0008), to do this appropriate wage type must be included in a wage type model. Here you define the default wage types and the sequence of how they should appear in the infotype Basic Pay and whether you can overwrite the defaulted wage type or not. </span><span style="font-weight: 400;"> </span></p>
<p><span style="font-weight: 400;"><strong><em>Personnel Management -&gt; Personnel Administration -&gt; Payroll data -&gt; Basic Pay -&gt; Wage Type -&gt;</em> </strong></span></p>
<p><span style="font-weight: 400;">Revise Default Wage Types</span><span style="font-weight: 400;"> </span><span style="font-weight: 400;"> </span><span style="font-weight: 400;">After setting the wage type model, the LGMST feature needs to be defined. Feature LGMST has two return values: firstly, the maximum number of wage types that can be entered in the Basic Pay infotype (IT0008), and secondly, the wage type model the system is to use, which was defined above.</span><span style="font-weight: 400;"> </span><span style="font-weight: 400;"> </span><span style="font-weight: 400;">To access feature LGMST use following SPRO path or transaction PE03.</span><span style="font-weight: 400;"> </span></p>
<p><strong>SPRO: Personnel Management -&gt; Personnel Administration -&gt; Payroll data -&gt; Basic Pay -&gt; Wage Type -&gt; Enterprise Structure for Wage Type Model</strong><span style="font-weight: 400;"> </span></p>
<h3><span style="font-weight: 400; font-size: 12pt; color: #e67e23;"><strong>Q22) In which feature, default wage type is defined for Basic Pay Infotype</strong>? </span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> LGMST</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q23) How does the system know when to trigger retroactive accounting for a particular employee?</strong></span></h3>
<p>Ans: Retroactive accounting recognition consists of four steps:</p>
<p>If you edit an infotype that is relevant to retroactive accounting, the system enters the start date of the changed infotype record in the following fields of infotype 0003 Payroll Status:</p>
<ul>
<li>&nbsp;&nbsp; Earliest MD change (earliest master data change since last payroll run)</li>
<li>&nbsp; &nbsp;MD chng.bonus (earliest payroll-relevant master data change (bonus)). This field is only displayed for specific country groupings, it is not displayed for all personnel numbers.</li>
</ul>
<p>During the next regular payroll run or correction run (off-cycle payroll type B), the system determines whether the data in the Earliest MD change and (if applicable) MD chng. bonus fields come before the date in the Accounted to the field.</p>
<p>If this is the case, the system performs retroactive accounting. It starts with the payroll period in which the data entered in the Earliest MD change and MD chng. bonus fields occur. The system recalculates all payroll periods that lie between the date in the Earliest MD change and MD chng. bonus fields and the date in the Accounted to field.</p>
<p>The system deletes the date in the Earliest MD change and MD chng.bonus fields.</p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q24) What activities are possible when the payroll control record is set to &ldquo;Released for Payroll&rdquo;?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> If you choose the function Release Payroll from the menu, you are prevented from changing infotype data records if such changes affect the past or present. This lock applies to the personnel numbers included in the payroll area concerned. Changes that affect the future are still permitted. You must execute this function in the menu before starting the payroll. If the status of the payroll control record was previously Exit Payroll, the Release Payroll function also has the effect of increasing the period in the payroll control record by 1.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="can-posting-run-deleted" style="color: #e67e23;"></a>Q25) Can a posting run be deleted?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Yes, It can be reversed before the Bank transfer. Once the transfer is done the payments need to be adjusted in the next payments.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q26) Difference between PCR and CAP?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> The difference between PCR and CAP is mentioned below:</span></p>
<p>PCR - The Personnel Calculation rule allows how one wage type is to be processed in different ways in payroll accounting.</p>
<p>CAP - CAP is a Collective Agreement Provision based on which the different groups of Employees are eligible for different kinds of pay scale structures and benefits and so on. CAP is based on the following components :</p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Payscale type </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Payscale area </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Employee subgroup grouping for CAP </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Pay Scale Group and Pay Scale Level</span></li>
</ul>
<p>An employee subgroup grouping for collective agreement provisions combines subgroups that are governed by the same valid collective agreement provisions. A provision in a specific labour law regulation within the collective agreement.</p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q27) The naming convention for wage types</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> The following naming conventions are used for wage types:</span></p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">/0** &ndash; valuation bases</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/1** &ndash; cumulation of the gross amount</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/2** &ndash; averages </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/3** &ndash; country-specific, usually for social insurance </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/4** &ndash; country-specific, usually for tax </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/5** &ndash; legal net </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/7** &ndash; wage/salary plus ER shares</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/8** &ndash; &nbsp;factoring </span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/84* &ndash; cost accounting</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/A** &ndash; outgoing wage types in the retroactive accounting period</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">/Z** &ndash; incoming wage types from the previous period </span></li>
</ul>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q28) Do you know in OM -&gt; copy plan version?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> To copy the plan version use the <strong>Tcode: RE_RHCOPL00</strong>.</span></p>
<p><span style="font-weight: 400;">This report is only for copying objects from one plan version to another plan version to keep updated structures Always only one plan version would be active which is current. This report does not help to copy any master data.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q29) Can a posting run be deleted?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Yes, It can be reversed before the Bank transfer. Once the transfer is done the payments need to be adjusted in the next payments.</span></p>
<h2><span style="font-size: 24px; color: #236fa1;"><strong><a id="sap-hcm-payroll-interview-questions"></a>SAP HCM Payroll interview questions</strong></span></h2>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q30) What activities are possible when the payroll control record is set to "Released for Payroll "?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> When you set the status to Released for payroll you cant make any change to master data. It's actually released for payroll.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q31) Is it possible to branch directly from the payroll log to master data and time data maintenance?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Yes, you can go in separate sessions.</span></p>
<h3><span style="font-size: 14px;"><em><strong>Payroll Results</strong></em></span></h3>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="payroll-results-to-FICO" style="color: #e67e23;"></a>Q32) How do you post the payroll results to FICO? </strong></span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong></span>&nbsp;I created one symbolic account and assigned the same to Salaries GL Account and then completed the other configuration steps needed to complete the procedure.</p>
<p>However, when I tried to run the simulation for posting to <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP FICO Tutorial" href="https://tekslate.com/sap-fico-tutorials" target="_blank">FICO</a></span>, I got the message &ldquo;Document is not generated&rdquo;.</p>
<p><span style="font-weight: 400;">If you have selected &ldquo;Output Log&rdquo; at the beginning of your configuration procedure, it will tell you at the bottom part what went wrong.</span></p>
<p><em><strong>Deduction Wage Type:</strong></em></p>
<p>We have a deduction wage type displayed in the window of our payslip that shows a negative value. This causes problems and we have tried several measures to correct this including conversion rule 16 for our wage type in the same window but so far, without any success. How can we correct or delete the negative sign?</p>
<p><span style="font-weight: 400;">You can review <strong>OSS Note 406977. </strong></span><span style="font-weight: 400;">This is a collective note of issues with RPCEDTx0 with examples of problems and solutions.</span></p>
<h3><span style="font-size: 14px;"><em><strong>Payroll Simulation</strong></em></span></h3>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q33) How do I correct the payroll simulation entry and check the correctness of our master data? What if one hundred employees get rejected due to error 167-process health plans? What does the following error mean: &ldquo;No entry for plan DENT/cost variant. FMDN/key////x00000000000000&rdquo; ? </strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> You should check for the cost element associated and the validity of the cost rule for this plan. To do this, check your configuration under Benefits&gt;Plans&gt;Health Plans&gt;Define cost variant and define cost rules.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q34) Why is the system not picking up the values changed this month by default during payroll simulation? However, when I tried last month&rsquo;s retro date, it picks up correctly. How can this issue be corrected? </strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> You can check the &ldquo;Earliest MD (master data) change&rdquo; date on infotype 0003. If you have done that already and payroll simulation still doesn&rsquo;t function by default, then there is a problem with your infotype and/or wage type retro settings. Check table T582A.</span></p>
<h3><span style="font-size: 14px;"><em><strong> Single Payroll </strong></em></span></h3>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q35) Is it possible to configure a single payroll to pay an individual in multiple currencies? </strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> No. The system can be configured to play in multiple currencies but not to pay an individual in multiple currencies.</span></p>
<p><span style="font-size: 14px;"><em><strong>&nbsp;IT0015 </strong></em></span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q36) I need to capture a reason in the "additional payment" IT0015. The reason code is &ldquo;save&rdquo; in this infotype. I tried to capture for reason an Example to ADDWT 9999 if Reason ADDWT9998. How can I check the reason in IT0015 for accuracy?</strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> You can try using this to start with: &lsquo;TABLE P0015 &gt; VARGB PREAS&rsquo;</span></p>
<p><span style="font-weight: 400;">Then, use the variable key to define different reasons.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong><a id="day-with-day-type" style="color: #e67e23;"></a>Q37) Which characteristics does a day with day type 1 have? </strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Its OFF and Paid</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q38) How does the system know when to trigger retroactive accounting for a particular employee? </strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> You have to mention the retroactive accounting date in IT 0003 in the relevant field. Otherwise, it will take the earlier hiring date.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Q39) Is it possible to branch directly from the payroll log to master data and time data maintenance? </strong></span></h3>
<p><span style="font-weight: 400;"><span style="color: #000000;"><strong>Ans:</strong></span> Yes you can go in separate sessions.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q40) What Do You Understand By Personnel Structure?</strong></span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong></span> Personnel structure is defined as the structure of employees in an organization. It comprises employee groups and employee subgroups. The employee group allows you to divide employees into groups and define their relationship to the enterprise.</p>
<p>Following are some important organizational functions that can be performed using an employee group:</p>
<p>Creating default values when data is input, such as creating default values for the payroll accounting area or basic pay of the employee Creating criteria of selection to be used during evaluations Creating a unit to be used for authorization check.</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q41) What Is Shift Planning?</strong></span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong></span> Shift Planning is a component of Personnel Time Management. It is used to plan the shift time and location of the employees according to their qualifications and the number of job requirements. The document used to record this information is called a planned shift document, which is also known as a roster.</p>39:Tab25,<h2><span style="font-size: 20px; color: #e67e23;">Embedded Systems Interview Questions and Answers</span></h2>
<p><span id="docs-internal-guid-0ca447e1-7fff-b972-c09b-c6f0420f7794"><span style="font-size: 12pt; font-family: Calibri, sans-serif; font-variant-numeric: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">Many top companies are offering jobs in various roles in Embedded Testing. So, there is a huge scope for professionals in the job market. We at Tekslate, have prepared a bunch of top Embedded<strong> </strong>interview questions in this blog that covers the basics of embedded systems. We hope you will benefit from these questions and clear your interview easily. </span></span></p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.2759%;">
<h3>Most Frequently asked Embedded Systems Interview Questions</h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">What is an embedded system?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q2">What are the fundamental characteristics of an embedded system?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q4">What are the types of embedded systems?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q11">What are the uses of timers?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q15">Differences between mutexes and semaphores?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q21">What is an embedded C?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q26">What are the levels of testing in embedded systems?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q28">What is software quality assurance?&nbsp;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q32">How does, taking the address of local variables to result in unoptimized code?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q36">What type of registers contains an INTEL CPU?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q42">What are the Dirac delta function and its Fourier transform and its importance?</a></span></li>
<li><span style="color: #236fa1;">What Does Malloc Do?</span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q1"></a>Q1) What is an embedded system?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><span style="color: #000000;"><strong>Ans:</strong></span> An embedded system is part of a more extensive electrical or mechanical system dedicated to a specific task. It is a microcontroller or microprocessor-based.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q2"></a>Q2) What does the embedded system architecture consist of?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>An embedded system has typically 3 components:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;"><em><strong>Hardware:</strong></em> It includes processor, memory, timers, I/O circuits, and system application-specific circuits&nbsp;</span></li>
<li><span style="font-size: 14px;"><em><strong>Software:</strong></em> It ensures the availability of system memory and processor speed.&nbsp;</span></li>
<li><span style="font-size: 14px;"><em><strong>Real-Time Operating System (RTOS):</strong></em> It supervises the application software.&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q3) What are the fundamental characteristics of an embedded system?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><span style="color: #000000;"><strong>Ans: </strong>The fundamental characteristics of an embedded system are:</span></span></p>
<ul>
<li><span style="font-size: 14px;">Performs a specialized operation and repeats the same.&nbsp;</span></li>
<li><span style="font-size: 14px;">Tight constraints on design metrics.&nbsp;</span></li>
<li><span style="font-size: 14px;">Continually reacts to changes in the system&rsquo;s environment.&nbsp;</span></li>
<li><span style="font-size: 14px;">Based on microprocessors or microcontrollers.&nbsp;</span></li>
<li><span style="font-size: 14px;">Software is for flexibility. Hardware is for performance and security.</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q4"></a>Q4) What are the types of embedded systems?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Based on performance and functional requirements, there are four types:&nbsp;</span></p>
<ol>
<li><span style="font-size: 14px;">Real-time embedded systems</span></li>
<li><span style="font-size: 14px;">Soft real-time embedded systems&nbsp;</span></li>
<li><span style="font-size: 14px;">Hard real-time embedded systems&nbsp;</span></li>
<li><span style="font-size: 14px;">Stand-alone embedded systems&nbsp;</span></li>
<li><span style="font-size: 14px;">Networked embedded systems&nbsp;</span></li>
<li><span style="font-size: 14px;">Mobile embedded systems&nbsp;</span></li>
</ol>
<p><span style="font-size: 14px;">Based on performance and microcontroller, there are three types:&nbsp;</span></p>
<ol>
<li><span style="font-size: 14px;">Small-scale embedded systems&nbsp;</span></li>
<li><span style="font-size: 14px;">Medium-scale embedded systems&nbsp;</span></li>
<li><span style="font-size: 14px;">Sophisticated or Complex embedded systems.</span></li>
</ol>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q5) Differences between Serial and Parallel I/O devices?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans: </strong></span></strong><span style="color: #e03e2d;"><span style="color: #000000;">The differences between Serial and Parallel I/O devices are as follows:</span></span></span></p>
<p><span style="font-size: 14px;">Serial:</span></p>
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 26.8018%;">
<p><span style="font-size: 14px;">Type&nbsp;</span></p>
</td>
<td style="width: 40.4655%;">
<p><span style="font-size: 14px;">Input&nbsp;</span></p>
</td>
<td style="width: 32.7327%;">
<p><span style="font-size: 14px;">Output&nbsp;</span></p>
</td>
</tr>
<tr>
<td style="width: 26.8018%;">
<p><span style="font-size: 14px;">Synchronous&nbsp;</span></p>
</td>
<td style="width: 40.4655%;">
<p><span style="font-size: 12pt;">Audio/Video signal&nbsp;</span></p>
</td>
<td style="width: 32.7327%;">
<p><span style="font-size: 14px;">Audio/Video signal&nbsp;</span></p>
</td>
</tr>
<tr>
<td style="width: 26.8018%;">
<p><span style="font-size: 14px;">Asynchronous&nbsp;</span></p>
</td>
<td style="width: 40.4655%;">
<p><span style="font-size: 14px;">Keypad, mouse, modem&nbsp;</span></p>
</td>
<td style="width: 32.7327%;">
<p><span style="font-size: 14px;">Printer, modem&nbsp;</span></p>
</td>
</tr>
</tbody>
</table>
<p><span style="font-size: 14px;">Parallel:&nbsp;</span></p>
<div dir="ltr" align="left">
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 46px;">
<td style="width: 17.0024%; height: 46px;">
<p><span style="font-size: 14px;">Type&nbsp;</span></p>
</td>
<td style="width: 41.3376%; height: 46px;">
<p><span style="font-size: 14px;">Input&nbsp;</span></p>
</td>
<td style="width: 41.66%; height: 46px;">
<p><span style="font-size: 14px;">Output&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 17.0024%; height: 46px;">
<p><span style="font-size: 14px;">Single-bit&nbsp;</span></p>
</td>
<td style="width: 41.3376%; height: 46px;">
<p><span style="font-size: 14px;">Rotation, threshold sensors&nbsp;</span></p>
</td>
<td style="width: 41.66%; height: 46px;">
<p><span style="font-size: 14px;">Pulses to an external circuit&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 17.0024%; height: 46px;">
<p><span style="font-size: 14px;">Multi-bit&nbsp;</span></p>
</td>
<td style="width: 41.3376%; height: 46px;">
<p><span style="font-size: 14px;">Vp from ADC, sensors&nbsp;</span></p>
</td>
<td style="width: 41.66%; height: 46px;">
<p><span style="font-size: 14px;">LCD, printer&nbsp;</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q6) What are some applications of embedded systems?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong><span style="color: #000000;">The applications are:</span></span></p>
<ul>
<li><span style="font-size: 14px;">Identify rash driving on highways and alarm the traffic authorities through a speed-checker device.&nbsp;</span></li>
<li><span style="font-size: 14px;">Detect vehicle movement on highways and control street lights.&nbsp;</span></li>
<li><span style="font-size: 14px;">A density-based traffic signal system controls the signal timing according to the traffic density at junctions.&nbsp;</span></li>
<li><span style="font-size: 14px;">To find the exact location of a vehicle using a GPS modem.&nbsp;</span></li>
<li><span style="font-size: 14px;">For a home automation system with an <span style="color: #236fa1;"><a style="color: #236fa1;" title="Android Tutorial" href="https://tekslate.com/android" target="_blank">Android</a></span> application-based remote control.&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q7) What are real-time embedded systems?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Real-time embedded systems are computer systems that monitor, respond, or control external environments.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q8) What is a microcontroller?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;">Ans:</span> </strong>Microcontrollers are self-contained systems inserted in devices to control the actions and features of a product. They are also called embedded controllers.</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q9) What is interrupt latency? How can it be reduced?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Interrupt latency is the time taken to return from a disrupted service to regular functioning.&nbsp;</span></p>
<p><span style="font-size: 14px;">Interrupt latency is reduced by:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Keeping ISRs short and straightforward&nbsp;</span></li>
<li><span style="font-size: 14px;">Immediate servicing of interrupts&nbsp;</span></li>
<li><span style="font-size: 14px;">Avoiding instructions that increase the latency period&nbsp;</span></li>
<li><span style="font-size: 14px;">Prioritizing interrupts over threads.&nbsp;</span></li>
<li><span style="font-size: 14px;">Avoiding inappropriate APIs.&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q10) Types of Buses used by embedded systems?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong><span style="color: #000000;">Types of Buses used are:</span></span></p>
<div dir="ltr" align="left">
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 46px;">
<td style="width: 22.1018%; height: 46px;">
<p><span style="font-size: 14px;">TYPE&nbsp;</span></p>
</td>
<td style="width: 77.8091%; height: 46px;">
<p><span style="font-size: 14px;">DESCRIPTION&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 22.1018%; height: 46px;">
<p><span style="font-size: 14px;">Memory Bus&nbsp;</span></p>
</td>
<td style="width: 77.8091%; height: 46px;">
<p><span style="font-size: 14px;">It is related to the processor connected to the memory.&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 22.1018%; height: 46px;">
<p><span style="font-size: 14px;">Multiplexed Address/Data Bus&nbsp;</span></p>
</td>
<td style="width: 77.8091%; height: 46px;">
<p><span style="font-size: 14px;">It reads and writes in the memory, but it decreases performance because of the time consumed in the memory.&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 22.1018%; height: 46px;">
<p><span style="font-size: 12pt;">De-multiplexed Bus&nbsp;</span></p>
</td>
<td style="width: 77.8091%; height: 46px;">
<p><span style="font-size: 14px;">It consists of two wires on the same bus. One wire has the address, and the other one has the data.&nbsp;</span></p>
</td>
</tr>
<tr style="height: 10px;">
<td style="width: 22.1018%; height: 10px;">
<p><span style="font-size: 14px;">Input/Output Bus&nbsp;</span></p>
</td>
<td style="width: 77.8091%; height: 10px;">
<p><span style="font-size: 14px;">It uses multiplexing techniques to multiplex the same input and output signals.&nbsp;</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q11"></a>Q11) What are the uses of timers?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>The different uses of timers in embedded systems are:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Real-Time Clock (RTC) for the system&nbsp;</span></li>
<li><span style="font-size: 14px;">To initiate an event after a preset time delay.&nbsp;</span></li>
<li><span style="font-size: 14px;">To capture the count value on an event.&nbsp;</span></li>
<li><span style="font-size: 14px;">To find the time interval between two events.&nbsp;</span></li>
<li><span style="font-size: 14px;">To reduce the time spent on various tasks.&nbsp;</span></li>
<li><span style="font-size: 12pt;"><span style="font-size: 14px;">To schedule tasks in RTOS</span>&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q12) What is a Watchdog timer?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>A watchdog timer is an electronic device that is dedicated to a specific operation after a particular time if something goes wrong with a system.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q13) Why are infinite loops used in embedded systems?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Embedded systems use infinite loops to process or monitor the state of a program repeatedly. For example, in a customer support telephone system, a pre-recorded audio file is played in case the dialer is on hold.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q14) What are the common errors in Embedded systems?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Some of the common errors found in an embedded system are:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Data lines malfunctioning&nbsp;</span></li>
<li><span style="font-size: 14px;">Address line malfunctioning because of a short in the circuit&nbsp;</span></li>
<li><span style="font-size: 14px;">Some memory locations become inaccessible.&nbsp;</span></li>
<li><span style="font-size: 14px;">Wrong control signals&nbsp;</span></li>
<li><span style="font-size: 14px;">Damage of memory devices&nbsp;&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q15"></a>Q15) Differences between mutexes and semaphores?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans: </strong></span></strong><span style="color: #e03e2d;"><span style="color: #000000;">T</span><span style="color: #000000;">he differences between mutexes and semaphores are:</span></span></span></p>
<div dir="ltr" align="left">
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 46px;">
<td style="width: 49.0097%; height: 46px;">
<p><span style="font-size: 14px;">MUTEXES&nbsp;</span></p>
</td>
<td style="width: 50.9016%; height: 46px;">
<p><span style="font-size: 14px;">SEMAPHORES&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 49.0097%; height: 46px;">
<p><span style="font-size: 14px;">Only the acquired thread releases it.&nbsp;</span></p>
</td>
<td style="width: 50.9016%; height: 46px;">
<p><span style="font-size: 14px;">Another thread or process can signal it.&nbsp;&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 49.0097%; height: 46px;">
<p><span style="font-size: 14px;">Mutexes always have a known owner.&nbsp;</span></p>
</td>
<td style="width: 50.9016%; height: 46px;">
<p><span style="font-size: 14px;">The thread is not known.&nbsp;</span></p>
</td>
</tr>
<tr style="height: 46px;">
<td style="width: 49.0097%; height: 46px;">
<p><span style="font-size: 14px;">It provides deadlock-free mutual exclusion.&nbsp;</span></p>
</td>
<td style="width: 50.9016%; height: 46px;">
<p><span style="font-size: 14px;">It is a synchronization tool that overcomes that critical section problem.&nbsp;</span></p>
</td>
</tr>
<tr style="height: 17px;">
<td style="width: 49.0097%; height: 17px;">
<p><span style="font-size: 14px;">Mutexes are binary semaphores. Two states are locked or unlocked.&nbsp;</span></p>
</td>
<td style="width: 50.9016%; height: 17px;">
<p><span style="font-size: 14px;">Semaphores are counter locks.&nbsp;</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q16) What are recursive functions?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>A recursive function is used when it is known that the number of recursive calls is not excessive. It can be declared inline if required.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q17) What is a memory leak?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>A memory leak is the accumulation of uncleared memory. It stalls the execution of the system if it reaches adequate space.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q18) What are the advantages and disadvantages of embedded systems?&nbsp;</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong></span></p>
<p><span style="font-size: 14px;"><em><strong>Advantages:&nbsp;</strong></em></span></p>
<ul>
<li><span style="font-size: 14px;">It is faster to load and is small in size.&nbsp;</span></li>
<li><span style="font-size: 14px;">It is dedicated to one specific task.&nbsp;</span></li>
<li><span style="font-size: 14px;">It is easy to manage.&nbsp;</span></li>
<li><span style="font-size: 14px;">It is cost-effective.&nbsp;</span></li>
<li><span style="font-size: 14px;">Fewer resources are needed, like memory and microprocessors.&nbsp;</span></li>
<li><span style="font-size: 14px;">It has good performance because the operating system is only for one device.</span></li>
</ul>
<p><em><strong><span style="font-size: 14px;">Disadvantages:&nbsp;</span></strong></em></p>
<ul>
<li><span style="font-size: 14px;">It is difficult to upgrade.&nbsp;</span></li>
<li><span style="font-size: 14px;">Settings need to be reset if there is any problem.&nbsp;</span></li>
<li><span style="font-size: 14px;">It is not scalable.&nbsp;</span></li>
<li><span style="font-size: 14px;">Limited hardware.&nbsp;</span></li>
<li><span style="font-size: 14px;">It is difficult to troubleshoot.&nbsp;</span></li>
<li><span style="font-size: 14px;">It is difficult to transfer data from one system to the other.&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q19) What are the reasons for a system to go blank? What are the steps to debug it?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Reasons a system could go blanks are:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Overheated PC&nbsp;</span></li>
<li><span style="font-size: 14px;">Accumulated dusk&nbsp;</span></li>
<li><span style="font-size: 14px;">Malfunctioning of CPU fans&nbsp;</span></li>
<li><span style="font-size: 14px;">Faulty power connections&nbsp;</span></li>
</ul>
<p><em><strong><span style="font-size: 14px;">The steps to debug are:&nbsp;</span></strong></em></p>
<ul>
<li><span style="font-size: 14px;">Cleaning the system and maintaining a dust-free environment.&nbsp;</span></li>
<li><span style="font-size: 14px;">Creating a cool environment for easy passage of air.&nbsp;</span></li>
<li><span style="font-size: 14px;">Locating the appropriate support drivers and installing them.&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q20) What is the automotive embedded system?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>The automotive embedded system is a computer system for electronic devices that controls the mechanism of data and devices.&nbsp;</span></p>
<h2 id="scenario"><span style="color: #236fa1; font-size: 24px;">Embedded Interview Questions</span></h2>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q21"></a>Q21) What is an embedded C?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Embedded C is an extension of the<span style="color: #236fa1;"> <a style="color: #236fa1;" title="C Tutorial" href="c-tutorials" target="_blank" rel="noopener">C programming</a></span> language. It is used to develop applications based on micro-controllers such as device drivers (camera device drivers, WiFi device drivers, etc.)&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q22) What are the causes of segmentation fault errors?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Segmentation fault error is a runtime error that occurs due to a few of the following reasons:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">A pointer may not have a valid address or a memory location to point.&nbsp;</span></li>
<li><span style="font-size: 14px;">If the user tries to access a read-only memory area.&nbsp;</span></li>
<li><span style="font-size: 14px;">If the user tries to free a memory (using a pointer) which is already freed.&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q23) What is a stack overflow error in C?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Stack overflow error occurs if the program accesses the memory beyond its available limit. When this error occurs, the program terminates and does not execute further instructions.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q24) Why is a &lsquo;volatile&rsquo; keyboard used in C?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>When a variable is used often, the compiler optimizes it and keeps the variables in its memory. Therefore, volatile prevents the compiler from any optimization.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px;"><span style="color: #e67e23;">Q25) </span><span style="color: #e67e23;">What Are Hard and Soft Real-Time Systems?</span></span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>The hard real-time Embedded Systems are the ones that depend on the output very strictly on time. Any late response or delay cannot be tolerated and will always be considered a failure. The soft real-time systems on the other are not very rigid as the hard real-time systems. The performance of the system degrades with the lateness of response, but it is bearable and can be optimized to a certain level for reuse of the result.</span></p>
<p>&nbsp;</p>
<h2 dir="ltr"><span style="font-size: 24px;"><span style="color: #e67e23;">&nbsp;</span><span style="color: #236fa1;">Embedded Testing Interview Questions </span></span></h2>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q26"></a>Q26) What are the levels of testing in embedded systems?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>There are four levels of testing in embedded systems:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Unit testing&nbsp;</span></li>
<li><span style="font-size: 14px;">Integration testing&nbsp;</span></li>
<li><span style="font-size: 14px;">System testing&nbsp;</span></li>
<li><span style="font-size: 14px;">User acceptance testing&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q27) What are the phases of the Software Development Life Cycle?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>There are five main stages of the software development life cycle:&nbsp;</span></p>
<ol>
<li>
<p><span style="font-size: 14px;">Requirement: In this phase, the customer fills a requirement form to write what they actually need from the product.&nbsp;</span></p>
</li>
<li>
<p><span style="font-size: 14px;">Analysis: In this phase, the requirements are converted into documents and cover all the functional requirement specifications.</span></p>
</li>
<li>
<p><span style="font-size: 14px;">Design: In this phase, the design of the product is prepared. The requirements are converted into architecture design. This phase includes:&nbsp;</span></p>
</li>
<ol>
<li>
<p><span style="font-size: 14px;">Low-Level Design Documentation (LLD)&nbsp;</span></p>
</li>
<li>
<p><span style="font-size: 14px;">High-Level Design Documentation (HLD)&nbsp;</span></p>
</li>
</ol>
<li>
<p><span style="font-size: 14px;">Coding: In this phase, the requirements are converted into a coded form.&nbsp;</span></p>
</li>
<li>
<p><span style="font-size: 14px;">Testing: In this phase, the software under development is tested for product quality. This includes 2 types:&nbsp;</span></p>
</li>
<ol>
<li>
<p><span style="font-size: 14px;">Static testing&nbsp;</span></p>
</li>
<li>
<p><span style="font-size: 14px;">Dynamic testing&nbsp;</span></p>
</li>
</ol>
<li>
<p><span style="font-size: 14px;">Maintenance: In this phase, the maintenance of the product is implemented.&nbsp;</span></p>
</li>
</ol>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;"><a id="q28"></a>Q28) What is software quality assurance?&nbsp;</span></h3>
<p><span style="font-size: 18px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Software testing refers to the software developing process:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Monitoring and improving the process&nbsp;</span></li>
<li><span style="font-size: 14px;">Ensuring that standards and procedures are followed&nbsp;</span></li>
<li><span style="font-size: 14px;">Ensuring are problems are found and rectified.&nbsp;</span></li>
</ul>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q29) What is equivalence partitioning?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Equivalence partitioning involves designing a test case to uncover a group or a class of error.&nbsp;</span></p>
<h3 dir="ltr"><span style="font-size: 18px; color: #e67e23;">Q30) What are some of the common testing tools?&nbsp;</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Some of the common testing tools are:&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Quick Test Professional (QTP)&nbsp;</span></li>
<li><span style="font-size: 14px;">WinRunner&nbsp;</span></li>
<li><span style="font-size: 14px;">LoadRunner&nbsp;</span></li>
<li><span style="font-size: 14px;">TestDirector&nbsp;</span></li>
<li><span style="font-size: 14px;">Silk Test&nbsp;</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q31) How does a combination of functions reduce memory requirements in embedded systems?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>The amount of code that has to be dealt with is reduced thus easing the overhead and redundancy is eliminated in case if there is anything common among the functions.</span></p>
<p><span style="font-size: 14px;">Memory allocation is another aspect that is optimized and it also makes sense to group a set of functions related in some way as one single unit rather than having them to be dispersed in the whole program.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><a id="q32"></a>Q32) How does, taking the address of local variables to result in unoptimized code?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>The most powerful optimization for the compiler is register allocation. That is it operates the variable from the register, then a memory.</span></p>
<p><span style="font-size: 14px;">Generally, local variables are allocated in registers. However, if we take the address of a local variable, the compiler will not allocate the variable to register.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q33) What is a pure function in ARM terminology?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Pure functions are those which return a result which depends only on their arguments.</span></p>
<p><span style="font-size: 14px;">They can be thought of as mathematical functions: they always return the same result if the arguments are the same. To tell the compiler that a function is pure, use the special declaration keyword __pure.</span></p>
<pre class="language-javascript"><code>__pure int square(int x)
{

return x * x;

}</code></pre>
<p><span style="font-size: 14px;">The compiler does optimization for pure functions. For example, the values which are allocated to memory can be safely cached in registers, instead of being written to memory before a call and reloaded afterward.</span></p>
<p>&nbsp;</p>
<h2><span style="font-size: 24px; color: #236fa1;">Microprocessor and Microcontroller(MPMC) Interview Questions:</span></h2>
<h3><span style="font-size: 18px; color: #e67e23;">Q34) Is 8085 an embedded system?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>It&rsquo;s not an embedded system. Because it will be a part of an embedded system and it does not work on any software.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q35) What is the role of the segment register?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>In the 8086 processor architecture, memory addresses are specified in two parts called the segment and the offset. Segment values are stored in the segment registers. There are four or more segment registers: Code Segment (CS) contains a segment of the current instruction (IP is the offset), Stack segment (SS) contain a stack of the segment (SP is the offset), DS is the segment used by default for most data operations; ES is an extra segment register.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><a id="q36"></a>Q36)What type of registers contains an INTEL CPU?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Special function registers like accumulator, program controller (PC), data pointer (DPTR), TMOD and TCON (timing registers), 3 register banks with r0 to r7, Bit addressable registers like B.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q37) Differentiate microprocessors and microcontrollers?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>As now you are fundamentally familiar with what is a <span style="color: #2233d9;"><a style="color: #2233d9;" href="https://en.wikipedia.org/wiki/Microcontroller" target="_blank" rel="noopener">microcontroller</a></span> And microprocessor, it is easy to recognize the significant contrasts between a microcontroller and microprocessor.</span></p>
<p><span style="font-size: 14px;">1. Key difference in both of them is the presence of external peripheral, where microcontrollers have RAM, ROM, EEPROM embedded in it while we have to use external circuits in the case of microprocessors.</span></p>
<p><span style="font-size: 14px;">2. As all the peripheral of microcontrollers are on the single-chip it is compact while the microprocessor is bulky.</span></p>
<p><span style="font-size: 14px;">3. Microcontrollers are made by using complementary metal-oxide-semiconductor technology so they are far cheaper than microprocessors. In addition, the applications made with microcontrollers are cheaper because they need lesser external components, while the overall cost of systems made with microprocessors is high because of the high number of external components required for such systems.</span></p>
<p><span style="font-size: 14px;">4. Processing speed of microcontrollers is about 8 MHz to 50 MHz, but on the contrary processing speed of general microprocessors is above 1 GHz so it works much faster than microcontrollers.</span></p>
<p><span style="font-size: 12pt;"><span style="font-size: 14px;">5. Generally microcontrollers have a power-saving system, like idle mode or power-saving mode so overall it uses less power, and also since external components are low overall consumption of power is less. While in microprocessors generally there is no power saving system and also many external components are used with it, so its power consumption is high in comparison with microcontrollers</span>.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q38) What is Preprocessor?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>A preprocessor is a Program That processes its input data to produce output that is used as input to another program. The output is said to be a preprocessed form of the input data, which is often used by some subsequent programs like compilers. The amount and kind of processing done depend on the nature of the preprocessor.</span></p>
<p><span style="font-size: 14px;">Some Pre-processors Are Only Capable Of Performing Relatively Simple Textual Substitutions And Macro Expansions, while others have the power of full-fledged programming languages.</span></p>
<p><span style="font-size: 14px;">A Common Example From Computer programming is the processing performed on source code before the next step of compilation. In some computer languages (e.g., C and PL/I) there is a phase of translation known as preprocessing. It can also include macro processing, file inclusion, and language extensions.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q39) Which is better a char, short, or int type for optimization?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Where possible, it is best to avoid using char and short as local variables. For the types, char and short the compiler needs to reduce the size of the local variable to 8 or 16 bits after each assignment. This is called sign-extending for signed variables and zero extending for unsigned variables.</span></p>
<p><span style="font-size: 14px;">It is implemented by shifting the register left by 24 or 16 bits, followed by a signed or unsigned shift right by the same amount, taking two instructions (zero-extension of an unsigned char takes one instruction).</span></p>
<p><span style="font-size: 14px;">These shifts can be avoided by using int and unsigned int for local variables. This is particularly important for calculations that first load data into local variables and then process the data inside the local variables.</span></p>
<p><span style="font-size: 14px;">Even if data is input and output as 8- or 16-bit quantities, it is worth considering processing them as 32-bit quantities</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q40) What are inline functions?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>The ARM compilers support inline functions with the keyword __inline.</span></p>
<p><span style="font-size: 14px;">These results in each call to an inline function being substituted by its body, instead of a normal call.</span></p>
<p><span style="font-size: 14px;">This results in faster code, but it adversely affects code size, particularly if the inline function is large and used often.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q41) Why do we need virtual device drivers when we have physical device drivers?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Device drivers are basically a set of modules/routines so as to handle a device for which a direct way of communication is not possible through the user's application program and these can be thought of as an interface thus keeping the system small providing for minimalistic of additions of code if any.</span></p>
<p><span style="font-size: 14px;">Physical device drivers can&rsquo;t perform all the logical operations needed in a system in cases like IPC, Signals, and so on...</span></p>
<p><span style="font-size: 14px;">The main reason for having virtual device drivers is to mimic the behavior of certain hardware devices without it actually being present and these could be attributed to the high cost of the devices or the unavailability of such devices.</span></p>
<p><span style="font-size: 14px;">These basically create an illusion for the users as if they are using the actual hardware and enable them to carry out their simulation results.</span></p>
<p><span style="font-size: 14px;">Examples could be the use of virtual drivers in the case of Network simulators, also the support of virtual device drivers in case a user runs an additional OS in a virtual box kind of software.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><a id="q42"></a>Q42) What are the Dirac delta function and its Fourier transform and its importance?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>Dirac delta function is a continuous-time function with units are and infinite amplitude at t=0.</span></p>
<p><span style="font-size: 14px;">The Fourier transform of the Dirac delta function is 1.</span></p>
<p><span style="font-size: 14px;">Using Dirac delta as an input to the system, we can get the system response. It is used to study the behavior of the circuit. We can use this system behavior to find the output for any input.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q43) Differentiate testing and verification?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans: </strong></span></strong>Verification is a front-end process and testing is a post-silicon process. Verification is to verify the functionality of the design during the design cycle. Testing is to find manufacturing faults.</span></p>
<pre class="language-markup"><code>{

a &amp;= ~BIT3;

}</code></pre>
<p><span style="font-size: 14px;">Some people prefer to define a mask together with manifest constants for the set and clear values. This is also acceptable. The element that I'm looking for is the use of manifest constants, together with the |= and &amp;= ~ constructs</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q44) #define cat(x,y) x##y concatenates x to y. But cat(cat(1,2),3) does not expand but gives preprocessor warning. Why?</span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans:</strong></span> </strong>In this case, the cat(x,y) is the macro which is defined by using the preprocessor directive, this will be substituted only at the place where it is called in this example it happens like this</span></p>
<p><span style="font-size: 14px;">cat(1,2)##3 which will once again become 1##2##3</span></p>
<p><span style="font-size: 14px;">here if we use ## in between we can join or concatenate only two variables that why it gives a preprocessor warning.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><a id="q45"></a>Q45) What Does Malloc Do? </span></h3>
<p><span style="font-size: 14px;"><strong style="color: #e03e2d;"><span style="color: #000000;"><strong>Ans: </strong></span></strong>What Will Happen If We Have A Statement Like Malloc(sizeof(0));</span></p>
<p><span style="font-size: 14px;">Malloc is the function that is used for dynamically allocating memory to the different variables. The malloc returns a memory pointer of void type (void *). The statement malloc(sizeof(0)) returns a valid integer pointer because the size of(0) represents the size of memory taken up by the integer value of 0. The memory allocated by memory is not automatically cleaned up by the compiler after the execution of the functions and should be cleaned up by the programmer using the free () function.</span></p>
<p>&nbsp;</p>3a:T30da,<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 18pt;">Introduction To C Language</span></h2>
<p style="text-align: justify;"><span style="color: #000000;">C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The UNIX <a href="https://en.wikipedia.org/wiki/Operating_system" target="_blank" rel="noopener">operating system</a>, the C compiler, and essentially all <a title="UNIX Tutorial" href="https://tekslate.com/tutorials/unixlinux/" target="_blank" rel="noopener">UNIX</a> application programs have been written in C. C has now become a widely used professional language for various reasons:</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Easy to learn</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Structured language</span></li>
<li style="text-align: justify;"><span style="color: #000000;">It produces efficient programs</span></li>
<li style="text-align: justify;"><span style="color: #000000;">It can handle low-level activities</span></li>
<li style="text-align: justify;"><span style="color: #000000;">It can be compiled on a variety of computer platforms</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.3496%;">
<h3><span style="font-size: 16px;">Table of Contents</span></h3>
<ul>
<li><a href="#why-use-c"><span style="color: #236fa1;">Why Use C?</span></a></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#applications-of-c" target="_blank">Applications of &lsquo;C&rsquo;</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#features-of-c-programming">Features of C Programming Language</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#advantages-of-c">Advantages of C</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#disadvantages-of-c">Disadvantages of C</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><a id="why-use-c"></a>Why Use C?</span></h2>
<p style="text-align: justify;"><span style="color: #000000;">C was initially used for system development work, particularly the programs that make up the operating system. C was adopted as a system development language because it produces code that runs nearly as fast as the code written in assembly language. Some examples of the use of C:</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Operating Systems</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Language Compilers</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Assemblers</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Text Editors</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Print Spoolers</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Network Drivers</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Modern Programs</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Databases</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Language Interpreters</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Utilities</span></li>
</ul>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><a id="applications-of-c"></a>Applications of &lsquo;C&rsquo;</span></h2>
<p style="text-align: justify;"><span style="color: #000000;">C programming language can be used to design different types of application like designing the system software like OS &amp; compiler.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Designing the application software like database &amp; spreadsheets.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">To design the graphics related applications, i.e., PC's and mobile games.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">To evaluate the mathematical equations.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><a id="features-of-c-programming"></a>Features of C Programming Language</span></h3>
<p style="text-align: justify;"><span style="color: #000000;">C language is one of the powerful languages. Below are some of the features of the C language.</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Reliability</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Portability</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Flexibility</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Interactivity</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Modularity</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Efficiency and Effectiveness</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">C is the most popular programming language which has many advantages:</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Modularity:</span></h3>
<p><span style="color: #000000;"> It is one of the important <a title="Characteristics of C" href="https://tekslate.com/characteristics-of-c-language/" target="_blank" rel="noopener">characteristics</a> of C. we can split the C program into no. of modules instead of repeating the same logic statements (sequentially). It allows the reusability of <a title="Modules in C" href="https://en.wikipedia.org/wiki/Module_(disambiguation)" target="_blank" rel="noopener">modules</a>.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Middle-level language: </span></h3>
<p><span style="color: #000000;">As a middle-level language, C combines both the advantages of low level and high-level languages. (arrays, pointers, etc.).</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">General-purpose programming language: </span></h3>
<p><span style="color: #000000;">C can be used to implement any applications such as math&rsquo;s oriented, graphics, business-oriented applications.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Portability: </span></h3>
<p><span style="color: #000000;">We can compile or execute a C program on any operating system (Unix, dos, windows).</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Powerful programming language:</span></h3>
<p><span style="color: #000000;"> C is a very efficient and powerful programming language, it is best used for data structures and designing system software. C is case sensitive language.</span></p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><a id="advantages-of-c"></a>Advantages of C</span></h2>
<p style="text-align: justify;"><span style="color: #000000;">C Language has a list of advantages due to this it is a very much popular language around the world and best suitable for the programmer to learn at the first stage of the programming.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><span style="color: #000000;">Procedure Oriented Language</span></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">C Language is procedure-oriented language, here user creates procedures or functions to execute their task. Procedure-oriented language is very much easy to learn because it follows an algorithm to execute your statements. To develop a program using procedure-oriented language, you need to draw/prepare an algorithm and then start converting it into a procedure or functions.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><span style="color: #000000;">Lots of Libraries</span></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">C Language provides lots of functions which consist of system generated <a title="functions in C" href="https://tekslate.com/explain-functions-advantages-c-language/" target="_blank" rel="noopener">functions</a> and user-defined functions. C Compiler comes with a list of header files which consist of many general functions which can be used to develop a program, while the programmer can also create a function as per their requirements that are called a user-generated/defined function.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><span style="color: #000000;">Speed of Compilation</span></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">C compiler produces machine code very fast compared to other language compilers. C compiler can compile around 1000 lines of code in a second or two. One more benefit of the C Compiler is that it also optimize the code for faster execution.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><span style="color: #000000;">Easy to Learn&nbsp;</span></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">C Language syntax is very easy to understand. It uses a keyword like if, else, goto, switch, main, etc. This kind of keyword we all are using in our day to day life to convey meaning or to get some decisions.&nbsp;</span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><span style="color: #000000;">Portable&nbsp;</span></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">C Language setup is around 3-5 MB. So you can carry this language in your Floppy Drive or Pen Drive. It is very easy to install and operate, Again its output is an exe file that can be executed on any computer without any other framework/software.</span></p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><a id="disadvantages-of-c"></a>Disadvantages of C</span></h2>
<p style="text-align: justify;">C Language also has some disadvantages. C Language does not have major disadvantages, but some features are missing in the C Language, obviously, that's why C Language is very much powerful now.</p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Object-Oriented Programming Features (OOPS)</span></h3>
<p style="text-align: justify;">Object-Oriented Programming Features is missing in C Language, You have to develop your program using procedure-oriented language only.</p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Run-Time Type Checking is Not Available</span></h3>
<p style="text-align: justify;">In C Language there is no provision for run-time type checking, for example, I am passing float value while receiving parameter is of integer type then the value will be changed, it will not give any error message.</p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Namespace Feature</span></h3>
<p style="text-align: justify;">C does not provide namespace features, so you can't be able to use the same variable name again in one scope. If namespace features are available, then you can able to reuse the same variable name.</p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Constructor and Destructor is not available</span></h3>
<p style="text-align: justify;">C does not provide object-oriented features, so it doesn't have Constructor and Destructor features. Constructor and Destructor are used to construct an object and destroy an object. So in C Language, you have to implement the construction and destruction of the variable manually, using a function or by other means.</p>
<p style="text-align: justify;">Our course design of tutorials is practical and informative. At TekSlate, we offer resources to help you learn various IT courses. We avail both written material and demo video tutorials.&nbsp;For in-depth knowledge and practical experience explore Online C Tutorials.</p>
<p style="text-align: justify;">&nbsp;</p>3b:T4178,<h2><span style="color: #e67e23; font-size: 18pt;">Advantages and Disadvantages of C++</span></h2>
<p style="text-align: justify;">C++ is based on the C language, and it was developed in the early 1980s by Bjarne Stroustrup at <em>AT&amp;T Bell Laboratories</em>, Here "++" use for the extension because "++" is a syntactic construct used in C <em>to increment a variable</em>. Most of the C++ content is the super-set of "C", Due to this extension most C programs can be compiled using a C++ compiler.</p>
<p>A C++ program is a collection of commands, which tell the computer to do "something." This collection of commands is usually called <em>C++ source code</em> C++ is the Mid-Level programming language because it acquires the feature of Low level as well as a high-level programming language. Using C++ Programming Language we can create a different kind of Software,<em> These are:</em></p>
<ul>
<li>System software</li>
<li>application software</li>
<li>device drivers</li>
<li>embedded software</li>
<li>high-performance server and client applications and</li>
<li>entertainment software such as video games</li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.4722%;">
<h3>Table of Contents</h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-is-c-plus-plus">What is C++</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#applications-of-c-plus-plus">Applications of C++</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#programming-concepts">Programming Concepts</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-is-modular-programming">What is a Modular programming</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#structured-programming">Structured programming</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#advantages-of-c-plus-plus">Advantages of C++</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#what-are-c-and-c-plus-plus">What are the C and C++</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#difference-between-c-and-c-plus-plus">What is the difference between C &amp; C++?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #e67e23; font-size: 14pt;"><a id="what-is-c-plus-plus"></a>What is C++</span></h2>
<p style="text-align: justify;">C++ is an object-oriented <a href="https://tekslate.com/translatorand-programming-language/" target="_blank" rel="noopener">programming language</a></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>What is language?</strong></span></p>
<ul>
<li style="text-align: justify;">A language is a software computer is an electronic device that cannot perform operating by own.</li>
<li style="text-align: justify;">Language provides a set of instructions to perform operations by computer.</li>
<li style="text-align: justify;">Language is nothing but a programming tool</li>
<li style="text-align: justify;">C++ is the name of the language</li>
<li style="text-align: justify;">&lsquo;c&rsquo; language is derived from &lsquo;B&rsquo; language</li>
<li style="text-align: justify;">'B&rsquo; language is derived from BCPL</li>
<li style="text-align: justify;">&lsquo;C&rsquo; language develops in the year 1972</li>
<li style="text-align: justify;">C++ language is developed in the year 1980</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>What is a Program?</strong></span></p>
<ul>
<li style="text-align: justify;">Set of instructions or collection of instructions and data.</li>
<li style="text-align: justify;">Programming elements are</li>
</ul>
<ul style="list-style-type: circle;">
<li>Data</li>
<li>instruction</li>
</ul>
<ul>
<li style="text-align: justify;">To write a program to required Data and instructions.</li>
<li style="text-align: justify;">programming is nothing but a process of organizing data and instructions according to given problem</li>
<li style="text-align: justify;">object-oriented means rules and regularity<strong>&nbsp;</strong></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>What are Programming Principles</strong></span></p>
<p style="text-align: justify;">Programming principle defines a set of rules and regulations for the organization of data and instructions</p>
<ul>
<li style="padding-left: 30px; text-align: justify;">Process Monolithic programming</li>
<li style="padding-left: 30px; text-align: justify;">Process-oriented programming</li>
<li style="padding-left: 30px; text-align: justify;">Modular oriented programming</li>
<li style="padding-left: 30px; text-align: justify;">Structure oriented programming</li>
<li style="padding-left: 30px; text-align: justify;">Object-oriented programming</li>
</ul>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><strong><a id="applications-of-c-plus-plus"></a>Applications of C++</strong></span></h2>
<p style="text-align: justify;">Using C++, you can develop system software like OS, Device Drivers, Network(N/W) protocols, PC &ndash; utilities</p>
<p style="text-align: justify;">Application software you can develop application like</p>
<ul>
<li style="padding-left: 30px; text-align: justify;">Database</li>
<li style="padding-left: 30px; text-align: justify;">Word processing</li>
<li style="padding-left: 30px; text-align: justify;">Spreadsheets</li>
<li style="padding-left: 30px; text-align: justify;">C++ is a general-purpose programming language better than &lsquo;c&rsquo;.</li>
<li style="padding-left: 30px; text-align: justify;">General-purpose means it is suitable for developing any software.</li>
<li style="padding-left: 30px; text-align: justify;">CUI means a character user interface</li>
</ul>
<h2><span style="color: #e67e23; font-size: 14pt;"><a id="programming-concepts"></a>Programming Concepts</span></h2>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>Unstructured programming / Monolithic programming</strong></span></p>
<ul>
<li style="padding-left: 30px; text-align: justify;">Organizing the data and instructions are organized in a sequential manner called Monolithic programming</li>
<li style="padding-left: 30px; text-align: justify;">In this approach instruction organization in sequential order</li>
<li style="padding-left: 30px; text-align: justify;">A sequence is a set of instructions used to solve a given problem. (Assembly level language, Basic)</li>
<li style="padding-left: 30px; text-align: justify;">Program execution is controlled by using a goto statement</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>Disadvantages</strong></span></p>
<ul>
<li style="text-align: justify;">Code redundancy: the same operation has to be more than one time, the same sequence has to copy at some places.</li>
<li style="text-align: justify;">The size of the program is incremental</li>
<li style="text-align: justify;">The efficiency of the program is decreased</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>Procedural Programming</strong></span></p>
<ul>
<li style="text-align: justify;">COBOL and Pascal are called procedural oriented programming languages.</li>
<li style="text-align: justify;">In this approach instruction organized according to their operations by dividing into small programs or small pieces called the subroutine.</li>
<li style="text-align: justify;">A subroutine is a small program within a program</li>
<li style="text-align: justify;">This subroutine can be procedure or function</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>Advantages</strong></span></p>
<p>Modularity: Dividing a program into small pieces 0 also called divide and conqueror According to their operations into small modular.</p>
<p>Re-usability: write code once and use it more than one time.</p>
<p>Readability:&nbsp; Easy to read or understand.</p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>Disadvantages</strong></span></p>
<p>Data is global or local</p>
<p>Its emphasis on instructions, but not on data.</p>
<h3><span style="color: #e67e23; font-size: 14pt;"><a id="what-is-modular-programming"></a>What is a Modular programming</span></h3>
<p>In modular programming, a module is programming in this approach; the application contains one or more than one module</p>
<p>Each program is divided into a subroutine.</p>
<p>A program that contains a main is called an executable module which is compiled as .ex</p>
<p style="text-align: left;">A program which has doesn&rsquo;t have a main is called a reusable module which is compiled as.LIB(Library)</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><strong><a id="structured-programming"></a>Structured programming</strong></span></h2>
<p style="text-align: justify;">&lsquo;C&rsquo; and pascal are called a structured programming language</p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>Characters of structured programming</strong></span></h3>
<ul>
<li>Modular programming</li>
<li>User-defined data types (Pascal)</li>
<li>scoped variables (local &amp; Global)</li>
<li>One subroutine communicates with another by passing values</li>
<li>Top-down approach</li>
</ul>
<h4 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Disadvantages</span></h4>
<ul>
<li>Data is global and global data does not have security</li>
<li>Unrelated operation access global data, if leads and logical errors.</li>
<li>Debugging application is complex</li>
<li>In a large program identifying which operation operates what data becomes complex.</li>
</ul>
<h2><span style="color: #e67e23; font-size: 14pt;"><a id="advantages-of-c-plus-plus"></a>Advantages of C++</span></h2>
<ul>
<li>Object-oriented</li>
<li>Portable language (writing a program irrespective of the operating system as well as Hardware)</li>
<li>Low-level language like Assembly language on Machine language called portable.</li>
<li>C++ use multi-paradigm programming. The Paradigm means the style of programming .paradigm concerned about logics, structure, and procedure of the program. C++ is multi-paradigm means it follows three paradigm Generic, Imperative, Object Oriented.</li>
<li>It is useful for the low-level programming language and very efficient for general purpose.</li>
<li>C++ provide performance and memory efficiency.</li>
<li>It provides a high-level abstraction.</li>
<li>In the language of the problem domain.</li>
<li>C++ is compatible with&nbsp;<a href="https://tekslate.com/explain-pointers-concept-c-language/" target="_blank" rel="noopener"> C</a>.</li>
<li>C++ used reusability of code.</li>
<li>C++ used inheritance, <a href="https://tekslate.com/operator-overloading-in-c/" target="_blank" rel="noopener">polymorphism</a>.</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Portability</strong></span></p>
<ul>
<li>Portability allows developing program irrespective of hardware</li>
<li>It allows moving the program development for one platform to another platform</li>
<li><a href="https://tekslate.com/c-compilers-structure-c-program/" target="_blank" rel="noopener">C compatible (COMP)</a>: Programs developed in &lsquo;C&rsquo; language can be moved without any modifications into C++</li>
<li>C++ is an object-oriented embedded language which is having the characteristics of low-level language &amp; which is also developing the embedded software.</li>
<li>Which language having low-level features</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Disadvantages</strong></span></p>
<ul>
<li>It has no security</li>
<li>Complex in a very large high-level program.</li>
<li>Used for platform-specific application commonly.</li>
<li>For a particular operating system or platform, the library set has usually chosen that locks.</li>
<li>When C++ used for web applications complex and difficult to debug.</li>
<li>C++ can't support garbage collection.</li>
<li>C++ is not secure because it has a pointer, friend function, and global variable.</li>
<li>No support for threads built-in.</li>
</ul>
<div id="nmtbi6" class="_qhf _grf nmiw nmtbi nmt nmtbia " style="text-align: justify;" data-hveid="61" data-ved="0ahUKEwid6uno3tzQAhVCro8KHe2yAacQuk4IPSgA">
<div class="_eHi">
<h3 class="_rhf"><span style="color: #e67e23; font-size: 14pt;"><a id="what-are-c-and-c-plus-plus"></a>What are the C and C++</span></h3>
<div class="_rhf"><strong>C</strong> is a procedural (aka structural) programming language. In addition to beginning procedural, <strong>C++</strong> is also an object-oriented programming language.</div>
<div class="_rhf">In <strong>C</strong> language, the solution is achieved through a sequence of procedures or steps. Therefore, <strong>C</strong> is a function-driven language.</div>
<h3 class="_rhf"><span style="color: #e67e23; font-size: 14pt;">How different is C# from C++?</span></h3>
<div class="_rhf"><strong>C++</strong> was designed to allow developers to use all of the existing features of C but provides some extensions to support object-oriented programming techniques in an intermediate-level programming language. <strong>C#</strong> is a complete outlive in this list. Despite its name, it has far more in common with Java than C or <strong>C++</strong>.</div>
<h3 class="_rhf"><span style="color: #e67e23; font-size: 14pt;"><a id="difference-between-c-and-c-plus-plus"></a>What is the difference between C &amp; C++?</span></h3>
<div class="_rhf">
<table style="border-collapse: collapse; width: 69.4444%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="text-align: center; width: 54.0653%;"><span style="color: #e03e2d;"><strong>C</strong></span></td>
<td style="text-align: center; width: 45.9347%;"><span style="color: #e03e2d;"><strong>C++</strong></span></td>
</tr>
<tr>
<td style="width: 54.0653%;">It is a structured programming language.</td>
<td style="width: 45.9347%;">It is an object-oriented programming language</td>
</tr>
<tr>
<td style="width: 54.0653%;">It does not have an inline function</td>
<td style="width: 45.9347%;">It supports the inline function</td>
</tr>
<tr>
<td style="width: 54.0653%;">It does not support functions with default arguments</td>
<td style="width: 45.9347%;">It supports() with default arguments</td>
</tr>
<tr>
<td style="width: 54.0653%;">It does not have exception handling</td>
<td style="width: 45.9347%;">It supports exception handling</td>
</tr>
<tr>
<td style="width: 54.0653%;">It having pointers</td>
<td style="width: 45.9347%;">It having a pointer and references</td>
</tr>
<tr>
<td style="width: 54.0653%;">It &nbsp;is a middle-level language</td>
<td style="width: 45.9347%;">It is a high-level language</td>
</tr>
<tr>
<td style="width: 54.0653%;">It uses scanf() and printf() function for standard input and output</td>
<td style="width: 45.9347%;">It uses cin&gt;&gt;and cout&lt;&lt; for standard input and output</td>
</tr>
<tr>
<td style="width: 54.0653%;">The C program file is saved with . C extensions</td>
<td style="width: 45.9347%;">C++ program file is saved with.CPP extension.</td>
</tr>
</tbody>
</table>
</div>
<div class="_rhf">&nbsp;</div>
<div class="_rhf">&nbsp;</div>
</div>
</div>
<p style="text-align: justify;"><strong><span style="color: #000000;"> For An depth understanding of C++ click on</span></strong></p>
<ul>
<li style="text-align: justify;"><a href="https://tekslate.com/array-of-objects-in-c/" target="_blank" rel="noopener">Array of Objects in C++ Language</a></li>
<li class="entry-title" style="text-align: justify;"><a href="https://tekslate.com/tutorials/c-plus-plus-tutorials/" target="_blank" rel="noopener">C++ Tutorials</a></li>
<li class="title" style="text-align: justify;"><a class="current-page" href="https://tekslate.com/constant-member-function-in-c/" target="_blank" rel="noopener">Constant Member Function in C++</a></li>
<li class="title" style="text-align: justify;"><a class="current-page" href="https://tekslate.com/perform-io-operation-c/" target="_blank" rel="noopener">I/O operation in C++</a></li>
<li class="title" style="text-align: justify;"><a class="current-page" href="https://tekslate.com/inheritance-in-c-language/" target="_blank" rel="noopener">Inheritance in C++ Language</a></li>
</ul>3c:Tb42c,<p><span style="font-size: 14px;"><span style="color: #236fa1;"><span style="color: #000000;">Are you planning to attend an interview for the Oracle P2P role but confused on how to crack that interview and also what would be the most probable P2P Interview Questions that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked Oracle p2p process interview questions&nbsp;which are often asked in multiple interviews.</span></span></span></p>
<p>This blog is divided into 3 parts:</p>
<ul>
<li><strong><a href="#freshers"><span style="color: #236fa1;">Oracle P2P Interview Questions for Freshers</span></a></strong></li>
<li><strong><a href="#experienced"><span style="color: #236fa1;">Oracle P2P Interview Questions For Experienced</span></a></strong></li>
<li><strong><a href="#purchasing"><span style="color: #236fa1;">Oracle Purchasing Interview Questions</span></a></strong></li>
</ul>
<p><span style="color: #000000;">Let's get started!</span></p>
<table style="border-collapse: collapse; width: 100%; height: 225.75px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 225.75px;">
<td style="width: 98.2759%; height: 225.75px;">
<h3><span style="color: #000000;">Most frequently asked P2P Interview Questions</span></h3>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">Explain about Accounts Payable.</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q2">What is the meaning of an invoice?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q4">What is the difference between EFT &amp; Wire?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q9">What is 2-way, 3-way, 4-way matching?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q13">What is an approval hierarchy?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q20">Explain the Receipt Routing?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q26">How will you enter the Supplier Acceptance of a PO?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q33">What are the different Currency conversion Types?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q41">Is it possible to use a Sourcing Rule which will be available in all the organizations?</a></span></li>
<li><a href="#q43"><span style="color: #236fa1;">What are the reasons that an Express processor may reject lines due to validation failures?&nbsp;</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><a id="freshers"></a>P2P Interview Questions and Answers for Freshers</span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><a id="q1"></a>Q1) Explain about Accounts Payable. </span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The Accounts Payable application component records and manages accounting data for all vendors. It is also an integral part of the purchasing system: Deliveries and invoices are managed according to vendors. The system automatically triggers postings in response to the operative transactions. In the same way, the system supplies the Cash Management application component with figures from invoices in order to optimize liquidity planning. </span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q2"></a>Q2) What is the meaning of an invoice?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> An invoice or bill is a commercial document issued by a seller to the buyer, indicating the products, quantities, and agreed prices for products or services the seller has provided the buyer. An invoice indicates the buyer must pay the seller, according to the payment terms.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">In the rental industry, an invoice must include a specific reference to the duration of the time being billed, so rather than quantity, price and discount the invoicing amount is based on quantity, price, discount and duration. Generally speaking, each line of a rental invoice will refer to the actual hours, days, weeks, months etc being billed.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q3) Can you give a sample Process Flow for Procure to Pay Cycle?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Process flow for Procure to pay will go through two departments</span><span style="font-weight: 400;">(Commercial &amp; Finance)</span></p>
<p style="text-align: justify;"><em><strong>Procure - Commercial Department The following steps involve procuring any item</strong></em></p>
<ul>
<li><span style="font-weight: 400;">Received Requisition from concern Department</span></li>
<li><span style="font-weight: 400;">Request for Quotation from Suppliers at least three</span></li>
<li><span style="font-weight: 400;">Finalize the best Quotation by keeping in mind our companies standard</span></li>
<li><span style="font-weight: 400;">Check the Budget for the same</span></li>
<li><span style="font-weight: 400;">Negotiate with supplier for more economic pricing and finalize the payment terms</span></li>
<li><span style="font-weight: 400;">Process the PO and forward to the supplier to supply the goods and services </span></li>
</ul>
<p style="text-align: justify;"><em><strong>Pay Cycle - Finance Department </strong></em></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">The following steps need to be fulfilled</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">The invoice should be matched with PO</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">The invoice should have all the supporting documents such as PO copy, Delivery note duly signed by the receiver (our staff who authorized to received goods/storekeeper)</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">If the invoice is for services then it should be forwarded to the concerned department head or project manager for his confirmation of work done and his approval </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Even if it not the invoice of the service, it should forward to the concerned person's approval who -request the PO for the same</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Finance can reject the invoice if it is not budgeted and ask for the reasons.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">After receiving all the confirmation and approvals from the concerned department heads the invoice will be updated into the accounting system first in order to avoid any duplication of the Invoice and PO (it is shown on the accounting package if the invoice is duplicate if not, late last it tells you if the PO already used or cancel)</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 28px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 28px;">
<td style="width: 98.2759%; height: 28px; text-align: center;">
<p><em><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Want to acquire industry skills and gain complete knowledge of Salesforce? Enroll in Instructor-Led live Salesforce Training to become Job Ready!&quot;}" data-sheets-userformat="{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}">Want to acquire industry skills and gain complete knowledge of Oracle Procure to Pay? Enroll in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle Procure to Pay Training" href="https://tekslate.com/oracle-procure-pay-training" target="_blank"><strong>Oracle Procure to Pay Training</strong></a></span> to become Job Ready!</span></em></p>
</td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q4"></a>Q4) What is the difference between EFT &amp; Wire?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> EFT and WIRE are the most popular form of electronic payment method. EFT stands for electronic fund transfer and it is one of the fastest modes of electronic payment after WIRE. EFT is a batch-oriented mechanism for transferring funds from one bank to another because of which clearing &amp; settlement takes around 2 to 4 days. On the other hand, WIRE is an RTGS i.e. real-time gross settlement system of making the fund transfer on a real-time and gross basis. Clearing and settlement happen on the same day. WIRE is more expensive and faster than EFT. &nbsp;</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q5) How many types of purchase order types/agreements are there?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong></p>
<p style="text-align: justify;"><strong><em>Standard Purchase Order:</em> </strong><span style="font-weight: 400;">You generally create standard purchase orders for a one-time purchase of various items. You create standard purchase orders when you know the details of the goods or services you require, estimated costs, quantities, delivery schedules, and accounting distributions. If you use encumbrance accounting, the purchase order may be encumbered since the required information is known</span></p>
<p style="text-align: left;"><strong><em> Planned PO:</em> </strong><span style="font-weight: 400;">A planned purchase order is a long-term agreement committing to buy </span>items or services from a single source. You must specify tentative delivery schedules and all details for goods or services that you want to buy, including charge account, quantities and estimated cost.</p>
<p style="text-align: left;"><span style="font-weight: 400;"><strong><em>EX:</em></strong> Buying goods for Christmas from a specific dealer.</span></p>
<p style="text-align: left;"><strong><em>Contract PO:</em> </strong><span style="font-weight: 400;">You create a contract purchase agreement with your supplier to agree on specific terms and conditions without indicating the goods and services that you will be purchasing i.e. for $ amount you must supply this much quantity. You can later issue standard PO referencing your contracts and you can encumber these purchase orders if you use encumbrance accounting.</span></p>
<p style="text-align: left;"><strong><em>Blanket PO:</em> </strong><span style="font-weight: 400;">You create blanket purchase agreements when you know the detail of goods or services you plan to buy from a specific supplier in a period, but you do not yet know the detail of your delivery schedules. You can use blanket purchase agreements to specify negotiated prices for your items before actually purchasing them.</span></p>
<p style="text-align: left;"><span style="font-weight: 400;">A Blanket Purchase Agreement is a sort of contract between you and ur supplier about the price at which you will purchase the items from the supplier in future. Here you enter the price of the item not the quantity of the items. When you create the release you enter the quantity of the items. The price is not updatable in the release. The quantity * price makes the Released Amount. Now suppose your contract with your supplier is such that you can only purchase the items worth a fixed amount against the contract.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q6) Explain the P2P process flow?</span></strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Procure to Pay (p2p) is a process of requesting, purchasing, receiving, paying for and accounting for goods and services. &nbsp;Procure to Pay Lifecycle is one of the important business Process training in <span style="color: #000000;">Oracle Applications</span> Hyderabad. It&rsquo;s the flow that gets the goods required to do business. &nbsp;It involves the transactional flow of data that is sent to a supplier as well as the data that surrounds the fulfillment of the actual order and payment for the product or service.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Create a requisition&gt;&gt; create RFQ&gt;&gt; create a quotation from quote analysis&gt;&gt; generate a PO&gt;&gt;receipt of material&gt;&gt; create Invoice in payables&gt;&gt; transfer to GL</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px;"><strong><span style="color: #e67e23;">Q7) What is a Purchase Requisition and define various requisitions?</span></strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> It is a formal request intended to procure/buy something that is needed by the organization. It is created and approved by the department requiring goods and services.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">A purchase requisition typically contains the description and quantity of the goods or services to be purchased, a required delivery date, account number and the amount of money that the purchasing department is authorized to spend for the goods or services. Often, the names of suggested supply sources are also included.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Basically, requisitions are of two types:</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Internal requisition</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Purchase requisition</span></li>
</ul>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Internal Requisitions</strong> are created if the Items are to be obtained from one Inventory location to another location within the same organization. Here the source of the requisition would be INVENTORY. There is no approval process for the internal requisition.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Purchase Requisitions</strong> are created if the goods are obtained from external suppliers. Here the source of the requisition would be SUPPLIERS. The purchase requisitions are sent for approvals.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 56px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.4956%; text-align: center;"><em>Checkout Our Latest Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle Applications Tutorial" href="https://tekslate.com/oracle-applications-tutorials-interview-questions" target="_blank"><strong>Oracle Applications Tutorial</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q8) What are the base tables that are affected when you create a P.O?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong></span></p>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>PO_HEADERS_ALL</strong> (SEGMENT1 column in this table represents the Document number)</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table stores header information of a Purchasing Document. You need one row for each document you create.</span></p>
<p style="text-align: justify;"><strong>PO_LINES_ALL</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table stores the line information of a Purchasing Document</span></p>
<p style="text-align: justify;"><strong>PO_LINE_LOCATIONS_ALL</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table contains the information related to purchasing order shipment schedules and blanket agreement price breaks. You need one row for each schedule or price break you attach to a document line.</span></p>
<p style="text-align: justify;"><strong>PO_DISTRIBUTIONS_ALL</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table contains the information related to the accounting distribution of a purchase order shipment line. You need one row for each distribution line you attach to a purchase order shipment</span></p>
<p style="text-align: justify;"><strong>VENDORS_ALL</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table stores the general information about the suppliers</span></p>
<p style="text-align: justify;"><strong>PO_VENDOR_SITES_ALL</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table stores information about the supplier sites. Each row includes the site address, supplier reference, purchasing, payment, bank, and general information.</span></p>
<p style="text-align: justify;"><strong>PO_RELEASES_ALL</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table stores information related to planned and blanket Purchase Order releases. Each row includes the buyer, date, release status, and release number. Each release must have at least one purchase order shipment.</span></p>
<p style="text-align: justify;"><strong>PO_VENDOR_CONTACTS</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table stores information about contacts related to the Supplier site. Each row includes the contact name and site.</span></p>
<p style="text-align: justify;"><strong>PO_ACTION_HISTORY</strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This table stores information about the approval and control history of a Purchasing Document. This table stores one record for each approval or control action an employee takes on a purchase order, purchase agreement, release or requisition.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q9"></a>Q9) What is 2-way, 3-way, 4-way matching?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Oracle Payables shares purchase order information from your purchasing system to enable online matching with invoices. Invoiced or billed items are matched to the original purchase orders to ensure that you pay only for the goods or services you ordered and/or received.</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Two&ndash;Way:</strong></em> Purchase order and invoice quantities must match within tolerance before the corresponding invoice can be paid.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Three-Way:</strong></em> Purchase order, receipt, and invoice quantities must match within tolerance before the corresponding invoice can be paid.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Four&ndash;Way:</strong></em> Purchase order, receipt, acceptance, and invoice quantities must match within tolerance before the corresponding invoice can be paid.</span></li>
</ul>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Payment to Supplier</strong></span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Once invoices are validated, they can be paid. Payables integrate with <strong><span style="color: #236fa1;"><a style="color: #236fa1;" title="ANT SCRIPT In Oracle SOA" href="https://tekslate.com/ant-script" target="_blank">Oracle</a></span></strong> Payments, the E-Business Suite payment engine, to handle every form of payment, including checks, manual payments, wire transfers, EDI payments, bank drafts, and electronic funds transfers. &nbsp;Payables also integrate with Oracle Cash Management to support automatic or manual reconciliation of your payments with bank statements sent by the bank.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This is how the P2P Cycle occurs in <span style="color: #000000;">Oracle Apps</span>.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q10) What are the major transactions in RECEIVING?</strong></span></h3>
<p><span style="color: #000000; font-size: 12pt;"><strong>Ans:</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Purchase Order Receipts</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Internal Requisition Receipts</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Inventory Inter-Org Transfer Receipts</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Customer Return Receipts</span></li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q11) What is the Pay on Receipt AutoInvoice Program?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> By running this program, we can automatically create an invoice for a PO when we enter a receipt for the respective PO.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q12) What is Invoice Validation Process?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Before you can pay or create accounting entries for any invoice, the Invoice Validation process must validate the invoice.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Invoice Validation checks the matching, tax, period status, exchange rate, and distribution information for invoices you enter and automatically applies holds to exception invoices. If an invoice has a hold, you can release the hold by correcting the exception that caused Invoice Validation to apply the hold by updating the invoice or the purchase order or changing the invoice tolerances.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q13"></a>Q13) What is an approval hierarchy?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Approval hierarchies let you automatically route documents for approval. There are two kinds of approval hierarchies in Purchasing: position hierarchy and employee/supervisor relationships.</span></p>
<p style="text-align: right;"><span style="font-weight: 400;"><em>Checkout:</em> [ <strong><em><span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle Apps Technical Interview Questions" href="https://tekslate.com/oracle-apps-technical-interview-questions" target="_blank">Oracle Apps Technical Interview Questions</a></span> ]</em></strong></span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q14) What are the documents that use PO_HEADERS_ALL?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The following are the documents that use PO_HEADERS_ALL</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">RFQ&rsquo;s, Quotations, Standard Purchase Order, Planned Purchase Order, Blanket Purchase Order and Contracts</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q15) Can the original Purchase Order be viewed in any way without resorting to SQL, for a revised Purchase Order?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The original version of a revised PO cannot be viewed from the PO form or PO summary form. Information on the original PO can be obtained from the PO_HEADERS_ARCHIVE and PO_LINES_ARCHIVE tables using the PO_HEADER_ID column as a common reference using <strong><span style="color: #236fa1;"><a style="color: #236fa1;" title="SQL Server Integration" href="https://tekslate.com/sql-server-integration" target="_blank">SQL</a></span></strong> only.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q16) Can we automatically &lsquo;Close&rsquo; the Purchase order without receiving the full quantity?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The Receipt Close Tolerance lets you specify a quantity percentage within which Purchasing closes a partially received shipment. For example, if your Receipt Close Tolerance is 5% and you receive 96% of an expected shipment, Purchasing automatically closes this shipment for receiving.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q17) When does a Purchase Order line get the Status &lsquo;Closed for Receiving&rsquo;?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Goods have been received on the system against this line but an invoice has not been </span><span style="font-weight: 400;">matched to the order.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q18) Can we match an Invoice against a line even when it is &lsquo;Closed for Invoicing&rsquo;?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The Close for invoicing status does not prevent you from matching an invoice to a purchase order or to a receipt.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q19) What does create an internal order conc request do?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Create an internal order request that will transfer the IR info to OM interface tables.</span></p>
<h2 id="p2p1" style="color: #236fa1; font-size: 16pt;"><a id="experienced"></a><span style="font-size: 24px;">Oracle P2P Interview Questions for Experienced</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q20"></a>Q20) Explain the Receipt Routing?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Receipt Routing is of three types: Direct, Standard and Inspection</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">In Direct once the goods arrive at the destination, we directly move them to a specific Sub-Inv</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">In Standard, once the goods are at the destination, we receive it at the receiving point first and then move them to the Sub-Inv.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">In Inspection, once the goods are at the destination, we receive it at the receiving point and then we perform inspection and accordingly we either accept it or reject them.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q21) What are the different Purchasing modes in Receiving? </strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> There are three modes:</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Online</strong></em>: Receipts are processed online. If there are any errors, they are shown on the FORM itself and don&rsquo;t let you IGNORE and PROCEED.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Immediate</strong>:</em> Receipts are processed immediately, but no errors are shown. Errors are recorded in the REC_TRANSACTION_INTERFACE table.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Batch</strong>:</em> Receipts are processed in batch, but no errors are shown. Errors are recorded in the REC_TRANSACTION_INTERFACE table.</span></li>
</ul>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Note:</strong> In all the above two cases, it requires Receiving Transaction Processor to be run periodically.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q22) What fields will print on the purchase order?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The following fields will be printed on a purchase order: item description, unit of measure, quantity, unit price and total, supplier name and address, need by date, requester name, deliver-to location and notes to the supplier.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q23) Is it possible to create a PO from an Internal Requisition?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> No. PO can&rsquo;t be created from Internal Requisition.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 58px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.4956%; text-align: center;"><em>Checkout Our Latest Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle BI Publisher Tutorial" href="https://tekslate.com/oracle-bi-publisher-tutorials" target="_blank"><strong>Oracle BI Publisher Tutorial</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q24) What factors decide whether the Requisition created by the system is Internal or Purchase?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The factors are:</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Sourcing:</strong></em> Internal or Supplier</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Make / Buy:</strong></em> Make or Buy</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q25) An approved supplier can perform which four activities (Business rules)?</strong></span></h3>
<p style="text-align: justify;"><span style="color: #e67e23; font-size: 12pt;"><strong><span style="color: #000000;">Ans:</span> </strong><span style="color: #000000;">The four activities are as follows:</span></span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">PO Approval</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Sourcing</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Schedule Confirmation</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Manufacture Link To Distributor</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q26"></a>Q26) How will you enter the Supplier Acceptance of a PO?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Query for the required PO and choose Acceptances from Special Menu. The type of acceptance can be defined in Quick Codes (All Terms Accepted, Partially accepted etc.)</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q27) How will you approve a quotation?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Navigate RFQ and Quotations &gt; Quote Analysis.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q28) How will you decide the life of a Quotation to be expired after a certain period?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> While approving the Quotation, enter an &lsquo;Effective To&rsquo; date, so that the Quotation will not be available for reference after the entered date.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q29) Can you limit the usage of Quotation Information only for creating Requisitions?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> While approving the Quotation, select the &lsquo;Shipment Approved Type&rsquo; as Requisition so that the Quotation information could be used only for Requisitions.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">The other Types are All Orders (can be used in POs and Requisitions), Purchase Agreements and Standard Pos.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q30) Where will you mention that auto-numbering is required for your RFQs, Quotations and PO?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The mode of the numbering of RFQs, Quotations and PO (Automatic or Manual and if Automatic, what should be the starting number) should be defined in the Purchasing Options.</span></p>
<p style="text-align: right;"><em><span style="font-weight: 400;">Checkout: <strong>[</strong> <strong><span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle SOA customizations" href="https://tekslate.com/customization" target="_blank">Oracle SOA customizations</a></span> ]</strong></span></em></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q31) While creating the Purchase Documents in the &lsquo;Auto Create&rsquo; mode, within it, there is a &lsquo;Manual Mode&rsquo;. This Manual mode is required for what?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> If the numbering method selected for the document being created is manual, we can enter the document number in the &lsquo;Manual&rsquo; mode. Moreover, we can decide which Requisition lines we want to combine and where we want them to appear on the document.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q32) Is it possible to enter Price Break information in an RFQ, if the RFQ Header Type is selected &lsquo;Bid&rsquo;?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> No. The Price Break window will be available only for Catalog Quotation Class.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q33"></a>Q33) What are the different Currency conversion Types?</strong></span></h3>
<p><span style="color: #e67e23; font-size: 12pt;"><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong></span></p>
<ol>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Corporate:</strong></em> This is an exchange rate, generally a standard market rule, determined by the senior financial management of an organization, which will be used throughout the organization.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Spot:</strong></em> An exchange rate entered to perform conversions based on the rate on a specific date. It applies to the immediate delivery of a currency.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>User-Defined:</strong></em> An exchange rate that is specified when a foreign currency journal entry is made, that does not have a daily exchange rate.</span></li>
</ol>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q34) How will you ensure that Receipt Routing mentioned in a Requisition or PO is not override at the time of Receiving?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Set the profile option &lsquo;RCV: Routing Override&rsquo; to No.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">(But in our instance I am getting the profile option named as &lsquo;RCV: Allow Routing Override&rsquo; and the Default value and user value field are grayed out, I am not able to fill anything at user value also. why?)</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q35) How will you ensure that the Buyer name is enforced in a PO?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Set the Purchasing Option &lsquo;Enforce Buyer Name&rsquo; to Yes.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q36) Is it possible to receive and invoice items supplied by a supplier on Hold?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Yes. A supplier Hold doesn&rsquo;t prevent from receiving and invoicing Pos placed earlier to the Hold.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q37) How will you find out the number of documents assigned to a particular Buyer?</strong></span></h3>
<p><span style="color: #000000; font-size: 12pt;"><strong>Ans:</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Navigation: Management &gt; Manage Buyer Workload</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Select the field &lsquo;Action&rsquo; &gt; Review</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Enter the other required search criteria and press FIND</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">In the popup window we see the following details:</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Buyer Assigned &nbsp;&nbsp;Urgent Late Needed &nbsp;&nbsp;Open Pos</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q38) How will you reassign the Buyer to even out the workload of Buyers?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Navigation: Management &gt; Manage Buyer Workload</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Select in the field &lsquo;Action&rsquo; &lsquo;Assign&rsquo;</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Enter the required search criteria and FIND</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">In the popup window, enter the New Buyer name, select the required lines &amp; save. Upon saving, the lines will be reassigned to the new Buyer.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q39) How will you identify the status of a Purchasing document?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> If the status is to be seen for a specific document, go to the respective document-defining window and see the current status at the Status region.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">If the status of any document is to be found out, go either to the &lsquo;Notification window or the Action history window (Navigation: Special &gt; View Action History).</span></p>
<table style="border-collapse: collapse; width: 100%; height: 58px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.4956%; text-align: center;"><em>Checkout Our Latest Blog on</em> <span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle SOA ATA (Application Integration architecture)" href="https://tekslate.com/ata-application-integration-architecture" target="_blank"><strong><em>Oracle SOA ATA</em></strong></a></span></td>
</tr>
</tbody>
</table>
<h2 id="p2p2"><span style="color: #236fa1; font-size: 24px;"><a id="purchasing"></a>Oracle Purchasing Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q40) What is the use of Sourcing Rule?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The planning process to create Purchase Requisition for Buy items &amp; Internal Requisitions for Make Items uses a Sourcing Rule.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q41"></a>Q41) Is it possible to use a Sourcing Rule which will be available in all the organizations?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Provided that the Sourcing Rule is defined as Global, it will be available in all organizations.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q42) Is it possible to access a Purchase Document currently under approval process using the entry window by anybody as per the access level nor security level?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> No. Nobody can access it through the Entry window.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q43"></a>Q43) What are the reasons that an Express processor may reject lines due to validation failures?</strong></span></h3>
<p><span style="color: #000000; font-size: 12pt;"><strong>Ans:</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">If the item revision, Subinventory and locator is not available &amp; the entered destination is final. (Revision, Subinventory &amp; Locator are not obtainable as a default from the item definition.)</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">If the early/late receipt date tolerance is exceeded &amp; the exception control is set to Reject.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">If Lot / Serial information is required.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">If Ship-to- location is not available &amp; the destination is Receiving.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">If the location is not available for Expense destination type &amp; the destination is final destination.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">If PO Supplier &amp; Receipt Header Supplier do not match.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">If other receipts are pending for the specified shipment.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q44) If the Search Supplier Item Catalog window is not appearing while invoking from the Requisition or PO entry window, the System will use which criteria to search?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The values that are defaulted from the Requisition or PO will be used by the system to query the default source options.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q45) Is it possible to change the supplier after approving the PO?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> No. The supplier can&rsquo;t be changed after approving the PO. If such situations arise, cancel the PO &amp; create a new PO with the new supplier.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q46) Where will you define the Line Type that has to have defaulted while creating a purchase document?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Enter the required line type in the field, &lsquo;Line type&rsquo; in the Purchasing option.</span></p>
<p style="text-align: right;"><span style="font-weight: 400;"><em>Checkout:</em> [ <span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle SOA Business Rule Engine [BRE]" href="https://tekslate.com/business-rule-engine-bre" target="_blank"><em><strong>Oracle SOA BRE</strong></em></a></span> ]</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q47) When will you use Requisition preferences?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Requisition Preferences are used to enter information that are to be defaulted in a Requisition. When multiple requisitions are to be created with many data the same, all those data can be entered as a Requisition Preference. The preferences defined will be defaulted in all new Requisition Lines as long as the user is exiting the Application. The defined preferences are not saved to the database.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q48) Where do I get a Change Order Request Form?</strong> </span></h3>
<p>The Change Order Request form can be found on the RIAS Forms page and downloaded onto your desktop.</p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q49) What is the Oracle Exchange?</strong> </span></h3>
<p><strong>Ans:</strong> The Oracle Exchange is an electronic catalog of goods and services offered by a wide range of suppliers. The Oracle Exchange catalog does not reflect pre-negotiated prices with the University.</p>3d:Tc00,<ul>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario1"><span style="font-size: 14px;">Trigger Scenario 1</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario2"><span style="font-size: 14px;">Trigger Scenario 2</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario3"><span style="font-size: 14px;">Trigger Scenario 3</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario4"><span style="font-size: 14px;">Trigger Scenario 4</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario5"><span style="font-size: 14px;">Trigger Scenario 5</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario6"><span style="font-size: 14px;">Trigger Scenario 6</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario7"><span style="font-size: 14px;">Trigger Scenario 7</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario8"><span style="font-size: 14px;">Trigger Scenario 8</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario9"><span style="font-size: 14px;">Trigger Scenario 9</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario10"><span style="font-size: 14px;">Trigger Scenario 10</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario11"><span style="font-size: 14px;">Trigger Scenario 11</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario12"><span style="font-size: 14px;">Trigger Scenario 12</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario14"><span style="font-size: 14px;">Trigger Scenario 13</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario14"><span style="font-size: 14px;">Trigger Scenario 14</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario15"><span style="font-size: 14px;">Trigger Scenario 15</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario16"><span style="font-size: 14px;">Trigger Scenario 16</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario17"><span style="font-size: 14px;">Trigger Scenario 17</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario18"><span style="font-size: 14px;">Trigger Scenario 18</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario19"><span style="font-size: 14px;">Trigger Scenario 19</span></a></span></li>
<li><span style="color: #000000;"><a style="color: #000000;" href="#scenario20"><span style="font-size: 14px;">Trigger Scenario 20</span></a></span></li>
</ul>3e:Td353,<h2><strong><span style="color: #e67e23; font-size: 24px;">Real Time Scenarios in Salesforce with Examples</span></strong></h2>
<h3><span style="color: #000000; font-size: 20px;"><a id="scenario1"></a>Trigger Scenario 1:</span></h3>
<p style="text-align: justify;">Create a &ldquo;Top X Designation&rdquo; custom object which is the related list to Opportunity (Lookup Relationship). In the Top X Designation object, create the fields</p>
<ul>
<li>Type (Picklist),</li>
<li>Document Attached (Checkbox)</li>
</ul>
<p style="text-align: justify;">Create one field Handoff Attached with picklist type with values are Yes, No on Opportunity Object.</p>
<p style="text-align: justify;"><strong>Logic:</strong><strong>&nbsp;</strong>If Type (Top X Designation) = "Contract Flow Down/Handoff", and "Document Attached&rdquo; = True then "Handoff Attached" = True, otherwise false.</p>
<p style="text-align: justify;"><strong>Code:</strong></p>
<div><code>trigger updateHandoffattached on Top_X_Designation__c (after insert, after update,after delete) </code></div>
<div><code>{</code></div>
<div><code>map maptop = new map();</code></div>
<div><code>set oppid = new set();</code></div>
<div><code>map maptopfalse = new map();//faslecase map</code></div>
<div><code>set oppIdInFalseCase = new set();//falsecase set</code></div>
<div><code>map deletecase = new map();</code></div>
<div><code>set delcaseid = new set();//deletecase set</code></div>
<div><code>list opplist = new list(); // query list</code></div>
<div><code>list listtoupdate = new list(); //for update</code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code>for(Top_X_Designation__c top : trigger.isdelete? trigger.old :trigger.new)</code></div>
<div><code>{</code></div>
<div><code>if(trigger.isInsert || trigger.isUpdate)</code></div>
<div><code>{</code></div>
<div><code>if(top.Document_Attached__c == true &amp;&amp;</code></div>
<div><code>((top.Type__c==&rsquo;Contract Flow Down&rsquo;) || (top.Type__c==&rsquo;Handoff&rsquo;)))</code></div>
<div><code>{</code></div>
<div><code>maptop.put(top.Opp_top_x_designation__c, top.Id);</code></div>
<div><code>oppid.add(top.Opp_top_x_designation__c);</code></div>
<div><code>system.debug(&lsquo;here &lsquo;+ top.Opp_top_x_designation__c);</code></div>
<div><code>}</code></div>
<div><code>else</code></div>
<div><code>maptopfalse.put(top.Opp_top_x_designation__c,top.id);</code></div>
<div><code>oppid.add(top.Opp_top_x_designation__c);</code></div>
<div><code>system.debug(&lsquo;here in else part &lsquo;+ top.Opp_top_x_designation__c);</code></div>
<div><code>}</code></div>
<div><code>if(trigger.isDelete){</code></div>
<div><code>deletecase.put(top.Opp_top_x_designation__c,top.Id);</code></div>
<div><code>delcaseid.add(top.Opp_top_x_designation__c);</code></div>
<div><code>oppid.add(top.Opp_top_x_designation__c);</code></div>
<div><code>}</code></div>
<div><code>}</code></div>
<div><code>opplist = [select Id,Handoff_Attached__c from opportunity where id in:oppid];</code></div>
<div><code>for( opportunity opp : opplist){</code></div>
<div><code>if(maptop.containsKey(opp.id))</code></div>
<div><code>{</code></div>
<div><code>opp.Handoff_Attached__c =&rsquo;yes&rsquo;;</code></div>
<div><code>//listtoupdate.add(opp);</code></div>
<div><code>}</code></div>
<div><code>if(maptopfalse.containsKey(opp.id)){</code></div>
<div><code>opp.Handoff_Attached__c =&rsquo;no&rsquo;;</code></div>
<div><code>// listtoupdate.add(opp);</code></div>
<div><code>}</code></div>
<div><code>if(delcaseid.contains(opp.Id)){</code></div>
<div><code>opp.Handoff_Attached__c =&rdquo;;</code></div>
<div><code>}</code></div>
<div><code>listtoupdate.add(opp) ;</code></div>
<div><code>}</code></div>
<div><code>if( listtoupdate.size()&gt;0){</code></div>
<div><code>update listtoupdate;</code></div>
<div><code>system.debug(&lsquo;testL&rsquo;+listtoupdate);}</code></div>
<div><code>}</code></div>
<div><code>and its test class</code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code>@istest</code></div>
<div><code>public class testforhandoff {</code></div>
<div><code>@istest static void methodhandoff(){</code></div>
<div><code>opportunity opp = new opportunity();</code></div>
<div><code>opp.Name =&rsquo;test opp&rsquo;;</code></div>
<div><code>opp.StageName =&rsquo;Needs Analysis&rsquo;;</code></div>
<div><code>opp.CloseDate = system.today();</code></div>
<div><code>insert opp;</code></div>
<div><code>Top_X_Designation__c tx = new Top_X_Designation__c();</code></div>
<div><code>tx.Opp_top_x_designation__c = opp.Id;</code></div>
<div><code>tx.Document_Attached__c = true;</code></div>
<div><code>tx.Type__c = &lsquo;Handoff&rsquo;;</code></div>
<div><code>insert tx;</code></div>
<div><code>}</code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code>@istest</code></div>
<div><code>static void testmethod1(){</code></div>
<div><code>opportunity opp1 = new opportunity();</code></div>
<div><code>opp1.Name =&rsquo;test opp&rsquo;;</code></div>
<div><code>opp1.StageName =&rsquo;Needs Analysis&rsquo;;</code></div>
<div><code>opp1.CloseDate = system.today();</code></div>
<div><code>insert opp1;</code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code>Top_X_Designation__c tx1 = new Top_X_Designation__c();</code></div>
<div><code>tx1.Opp_top_x_designation__c = opp1.id;</code></div>
<div><code>tx1.Document_Attached__c = false;</code></div>
<div><code>tx1.Type__c =&rsquo;Handoff&rsquo;;</code></div>
<div><code>insert tx1;</code></div>
<div><code>}</code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code>@istest</code></div>
<div><code>static void deletemethod(){</code></div>
<div><code>opportunity opp1 = new opportunity();</code></div>
<div><code>opp1.Name =&rsquo;test opp&rsquo;;</code></div>
<div><code>opp1.StageName =&rsquo;Needs Analysis&rsquo;;</code></div>
<div><code>opp1.CloseDate = system.today();</code></div>
<div><code>insert opp1;</code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><code>Top_X_Designation__c tx1 = new Top_X_Designation__c();</code></div>
<div><code>tx1.Opp_top_x_designation__c = opp1.id;</code></div>
<div><code>tx1.Document_Attached__c = false;</code></div>
<div><code>tx1.Type__c =&rsquo;Handoff&rsquo;;</code></div>
<div><code>insert tx1;</code></div>
<div><code>delete tx1;</code></div>
<div><code>}</code></div>
<div><code>}</code></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<table style="border-collapse: collapse; width: 100%; height: 34px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 34px;">
<td style="width: 98.3496%; text-align: center; height: 34px;"><em>Do you want to master Salesforce? Then enroll in<span style="color: #236fa1;"><a style="color: #236fa1;" title="Salesforce Training" href="https://tekslate.com/salesforce-training" target="_blank"><strong> "Salesforce Training"</strong></a></span> This course will help you to master Salesforce.</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario2"></a>Trigger Scenario 2:</span></h3>
<p style="text-align: justify;"><code>The following Trigger will fires when we try to create the account with the same name i.e. Preventing the users to create Duplicate Accounts</code></p>
<p style="text-align: justify;"><code>trigger AccountDuplicateTrigger on Account (before insert, before the update)</code><br /><code>{</code><br /><code>&nbsp;for(Account a:Trigger.new)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;List&lt;Account&gt; acc="Select id from Account where Name=:a.Name and Rating=:a.Rating";</code><br /><code>&nbsp;if(acc.size()&gt;0)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;acc.Name.addError('You Cannot Create the Duplicate Account');</code><br /><code>}</code><br /><code>}</code><br /><code>}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario3"></a>Trigger Scenario 3:</span></h3>
<p style="text-align: justify;">The following trigger updates the field called &ldquo;Hello&rdquo; by the value &ldquo;World&rdquo; whenever we are creating an account or updating an account record. Create the field called &ldquo;Hello&rdquo; on the Account Object (Data Type = Text)</p>
<p style="text-align: justify;"><code>trigger HelloWorld on Account (before insert, before update)</code><br /><code>{</code><br /><code>&nbsp;List&lt;Account&gt; accs = Trigger.new;</code><br /><code>&nbsp;MyHelloWorld my= new MyHelloWorld(); //creating instance of apex class</code><br /><code>&nbsp;my.addHelloWorld(accs); // calling method from the apex class</code><br /><code>&nbsp;}</code></p>
<p style="text-align: justify;"><strong>Class:</strong></p>
<p style="text-align: justify;"><code>public class MyHelloWorld</code><br /><code>&nbsp;{</code><br /><code>&nbsp;public void addHelloWorld(List&lt;Account&gt; accs)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;for (Account a:accs)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if (a.Hello__c != 'World')</code><br /><code>&nbsp;{</code><br /><code>&nbsp;a.Hello__c = 'World';</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario4"></a>Trigger Scenario 4:</span></h3>
<p style="text-align: justify;">The following trigger describes when the leads are inserted into the database it would add Doctor prefixed for all lead names. This is applicable for both inserting and updating the lead records.</p>
<p style="text-align: justify;"><code>trigger PrefixDoctor on Lead (before insert,before update)</code><br /><code>{</code><br /><code>&nbsp;List&lt;Lead&gt; leadList = trigger.new;</code><br /><code>&nbsp;for(Lead l: leadList)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;l.firstname = 'Dr.'+ l.firstname;</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario5"></a>Trigger Scenario 5:</span></h3>
<p style="text-align: justify;">The following trigger adds the Opportunity Owner into the sales team automatically&nbsp;whenever the Opportunity is created.</p>
<p style="text-align: justify;"><span style="font-size: 16px;"><strong>Code:</strong></span></p>
<p style="text-align: justify;"><code><span style="font-size: 16px;"><span style="font-size: 14px;">trigger OppTeam on Opportunity (after insert) {</span><br /><span style="font-size: 14px;">&nbsp;List&lt;OpportunityShare&gt; sharesToCreate = new List&lt;OpportunityShare&gt;();</span><br /><span style="font-size: 14px;">&nbsp;List&lt;OpportunityTeamMember&gt; oppteam = new List&lt;OpportunityTeamMember&gt; ();</span><br /><span style="font-size: 14px;">&nbsp;OpportunityShare oshare = new OpportunityShare();</span><br /><span style="font-size: 14px;">&nbsp;oshare.OpportunityAccessLevel = 'Edit';</span><br /><span style="font-size: 14px;">&nbsp;oshare.OpportunityId = trigger.new&rdquo;0&rdquo;.Id;</span><br /><span style="font-size: 14px;">&nbsp;oshare.UserOrGroupId = trigger.new&rdquo;0&rdquo;.createdbyid;</span><br /><span style="font-size: 14px;">&nbsp;sharesToCreate.add(oshare);</span><br /><span style="font-size: 14px;">&nbsp;OpportunityTeamMember ot = new OpportunityTeamMember();</span><br /><span style="font-size: 14px;">&nbsp;ot.OpportunityId = trigger.new&rdquo;0&rdquo;.Id;</span><br /><span style="font-size: 14px;">&nbsp;ot.UserId = trigger.new&rdquo;0&rdquo;.OwnerId;</span><br /><span style="font-size: 14px;">&nbsp;ot.TeamMemberRole = 'Account Manager';</span><br /><span style="font-size: 14px;">&nbsp;oppteam.add(ot);</span><br /><span style="font-size: 14px;">&nbsp;if(Oppteam!=null &amp;&amp; Oppteam.size()&gt;0)</span><br /><span style="font-size: 14px;">&nbsp;{</span><br /><span style="font-size: 14px;">&nbsp;insert Oppteam;</span><br /><span style="font-size: 14px;">&nbsp;}</span><br /><span style="font-size: 14px;">&nbsp;if(sharesToCreate!=null &amp;&amp; sharesToCreate.size()&gt;0)</span><br /><span style="font-size: 14px;">&nbsp;{</span><br /><span style="font-size: 14px;">&nbsp;list&lt;Database.SaveResult&gt; sr = Database.insert(sharesToCreate,false);</span><br /><span style="font-size: 14px;">}</span><br /><span style="font-size: 14px;">&nbsp;}</span></span></code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario6"></a>Trigger Scenario 6:</span></h3>
<p style="text-align: justify;">Create the object called &ldquo;Books&rdquo; and create the field &ldquo;Price&rdquo;(data type is Currency) under&nbsp;this object. Whenever we enter some amount of money in the Price field and once we click on save button, the value we entered in the Price field is 10% less than the actual price. This is applicable for while both inserting and updating records.</p>
<p style="text-align: justify;"><code>trigger DiscountTrigger on Book__c (before insert, before update) </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;List&lt;Book__c&gt; books = Trigger.new;</code><br /><code>&nbsp;PriceDiscount.applyDiscount(books);</code><br /><code>&nbsp;}</code></p>
<p style="text-align: justify;"><strong>Class</strong></p>
<p style="text-align: justify;"><code>public class PriceDiscount {</code><br /><code>&nbsp;public static void applyDiscount(List&lt;Book__c&gt; books) {</code><br /><code>&nbsp;for (Book__c b :books){</code><br /><code>&nbsp;b.Price__c *= 0.9;</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario7"></a>Trigger Scenario 7:</span></h3>
<p style="text-align: justify;">The following trigger will prevent the users from deleting the Accounts. This is because&nbsp;System Administrator has all the permissions, we cannot change the permissions.</p>
<p style="text-align: justify;"><code>trigger AccountDelete on Account (before delete) </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;for(Account Acc:trigger.old)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;acc.adderror('You Cannot Delete the Account Record');</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario8"></a>Trigger Scenario 8:</span></h3>
<p style="text-align: justify;">Create a Custom field called &ldquo;Number of Locations&rdquo; on the Account Object (Data&nbsp;Type=Number)</p>
<p style="text-align: justify;">The following trigger creates the number of contacts that are equal to the number&nbsp;which we will enter in the Number of Locations field on the Account Object</p>
<p style="text-align: justify;"><strong>Code:</strong></p>
<p style="text-align: justify;"><code>trigger ContactsCreation on Account (after insert) </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;list&lt;contact&gt; listContact = new list&lt;contact&gt;();</code><br /><code>&nbsp;map&lt;id,decimal&gt; mapAcc=new map&lt;id,decimal&gt;();</code><br /><code>&nbsp;for(Account acc:trigger.new){</code><br /><code>&nbsp;mapAcc.put(acc.id,acc.Number_of_Locations__c);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(mapAcc.size()&gt;0 &amp;&amp; mapAcc!=null){</code><br /><code>&nbsp;for(Id accId:mapAcc.keyset()){</code><br /><code>&nbsp;for(integer i=0;i&lt;mapAcc.get(accId);i++){</code><br /><code>&nbsp;contact newContact=new contact();</code><br /><code>&nbsp;newContact.accountid=accId;</code><br /><code>&nbsp;newContact.lastname='contact'+i;</code><br /><code>&nbsp;listContact.add(newContact);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(listContact.size()&gt;0 &amp;&amp; listContact!=null)</code><br /><code>&nbsp;insert listContact;</code><br /><code>&nbsp;}</code></p>
<table style="border-collapse: collapse; width: 100%; height: 25.993px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 25.993px;">
<td style="width: 98.2759%; text-align: center; height: 25.993px;"><em>Go through this <span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="https://tekslate.com/salesforce-crm" target="_blank">Salesforce Tutorial</a></strong></span> to learn Salesforce end to end!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario9"></a>Trigger Scenario 9:</span></h3>
<p style="text-align: justify;">Create the object called &ldquo;Customer Project&rdquo; and create a Status field under this object with the picklist data type (Values=Active, Inactive). Create the relationship between this custom&nbsp;object and Opportunity so that the Customer Project is a related list to the Opportunity. Create &nbsp;Active Customer project‑ field on Opportunity object (Data Type=Checkbox) The logic is when we create Customer Project for an Opportunity with the Status=Active,&nbsp;then Active Customer project check box on the Opportunity Detail page is automatically checked.</p>
<p style="text-align: justify;"><strong>Code:</strong></p>
<p style="text-align: justify;"><code>trigger UpdateCPActivenOnOppty on Customer_Project__c (after insert)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;List&lt;Opportunity&gt; opps=new List&lt;Opportunity&gt;();</code><br /><code>&nbsp;for(Customer_Project__c cp:Trigger.New){</code><br /><code>&nbsp;if(cp.Status__c=='Active'){</code><br /><code>&nbsp;Opportunity opp= new Opportunity(id=cp.Opportunity__c);</code><br /><code>&nbsp;opp.Active_Customer_Project__c = True;</code><br /><code>&nbsp;opps.add(opp);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;update opps;</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario10"></a>Trigger Scenario 10:</span></h3>
<p style="text-align: justify;"><strong>Description:</strong></p>
<p style="text-align: justify;">We have a Stakeholder object that is the related list to Opportunity and Contact.&nbsp;On the Contact detail page, we have NPS ID field on the Contact detail page that is look up&nbsp;to the Voice of NPS object (Customer Object). The following code will get the NPS ID&nbsp;field value from the Contact detail page in the Stakeholders page which we can able to&nbsp;clickable. Create NPS Id 1 field on the stockholder's object which is the lookup to the Voice of NPS&nbsp;object (Customer Object)</p>
<p style="text-align: justify;"><strong>Note:-</strong> ‑ we can also get the NPS Id 1 on the Stakeholder&rsquo;s page using the formula field but&nbsp;will not able to clickable.</p>
<p style="text-align: justify;"><strong>Code Single Record:</strong></p>
<p style="text-align: justify;"><code>triggerUpdateNPSid on Stakeholder__c (before insert, before update)</code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;List&lt;id&gt;ConList=new List&lt;id&gt;();</code><br /><code>&nbsp;for(Stakeholder__csh:Trigger.New){</code><br /><code>ConList.add(sh.Contact_Name__c);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;List&lt;Contact&gt;lc=&ldquo;Select NPS_Id__c From Contact Where id IN : ConList&rdquo;;</code><br /><code>&nbsp;for(Stakeholder__csh:Trigger.New){</code><br /><code>&nbsp;sh.NPS_Id1__c=lc&rdquo;0&rdquo;.NPS_Id__c;</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<p style="text-align: justify;"><strong>Code Bulk Records:</strong></p>
<p style="text-align: justify;"><code>trigger UpdateNPSid on Stakeholder__c (before insert, before update)</code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;List&lt;id&gt; ConList=new List&lt;id&gt;();</code><br /><code>&nbsp;map&lt;id,id&gt;map_NPS_Cont = new map&lt;id,id&gt;();</code><br /><code>&nbsp;for(Stakeholder__c sh:Trigger.New)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(sh.Contact_Name__c!=null)</code><br /><code>&nbsp;ConList.add(sh.Contact_Name__c);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;List&lt;Contact&gt; lc=&ldquo;Select Id,NPS_Id__c From Contact Where id IN : ConList&rdquo;;</code><br /><code>&nbsp;if(lc!=null &amp;&amp; lc.size()&gt;0)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;for(Contact c:lc){</code><br /><code>&nbsp;If(c.NPS_Id__c!=null){</code><br /><code>&nbsp;map_NPS_Cont.put(c.Id,c.NPS_Id__c);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;for(Stakeholder__c sh:Trigger.New){</code><br /><code>&nbsp;if(sh.Contact_Name__c!=null)</code><br /><code>&nbsp;sh.NPS_Id1__c = map_NPS_Cont.get(sh.Contact_Name__c);</code><br /><code>&nbsp;else</code><br /><code>&nbsp;sh.NPS_Id1__c = null;</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario11"></a>Trigger Scenario 11:</span></h3>
<p style="text-align: justify;">Create &ldquo;Sales Rep&rdquo; field with the data type (Text) on the Account Object. When we create the Account record, the Account Owner will be automatically added to Sales Rep field. When we update the Account owner of the record, then also the Sales Rep will be automatically updated.</p>
<p style="text-align: justify;"><code>triggerUpdateSalesRep on Account (Before insert,Before Update)</code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;Set&lt;Id&gt;setAccOwner=new Set&lt;Id&gt;();</code><br /><code>&nbsp;for(Account Acc: trigger.new)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;setAccOwner.add(Acc.OwnerId);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;Map&lt;Id,User&gt;User_map = new Map&lt;Id,User&gt;(&ldquo;select Name from User where id</code><br /><code>&nbsp;in:setAccOwner&rdquo;);</code><br /><code>&nbsp;for(Account Acc: Trigger.new)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;User usr=User_map.get(Acc.OwnerId);</code><br /><code>&nbsp;Acc.sales_Rep1__c=usr.Name;</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario12"></a>Trigger Scenario 12:</span></h3>
<p style="text-align: justify;">Create the field called the &ldquo;Contact Relationship&rdquo; checkbox on the Contact Object and Create the related object called &ldquo;Contact Relationship&rdquo; which is a related list to the Contacts.(Look Up Relationship). Now logic is when we create contact by checking the Contact Relationship checkbox, then Contact Relationship will be created automatically for that contact.</p>
<p style="text-align: justify;"><strong>Code:</strong></p>
<p style="text-align: justify;"><code>trigger CreateCRonContactCreation on Contact (after insert) </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;if(trigger.isAfter)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(trigger.isInsert)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;ContactMasterHandler ConIns = New ContactMasterHandler();</code><br /><code>&nbsp;ConIns.createContactRelationshipByContact(trigger.New);</code><br /><code>}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<p style="text-align: justify;"><strong>Class:</strong></p>
<p style="text-align: justify;"><code>Public Class ContactMasterHandler </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;public void createContactRelationshipByContact(list&lt;Contact&gt; List_Contacts)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;list&lt;Contact_Relationship__c&gt; ConList= new list&lt;Contact_Relationship__c&gt;();</code><br /><code>&nbsp;for(Contact newconts:List_Contacts)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(newconts.Contact_Relationship__c== true)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;Contact_Relationship__c CR = new Contact_Relationship__c();</code><br /><code>&nbsp;CR.Name=newconts.Lastname;</code><br /><code>&nbsp;CR.Contact__c= newconts.id;</code><br /><code>&nbsp;ConList.add(CR);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;insert ConList;</code><br /><code>&nbsp;}</code></p>
<table style="border-collapse: collapse; width: 100%; height: 58px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.4956%; text-align: center;"><em>Checkout Our Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="SalesForce Interview Questions &amp; Answers" href="https://tekslate.com/salesforce-interview-questions-answers" target="_blank"><strong>SalesForce Interview Questions &amp; Answers</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario13"></a>Trigger Scenario 13:</span></h3>
<p style="text-align: justify;">When we change the Owner of the Contact Relationship, then the Owner name will be&nbsp;automatically populated in the Contact Relationship Name field.</p>
<p style="text-align: justify;"><strong>Trigger:</strong></p>
<p style="text-align: justify;"><code>trigger ContactRelationshipMasterTrigger on Contact_Relationship__c(before update)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(trigger.isBefore)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(trigger.isUpdate)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;//call the handler for the before update trigger event</code><br /><code>&nbsp;updateCROwnerName ConRelUpd = New updateCROwnerName();</code><br /><code>&nbsp;ConRelUpd.updateContactRelationshipNameByOwner(trigger.New);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<p style="text-align: justify;"><strong>Class:</strong></p>
<p style="text-align: justify;"><code>Public Class updateCROwnerName</code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;public void updateContactRelationshipNameByOwner(list&lt;Contact_Relationship__c&gt; co</code><code>nt_Rel)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;map&lt;Id,Id&gt; map_Id_Own = new map&lt;id,id&gt;();</code><br /><code>&nbsp;map&lt;Id,string&gt; map_id_Name = new map&lt;id,string&gt;();</code><br /><code>&nbsp;set&lt;id&gt; Idset = new set&lt;id&gt;();</code><br /><code>&nbsp;for(Contact_Relationship__c List_recs:cont_Rel)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;Idset.add(List_recs.Ownerid);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;list&lt;user&gt; u=&ldquo;select id,Name from user where id in:Idset&rdquo;;</code><br /><code>&nbsp;for(user list_users:u)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;map_id_Name.put(list_users.Id,list_users.Name);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(u!=null &amp;&amp; u.size()&gt;0)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;for(Contact_Relationship__c List_recs:cont_Rel)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if (List_recs.Ownerid!=null)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;List_recs.Name = map_id_Name.get(List_recs.Ownerid);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario14"></a>Trigger Scenario 14:</span></h3>
<p style="text-align: justify;">Create the field called the &ldquo;Contact Relationship&rdquo; checkbox on the Contact Object and Create the object called &ldquo;Contact Relationship&rdquo; which is a related list to the Contacts. (Look Up Relationship). Trigger Scenario 12 logic will say that when we create contact by checking the Contact Relationship checkbox, then Contact Relationship will be created automatically for that contact. No, this logic will for when we delete the Contact, Then Contact Relationship will be deleted automatically</p>
<p style="text-align: justify;"><code>trigger DeleteCRonContactDeletion on Contact (before delete) </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;if(trigger.isBefore)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(trigger.isDelete)</code><br /><code>for(Contact c:Trigger.old)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;Contact_relationship__c CR=new Contact_relationship__c();</code><br /><code>&nbsp;CR=&ldquo;Select Id from Contact_Relationship__c where Contact__c IN:GlobalUtility.getUni</code><br /><code>&nbsp;queIds(Trigger.Old)&rdquo;;</code><br /><code>&nbsp;delete CR;</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Global Utility Class:</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 14px;"><code>public static set&lt;Id&gt; getUniqueIds(list&lt;SObject&gt; sobs)<br />&nbsp;{<br />&nbsp;set&lt;Id&gt; Ids = new set&lt;Id&gt;();<br />&nbsp;for (SObject sob : sobs) {<br />&nbsp;Ids.add(sob.Id);<br />&nbsp;}<br />&nbsp;return Ids;<br />&nbsp;}</code></span></p>
<p style="text-align: right;"><em>Checkout:</em> [ <span style="color: #236fa1;"><a style="color: #236fa1;" title="Annotations in Salesforce" href="https://tekslate.com/annotations-apex" target="_blank"><em><strong>Annotations in Salesforce</strong></em></a> <span style="color: #000000;">]</span></span></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario15"></a>Trigger Scenario 15:</span></h3>
<p style="text-align: justify;">Create the field called &ldquo;Contact Relationship&rdquo; checkbox on the Contact Object and Create the object called &ldquo;Contact Relationship&rdquo; which is a related list to the Contacts. (Look Up Relationship). Trigger Scenario 14 will say that when we delete the Contact, Then Contact Relationship will be deleted automatically Now the Logic is when we undelete the Contact, then the Contact Relationship will be undeleted automatically</p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Trigger:</strong></span></p>
<p style="text-align: justify;"><code><span style="font-size: 12pt;"><span style="font-size: 14px;">trigger UnDeleteCRonContactUnDeletion on Contact (After Undelete) </span></span></code></p>
<p style="text-align: justify;"><span style="font-size: 14px;"><code>{<br />&nbsp;if(trigger.isUndelete)<br />&nbsp;{<br />//call the handler for the after undelete trigger event<br />&nbsp;ContactMasterHandler_Undelete ConIns = New ContactMasterHandler_Undelete(<br />&nbsp;);<br />&nbsp;ConIns.undeleteContactRelationshipsByContact(Trigger.New);<br />&nbsp;}<br />&nbsp;}</code></span></p>
<p style="text-align: justify;"><strong>Class</strong></p>
<p style="text-align: justify;"><code>Public Class ContactMasterHandler_Undelete</code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;public void undeleteContactRelationshipsByContact(list&lt;Contact&gt; List_Contacts)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;set&lt;Id&gt; ContactIds = New set&lt;Id&gt;();</code><br /><code>&nbsp;if(List_Contacts!=null &amp;&amp; List_Contacts.size()&gt;0)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;list&lt;Contact_Relationship__c&gt; List_ConRels= new list&lt;Contact_Relationship__c&gt;(</code><br /><code>&nbsp;);</code><br /><code>&nbsp;List_ConRels= &ldquo;select id from Contact_Relationship__c where isDeleted=TRUE and </code></p>
<p style="text-align: justify;"><code>Co</code><code>ntact__c in: GlobalUtility.getUniqueIds(List_Contacts)&rdquo;;</code><br /><code>&nbsp;undelete List_ConRels;</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario16"></a>Trigger Scenario 16:</span></h3>
<p style="text-align: justify;">Create field called &ldquo;Count of Contacts&rdquo; on Account Object. When we add the Contacts for that Account then the count will populate in the field on the Account details page. When we delete the Contacts for that Account, the Count will update automatically.</p>
<p style="text-align: justify;"><strong>Note:</strong></p>
<p style="text-align: justify;">The above logic will be applicable when we have a lookup relationship. But When we have the Master-Detail relationship, then we can create the Rollup Summary field to get the count of child records using the &ldquo;Count&rdquo; function.</p>
<p style="text-align: justify;"><code>trigger CountOfContacts on Contact (after insert,after delete) </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;set&lt;id&gt; accid=new set&lt;id&gt;();</code><br /><code>&nbsp;list&lt;contact&gt; contactlist =new list&lt;contact&gt;();</code><br /><code>&nbsp;list&lt;contact&gt; listcon=new list&lt;contact&gt;();</code><br /><code>&nbsp;list&lt;account&gt; acclist=new list&lt;account&gt;();</code><br /><code>&nbsp;list&lt;account&gt; listAcc=new list&lt;account&gt;();</code><br /><code>map&lt;id,integer&gt; mapCount=new map&lt;id,integer&gt;();</code><br /><code>&nbsp;if(trigger.isinsert){</code><br /><code>&nbsp;for(contact con:trigger.new)</code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;accid.add(con.accountid);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(trigger.isdelete){</code><br /><code>&nbsp;for(contact con:trigger.old){</code><br /><code>&nbsp;accid.add(con.accountid);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;acclist=&ldquo;select id,name from account where id in:accid&rdquo;;</code><br /><code>&nbsp;contactlist = &ldquo;select id,name,accountid from contact where accountid in:accid&rdquo;;</code><br /><code>&nbsp;for(account acc:acclist){</code><br /><code>&nbsp;listcon.clear();</code><br /><code>&nbsp;for(contact c:contactlist){</code><br /><code>&nbsp;if(c.accountid==acc.id){</code><br /><code>&nbsp;listcon.add(c);</code><br /><code>&nbsp;mapCount.put(c.accountid,listcon.size());</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(acclist.size()&gt;0){</code><br /><code>&nbsp;for(Account a:acclist){</code><br /><code>&nbsp;if(mapCount.get(a.id)==null)</code><br /><code>&nbsp;a.Count_Of_Contacts__c=0;</code><br /><code>else</code><br /><code>&nbsp;a.Count_Of_Contacts__c=mapCount.get(a.id);</code><br /><code>&nbsp;listAcc.add(a);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(listAcc.size()&gt;0)</code><br /><code>&nbsp;update listAcc;</code><br /><code>&nbsp;}</code></p>
<table style="border-collapse: collapse; width: 100%; height: 58px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.4956%; text-align: center;"><em>Checkout Our Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="Loops in Salesforce" href="https://tekslate.com/loops-salesforce-apex" target="_blank"><strong>Loops in Salesforce</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario17"></a>Trigger Scenario 17:</span></h3>
<p style="text-align: justify;">Create the object called &ldquo;Customer&rdquo; and create the Master-Detail Relationship on Customer object so that Customer will be the related list to the Account record. Create the field called &ldquo;Account Manager&rdquo; on the Customer object which is a lookup to the user object.</p>
<p style="text-align: justify;">Now Logic is when we create a Customer record for an account record, then the user in the Account Manager field will be automatically added to the Account Team of that associated account.</p>
<p style="text-align: justify;"><strong>Code:</strong></p>
<p style="text-align: justify;"><code>trigger InsertAccountTeam on Customer__c (after insert) </code></p>
<p style="text-align: justify;"><code>{</code><br /><code>&nbsp;List&lt;AccountTeamMember&gt; atm_list=new List&lt;AccountTeamMember&gt;();</code><br /><code>&nbsp;AccountTeamMember atm = new AccountTeamMember();</code><br /><code>&nbsp;List&lt;AccountShare&gt; newShare = new List&lt;AccountShare&gt;();</code><br /><code>&nbsp;if(trigger.isInsert)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;For(Customer__c c:Trigger.new)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(c.Account_Manager__c!=null){</code><br /><code>&nbsp;atm = new AccountTeamMember();</code><br /><code>&nbsp;atm.accountid=c.Account__c;</code><br /><code>&nbsp;atm.teamMemberRole='Account Manager';</code><br /><code>atm.UserId=c.Account_Manager__c;</code><br /><code>&nbsp;AccountShare shares = new AccountShare();</code><br /><code>&nbsp;shares.AccountId=c.Account__c;</code><br /><code>&nbsp;shares.UserOrGroupId = c.Account_Manager__c;</code><br /><code>&nbsp;shares.AccountAccessLevel='Read/Write';</code><br /><code>&nbsp;shares.OpportunityAccessLevel = 'Read Only';</code><br /><code>&nbsp;shares.CaseAccessLevel='Read Only';</code><br /><code>&nbsp;newShare.add(shares);</code><br /><code>&nbsp;atm_list.add(atm);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(atm_list!=null)</code><br /><code>&nbsp;insert atm_list;</code><br /><code>&nbsp;if(newShare!=null &amp;&amp; newShare.size()&gt;0)</code><br /><code>&nbsp;List&lt;Database.saveresult&gt; sr=Database.insert(newShare,false);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code></p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><a id="scenario18"></a>Trigger Scenario 18:</span></h3>
<p style="text-align: justify;">The above trigger(Trigger Scenario 17) Logic is when we create a Customer record for an account record, then the user in the Account Manager field will be automatically added to the Account Team of that associated account. Now the following trigger logic is when we update the user in the &ldquo;Account Manager&rdquo;,&nbsp;the Account team will be updated automatically.</p>
<p style="text-align: justify;"><strong>Code:</strong></p>
<p style="text-align: justify;"><code>trigger UpdateAccountTeam on Customer__c (before update) </code></p>
<p style="text-align: justify;"><code>{<br />&nbsp;List&lt;AccountTeamMember&gt; atm_list=new List&lt;AccountTeamMember&gt;();<br />&nbsp;AccountTeamMember atm = new AccountTeamMember();<br />&nbsp;List&lt;AccountShare&gt; newShare = new List&lt;AccountShare&gt;();<br />&nbsp;if(trigger.isupdate)<br />&nbsp;{<br />&nbsp;if(trigger.isbefore)<br />&nbsp;{<br />&nbsp;Set&lt;Id&gt; setAccIds1=new Set&lt;Id&gt;();<br />&nbsp;Set&lt;Id&gt; setDelATM=new Set&lt;Id&gt;();<br />&nbsp;Map&lt;id,Set&lt;Id&gt;&gt; mapAccMgrs=new Map&lt;id,Set&lt;Id&gt;&gt;();<br />&nbsp;for(Customer__c c:Trigger.new)<br />&nbsp;{<br />&nbsp;if(trigger.oldmap.get(c.Id).Account_Manager__c!=c.Account_Manager__c<br />&nbsp;&amp;&amp;c.Account_Manager__c!=null )<br />&nbsp;{<br />&nbsp;setAccIds1.add(c.Account__c);<br />&nbsp;}<br />&nbsp;}<br />&nbsp;List&lt;Customer__c&gt; listPLAccMgrs=&ldquo;select id,Account_Manager__c,Account__c<br />&nbsp;from Customer__c where Account__c in:setAccIds1 and id not<br />&nbsp;in:trigger.newmap.keyset()&rdquo;;<br />&nbsp;if(listPLAccMgrs!=null &amp;&amp; listPLAccMgrs.size()&gt;0)<br />&nbsp;{<br />&nbsp;for(Customer__c c:listPLAccMgrs)<br />&nbsp;{<br />&nbsp;Set&lt;Id&gt; idMgrs=mapAccMgrs.get(c.Account__c);<br />&nbsp;if(null==idMgrs){<br />&nbsp;idMgrs=new set&lt;Id&gt;();<br />&nbsp;mapAccMgrs.put(c.Account__c,idMgrs);<br />&nbsp;}<br />&nbsp;idMgrs.add(c.Account_Manager__c);<br />&nbsp;}<br />&nbsp;}<br />&nbsp;Map&lt;id,List&lt;AccountTeamMember&gt;&gt; mapStdAccTeam=new<br />&nbsp;Map&lt;id,List&lt;AccountTeamMember&gt;&gt;();<br />&nbsp;List&lt;AccountTeamMember&gt; listStdAcc Team=&ldquo;select id,UserId,AccountId from<br />&nbsp;AccountTeamMember where AccountId in:setAccIds1 &ldquo;;<br />&nbsp;if(listStdAccTeam!=null &amp;&amp; listStdAccTeam.size()&gt;0){<br />&nbsp;for(AccountTeamMember recAccTeam :listStdAccTeam)<br />&nbsp;{<br />&nbsp;List&lt;AccountTeamMember&gt;<br />&nbsp;listStdAccTeamMap=mapStdAccTeam.get(recAccTeam.AccountId);<br />&nbsp;if(null==listStdAccTeamMap){<br />&nbsp;listStdAccTeamMap=new List&lt;AccountTeamMember&gt;();<br />&nbsp;mapStdAccTeam.put(recAccTeam.AccountId,listStdAccTeamMap);<br />&nbsp;}<br />&nbsp;listStdAccTeamMap.add(recAccTeam);<br />&nbsp;}<br />&nbsp;}<br />&nbsp;system.debug('***********'+mapAccMgrs);<br />&nbsp;for(Customer__c c:Trigger.new)<br />&nbsp;{<br />&nbsp;if(trigger.oldmap.get(c.Id).Account_Manager__c!=c.Account_Manager__c<br />&nbsp;&amp;&amp;c.Account_Manager__c!=null )<br />&nbsp;{<br />&nbsp;List&lt;AccountTeamMember&gt;<br />&nbsp;listAccTeam=mapStdAccTeam.get(c.Account__c);<br />&nbsp;Set&lt;Id&gt; idMgrs=mapAccMgrs.get(c.Account__c);<br />&nbsp;if(listAccTeam!=null &amp;&amp; listAccTeam.size()&gt;0 )<br />{<br />&nbsp;if(idMgrs!=null &amp;&amp; idMgrs.size()&gt;0 &amp;&amp;<br />&nbsp;!(idMgrs.Contains(trigger.oldmap.get(c.Id).Account_Manager__c)))<br />&nbsp;{<br />&nbsp;for(AccountTeamMember recATM:listAccTeam)<br />&nbsp;{<br />&nbsp;if(recATM.UserId==trigger.oldmap.get(c.Id).Account_Manager__c)<br />&nbsp;setDelATM.add(recATM.Id);<br />&nbsp;}<br />&nbsp;}<br />&nbsp;else if(idMgrs==null)<br />&nbsp;{<br />&nbsp;for(AccountTeamMember recATM:listAccTeam)<br />&nbsp;setDelATM.add(recATM.Id);<br />&nbsp;}<br />&nbsp;}<br />&nbsp;atm = new<br />&nbsp;AccountTeamMember(accountid=c.Account__c,teamMemberRole='Account<br />&nbsp;Manager',UserId=c.Account_Manager__c);<br />&nbsp;AccountShare shares = new AccountShare();<br />&nbsp;shares.AccountId=c.Account__c;<br />&nbsp;shares.UserOrGroupId = c.Account_Manager__c;<br />&nbsp;shares.AccountAccessLevel='Edit';<br />&nbsp;shares.OpportunityAccessLevel = 'None';<br />&nbsp;newShare.add(shares);<br />&nbsp;atm_list.add(atm);<br />&nbsp;}<br />&nbsp;}<br />List&lt;AccountTeamMember&gt; listDelATM=&ldquo;select id from AccountTeamMember<br />&nbsp;where id in:setDelATM&rdquo;;<br />&nbsp;if(listDelATM!=null &amp;&amp; listDelATM.size()&gt;0 )<br />&nbsp;delete listDelATM;<br />&nbsp;if(atm_list!=null)<br />&nbsp;insert atm_list;<br />&nbsp;if(newShare!=null &amp;&amp; newShare.size()&gt;0)<br />&nbsp;List&lt;Database.saveresult&gt; sr=Database.insert(newShare,false);<br />&nbsp;}<br />&nbsp;}</code></p>
<p style="text-align: right;"><em>Checkout:</em> [ &nbsp;<span style="color: #236fa1;"><a style="color: #236fa1;" title="Apex Data Manipulation (DML) Operations" href="https://tekslate.com/apex-data-manipulation-dml-operations" target="_blank"><strong><em>Apex Data Manipulation (DML) Operations</em></strong></a></span> ]</p>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 20px;"><a id="scenario19"></a>Trigger Scenario 19:</span></h3>
<p style="text-align: justify;">The trigger scenario 17 Logic is when we create a Customer record for the account record, then the user in the Account Manager field will be automatically added to the Account Team of that associated account. Now the following trigger gives the logic about when we delete the &ldquo;Customer&rdquo; of that account, then the user will be deleted automatically from the Account Team of that account.</p>
<p style="text-align: justify;"><span style="font-family: helvetica, arial, sans-serif; font-size: 16px;"><code><strong>Code:</strong></code></span><br /><br /></p>
<p style="text-align: justify;"><span style="font-family: helvetica, arial, sans-serif; font-size: 16px;"><code><span style="font-size: 14px;">trigger DeleteAccountTeam on Customer__c (before delete) </span></code></span></p>
<p style="text-align: justify;"><span style="font-family: helvetica, arial, sans-serif; font-size: 16px;"><code><span style="font-size: 14px;">{</span></code><br /><code><span style="font-size: 14px;">&nbsp;List&lt;AccountTeamMember&gt; atm_list=new List&lt;AccountTeamMember&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;AccountTeamMember atm = new AccountTeamMember();</span></code><br /><code><span style="font-size: 14px;">&nbsp;List&lt;AccountShare&gt; newShare = new List&lt;AccountShare&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(trigger.isdelete)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">set&lt;id&gt; setAccids = new set&lt;id&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;Set&lt;Id&gt; setDelATM=new Set&lt;Id&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;Map&lt;id,Set&lt;Id&gt;&gt; mapAccMgrs=new Map&lt;id,Set&lt;Id&gt;&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;for(Customer__c c:Trigger.old)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;setAccids.add(c.Account__c);</span></code><br /><code><span style="font-size: 14px;">}</span></code><br /><code><span style="font-size: 14px;">&nbsp;List&lt;Customer__c&gt; listPLAccMgrs=&ldquo;select id,Account_Manager__c,Account__c from</span></code><br /><code><span style="font-size: 14px;">&nbsp;Customer__c where Account__c in:setAccids and id not in:trigger.oldmap.keyset()&rdquo;;</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(listPLAccMgrs!=null &amp;&amp; listPLAccMgrs.size()&gt;0)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;for(Customer__c c:listPLAccMgrs)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;Set&lt;Id&gt; idMgrs=mapAccMgrs.get(c.Account__c);</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(null==idMgrs){</span></code><br /><code><span style="font-size: 14px;">&nbsp;idMgrs=new set&lt;Id&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;mapAccMgrs.put(c.Account__c,idMgrs);</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;idMgrs.add(c.Account_Manager__c);</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;Map&lt;id,List&lt;AccountTeamMember&gt;&gt; mapStdAccTeam=new</span></code><br /><code><span style="font-size: 14px;">&nbsp;Map&lt;id,List&lt;AccountTeamMember&gt;&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;List&lt;AccountTeamMember&gt; listStdAccTeam=&ldquo;select id,UserId,AccountId from</span></code><br /><code><span style="font-size: 14px;">&nbsp;AccountTeamMember where AccountId in:setAccids&rdquo;;</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(listStdAccTeam!=null &amp;&amp; listStdAccTeam.size()&gt;0){</span></code><br /><code><span style="font-size: 14px;">&nbsp;for(AccountTeamMember recAccTeam :listStdAccTeam)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;List&lt;AccountTeamMember&gt;</span></code><br /><code><span style="font-size: 14px;">&nbsp;listStdAccTeamMap=mapStdAccTeam.get(recAccTeam.AccountId);</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(null==listStdAccTeamMap){</span></code><br /><code><span style="font-size: 14px;">&nbsp;listStdAccTeamMap=new List&lt;AccountTeamMember&gt;();</span></code><br /><code><span style="font-size: 14px;">&nbsp;mapStdAccTeam.put(recAccTeam.AccountId,listStdAccTeamMap);</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;listStdAccTeamMap.add(recAccTeam);</span></code><br /><code><span style="font-size: 14px;">}</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;for(Customer__c c:Trigger.old)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;List&lt;AccountTeamMember&gt;</span></code><br /><code><span style="font-size: 14px;">&nbsp;listAccTeam=mapStdAccTeam.get(c.Account__c);</span></code><br /><code><span style="font-size: 14px;">&nbsp;Set&lt;Id&gt; idMgrs=mapAccMgrs.get(c.Account__c);</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(listAccTeam!=null &amp;&amp; listAccTeam.size()&gt;0 )</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(idMgrs!=null &amp;&amp; idMgrs.size()&gt;0 &amp;&amp;</span></code><br /><code><span style="font-size: 14px;">&nbsp;!(idMgrs.Contains(trigger.oldmap.get(c.Id).Account_Manager__c)))</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;for(AccountTeamMember recATM:listAccTeam)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;if(recATM.UserId==trigger.oldmap.get(c.Id).Account_Manager__c)</span></code><br /><code><span style="font-size: 14px;">&nbsp;setDelATM.add(recATM.Id);</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;else if(idMgrs==null)</span></code><br /><code><span style="font-size: 14px;">&nbsp;{</span></code><br /><code><span style="font-size: 14px;">&nbsp;for(AccountTeamMember recATM:listAccTeam)</span></code><br /><code><span style="font-size: 14px;">&nbsp;setDelATM.add(recATM.Id);</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;List&lt;AccountTeamMember&gt; listDelATM=&ldquo;select id from AccountTeamMember</span></code><br /><code><span style="font-size: 14px;">&nbsp;where id in:setDelATM&rdquo;;</span></code><br /><code><span style="font-size: 14px;">if(listDelATM!=null &amp;&amp; listDelATM.size()&gt;0 )</span></code><br /><code><span style="font-size: 14px;">&nbsp;delete listDelATM;</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code><br /><code><span style="font-size: 14px;">&nbsp;}</span></code></span></p>
<table style="border-collapse: collapse; width: 100%; height: 56px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.4956%; text-align: center;"><em>Checkout Our Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="Creating Apex Class" href="https://tekslate.com/salesforce-creating-apex-class" target="_blank"><strong>Creating Apex Class</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #000000; font-size: 22px;"><a id="scenario20"></a>Trigger Scenario 20:</span></h3>
<p style="text-align: justify;">When we create the Opportunity with the Probability=20, then the opportunity owner will&nbsp;be automatically added to the Account Team of the associated account for that Opportunity.</p>
<p style="text-align: justify;"><strong>Code:</strong></p>
<p style="text-align: justify;"><code>trigger UpdateATMwithOwneronOptyCreate on Opportunity (after insert,after update) {</code><br /><code>&nbsp;List&lt;AccountShare&gt; list_share= new List&lt;AccountShare&gt;();</code><br /><code>&nbsp;List&lt;AccountTeamMember&gt; list_atm=new List&lt;AccountTeamMember&gt;();</code><br /><code>&nbsp;for(Opportunity opp:Trigger.New)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;if(opp.Probability==20)</code><br /><code>&nbsp;{</code><br /><code>&nbsp;AccountTeamMember atm=new AccountTeamMember();</code><br /><code>&nbsp;atm.accountid=opp.accountid;</code><br /><code>&nbsp;atm.teamMemberRole='Account Manager';</code><br /><code>&nbsp;atm.UserId=opp.Ownerid;</code><br /><code>&nbsp;AccountShare share = new AccountShare();</code><br /><code>&nbsp;share.AccountId=opp.Accountid;</code><br /><code>&nbsp;share.UserOrGroupId = opp.OwnerId;</code><br /><code>&nbsp;share.AccountAccessLevel='Read/Write';</code><br /><code>&nbsp;share.OpportunityAccessLevel = 'Read Only';</code><br /><code>&nbsp;share.CaseAccessLevel='Read Only';</code><br /><code>&nbsp;list_atm.add(atm);</code><br /><code>&nbsp;list_share.add(share);</code><br /><code>&nbsp;}</code><br /><code>&nbsp;}</code><br /><code>&nbsp;if(list_atm!=null)</code><br /><code>&nbsp;insert list_atm;</code><br /><code>&nbsp;if(list_share!=null &amp;&amp; list_share.size()&gt;0)</code><br /><code>&nbsp;List&lt;Database.saveresult&gt; sr=Database.insert(list_share,false);</code></p>
<h3 style="text-align: justify;"><span style="font-size: 12pt;"><strong>Technology</strong>:</span></h3>
<p style="text-align: justify;">In the above triggers</p>
<ul>
<li style="text-align: justify;">OpportunityTeamMember is the backend name of Sales Team</li>
<li style="text-align: justify;">For the creation of the Account Team, we need to create Account Share which will be there at the backend</li>
<li style="text-align: justify;">For the creation of the Sales team, we need to create Opportunity Share which will be there at the backend</li>
</ul>
<p style="text-align: justify;"><strong>Note</strong>: For more clarity, go to the Data Loader and click on the &ldquo;Export&rdquo; operation and click on the select &ldquo;Show all <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="nofollow">Salesforce</a></span> Objects&rdquo; checkbox, then we can able to see Account Share and Opportunity Share.</p>3f:T6559,<h2><span style="font-size: 18pt; color: #e67e23;">Increment /Decrement operator with Examples</span></h2>
<p><span style="font-size: 12pt;">Increment and decrement operators are unary operators that add or subtract one, to or from their operand, sequentially. They are commonly implemented in imperative programming languages like java, c, c++ the increment operator increments the value of the variable by one, and similarly, the decrement operator decrements the value of the variable by one.</span></p>
<p><span style="font-size: 12pt;">a=6</span></p>
<p><span style="font-size: 12pt;">a++ // a becomes 7</span></p>
<p><span style="font-size: 12pt;">++a // a becomes 8</span></p>
<p><span style="font-size: 12pt;">a-- // a becomes 7</span></p>
<p><span style="font-size: 12pt;">--a // a becomes 6</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Increment operators:</span></h3>
<p><span style="font-size: 12pt;"> the increment operator increments the value of the variable in the expression. If the increment operator(++) is used as a prefix (before the variable), then the value of the variable is increased, and then it returns the value. If the increment operator is used as postfix(after the variable), then the original value is returned, and then the variable is increased by one.</span></p>
<p><strong><span style="font-size: 12pt;">&nbsp;Example in C programming:</span></strong></p>
<pre class="language-javascript"><code>#include &lt;stdio.h&gt;

int main() {

   int a = 6, b = 6;

   // a is displayed

   // Then, a is increased to 7.

   printf("%d post-increment n", a++);

   // b is increased to 7 

   // Then, it is displayed.

   printf("%d pre-incrementn", ++b);

   return 0;

}</code></pre>
<p><strong><span style="font-size: 12pt;">Output:</span></strong></p>
<p><span style="font-size: 12pt;">6 post-increment&nbsp;</span></p>
<p><span style="font-size: 12pt;">7 pre-increment&nbsp;&nbsp;</span></p>
<p>&nbsp;</p>
<p><strong><span style="font-size: 12pt;">Example in C++:</span></strong></p>
<pre class="language-javascript"><code>#include &lt;iostream&gt;

using namespace std;

int main() {

   int a = 6, b = 6;

   // a is displayed

   // Then, a is increased to 7.

   cout &lt;&lt; a++ &lt;&lt; endl;

   // b is increased to 7

   // Then, it is displayed.

   cout &lt;&lt; ++b &lt;&lt; endl;

   return 0;

}</code></pre>
<p><strong><span style="font-size: 12pt;">Output:</span></strong></p>
<p><span style="font-size: 12pt;">6</span></p>
<p><span style="font-size: 12pt;">7</span></p>
<p><strong><span style="font-size: 12pt;">Example in Java programming:</span></strong></p>
<pre class="language-javascript"><code>class Operator {

    public static void main(String[] args) {

        int a = 6, b = 6;

        // a is displayed

        // Then, a is increased to 7.

        System.out.println(a++);

        // b is increased to 6

        // Then, b is displayed

        System.out.println(++b);

    }

}
</code></pre>
<p><strong><span style="font-size: 12pt;">Output:</span></strong></p>
<p><span style="font-size: 12pt;">6</span></p>
<p><span style="font-size: 12pt;">7</span></p>
<h3 dir="ltr"><span style="font-size: 12pt; color: #e67e23;">Decrement operators:&nbsp;</span></h3>
<p><span style="font-size: 12pt;"> the decrement operator decrements the value of the variable in the expression. If the decrement operator(--) is used as a prefix (before the variable), then the value of the variable is decreased, and then it returns the value. If the decrement operator is used as postfix(after the variable) then the original value is returned, and then the variable is decreased by one.</span></p>
<p><strong><span style="font-size: 12pt;">Example in C programming:</span></strong></p>
<pre class="language-javascript"><code>#include &lt;stdio.h&gt;

int main() {

   int a = 6, b = 6;

   // a is displayed

   // Then, a is decreased to 5.

   printf("%d post-decrenet n", a--);

   // b is decreased to 5 

  // Then, it is displayed.

   printf("%d pre-decrementn", --b);

   return 0;

}</code></pre>
<p><strong><span style="font-size: 12pt;">Output:</span></strong></p>
<p><span style="font-size: 12pt;">6 post-decrement</span></p>
<p><span style="font-size: 12pt;">5 pre-decrement</span></p>
<p><strong><span style="font-size: 12pt;">Example in C++:</span></strong></p>
<pre class="language-javascript"><code>#include &lt;iostream&gt;

using namespace std;

int main() {

   int a = 6, b = 6;

   // a is displayed

   // Then, a is decreased to 5.

   cout &lt;&lt; a-- &lt;&lt; endl;

   // b is decreased to 5

   // Then, it is displayed.

   cout &lt;&lt; --b &lt;&lt; endl;

   return 0;

}</code></pre>
<p><strong><span style="font-size: 12pt;">Output:</span></strong></p>
<p><span style="font-size: 12pt;">6</span></p>
<p><span style="font-size: 12pt;">5</span></p>
<p><strong><span style="font-size: 12pt;">Example in Java:</span></strong></p>
<pre class="language-javascript"><code>class Operator {

    public static void main(String[] args) {

        int a = 6, b = 6;

        // a is displayed

        // Then, a is decreased to 5.

        System.out.println(a--);

        // b is decreased to 5

        // Then, b is displayed

        System.out.println(--b);

    }

}

</code></pre>
<p><strong><span style="font-size: 12pt;">Output:</span></strong></p>
<p><span style="font-size: 12pt;">6</span></p>
<p><span style="font-size: 12pt;">5</span></p>
<h3 dir="ltr"><span style="font-size: 12pt; color: #e67e23;">Difference between increment and decrement operators:</span></h3>
<div dir="ltr" align="left">&nbsp;</div>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 49.4745%;">
<p style="text-align: center;"><span style="color: #e03e2d;"><strong><span style="font-size: 12pt;">Increment Operator</span></strong></span></p>
</td>
<td style="width: 50.5255%;">
<p style="text-align: center;"><span style="color: #e03e2d;"><strong><span style="font-size: 12pt;">Decrement Operator</span></strong></span></p>
</td>
</tr>
<tr>
<td style="width: 49.4745%;">
<p><span style="font-size: 12pt;">The increment operator increments the variable by one.</span></p>
</td>
<td style="width: 50.5255%;">
<p><span style="font-size: 12pt;">The decrement operator decrements the operator by one.</span></p>
</td>
</tr>
<tr>
<td style="width: 49.4745%;">
<p><span style="font-size: 12pt;">Prefix increment operator indicates the variable is incremented first, and then the expression is assessed utilizing the new value of the variable.</span></p>
</td>
<td style="width: 50.5255%;">
<p><span style="font-size: 12pt;">Prefix decrement operator indicates the variable is decremented first, and then the expression is assessed utilizing the new value of the variable.</span></p>
</td>
</tr>
<tr>
<td style="width: 49.4745%;">
<p><span style="font-size: 12pt;">Postfix increment operator indicates the expression is assessed first utilizing the original value of the variable, and then the variable is increased(incremented).</span></p>
</td>
<td style="width: 50.5255%;">
<p><span style="font-size: 12pt;">Postfix decrement operator indicates the expression is assessed first utilizing the original value of the variable, and then the variable is decreased(decremented).</span></p>
</td>
</tr>
</tbody>
</table>
<ul>
<li><span style="font-size: 12pt;">In an implementation, when we require to change the initial value of the variable by 1, then go for increment/decrement operators. I.e &ldquo;++,--&ldquo;</span></li>
<li><span style="font-size: 12pt;">When we are working with increment/decrement operator the difference b/w existing value and a new value is +1 and -1 only.</span></li>
<li><span style="font-size: 12pt;">Depending on the position, these operators are classified into two types.</span></li>
</ul>
<p><span style="font-size: 12pt;">i.e pre &amp; post operators.</span></p>
<ul>
<li><span style="font-size: 12pt;">When the symbol is available before the operand, then it is called pre-operator, if the symbol is available after the operand, then it is called post operator</span></li>
<li><span style="font-size: 12pt;">When we are working with pre operators, data need to be modified before evaluating the expression</span></li>
<li><span style="font-size: 12pt;">When we are working with post operators, data need to be modified after evaluating the expression</span></li>
</ul>
<h3><span style="font-size: 12pt;">Syntax:- </span></h3>
<p><span style="font-size: 12pt;">First, increment the value of &ldquo;a&rdquo; by 1 and then evaluate the expression i.e,</span></p>
<p><span style="font-size: 12pt;"> b=1;</span></p>
<p><span style="font-size: 12pt;"> Int a,b; </span></p>
<p><span style="font-size: 12pt;">A=1; &nbsp;</span></p>
<h3><span style="font-size: 12pt;">Syntax1:</span></h3>
<p><span style="font-size: 12pt;">b=++a; </span></p>
<p><span style="font-size: 12pt;">pre-increment i.e b=a; </span></p>
<p><span style="font-size: 12pt;">o/p: a=2&nbsp; b=2</span></p>
<p><span style="font-size: 12pt;">First, evaluate the expression and then increment the value of &ldquo; a &ldquo; by 1</span></p>
<h3><span style="font-size: 12pt;">Syntax 2:-</span></h3>
<p><span style="font-size: 12pt;">b=a++, post-increment o/p: a=2&nbsp;&nbsp;&nbsp; b=1</span></p>
<p><span style="font-size: 12pt;">First, decrement the value of &ldquo;a&rdquo; by 1 and then evaluate the expression</span></p>
<h3><span style="font-size: 12pt;">Syntax 3: -</span></h3>
<p><span style="font-size: 12pt;">b=-a; pre decrement &nbsp; o/p : a=0 b=0.</span></p>
<p><span style="font-size: 12pt;">First evaluate the expression, later decrement the value of a by 1</span></p>
<h3><span style="font-size: 12pt;">Syntax 4:</span></h3>
<p><span style="font-size: 12pt;">b=a - -, post decrement B=1, a=0</span></p>
<pre class="language-javascript"><code>Void main()
{

Int a;

A=10;

++a; || a=a+1;

Printf(&ldquo;a=%d&rdquo;,a);

}

o/p: a=11  </code></pre>
<pre class="language-javascript"><code>void main()
{

Int a;

A=10;

A++; || a=a+1;

Printf(&ldquo;a=%d&rdquo;,a);

}

o/p: a=11  </code></pre>
<p><span style="font-size: 12pt;">Until we are not assigning the data to any other variable, there are no difference b/w pre and post operators.</span></p>
<pre class="language-javascript"><code>Void main()
a=++a   +   ++a  +  ++a
{  

=a+a+a Int a;  

a=4+4+4 A=1; 

all should be evaluated at a time

A=++a + ++a + ++a;

Printf("a=%d&rdquo;,a);

}

o/p: 12  </code></pre>
<table>
<tbody>
<tr>
<td width="308">
<ol>
<li><span style="font-size: 12pt;">(&nbsp; )</span></li>
<li><span style="font-size: 12pt;">+,-,!,++,-- pre</span></li>
<li><span style="font-size: 12pt;">*,/,%</span></li>
<li><span style="font-size: 12pt;">+,-</span></li>
<li><span style="font-size: 12pt;">&lt;,&gt;,&lt;=,&gt;=</span></li>
<li><span style="font-size: 12pt;">==,!=</span></li>
<li><span style="font-size: 12pt;">&amp;&amp;</span></li>
<li><span style="font-size: 12pt;">||</span></li>
<li><span style="font-size: 12pt;">?:</span></li>
<li><span style="font-size: 12pt;">=</span></li>
<li><span style="font-size: 12pt;">++,--,post</span></li>
</ol>
</td>
<td width="308">&nbsp;</td>
</tr>
</tbody>
</table>
<p><span style="font-size: 12pt;">&nbsp; &nbsp;</span></p>
<pre class="language-javascript"><code>Void main()
a=++a + a++   +     ++a

{   

a= a+a+a Int a; 

3+3+3 A=1;  

9 A=++a +a ++ + ++a;

Printf(&ldquo;a2%d&rdquo;,a);

}

A=10;  </code></pre>
<pre class="language-javascript"><code>Void main()
{

Int a;

A=1;   

a+a+a A=a++   +   ++a   +  a++; 

2+2+2 

 a=6 Printf(&ldquo;a=%d&rdquo;,a);

   =6     a++ =7 o/p: a=8;   

and a++ - 7+1=8  

} </code></pre>
<pre class="language-javascript"><code>void main() a b
{     

10   11   

 a=a++  +  ++b Int a,b;  

 a=a+b A=b=10; 

  a=10+11 A=a++   +    ++b;

a=21    a++=a22 B=++a    +   b++;   

 a=23  b=11 Printf ("a=%d b=%d, a, b&rdquo;); 

 b=++a   +  b++

} 

23+11 B=34       b++ B=35.  </code></pre>
<p>&nbsp;</p>
<pre class="language-javascript"><code>Void main()
{   

 a=1   b=3 Int a,b; 

a=a-b+a A=1; b=3;    

a=1 -2+2 A=a++ - - - b+   ++a; 

a=1 B=++b + - -a   - a++;  

  b=b+ a &ndash;a 3+1-1 B=3+1=4 A      

b  a=3 2 b= 2 3 1 3    3 2                                

b=++b  + - -a  -a++

A=a++ -  - -b+  ++a                 

b+a-a A=a-b+a                                 

3+2-2 2-2+2                                 

b=3 A=2 ++a=3  

}</code></pre>
<pre class="language-javascript"><code>Void main() a       b       c
{                                              

12     2 1    3 2 Int a,b,c;                                

a=a-b+c A=1;b=2;c=3;                             

2-2+2 A=++a   -b - - + - -c;               

a=2 B=a -- + b++ -c- -;                   

a=1 C=a++ - ++b  +  c++;

Printf(&ldquo;a%d b=%d c%d&rdquo;,a,b,c);     

a        b       c 2 1    1 2    2 1 A=2 A=1 A      

b       c 2 1    1 2    2 1   a        b       c 1       2       1                          

b=a- -  +b++ -c - - 2       3       0                               

a+b-c 2+1-2 C=a++  

++b   +   c++ a &ndash; b + c 1-3+1

C=-1 C+2=-1+1 A=2,  b=3,  c=0        </code></pre>
<pre class="language-markup"><code>Void main()
{

Int a,b,c; A=1;

b=2;c=3;

a=++a &ndash; b- - + - - c;

b=a- -  + b++ - c- -;

c=a++ - ++b  + c++;

printf(&ldquo;a=%d b=%d  c=%d  &rdquo;,a,b,c);  

a        b       c                          

b=a- - + b++  - c- - 1 2    2 3    1 0                          

a+b-c C=a++  - ++b  +  c++;                 

2+1-2 a-b+c 1-3+1 C=-1 A=2,b=3,c=0  </code></pre>
<pre class="language-javascript"><code>Void main() a b       c
{                                                       

2 3    4 3    6 7 Int a,b,c;                                        

a= a &ndash; b + c A=2 , b=4.  C=6;                                   

3 &ndash; 3  + 6 A=++a  -  - -b + c++;                           

a=6 B=a++ -b+++ - - c;                             

a=6 7        b=3   c=7 6

C= - -a + ++b -++c;

Printf(&ldquo;a %d b=%d c=%d b=a,b,c&rdquo;);

a &ndash;  b  +    c 6 -  3  +    6  

A                 b                 c 7 6              10               6 10  

C   =  a  +   b   &ndash; 7 6  + 11   -7

C =  9                   c++=10

A=6             b=11           c=10    </code></pre>
<pre class="language-javascript"><code>Void main()
{

Int a; A=10;

Printf(&ldquo;%d   %d   %d&rdquo;, ++a, a++,  ++a );

}

  o/p: 13 11 11  </code></pre>
<p><span style="font-size: 12pt;">When we are working with printf() f&rsquo;n always it executes towards from right to left because it works with the help of stack.</span></p>
<p><span style="font-size: 12pt;">In print f&rsquo;n data need to be pass towards from right to left and data need to be point towards from left to right</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp;</span></p>
<pre class="language-javascript"><code>Void main()
{

Int a;

A=100;

Printf(&ldquo; %d %d      %d   &rdquo;, a++,++a,a++);

Printf(&ldquo;na=%d&rdquo;,++a);

}

o/p : 102   102   100 a=104  </code></pre>
<pre class="language-javascript"><code>void main()
{

Int a;

A=5;

Printf(&ldquo;%d %d  %d&rdquo;, ++a,++a,++a);

}

o/p: 8 7 6        </code></pre>
<pre class="language-javascript"><code>void main()
{

Int  a;

A=10;

Printf(&ldquo;%d  %d  %d&rdquo;, a++,a++,a++);

Printf(&ldquo;n a=%d&rdquo;,a);

o/p: 12 11 10 a=13  </code></pre>
<pre class="language-markup"><code>void main()
{

Int a;

A=15;

Printf(&ldquo;%d  %d  %d&rdquo;,++a,++a);

}</code></pre>
<pre class="language-javascript"><code>Void main()
{

Int a; A=5;

Printf(&ldquo;%d  %d  %d&rdquo;, ++a,a=10,++a);

o/p: 11   10   6  </code></pre>
<pre class="language-javascript"><code>void main()
{

Int a,b;

A=1;

B=++a * ++a * ++a;

Printf(&ldquo;a=%d b=%d&rdquo;,a,b);  </code></pre>
<pre class="language-javascript"><code>Void main()
{

Int a,b;

a=1;

b=++a*a++*++a;

printf(&ldquo;a=%d  b=%d&rdquo;,a,b);

}  

b=a*a*a

b=3*3*3

b=27 a=4     </code></pre>
<h3><span style="font-size: 12pt;">&nbsp;</span></h3>
<pre class="language-javascript"><code>void main()
{

Int a,b;

A=1;

B=a++ - ++a  *a++;

Printf(&ldquo;a=%d b=%d&rdquo;,a,b);

}

A=4,b=8  </code></pre>
<pre class="language-javascript"><code>Void main()
{

Int a,b;

A=1;

B=a++ - a++  * a++;

Printf(&ldquo;a=%d b=%d&rdquo;,a,b);

}

o/p : a=4, b=1   b=a*a*a a   1*1*1 b=1 a=4  </code></pre>
<pre class="language-javascript"><code>void main()
{

Int a; A=1;

Printf(&ldquo;n%d&rdquo;,++a * ++a * ++a);

// case1 A=1;

Printf(&ldquo;n%d&rdquo;,++a * a++ * ++a); 

//case2 A=1;

Printf(&ldquo;/n%d&rdquo;,a++ * ++a * a++); 

//case 3 A=1;

Printf(&ldquo;n%d&rdquo;,a++ * a++ * a++);

// case 4 A=1;

Printf(&ldquo;n%d&rdquo;, ++a * a++ * a++);

// case 5 A=1;

Printf(&ldquo;n%d&rdquo;,a++ * a++ * ++a);

// case 6 A=1;

Printf(&ldquo;n %d&rdquo;,++a*++a*a++);

// case 7

}  

Case1 : 2*3*4=24                 

case 5         2*2*3=12

Case2: 2*2*4=16                  

case 6         1*2*4=8

Case 3: 1*3*3=9         

case7:        2*3*3 =18

Case 4: 1*2*3=6  </code></pre>
<ul>
<li><span style="font-size: 12pt;">Generally, the expressions can be evaluated in two locations. Ie register &amp; stack</span></li>
<li><span style="font-size: 12pt;">When we are working with register evaluation, then it works according to the priority. Ie pre-operator having the highest priority than the post operator.</span></li>
<li><span style="font-size: 12pt;">In register evaluation, data need to be substituted after modifying all pre value only.</span></li>
<li><span style="font-size: 12pt;">In stack evaluation, pre &amp; post operators both contain the same priority, and data need to substitute at the time of evaluation of the expression.</span></li>
<li><span style="font-size: 12pt;">When we are placing an expression outside of points then it should be evaluated according to register, within the printf should be evaluated according to stack.</span></li>
</ul>
<p style="text-align: right;"><span style="font-size: 12pt;">[Explore: <a href="https://tekslate.com/explain-different-types-pointers-c-language" target="_blank"><em><strong><span style="color: #236fa1;">Types of Pointers in C</span></strong></em></a>]</span></p>
<p><span style="font-size: 12pt;">&nbsp; Program: </span></p>
<pre class="language-javascript"><code>Void main()

{

Int a,b;

A=b=1;

Printf(&ldquo;n %d %d&rdquo;, ++a * ++b, a++ * b++);

A=b=2;

Printf(&ldquo;n %d %d&rdquo;, ++a + b++ a++ , +  ++b );

Printf(&ldquo;n %d  %d&rdquo;, - -a * ++b, ++a * - -b);

}  </code></pre>
<ul>
<li><span style="font-size: 12pt;">When we are passing more than one expression in printf then data needs to be evaluated from right to left, if the single argument is there then data need to be substituted towards from left to right.</span></li>
</ul>
<p><span style="font-size: 12pt;">&nbsp;</span></p>
<pre class="language-javascript"><code>Void main()
{

Int a;

A=printf(&ldquo;welcome&rdquo;);

Printf(&ldquo;n a=%d&rdquo;,a);

}  

o/p:  welcome a=7  </code></pre>
<pre class="language-javascript"><code>void main()
{

Int a;

A=printf(&ldquo;%d hello %d&rdquo;,1-,20);

Printf(&ldquo;na=%d&rdquo;,a);

}</code></pre>
<p><span style="font-size: 12pt;"> When we are working with printf f&rsquo;n it returns an integer value i.e total number of characters printed on the console. &nbsp; &nbsp; &nbsp;</span></p>
<pre class="language-javascript"><code>Void main()
{

Int a;

A=printf(&ldquo; %d Hello %d&rdquo;,10,200);

Printf(&ldquo;n a=%d&rdquo;,a);

}

o/p: 10 Hello 200

a=12(2(0)+1(5)+5(Hello)+1(5)+3(200))  </code></pre>
<pre class="language-javascript"><code>void main()
{

Int a;

A=printf(&ldquo;n welcome %d&rdquo;);

Printf(&ldquo;NarreshIT&rdquo;);

Printf(&ldquo;n a=%d &rdquo;,a);

}  

o/p :  Naresh IT welcome 9 a=w(1(n) ++ (welcome +1(s) + 1(0));  </code></pre>
<p><span style="font-size: 12pt;">According to behavior of the printf always it executes towards from right to left thats why when we are working with nested printf towards from right side first printf always executes first &nbsp;</span></p>
<pre class="language-javascript"><code>void main()
{

Int a;

a= printf(&ldquo;three %d n&rdquo;); printf(&ldquo;two %d n&rdquo;);

printf(&ldquo;one %d n&rdquo;); printf(&ldquo;a=%d&rdquo;,a);

} o/p: one  two  three  a=7  </code></pre>
<pre class="language-javascript"><code>void main()
{

int a;

a= printf(&ldquo;onen&rdquo;) + printf(&ldquo; two n&rdquo;) + printf (&ldquo;threen&rdquo;); printf(&ldquo;a=%d&rdquo;,a);

}

o/p : one two three a=14    </code></pre>
<pre class="language-javascript"><code>void main()
{

int a;

a=printf(&ldquo;n one&rdquo;) + printf(&ldquo;n two&rdquo;) * printf(&ldquo;n three&rdquo;);

printf(&ldquo;a=%d&rdquo;,a);

}

o/p: two three one </code></pre>
<h3><span style="font-size: 12pt;">&nbsp;</span></h3>
<pre class="language-javascript"><code>void main()
{

int a;

a=2&lt;5 ! printf(&ldquo;NIT&rdquo;);

printf(&ldquo;welcome&rdquo;);

printf(&ldquo;n a=%d&rdquo;,a);

}

o/p : NIT a=3  </code></pre>
<pre class="language-javascript"><code>void main()
{

int a;

a= printf(&ldquo;wi&rdquo;) ? printf(&ldquo;BIF&rdquo;) : printf(&ldquo;welcome&rdquo;);

printf(&ldquo;n a=%d&rdquo;,a);

}

o/p: Hi bye a=3;  </code></pre>
<pre class="language-markup"><code>void main()
{

int a;

a= printf(&ldquo;Hi&rdquo;);

printf(&ldquo;BYE&rdquo;);

printf(&ldquo;n a=%d&rdquo;,a);

}

o/p: HIBYE Hello a=5;  </code></pre>
<pre class="language-javascript"><code>void main ()
{

int a,b,c;

c=scanf(&ldquo;%d%d&rdquo;, &amp;a, &amp;b);

printf(&ldquo;n a= %d b=%d c=%d &rdquo;,a,b,c);

}

// i/p values are 100 200

o/p : a=100 b=200 c=2  </code></pre>
<p><span style="font-size: 12pt;">when we are working with scanf f&rsquo;n it returns an integer value i.e total no.of i/p values provided by the user.</span></p>
<pre class="language-javascript"><code>void main()
{

int a,b,c; a=b=100;

c=scanf("%d %d %d&rdquo;,a,&amp;b);

printf(&ldquo;n a=%d b=%d c=%d,a,b,c&rdquo;);

}

//ip values are 500 600

o/p : a=100 b=600 c=2  </code></pre>
<ul>
<li><span style="font-size: 12pt;">The complete behaviour of the scanf will depend on the format specifier only not on the argument list.</span></li>
<li><span style="font-size: 12pt;">As a programmer, it is our responsibility to store the data properly by using &lsquo;&amp;&rsquo; symbol</span></li>
<li><span style="font-size: 12pt;">In scanf statement when we are not providing &lsquo;&amp;&rsquo; symbol for any variable then it will not update with new value.</span></li>
</ul>
<p><span style="font-size: 12pt;">&nbsp;</span></p>
<pre class="language-javascript"><code>void main()
{

int a,b,c;

a=10;

b=20;

c=scanf(&ldquo;%d %d  %d&rdquo;);

printf(&ldquo;n a=%d b=%d c=%d &rdquo;,a,b,c);

}  </code></pre>
<pre class="language-javascript"><code>Void main ()
{

Int a,b;

A==200*200/200;

B=200/200*200;

Printf(&ldquo;a=%d b=%d&rdquo;,a,b);

}</code></pre>
<p><span style="font-size: 12pt;">B=200/200*200 1*200 B=200 200*200=40,000 </span></p>
<p><span style="font-size: 12pt;">Range of integer =32767 40000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
<p><span style="font-size: 12pt;"> -32767 -32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p>
<p><span style="font-size: 12pt;">7232 7233 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p>
<p><span style="font-size: 12pt;">-25536 A=-25536/200; </span></p>
<p><span style="font-size: 12pt;">=-25536 *10 ^2= -12768* 10^2 =-127.68&nbsp; </span></p>
<p><span style="font-size: 12pt;">a=-127. 2 60000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
<p><span style="font-size: 12pt;"> -32768 -32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
<p><span style="font-size: 12pt;"> 27232 27233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
<p><span style="font-size: 12pt;">&nbsp;-5536&nbsp;&nbsp;&nbsp;</span></p>
<p><span style="font-size: 12pt;"> a=-5536/300 =-18.45=-18 &nbsp; &nbsp; &nbsp;</span></p>
<pre class="language-javascript"><code>Viod main()
{

Int a;

A=32767;

If (++a&lt;32767)

//-32768&lt;32767

Printf(&ldquo; welcome %d&rdquo;,a);

Else Printf(&ldquo;hello %d&rdquo;,a);

}

O/p : welcome-36768  </code></pre>
<pre class="language-javascript"><code>Void main()
{

Inta;

A=-32768;

If(--a&gt;-32768)

Printf(&ldquo;welcome %d&rdquo;,a);

Else Printf(&ldquo;Hello %d&rdquo;,a);

}

O/p: Welcome +32767  </code></pre>
<h3><span style="font-size: 12pt;">&nbsp; &nbsp;&nbsp;</span></h3>
<pre class="language-javascript"><code>void main()
{

Int a;

A=32767;

If(a++&gt;=32767)|| 32767&gt;32767

Printf(&ldquo;welcome %d&rdquo;,a);

Else Printf (&ldquo;hello %d&rdquo;,a);

}

O/p : Hello -32768  </code></pre>
<pre class="language-javascript"><code>Void main()
{

Inta; A=-32768;

If (a&agrave;-32768)

Printf(&ldquo;welcome %d:,a);

Else Printf(&ldquo;Hello %d&rdquo;,a);

} 

O/p:  Hello -32767.

</code></pre>
<p><strong><span style="font-size: 12pt; color: #e67e23;">Conclusion:</span></strong></p>
<p><span style="font-size: 12pt;">Increment and decrement operators are used in looping and decision making in programming like C, C++, Java, and javascript. You can increase and decrease the values of the variables by using these operators</span></p>
<p>&nbsp;</p>40:T5475,<h2><span style="color: #e67e23; font-size: 24px;">Snowflake Tutorial</span></h2>
<p>In the current era of Living,&nbsp; we see that the organization holds large volumes of data. Managing large volumes of data has become a tedious job these days. The organizations are looking forward to the best data warehouse platforms to achieve their objectives and goals efficiently. &nbsp; Many data warehousing platforms are available in the market. However, Snowflake has got its own reputation for its unique features, which help organizations and their users reach success in a short span of time. Snowflake is called a cloud-based data warehouse platform that is explicitly built on the top of Amazon Web Services or AWS. Snowflake cloud data warehousing platform is said to be a software as a service offering.&nbsp; In this tutorial, you will gain an understanding of Snowflake, its architecture, advantages and many more. &nbsp; You will also gain an understanding of the different features which make Snowflake a leader in the market. Let's get started.</p>
<p>&nbsp;</p>
<h3 dir="ltr"><span style="color: #e67e23; font-size: 24px;"><a id="data-warehouse"></a>What is a Snowflake data warehouse?</span></h3>
<p>A snowflake data warehouse is referred to as the data storage and analytic service, which is built on the cloud, Unlike the other data warehouses. Snowflake allows businesses or organizations to analyze and store the data by using cloud-based tools. It is called the first analytics service designed to run on different providers like Google Cloud platforms, <span style="color: #236fa1;"><a style="color: #236fa1;" title="Azure Tutorial" href="https://tekslate.com/microsoft-azure" target="_blank">Azure</a>,</span> AWS, etc.&nbsp;</p>
<p>The snowflake data warehouse does not require any hardware or software installed or managed or configured and completely based on thef cloud-based infrastructure. Snowflake service is ideal for developing their applications, data science, data engineering, data warehouse and many more. Snowflake is called the fastest-growing application because of its unique features, allowing it to analyze the data quickly. Snowflake has developed features and architecture, including data sharing facilities and virtual data warehouses, to manage large volumes of workload in day-to-day operations.</p>
<p>Snowflake is a platform that allows the data storage and passing along with the analytics of the data in a faster and flexible way when compared to the other traditional offerings that are available in the market. The snowflake data warehouse on the data platform is not specifically built on the existing database Technology but also is flexible to combine with a completely new SQL Query engine. Snowflake is one platform that provides users with all the functionalities required for an enterprise analytic database and some unique capabilities and flexibilities.</p>
<table style="border-collapse: collapse; width: 100.018%; height: 36.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 36.0374px;">
<td style="width: 98.2451%; height: 36.0374px; text-align: center;"><em>Do you want to master Snowflake? Then enroll in<a title="Snowflake Training" href="https://tekslate.com/snowflake-training" target="_blank"><strong> <span style="color: #236fa1;">"Snowflake Training"</span></strong></a> This course will help you to master Snowflake</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 24px;"><a id="unique"></a>Why is Snowflake unique?&nbsp;</span></h3>
<p>When compared with&nbsp; The Other traditional data warehouses, Snowflake is known for its cloud cloud-based data warehouse, which includes the separation of the compute layer and storage layer, &nbsp; which will also allow each of them to be scaled independently within the given reasonable or cost-effective price.&nbsp; In Snowflake, you will be paying only for the capacity and the performance that you use. Most of the other traditional or different data warehouses will also process the same features; however, Snowflake customers have given a better review stating that they have chosen Snowflake for its scalability, which is one of the essential features.</p>
<p>Let us have a brief understanding of the architecture of Snowflake and how it works.</p>
<p>&nbsp;</p>
<h3 dir="ltr"><span style="color: #e67e23; font-size: 24px;"><a id="architecture"></a>Architecture of Snowflake</span></h3>
<p>As mentioned earlier, Snowflake is built on the cloud, which has come up with a unique multi-clustered shared architecture.&nbsp; As every organization looks for the features like high performance, elasticity and concurrency, Snowflake is found to be the best among the data warehouses available in the market. It is flexible to provide all different activities like resource management, data protection, availability, authentication, etc. Snowflake includes the compute, storage and global service layers, which are logically integrated but are physically integrated.</p>
<p>Snowflake makes use of the shared disk architectures, which utilize multiple nodes for accessing the shared data on a single system. The shared architecture follows the process of sharing the part of the data in each data warehouse node. &nbsp; Snowflake can process the queries using the massively parallel processing computer clusters in which every node in the cluster will store some part of the entire data set locally.</p>
<p>&nbsp;Snowflake Data warehouse consists of three different layers in the snowflake architecture. They are:</p>
<ul>
<li>Database storage</li>
<li>Query processing</li>
<li>Cloud services</li>
</ul>
<p>Let me give you a brief explanation of each layer in the snowflake architecture.</p>
<p><em><strong>1. Database storage:&nbsp; </strong></em></p>
<p>All the data is stored in the database in Snowflake. A database is referred to as the grouping of the objects logically, consisting of the tables and views that can be further classified into one or more <a href="https://tekslate.com/types-schemas-data-warehouse-star-snowflake" target="_blank" rel="noopener">schemas</a>.&nbsp; The Snowflake allows storing any kind of data, which can be either structured or unstructured data, and stores all the tasks related to the data, which are handled through the SQL query operations. Snowflake is responsible for managing all the activities on how the data is stored. It makes sure that Snowflake completely handles the file structure, compression, statistics, and other aspects of the data storage.</p>
<p><em><strong>2. Query processing: </strong></em></p>
<p>In this layer of query processing, Snowflake is responsible for processing the queries using CS, which makes use of the virtual warehouse consisting of the data that is present in the storage layer.&nbsp; They will be separately run to not share or complete the data warehouses with the other resources.&nbsp; Virtual warehouses are specifically used to run queries and data loading and also provides it support and flexibility to perform both of these tasks simultaneously. A virtual warehouse is allowed to be scaled up or down.</p>
<p><em><strong>3. Cloud services: </strong></em></p>
<p>The Cloud Service layer is responsible for coordinating in handling the services in Snowflake, including encryption, SQL compilation, sessions, etc. It is also responsible for eliminating or removing the manual data warehousing and tuning requirements. Below is a list of services that are included in the Cloud Service layer.</p>
<ol>
<li>Authentication</li>
<li>Infrastructure management</li>
<li>Metadata management</li>
<li>Query parsing and Optimisation</li>
<li>Access control</li>
</ol>
<p>All the services and layers are independently scaled and redundant with each other. &nbsp; To understand better how the different layers work together you need to have an idea about the life cycle of a&nbsp; query.&nbsp;</p>
<p>Once the Snowflake is connected using any one of the supported clients and the session is started, then the first virtual warehouse will submit a query.&nbsp; The service here will verify if this is unauthorized access or not in the database. Once authentication is done, it will execute the operations defined in the query and create an optimized query plan. The next step is with a service layer that will send the query execution instructions to the virtual warehouse and is responsible for allocating the resources. This is because any data from the storage layer will be responsible for executing the query. All the results obtained will be then returned to the user.</p>
<table style="border-collapse: collapse; width: 100.012%; height: 40.5047px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 40.5047px;">
<td style="width: 98.4573%; text-align: center; height: 40.5047px;"><em>Read these latest <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Snowflake Interview Questions" href="https://tekslate.com/snowflake-interview-questions" target="_blank">Snowflake Interview Questions</a></strong></span> that help you grab high-paying jobs</em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 24px; color: #e67e23;"><strong><a id="features"></a>Snowflake Features:</strong></span></h3>
<p>Along with unique architecture, Snowflake has come up with extensible features that have improved demand for the platform in a short span of time. I will give you a briefing about the different features available in Snowflake.</p>
<p><em><strong>1. Availability: </strong></em></p>
<p>The snowflake architecture is designed to support the fully distributed and plans across the globe in the different availability zones and regions. Snowflake is also highly faulted tolerant to the failures that arise in the hardware. The number of users who face issues or notice the impact of the failures in the hardware is very less.&nbsp;</p>
<p><em><strong>2. Security: </strong></em></p>
<p>security is one of the important aspects of Snowflake architecture. In the snowflake architecture, data encryption takes place when the data is in transit and rest as well. Snowflake utilizes different authentication mechanisms that include federated authentication with support for single sign-on access and also two-factor authentication. &nbsp; The security feature in Snowflake includes role-based access control so that it provides the authenticated users to access the data rather than everyone. It has come up with the capabilities to restrict the users based on the predefined criteria.&nbsp; Snowflake is also compatible to work with the host of certifications like socl2 type 2 and also HIPAA.</p>
<p><em><strong>3. Multi-cloud: </strong></em></p>
<p>Snowflake the only latest platform, Unlike the traditional offerings that are available in multiple clouds with the best User experience and keeping up the value of customers. Snowflake allows its users to be more comfortable using the clouds as and when required. It also helps in reducing the moving data back and forth from the cloud environment to Snowflake using the internet. Snowflake is available on different environments of platforms like Microsoft Azure, Google Cloud and Amazon Web Services.</p>
<p><em><strong>4. Pricing: </strong></em></p>
<p>Snowflake offers the best pricing, which is reasonable and simplified, providing a positive experience to the users. Users will be allowed to pay only for the stories they use and the computing power deployed to process the request. There will not be any sort of class involved or extensive planning required to start with the data warehouse initiation. Snowflake architecture includes clusters that automatically help process the work clothes and scale down to the predefined size. Uses will be built based on the usage of capacity that they are actually used and also for the expanded capacity based on the duration.</p>
<p><em><strong>5. Scalability and performance: </strong></em></p>
<p>As per the latest update, we see that there is a high demand for Snowflake for the performance capability and scalability that holds. As Snowflake follows architecture in which compute and storage are separately treated, Snowflake has paved the way to minimize or eliminate the bottleneck that is associated with the Other Technologies, specifically the traditional offerings. Users will be allowed to start by providing the cluster size for initial deployment and will also be allowed to scale as and when required when the system is up and running. Snowflake will handle the scaling operations transparently.</p>
<p><em><strong>6. Near Zero administration: </strong></em></p>
<p>Snowflake is flexible in removing the management constraints and is a cloud-native data warehousing platform.&nbsp; Snowflake is designed in such a way that the performance level will be represented at a high level and will also lead to the elimination of the administration overhead. Based on the demands of the workload, the database will be managed entirely and scale automatically. Snowflake also includes the capability to build performance tuning, Optimisation capabilities, and infrastructure management, which will help the business live in peace. The only thing that needs to be done is to bring the data and leave the data and its management to Snowflake.</p>
<p>&nbsp;</p>
<p><span style="color: #e67e23; font-size: 20px;"><strong><a id="collaboration"></a>Collaboration and sharing:</strong></span></p>
<p>snowflake has come up with one of the essential features, which are sharing in collaborating with the data owners. It allows the data owners to share the relevant data with the different partners and consumers.&nbsp; There is no need to create a new copy of the data. There is no utilization of storage or data movement, and the consumer will only pay for the processing of the data. It also helps remove the hurdles involved in email or FTP by using the sharing features available in Snowflake.</p>
<p>&nbsp;</p>
<p><span style="font-size: 20px; color: #e67e23;"><strong><a id="connecting"></a>Connecting to Snowflake:</strong></span></p>
<p>Snowflake is designed in such a way that it is compatible to be connected with the other services in many different ways. Below are the few sets of options or services to which Snowflake can be connected.</p>
<ol>
<li>Odbc and JDBC drivers</li>
<li>Native connectors</li>
<li>Command-line clients</li>
<li>Third-party characters such as business intelligence tools and ETL tools.</li>
</ol>
<p dir="ltr">&nbsp;</p>
<p dir="ltr"><span style="color: #e67e23;"><strong><span style="font-size: 20px;"><a id="loading"></a>Loading of data in Snowflake:</span></strong></span></p>
<p>In the section, you will learn about the fundamentals of loading the data into Snowflake. Snowflake is flexible to support four different options to perform data loading.&nbsp; They are:</p>
<ol>
<li>Snow SQL for bulk loading</li>
<li>Snowpipe in order to automate the bulk loading of data</li>
<li>Webui for limited data</li>
<li>Third-party tools to load the bulk amount of data from external sources.</li>
</ol>
<p>Let me give you a brief description of each type of loading available supported by Snowflake.</p>
<p><em><strong>1. Snow SQL for bulk loading:</strong></em></p>
<p>Firstly we need to know that the bulk loading of data will be performed in two different phases. They are Staging files and loading data.</p>
<p>Staging the files: the first phase of bulk loading of data is Staging files. Staging files usually refers to uploading the data files to a particular location where the Snowflake can be allowed to access. The next step is to load the data from stage files into tables. The Staging of files happens on some internal locations, which are called Stages in Snowflake. In order to provide secure storage of data files without any dependency on the external locations, the internal stages are used.</p>
<p>Loading the data: in order to load the data, a virtual warehouse is required to load the data into Snowflake. The warehouse is responsible for extracting the available data in each file and inserting it in the form of rows in the table.</p>
<p>In the snow SQL type of bulk loading in Snowflake, the CSV files will be loaded from the word local machine into a contact table. The same name will be used in internal Staging to store the files before performing the loading of the data.</p>
<p><em><strong>2. Snowpipe: </strong></em></p>
<p>Snowpipe can also be used to perform the loading of the data in which this specifically from the files stage in the external locations.&nbsp; Snowpipe makes use of the copy command, which has come up with some additional features and will allow you to automate the process. It also makes use of the external computer resources in order to load the data continuously and also help in eliminating the requirement of a virtual warehouse.</p>
<p><strong><em>3. Third-party tools: </em></strong></p>
<p>In order to perform the loading of data, third-party tools like ELT can be used.&nbsp; Snowflake provides extensible support to expand the scope of the ecosystem of applications and services in order to load the data from a wide range of external sources.</p>
<p><em><strong>4. Web interface: </strong></em></p>
<p>The web interface is the only last option that is available for loading the data. In the web interface type of loading, you will need to select the table that you want to choose and then click on the load button. Once you click on the load button, you will be allowed to load a limited amount of data into Snowflake. The web interface type of learning will help in simplifying the loading activity as it combines both the Staging and loading of data into a single operation and is also flexible in removing or deleting the files once the loading is completed</p>
<p>&nbsp;</p>
<h3><span style="color: #e67e23; font-size: 24px;"><a id="benefits"></a>Benefits of Snowflake</span></h3>
<p>Unlike the traditional offerings or the traditional data warehouses, Snowflake is the cloud-based data warehouse that has multiple unique features and benefits.&nbsp; A few of the benefits are listed&nbsp; below:</p>
<p><em><strong>1. Simple and friendly to use: </strong></em></p>
<p>Snowflake has a simple interface that is easy to understand and allows you to load the data and process the data quickly. It is also flexible and provides support to solve the queries or issues that arise using the exceptional multi-cluster architecture.</p>
<p><em><strong>2. Data sharing: </strong></em></p>
<p>Snowflake has come up with a unique architecture and includes seamless data sharing required for any customer.</p>
<p><em><strong>3. Support multiple formats: </strong></em></p>
<p>Snowflake is designed to work or be compatible with multiple formats like JSON,&nbsp; XML, etc. It is flexible to run with any kind of data that can be either structured, semi-structured or unstructured data and help address the issues that arise by handling the incongruent data types that exist, in particular a single data warehouse.</p>
<p><strong><em>4. Availability of tools: </em></strong></p>
<p>Snowflake is compatible to work with different tools like Power BI, Tableau, etc. It is providing it extensible support by allowing you to run the queries against large sets of data.</p>
<p><em><strong>5. Scalability: </strong></em></p>
<p>Snowflake has come up with the instant data sharing or data scaling feature, which allows you to handle the concurrency portal next that arises during the period when there is high demand. It allows you to perform the scaling of the data without redistributing the data, which could be one of the interruptions to the end-users.</p>
<p><em><strong>6. Performance and speed: </strong></em></p>
<p>As Snowflake is a cloud-based data warehouse, if you stick to the cloud's elastic nature, it will allow you to load the data quickly and run the large volumes of data or queries faster. It also provides you with the flexibility to scale the virtual warehouse up and down to take advantage of the benefit of using the extra computer resources and make the payment for that time you have used. Snowflake provides the users with the best outcomes by ensuring that the query processing is taking place at an optimal rate.</p>
<p><em><strong>7. Flexibility and elasticity: </strong></em></p>
<p>As customer value and customer satisfaction is one of the prominent aspects, Snowflake is making wonders by offering the highest accessibility,&nbsp; elasticity, flexibility, etc.&nbsp; Snowflake specifically allows the user to use both the query services and the warehouse services in the same data lake. Compared with the other offerings available in the market, Snowflake is known for the usage,&nbsp; being said, it is more flexible,&nbsp; and it can be used whenever it is required based on the requirements.</p>
<p>&nbsp;</p>
<h3><span style="font-size: 20px; color: #000000;"><strong>Conclusion:</strong></span></h3>
<p>As of 2023,&nbsp; there is a high demand for cloud-based products, cloud data warehouses, which have become more popular based on the customer value and customer satisfaction that they are offering. Snowflake is referred to as one of the effective tools that will help manage the data Over The Other traditional offerings available.&nbsp; Utilizing and implementing Snowflake or incorporating Snowflake into your business can help you improve your business performance and efficiently achieve your goals. I hope the above information has helped you in gaining knowledge of Snowflake.</p>41:T6834,<p>&nbsp;</p>
<h2 dir="ltr"><span style="font-size: 14pt; color: #e67e23;">Openshift Interview Questions and Answers</span></h2>
<p>Are you preparing for an Openshift Job interview? Then you need frequently asked Openshift Interview Questions and Answers to clear and acquire your dream job.&nbsp;Tekslate experts compiled the Top 30 Openshift Interview Question and Answers that help you to clear the Openshift Interview.&nbsp;</p>
<div style="border-radius: 3px; background-color: #eaecf1; padding: 0 0 10px 0; margin-bottom: 20px;">
<p><span style="font-size: 13pt; color: #ffffff; padding: 10px 20px; font-weight: 600; text-align: center; border-radius: 3px; display: block; background-color: #008e81;">&nbsp;Categories of Openshift Interview Questions</span></p>
<ul>
<li style="text-align: justify;"><span style="font-size: 12pt;"><strong><span style="font-family: georgia, palatino, serif;"><strong style="color: #000000;"><a href="#scenario">Openshift Simple Interview Questions</a></strong>&nbsp;</span></strong></span></li>
<li style="text-align: justify;"><span style="font-size: 12pt; font-family: georgia, palatino, serif;"><strong><a href="#advanced">Openshift Technical Interview Questions</a></strong></span></li>
</ul>
</div>
<h2 id="scenario"><span style="color: #236fa1; font-size: 14pt;">Openshift Simple Interview Questions</span></h2>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q1) What is Openshift?</span></h3>
<p><strong>Ans:</strong> Openshift is fundamentally a PC software product that is served by Red Hat. It is a cloud improvement administration and an open-source advancement stage for possible designers. The essentials of development and deployment of the applications over the cloud are led with Openshift.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q2) What is cloud computing?</span></h3>
<p><strong>Ans: </strong></p>
<ul>
<li>Cloud computing is supplying on-demand computing assets, from applications to server centers around the web.&nbsp;</li>
<li>Cloud computing has become the preferred method to send enterprise apps - and the selective decision for organizations to increase their infrastructure or propose new ideas.&nbsp;</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q3) What is Containerization?</span></h3>
<p><strong>Ans: </strong>A container picture is a lightweight, independent, executable bundle of a part of the software that incorporates all that is expected to run it: system libraries, code, settings, runtime.</p>
<ul>
<li>The advanced stage has fundamental segments for Linux containers. Today, a vigorous DevOps environment is introduced on the Docker outline in the most well-known Linux Container Format. Docker is a container open-source programming platform that makes application deployment easier and empowers containers for applications.&nbsp;</li>
<li>Containerization dependent on virtualization permits any application packaged in a container that can be run without any hassles like libraries.&nbsp;</li>
<li>They make such a disconnected parcel inside a solitary operating system.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q4) Differentiate Openshift and Docker?</span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li>The key distinction is that Docker is centered uniquely around the runtime container as a task. Simultaneously, OpenShift (as a framework) contains both the REST API and runtime container, web interface and coordination, management, and the deployment of individual containers.&nbsp;</li>
<li>OpenShift is more of a container arrangement deliberation layer. OpenShift utilizes Kubernetes inside for the organization of containers. For container coordination, While Docker has a docker swarm for container organization.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q5) Explain about gear in Openshift?</span></h3>
<p><strong>Ans:</strong> In terms of Openshift, isolated groups are called Gears. Gears perform the working of the application. Rather than a software product piece, the application is essentially performed by gears. Another significant term is a cartridge, which is fundamentally a build made up of reusable gears.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q6) What is meant by pods in Openshift?</span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li>Pods are what could be compared to a machine occurrence (physical or virtual) to a compartment. OpenShift uses the Kubernetes idea of a pod, which is at least one container conveyed together on one host. The littlest figure unit can be characterized, sent, and oversaw.&nbsp;</li>
<li>The Kubernetes booking unit is the Pod, a gathering of holders sharing a virtual organization gadget, interior IP address, TCP/UDP ports, and diligent stockpiling. A Pod can be anything from a complete endeavor application, including every one of its layers as a particular container, to a solitary microservice inside a solitary holder. Kubernetes oversees reproductions to scale units. An imitation is a bunch of cases having a similar definition. OpenShift regards companies as to a great extent unchanging; changes can't be made to a case definition while it is running.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q7) Explain about Openshift Enterprise?</span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li>OpenShift is the RedHat Cloud Development Platform (PaaS) administration. Its lead item is the on-premises OpenShift Container Platform as a help worked around Docker compartments coordinated and constrained by Kubernetes on a Red Hat Enterprise Linux base.&nbsp;</li>
<li>Free and open-source cloud-based stages permit designers to construct, test, and run their applications and send them to the cloud.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q8) Explain container Orchestration in Kubernetes?</span></h3>
<p><strong>Ans:</strong> While containers are compelling at the complicated work while launching a picture or application segment on a solitary facilitating environment, most present-day applications involve numerous segments that different length hosts could be in other geographic areas. This is the place where management and orchestration become a query.&nbsp;</p>
<p>For the most part, applications are developed independently of containerized segments/miniature service that should be overseen for the application to proceed right to form.&nbsp;</p>
<ul>
<li>Container coordination is the process of organizing or managing numerous containers in this style. For instance:&nbsp; Kubernetes, Docker Swarm, Marathon, and Mesos.&nbsp;</li>
<li>Kubernetes is an open-source stage at first created by engineers at Google, which mechanizes container activities. It permits you to fabricate application benefits that length various holders, plan those compartments across a bunch, scale those containers, and deal with those containers' soundness after some time. Kubernetes handles container organizations and coordination as a group supervisor by utilizing a decisive model that empowers the client to characterize their application needs.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q9) Explain about the Openshift Container Platform?</span></h3>
<p><strong>Ans:</strong> Let us know about what the OpenShift Container platform is&nbsp;</p>
<ul>
<li>RedHat OpenShift Container Platform is a PAAS present from RedHat, which was also known as OpenShift Enterprises.&nbsp;</li>
<li>It is an upheld conveyance of Kubernetes utilizing Docker containers and DevOps devices for accelerated application improvement.&nbsp;</li>
<li>Open Shift also permits you to have self-healing, auto-scaling, and high-available applications without any manual arrangement that would typically be done in a familiar environment, whether they're on-premise or in the public cloud.&nbsp;</li>
<li>OpenShift incorporates a full supplement of open-source programming dialects giving the multilingual decision to developers.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q10) What are the advantages of Openshift?</span></h3>
<p><strong>Ans:</strong> Following are the advantages of Openshift:&nbsp;</p>
<ul>
<li>It gives a container the executives stage to your complex IT organization.&nbsp;</li>
<li>Kubernetes is the business driving open-source container organization system, and the Red Hat OpenShift Container Platform is the primary endeavor conveyance of Kubernetes.&nbsp;</li>
<li>Empower your improvement group to zero in on planning and testing applications instead of investing excessive time in deploying and maintaining the containers.&nbsp;</li>
<li>It incorporates containerization for automatic-provisioning, continuous integration, multitenancy, self-service, and automatic application scaling for developers.&nbsp;&nbsp;</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q11) Define routes and services in Openshift?</span></h3>
<p><strong>Ans:</strong> A pod is comprising services and containers; subsequently, service in Openshift is a get together of coherent pods. The service is considered fundamentally as a REST object in Openshift. Routes are given in Openshift to externalize and investigate the services needed to reach the hostname remotely. It is achieved by utilizing the routes created by the admin commands.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q12) Enlist a few build strategies that are used in Openshift?</span></h3>
<p><strong>Ans:</strong> Following are the major build strategies used in Openshift:</p>
<ul>
<li>Custom Strategy</li>
<li>Source to image Strategy</li>
<li>Docker Strategy</li>
<li>Pipeline Strategy</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q13) Differentiate Openstack and Openshift?</span></h3>
<p><strong>Ans: </strong>The two of them are the original inception from open-source projects, and they similarly give Cloud Computing essentials. The significant distinction between them is that OpenStack provides a framework for administration or the structure 'IaaS.' It additionally provides object storage and blocks storage to the bootable virtual machine. Then again, Openshift performs unexpectedly.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q14) List out the most important features of Openshift?</span></h3>
<p><strong>Ans: </strong>Following are the prominent features of Openshift:</p>
<ul>
<li>It supports various databases and languages.&nbsp;</li>
<li>Agreeable towards the environment sustain.&nbsp;</li>
<li>It seriously gives a web console.&nbsp;</li>
<li>It gives remote debugging.&nbsp;</li>
<li>It has the capability of a rich command-line tool.&nbsp;</li>
<li>It helps to remote login to the application through SSH.&nbsp;&nbsp;</li>
</ul>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as Red Hat Openshift Developer? Then here is the blog post on, explore <a title="Red Hat Openshift Training" href="openshift-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>Red Hat Openshift Training</strong></span></a></em></p>
</blockquote>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q15) Give detailed information about Openshift Architecture?&nbsp;</span></h3>
<p><strong>Ans:</strong> OpenShift Container Platform is a bunch of modular services and segments mounted on top of Red Hat Enterprise Dockers, Kubernetes, and Linux. OpenShift adds Kubernetes abilities, includes increased security, remote management, self-service interface, multitenancy, application life-cycle management for developers.</p>
<p>In the following figure, going from left to right and downside to upside, the fundamental container foundation has appeared, enhanced and integrated by RedHat.&nbsp;</p>
<ul>
<li>The base Operating System is Red Hat Enterprise Linux (RHEL).&nbsp;</li>
<li>Docker gives the essential container management API and the container picture record form.&nbsp;</li>
<li>Kubernetes deals with a bunch of hosts (physical or virtual) that run containers. It works with assets that depict multi-container applications made out of numerous acquisitions and how they interconnect.&nbsp;</li>
<li>Etcd is a conveyed key-esteem store, utilized by Kubernetes to save configuration and state data about the containers and different assets inside the OpenShift group.</li>
</ul>
<p><br /><img src="https://lh6.googleusercontent.com/USOr7SMfywMlzJewWAZwMbElRwr4Ry5amj7HUlHdp6uqwThscDQ_ZirHtwm-b8gHcRDR8ayfNVhXbyt50E0gUKlG1gblWrUOs9EHPC_HhBQwpMHaWthVsGGFOKaRj2lM0i1V7z4F" alt="Red hat Openshift" width="501" height="306" /></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Q16) Explain about Openshift Deployment?</span></h3>
<p><strong>Ans: </strong>Deployment in OpenShift is a replication regulator dependent on a user-defined layout called a deployment arrangement. Deployments are composed or in response to triggered functions. The deployment framework gives the accompanying:&nbsp;</p>
<ul>
<li>A deployment arrangement is a layout for deployments.&nbsp;</li>
<li>Triggers that drive computerized organizations in response to occasions.&nbsp;</li>
<li>Client adaptable strategies to progress from the previous arrangement to the new deployments.&nbsp;</li>
<li>Rollbacks to preceding deployments.&nbsp;</li>
<li>Manual replication scaling.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q17) Explain the deployment strategies?</span></h3>
<p><strong>Ans: </strong></p>
<ul>
<li>An organization technique is an approach to change an application or to refresh it. The objective is to make progress such that the buyer scarcely sees the changes, without personal time. Utilizing a blue-green sending is the most standard method.&nbsp;</li>
<li>The new form (the blue variant) is being worked for testing and assessment, while the clients utilize the steady-state (the green). The clients are moved to the blue adaptation when it's accessible. You can return to the Green form if an issue happens.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q18) Explain the rolling strategy?</span></h3>
<p><strong>Ans: </strong>A moving rollout slowly replaces examples of an application's earlier form with cases of the application's present rendition. A rolling deployment typically trusts that new units will prepare through a status test until the old modules are downsized. The moving organization can be stopped if a problematic issue happens.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q19) Explain about the Canary Deployments?</span></h3>
<p><strong>Ans:</strong> All rolling organizations in OpenShift Origin are canary arrangements; it checks another adaptation (the canary) before supplanting all the old examples. Except if the availability test never works, at that point, the canary occasion and sending will be handicapped.</p>
<h2 id="advanced"><span style="color: #236fa1; font-size: 14pt;">Openshift Technical Interview Questions</span></h2>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q20) Explain about Openshift Online?</span></h3>
<p><strong>Ans: </strong>OpenShift Online is an OpenShift people group administration that permits one to make, convey, and scale containerized applications on the public cloud rapidly.&nbsp;It is the turn of events and facilitates the foundation of Red Hat's public cloud stage, which empowers automated provisioning, the board, and application scaling to help designers focus on the advancement of system rationale.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q21) Explain about DevOps?</span></h3>
<p><strong>Ans:</strong> DevOps assist associations with reacting a more agile way of changing business prerequisites by:&nbsp;</p>
<ul>
<li>Computerizing and observing the cycle of programming creation, from a mix, testing, delivering to sending, and overseeing it.&nbsp;</li>
<li>Smoothing out the turn of events and delivery pipeline&nbsp;</li>
<li>Expanding the deployment recurrence.</li>
<li>Decreasing the advancement cycles.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q22) What is meant by PaaS?</span></h3>
<p><strong>Ans: </strong>As the name proposes, PaaS (Platform as a Service) gives you processing stages, which typically incorporate the working framework, programming language execution climate, information base, web worker, and so on.&nbsp;</p>
<ul>
<li>The advantage of Cloud processing is the operational talent given by the Cloud stage in which we don't need to stress over the IT framework, and we can zero in on building our applications.&nbsp;</li>
<li>In PaaS, the shopper can convey applications utilizing programming dialects, libraries, administrations, and instruments upheld by the supplier onto the cloud foundation.&nbsp;</li>
<li>The purchaser doesn't oversee or control the hidden cloud foundation, including network, workers, working frameworks, or capacity. However, it has power over the sent applications and perhaps set up settings for the application-facilitating environment.&nbsp;</li>
<li>PaaS began from a shared IT administration model wherein different occupants ran applications on shared frameworks&nbsp;</li>
<li>Containerization is a capacity to virtualize the Operating System (OS) assets rather than the hidden equipment while it sits straightforwardly on top of the uncovered meta.&nbsp;</li>
<li>For Example, Azure's Cloud Services, Amazon Web Services (AWS's) Elastic Beanstalk, Google's App Engine</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q23) What is the use of DevOps tools?</span></h3>
<p><strong>Ans:</strong> DevOps tools virtually satisfy a large portion of the prerequisites essential in the typical programming conveyance. These are as per the following:&nbsp;</p>
<ul>
<li>Improved deployment recurrence&nbsp;</li>
<li>Staggeringly lower paces of failure&nbsp;</li>
<li>Managing the time between the fixes&nbsp;</li>
<li>Quickest recuperation during the new representative of the event&nbsp;</li>
<li>The more significant part of the stages is often making code arrangements to give steady and dependable conveyance.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q24) Enlist top significant Devop tools and how they worked with any?</span></h3>
<p><strong>Ans:</strong> The most important DevOps tools are-&nbsp;</p>
<p><strong>Git: </strong>It is a rendition control framework tool</p>
<p><strong>Jenkins:</strong> It is a consistent integration tool</p>
<p><strong>Selenium:</strong> It is a persistent testing tool</p>
<p><strong>Nagios:</strong> It is a consistent checking tool</p>
<p><strong>Docker:</strong> It is a containerization tool&nbsp;</p>
<p><strong>Chef, Ansible, Puppet:</strong> Each and every tool is configured to deploy and manage.&nbsp;</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q25) Explain how Docker and Kubernetes work with Openshift?</span></h3>
<p><strong>Ans: </strong>Openshift uses the efficiencies of Docker and Kubernetes with a control framework. A considerable lot of the organization pipelines are empowered through it, which are later utilized for auto-scaling, testing, and many more occasions.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q26) Explain the Openshift Command-line interface?</span></h3>
<p><strong>Ans: </strong>The numerous functionalities of Openshift as a rich web reassure, and order line devices furnish the clients with an incredibly profiting stage. It works to provide sending and the executives with the application itself. An Openshift apparatus gives a solitary executable programming language and is accessible for the more significant working frameworks. These are as per the following-</p>
<ul>
<li dir="ltr" role="presentation">Linux</li>
<li>
<p>Ether pad</p>
</li>
<li>
<p>Openshift Docker register</p>
</li>
<li>
<p>Apple</p>
</li>
<li>
<p>Openshift Router</p>
</li>
<li>
<p>Microsoft Windows</p>
</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q27) Explain about Labels in Openshift?</span></h3>
<p><strong>Ans: </strong>In OpenShift, Labels are distinguishing metadata consisting of key/esteem sets joined to assets. Names are utilized to add recognizing qualities to objects that apply to clients and can be used to reflect design or hierarchical ideas. Marks can be used related to name selectors to identify the greatest assets or gatherings of assets exceptionally. For Instance:&nbsp;</p>
<ul>
<li>DMZBased</li>
<li>Node types</li>
<li>Environment</li>
<li>Tier</li>
<li>Relationship</li>
<li>User type</li>
<li>Release</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q28) Explain about Volume Security?</span></h3>
<p><strong>Ans:</strong> Volume security implies making sure about the PV and PVC of projects in the OpenShift bunch. There are predominantly four segments to control admittance to volumes in OpenShift.&nbsp;</p>
<ul>
<li dir="ltr" role="presentation">Supplemental Groups&nbsp;</li>
<li>
<p>fsgroup&nbsp;</p>
</li>
<li>
<p>run as user&nbsp;</p>
</li>
<li>
<p>seLinuxOptions</p>
</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q29) What is meant by Openshift Security?</span></h3>
<p><strong>Ans:</strong> OpenShift security is, for the most part, a blend of two segments that essentially handles security imperatives.&nbsp;</p>
<p><strong>Security Context Constraints (SCC):</strong> It is essentially utilized for unit limitation, which implies it characterizes the impediments for a case, what activities it can perform and what everything it can access in the bunch.&nbsp;</p>
<p><strong>Service Account:</strong> Service accounts are essentially used to control admittance to OpenShift ace API, which is considered when an order or a solicitation is terminated from any expert or hub machine.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q30) What are the Identity providers in Oauth?</span></h3>
<p><strong>Ans:</strong> Following are the identity providers in Oauth:</p>
<ul>
<li>LDAP</li>
<li>Deny All</li>
<li>HTTP Passwords</li>
<li>Basic Authentication</li>
<li>Allow All</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q31) What is meant by application scaling in Openshift?</span></h3>
<p><strong>Ans:</strong> In the OpenShift application, auto-scaling is otherwise called pod auto-scaling. There are two sorts of utilization scaling as follows.&nbsp;</p>
<p>1. Up (vertical scaling)&nbsp;</p>
<p>2. Out (Horizontal scaling)&nbsp;</p>
<p>Envision, you have a compelling beginning up, and your client base is developing. As the client base grows, application burden and request increments. To stay aware of this interest, you either need to add workers (flat scaling) or get greater ones (vertical scaling).&nbsp;</p>
<p><strong>Vertical Scaling:</strong> To oblige a higher burden utilizing vertical scaling, your application stays in a single spot, and you give it more assets. For instance, you may add a giant machine with more CPUs, quicker CPUs, memory, or circle space. The cost keeps on ascending as you add more equipment assets.&nbsp;</p>
<p><strong>Horizontal Scaling:</strong> To oblige higher burden utilizing level scaling, numerous examples of an application are made, and the application load is adjusted across freehubs.&nbsp;</p>
<p>This has a few favorable circumstances since you can:&nbsp;</p>
<ul>
<li>Utilize customary equipment and consequently keep the cost of your equipment utilize sensibly&nbsp;</li>
<li>Send hundreds or thousands of hubs and burden balance the application between them.</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q32) Explain about Openshift Cil?</span></h3>
<p><strong>Ans:</strong> OpenShift CLI is utilized for overseeing OpenShift applications from the order line. OpenShift CLI can lead to an end-to-end application life cycle. As a rule, we would use OC, an OpenShift customer, to speak with OpenShift. OpenShift CLI is fit for playing out all fundamental and advanced design, the board, expansion, and organization of utilizations.</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q33) What is meant by the Downward API in Openshift?</span></h3>
<p><strong>Ans:</strong> The Downward API is an instrument whereby cases can recover their metadata without calling into the Kubernetes API.&nbsp;</p>
<p>The accompanying metadata can be recovered and used to design the running units:&nbsp;</p>
<ul>
<li dir="ltr" role="presentation">Annotations</li>
<li>
<p>Labels</p>
</li>
<li>
<p>Pod CPU/memory request and limit information</p>
</li>
<li>
<p>Pod name, namespace, and IP address</p>
</li>
<li>
<p>Specific data can be mounted into the unit as a climate variable, while it can get other data as records inside a volume.</p>
</li>
</ul>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q34) What is meant by features toggles?</span></h3>
<p><strong>Ans:</strong> Feature toggles are where the two forms of your element are remembered for a similar codebase. However, they are encircled by the rationale to execute, depending on external factors, such as a property estimation or information base switch. This is a helpful procedure to isolate the deployment from multiple server groups, legacy monoliths, setups, and single server groups.&nbsp;</p>
<h3 dir="ltr" role="presentation"><span style="font-size: 12pt; color: #e67e23;">Q35) Explain about Haproxy on Openshift?</span></h3>
<p><strong>Ans:</strong> On OpenShift, if your application is versatile, HAProxy sits before it and acknowledges every approaching association. It parses the HTTP convention and chooses which application case the association should be steered to. This is significant as it permits the client to have sticky sessions.</p>42:T77f,<p>&nbsp;</p>
<p><span style="font-size: 12pt;">Linq queries are used to filtering the data and formatting the data. The Microsoft introduced linq concept in the 3.0 .net framework, the linq queries designed based on anonymous variables and generic classes As per .net technologies &lsquo;var&rsquo; is an anonymous data type, in the anonymous variables we can maintain value format data and reference format data. The linq queries we can inherit to the &lsquo;object,&rsquo; &lsquo;ADO. net&rsquo; and &ldquo;XML&rdquo;</span></p>
<h2><span style="font-size: 14pt; color: #e67e23;">Example of Silverlight linq Integration</span></h2>
<p><span style="font-size: 12pt;">(Retaining greater than 5 array elements from the ArrayList) Open new Silverlight application</span></p>
<ul>
<li><span style="font-size: 12pt;">Add list box and button control</span></li>
<li><span style="font-size: 12pt;">Go to the button click event</span></li>
</ul>
<p><span style="font-size: 12pt;">Private void button:- </span></p>
<pre class="language-javascript"><code>click (object sender, routed Event agrs e)

{

Int [] a = {1,5,8,3,6,9,4,22,25,2,7};

Var x = from I in a where  i&gt; 5 select I ;

For each (var v in x) { List box1. Items. Add (v. tostring ());

}

}

</code></pre>
<h3><span style="font-size: 12pt; color: #e67e23;">Formatting string array elements</span></h3>
<p><span style="font-size: 12pt;">Open new Silverlight application Add Listbox and button control Go to the button click event </span></p>
<p><span style="font-size: 12pt;">Private void button 1_</span></p>
<pre class="language-javascript"><code>click (object sender, routed event arge e)

{

String [] x = { &ldquo;asd&rdquo;, &ldquo;zkd&rdquo;, &ldquo;poi&rdquo;, &ldquo;aad&rdquo;, &ldquo;tyu&rdquo;, &ldquo;klm:};

Var str = from I in x order by I as ceding select I ;

Foreach (var v in str)

{

list box 1.items add (v.to string ());

}

}</code></pre>43:T23b2,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Silverlight Animation</span></h2>
<p style="text-align: justify;"><span style="font-size: 12pt;">Animations are used to give moments to silver light controls by taking control properties, using animation we can give a rich internet user interface to the Asp.net application.</span></p>
<ul style="text-align: justify;">
<li><span style="font-size: 12pt;">The animation we can classify into two types basically.</span></li>
</ul>
<ol style="text-align: justify;">
<li><span style="font-size: 12pt;">Data type animation or from/to/by animation</span></li>
<li><span style="font-size: 12pt;">Key frame animation</span></li>
</ol>
<h3><span style="font-size: 12pt; color: #e67e23;">Data Type Animation</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">This animation is used to Animate silver light controls by taking control properties, In the Data type animation&nbsp; we can give only one target for animation</span></p>
<ul style="text-align: justify;">
<li><span style="font-size: 12pt;">The data type animation we can classify into three types</span></li>
<li><span style="font-size: 12pt;">The animation between starting and ending</span></li>
</ul>
<ol style="text-align: justify;">
<li><span style="font-size: 12pt;">Double animation</span></li>
<li><span style="font-size: 12pt;">color animation</span></li>
<li><span style="font-size: 12pt;">point animation</span></li>
</ol>
<h3><span style="font-size: 12pt; color: #e67e23;">Double Animation</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">using this animation we can give animation to Silverlight control by taking double related properties (or) which property taking numeric values.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">EX:- open new Silverlight application</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Go to XAML mode</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">in the canvas tag</span></p>
<pre class="language-javascript"><code>&lt;canvas&gt;

&lt;text block x:Name = &ldquo;t1&rdquo; Text = &ldquo;welcome&rdquo; fontsize = &ldquo;100&rdquo; canvas. Left = &ldquo;15&rdquo;&gt;

&lt;/textblock&gt;

&lt;rectangle x: name = &ldquo;r1&rsquo; height = &ldquo;150&rdquo; width = &ldquo;500&rdquo; stroke = &ldquo;yed&rdquo; stroke thickness = &ldquo;100&rdquo; stroke dash array = &ldquo;2&rdquo; stroke dash offset = &ldquo;5&rdquo;&gt;

&lt;rectangle. Triggers&gt;

&lt;event trigger Routed event = &ldquo;canvas. Loaded&rdquo;&gt;

&lt;Begin story board&gt;

&lt;story board&gt;

&lt;double animation story board.Talget name

=&rdquo;r1&rdquo; storyboard . Target property= &ldquo;stroke dash offset &ldquo;   from = &ldquo;1&rdquo; to = &ldquo;1&rdquo; auto revels  = &ldquo;true&rdquo; repeat behavior = &ldquo;forever&rdquo;

&lt;/double animation&gt;

&lt;/storyboard&gt;

&lt;/begin storyboard&gt;

&lt;/event trigger&gt;

&lt;Rectangle. Triggers&gt;

&lt;/rectangle&gt;

&lt;/canvas&gt;

</code></pre>
<p style="text-align: justify;"><span style="color: #e67e23;"><strong style="font-size: 12pt;">Rectangle. Trigger:</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">This tag is used to inclement the evens</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Event trigger:</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">Using this tag we can set the implementing event</span></p>
<ul style="text-align: justify;">
<li><span style="font-size: 12pt;">As per XAML, we have to define animation in the storyboard, using storyboard we can control all animation, all storyboards we have to define in the beginning storyboard, all storyboard we can control using begin storyboard.</span></li>
<li><span style="font-size: 12pt;">Storyboard. Target name property using for deciding giving animation control</span></li>
<li><span style="font-size: 12pt;">Storyboard. Target property using this property we can decide giving animation property</span></li>
<li><span style="font-size: 12pt;">From using this property animation starting location</span></li>
<li><span style="font-size: 12pt;">To use this property animation ending location</span></li>
<li><span style="font-size: 12pt;">Auto revels:- using this property animation in the revels order</span></li>
<li><span style="font-size: 12pt;">Repeat behavior: using this property we can set animation repeating type, this property supports three types of repeating types</span></li>
</ul>
<ol style="text-align: justify;">
<li><span style="font-size: 12pt;">Times pan (0: 0: 15) ! Repeat animation 1.5 seconds</span></li>
<li><span style="font-size: 12pt;">Iterations (5x) : repeat animation 5 times</span></li>
<li><span style="font-size: 12pt;">Literal (forever ) repeat continuously</span></li>
</ol>
<h3><span style="font-size: 12pt; color: #e67e23;">Color Animation</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">This animation is used to animate silver light control by taking color-related properties</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">EX:- open new silver light application</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Go to SAML mode</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">In the canvas tag</span></p>
<pre class="language-javascript"><code>&lt;canvas&gt;

&lt;polygon X:Name = &ldquo;p1&rdquo; height = &ldquo;250&rdquo; width = &ldquo;300&rdquo; fill = &ldquo;Red&rdquo; stroke = &ldquo;Green&rdquo; stroke thickness = &ldquo;10&rdquo;&gt;

&lt;polygon. Points&gt;

&lt;point X = &ldquo;30&rdquo; Y= &ldquo;40&rdquo; &gt; &lt;/point&gt;

&lt;point x= &ldquo;200&rdquo; Y = &ldquo;10&rdquo;&gt; &lt;/point&gt;

&lt;point x= &ldquo;150&rdquo; Y = &ldquo;100&rdquo;&gt; &lt;/point&gt;

&lt;/polygon. points&gt;

&lt;polygon. Triggers&gt;

&lt;Event Trigger Routed Event = &ldquo;canvas. Loaded&rdquo;&gt;

&lt;begin story board&gt;

&lt;story board&gt;

&lt;color animation storyboard. Target name = &ldquo;p1&rdquo; story board. Target property = &ldquo;(fill), (color)&rdquo; from = &ldquo;red&rdquo;  To = &ldquo;black&rdquo; auto reverse = &ldquo;True&rdquo; repeat behavior = &ldquo;Forever&rdquo;&gt;

&lt;/color animation&gt;

&lt;/story board&gt;

&lt;/Begin story board&gt;

&lt;/Event trigger&gt;

&lt;/polygon. Triggers&gt;

&lt;/polygon&gt;

&lt;/canvas&gt;</code></pre>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Polygon:</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">This control is used to create closed shapes by defining a collection of points</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Polygon. Points:</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">using this tag we can create a workspace for defining points</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Point:</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">This tag is used to define one point by specifying X location and Y location</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Point Animation</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">using this Animation we can animate SilverLight control by taking which properties having two parameters.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Example:-</strong> open new silver light application</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Go to XAML Mode</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">In the canvas tag</span></p>
<pre class="language-javascript"><code>&lt;canvas&gt;

&lt;Ellipse X: name = &ldquo;e1&rdquo; height = &ldquo;200&rdquo; width = &ldquo;300&rdquo; stoke = &ldquo;blue&rdquo; stroke thickness = &ldquo;10&rdquo;&gt;

&lt;Ellipse  . fill&gt;

&lt;Radial Gradient Brush X: Name = &ldquo;I&rdquo; gradient origin = &ldquo;.5&rdquo;

&lt;Gradient stop offset = &ldquo;.2&rdquo; color = &ldquo;red &ldquo; &gt; &lt;/ gradient stop&gt;

&lt;Gradient stop offset = &ldquo;.4&rdquo; colot = &ldquo;green&rdquo;&gt; &lt;/gradient stop&gt;

&lt;gradient stop offset = &ldquo;.6&rdquo; color = &ldquo;while&rdquo;&gt; &lt;/gradient stop&gt;

&lt;Gradient stop offset =  &ldquo;.8&rdquo; color = &ldquo;black&rdquo;&gt; &lt;/gradient stop&gt;

&lt;/radial gradient brush&gt;

&lt;/ellipse.fill&gt;

&lt;event Trigger routed Event = &ldquo;canvas loaded&rdquo;&gt;

&lt;begin story board&gt;

&lt;story board&gt;

&lt;point animation storyboard. Target name= &ldquo;rd&rdquo;  storyboard. Target property = &ldquo;gradient origin&rdquo; from = &ldquo;.1,.1&rdquo; to &ldquo;.5,.5&rdquo;

Auto reverse = &ldquo;True&rdquo; Repeat behavior = &ldquo;Forever&rdquo;&gt;

&lt;/point Animation&gt;

&lt;/story board&gt;

&lt;/begin story board&gt;

&lt;/event trigger&gt;

&lt;/Ellipse. Triggers&gt;

&lt;/ellipse&gt;

&lt;/canvas&gt;</code></pre>44:T2001,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Working with WCF services:-</span></h2>
<p><span style="font-size: 12pt;">Go to VS.NET <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on File <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on new <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on website <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select WCF service Template <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select the language as visual c# <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select the location as http<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> type the service application name (http://Local host /example1) Click on OK. </span></p>
<p><span style="font-size: 12pt;">When we create a web service by default 3 files will be created. </span></p>
<p><span style="font-size: 12pt;">1) I service .cs (this is an interface file that contains service contracts &amp; Data contracts). </span></p>
<p><span style="font-size: 12pt;">2) service .cs (this is a class file &amp; contains an implementation of the interface file)</span></p>
<p><span style="font-size: 12pt;"> 3) service.svc ( this is WCF service file) First 2 files i.e., I service.cs &amp; service.cs are placed in a separate folder &ldquo;app_code&rdquo; Double click on app-code folder change I service.cs file name ot &ldquo;I arithematic.cs&rdquo; Change the service.svc filename to &ldquo;clsarithematic.svc&rdquo; Double click on I arithmetic.cs file change the interface name to I Arithmetic Delete the code available in interface Delete the code from data contract attribute to remaining </span></p>
<p><span style="font-size: 12pt;">Write the following code in the interface, </span></p>
<p><span style="font-size: 12pt;">[service contract] Public interface I Arithmetic </span></p>
<pre class="language-javascript"><code>{

[operationcontract] Int add (int x, int y): [operation contract] Int subtract (int x, int y);

[operationcontract] Int multiply (int x, int y);

[operationcontract] Int divide (int x, int y);

}

</code></pre>
<p><span style="font-size: 12pt;">Go to solution explorer&nbsp; &agrave; Double click on cls Arithmetic file in app-code folder &agrave; change the class ham ot&nbsp; cls arithmetic which inherits from I Arithmetic interface &agrave; Delete the total code available in the class&nbsp; &amp; write the following code, Public class cls Arithmetic: I arithmetic</span></p>
<p>&nbsp;</p>
<blockquote>
<p><em><strong>Interested in mastering VB.Net Training? Enroll now for a FREE demo on "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="vb-net-training" target="_blank" rel="noopener">VB.Net Training</a></span>"</strong></em></p>
</blockquote>
<p>&nbsp;</p>
<pre class="language-javascript"><code>{

Public int add (int x, inty) } Return x to y: }  

Public int subtract (intx, inty) { return x-y; }

Public int multiply (intx, inty) { return x*y; }

Public int divide (int x, int y) { return x/y; }

}

</code></pre>
<p><span style="font-size: 12pt;">Go to solution explorer </span><img class="alignnone size-full wp-image-7108" style="font-size: 12pt;" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /><span style="font-size: 12pt;">double click on web.config fole Go to the tag&lt;system.servicemodel&gt; </span><img class="alignnone size-full wp-image-7108" style="font-size: 12pt;" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /><span style="font-size: 12pt;">&nbsp;change the service name to clsarithematic &amp; contract to I arithematic like,</span></p>
<p><span style="font-size: 12pt;">&lt;system.servicemodel&gt;</span></p>
<p><span style="font-size: 12pt;"> &lt;services&gt; </span></p>
<p><span style="font-size: 12pt;">&lt;service name =&rdquo;cls arithematic&rdquo; &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;.&gt;</span></p>
<p><span style="font-size: 12pt;"> &lt;end point address &ndash; &ldquo;&rdquo; binding = &ldquo;Wshttpbinding&rdquo; contract = &ldquo; I Arithematic&rdquo;&gt; </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Goto solution explorer <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;double click on cls Arithmetic .svc <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the name service to cls arithmetic &amp; code behind file name also from service.cs to cls arithmetic.cs &nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;build the application &amp; run the application. &nbsp; </span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Consuming the WCF service:- </span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Create a new website with the name &ldquo; check Example 1&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Design the webpage Go to solution explorer&agrave;select the solution click with a right mouse button <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />click on &ldquo;Add service reference &ldquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;Type http://local host /example1/arithematic.svc&rdquo; in dropdown list box (this is the address we get in the address bar of internet explorer we run WCF service ) <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> change the namespace name &ldquo; service reference 1&rdquo; to &ldquo;SR1&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on ok <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code, <img class="alignnone wp-image-7416" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_622-460x249.png" alt="Screenshot_62" width="531" height="287" /> &nbsp;</span></p>45:Tfb9,<h2><span style="font-size: 14pt; color: #e67e23;">Working With Windows Based Desktop Applications</span></h2>
<p><span style="font-size: 12pt;">&nbsp; Creating WPF applications</span></p>
<p>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</p>
<p><span style="font-size: 12pt;">Go to visual studio.net</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp;</span>&darr;</p>
<p><span style="font-size: 12pt;">Click on file</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp;<strong>&darr;</strong></span></p>
<p><span style="font-size: 12pt;">Click on new</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp;<strong>&darr;</strong></span></p>
<p><span style="font-size: 12pt;">Select visual CH from project types</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp;<strong>&darr;</strong></span></p>
<p><span style="font-size: 12pt;">Select WPF application template</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp;<strong>&darr;</strong></span></p>
<p><span style="font-size: 12pt;">Type WPF application name</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp;<strong>&darr;</strong></span></p>
<p><span style="font-size: 12pt;">Choose the location to save</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; <strong>&darr;</strong></span></p>
<p><span style="font-size: 12pt;">Click on ok &nbsp; The container in the <a href="https://tekslate.com/working-grid-layout-wcf/" target="_blank" rel="noopener">WPF application</a> is known as window The container names we get as window1, window2, window3, ---etc by default. Every window will have a default extension of.XAML.XAML file will contain the design part of the window also we find an additional file with the extension of .xaml.cs which will contain completely a programming code. This is similar to webpage design Complete class library of WPF is available <span style="text-decoration: underline;">&ldquo;System windows namespace&rdquo;</span> Window we create within the WPF application a class and window1, window2, window3, etc are inherited form window class by default &nbsp;</span></p>
<p>&nbsp;</p>
<blockquote>
<p><em><strong>Interested in mastering VB.Net Training? Enroll now for FREE demo on "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="vb-net-training" target="_blank" rel="noopener">VB.Net Training</a></span>"</strong></em></p>
</blockquote>
<p>&nbsp;</p>
<h3><span style="font-size: 12pt; color: #e67e23;">Methods with the window class</span></h3>
<ol>
<li><span style="font-size: 12pt;">Show ()</span></li>
<li><span style="font-size: 12pt;">Hide()</span></li>
<li><span style="font-size: 12pt;">Activate()</span></li>
<li><span style="font-size: 12pt;">Close</span></li>
</ol>
<p>&nbsp;</p>
<ol>
<li><span style="font-size: 12pt;"><strong>Hide():-</strong></span>
<ul>
<li><span style="font-size: 12pt;">This method is used to hide the displayed window from the user.</span></li>
</ul>
</li>
<li><span style="font-size: 12pt;"><strong>Show():-</strong></span>
<ul>
<li><span style="font-size: 12pt;">This method is used to display the window object to the class</span></li>
</ul>
</li>
<li><span style="font-size: 12pt;"><strong>Activate():-</strong></span>
<ul>
<li><span style="font-size: 12pt;">This method is used to make any window as active</span></li>
</ul>
</li>
<li><span style="font-size: 12pt;"><strong>Close():</strong></span>
<ul>
<li><span style="font-size: 12pt;">This method is used to close. The open window when a window is closed, the object it's associated with is destroyed and if we want to reuse that window, we have to recreate that object In general any control we create within the window will maintain hierarchy like.</span></li>
</ul>
</li>
</ol>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-7297" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/218-460x316.png" alt="2" width="516" height="354" /> &nbsp; &nbsp;</span></p>46:T183c,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Difference between View engine &amp; Razor view engine</span></h2>
<h3><span style="font-size: 12pt; color: #e67e23;">View engine:-</span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />A view engine is the part of the asp.net MVC <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Which is used to execute the code by programming any kind of rendering is required and delivering to the client. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />net MVC supports the following view engine</span></p>
<ol>
<li><span style="font-size: 12pt;">Webform view engine</span></li>
<li><span style="font-size: 12pt;">Razor</span></li>
<li><span style="font-size: 12pt;">Bellevue</span></li>
<li><span style="font-size: 12pt;">Brail</span></li>
<li><span style="font-size: 12pt;">Hasic (Support VB .net only)</span></li>
<li><span style="font-size: 12pt;">N Django</span></li>
<li><span style="font-size: 12pt;">N Haml</span></li>
<li><span style="font-size: 12pt;">N Velocity view engine (MVC Contrib)</span></li>
<li><span style="font-size: 12pt;">Sharptiles</span></li>
<li><span style="font-size: 12pt;">Spark view engine</span></li>
<li><span style="font-size: 12pt;">String template. View Engine MVC</span></li>
<li><span style="font-size: 12pt;">WingBeats</span></li>
<li><span style="font-size: 12pt;">XSLT view engine</span></li>
</ol>
<h3><span style="font-size: 12pt; color: #e67e23;">Razor view Engine:-&nbsp;</span></h3>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Razor view engine is not a programming language and it will work with C# and VB.net languages. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Razor is an asp.net programming syntax. used to create dynamic web pages. with the help of&nbsp; C# and VB. Net <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />the first version of Razor is released Jan 2011 along with ASP.net MVC 3 version.</span></p>
<ul>
<li><span style="font-size: 12pt;">We can Razor syntax using &lsquo;@&rsquo;symbol instead on &lt;% = %&gt; class.</span></li>
<li><span style="font-size: 12pt;">This @ symbol technical name is &lsquo;verbatim&rsquo;</span></li>
</ul>
<h3><span style="font-size: 12pt; color: #e67e23;">Design Goals Razor:-</span></h3>
<ol>
<li>
<h3><span style="font-size: 12pt;"><strong>Compact, Expressive, fluid:-</strong></span></h3>
</li>
</ol>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> That takes less memory as compares with the webform view engine. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />We can see more output by writing less of code then also <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Any asp.net programmer can learn the razor syntax with team effort. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />It is not a separate language&nbsp;&nbsp; rather it will work with C# and VB</span></p>
<h3><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Work with Any Text Editor:-</strong></span></h3>
<h3><span style="font-size: 12pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Has great Intelligence:-</strong></span></h3>
<p><span style="font-size: 12pt;">When working with visual studio .net or visual web matrix we get all the features</span></p>
<blockquote>
<p><em><strong>Interested in mastering ASP.Net Training? Enroll now for a FREE demo on "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="asp-dot-net-training" target="_blank" rel="noopener">ASP.Net Training</a></span>"</strong></em></p>
</blockquote>
<h3><span style="font-size: 12pt;"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unit testable:-</strong></span></h3>
<p><span style="font-size: 12pt;">Most flexible and easy for TDO.</span></p>
<div id="post-cont" class="content"><span style="font-size: 12pt; color: #e67e23;"><strong>For an in-depth understanding click on:</strong></span>
<ul>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></span></li>
</ul>
</div>47:T1caa,<h2><span style="font-size: 14pt; color: #e67e23;">Execute of MVC&nbsp;Application in ASP .NET</span></h2>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-6097" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/810-460x205.png" alt="8" width="618" height="274" /> &nbsp;</span></p>
<h3><span style="font-size: 12pt;"><strong>Step 1: </strong>Client sends a request for the application to IIS</span></h3>
<p><span style="font-size: 12pt;"><strong>Step 2: &nbsp;</strong>IIS will redirect the request to the global.asax file <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Hear route table collection will be created by adding all the routes. &nbsp;</span></p>
<p><span style="font-size: 12pt;"> <strong>Step 3: </strong>Perform Routing --&gt; hear URL routing module will check for the requested route in route table collections. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />If a route is not available in the route collection table error message will be sent to the client. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />If the requested route is available create a route object and then also create a request object. &nbsp;</span></p>
<h3><span style="font-size: 12pt;"><strong>Step 4</strong><strong>: Create an MVC request handler:-</strong></span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Hear MVC route handler class will take the route from route object and create an object for the MVC handler class bypassing the request context object. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Hear request context object originally responsible to pass the request from ASP.net to MVC.</span></p>
<h3><span style="font-size: 12pt;"><strong>Step 5: Create a controller:-</strong></span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Hear MVC handler class identifies the controller that is to be executed with the help of request context object by using the route object. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />It creates an object to the controller class. &nbsp;</span></p>
<h3><span style="font-size: 12pt;"><strong>Step 6:</strong> &nbsp;<strong>Execute controller:-</strong></span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Hear execute method of the controller class will be called to start the execution of controllers. &nbsp;</span></p>
<blockquote>
<p><em><strong>Learn ASP.Net by Tekslate - Fastest growing sector in the industry. Explore Online "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="asp-dot-net-training" target="_blank" rel="noopener">ASP.Net Training</a></span>" and course is aligned with industry needs &amp; developed by industry veterans.Tekslate will turn you into ASP.Net Expert.</strong></em></p>
</blockquote>
<h3><span style="font-size: 12pt;"><strong>Step 7: Invoke action:-</strong></span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />At this step MVC &ldquo;run time will identify which action method should be called for execution and will invoke that method.&rdquo; &nbsp;</span></p>
<h3><span style="font-size: 12pt;"><strong>Step 8: Execute result:-</strong></span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Hear code in action method will be executed by using data from the model class <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Controller will be returned to view &nbsp;</span></p>
<h3><span style="font-size: 12pt;"><strong>Step 9: Execute view:-</strong></span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In this step, the complete view code will execute by using the model class data if necessary. &nbsp;</span></p>
<h3><span style="font-size: 12pt;"><strong>Step 10:</strong></span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />The executed result sends to client <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Once the result is delivered to the client the execution result is completely destroyed at the server The types of result that an MVC application can handle take</span></p>
<ol>
<li><span style="font-size: 12pt;">View result</span></li>
<li><span style="font-size: 12pt;">Redirect to route result</span></li>
<li><span style="font-size: 12pt;">Redirect result</span></li>
<li><span style="font-size: 12pt;">Content result</span></li>
<li><span style="font-size: 12pt;">JSON result</span></li>
<li><span style="font-size: 12pt;">File result</span></li>
</ol>
<p><span style="font-size: 12pt;">Empty result </span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>For in-depth understanding click on</strong></span></p>
<ul>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></span></li>
</ul>
<div class="tags">&nbsp;</div>48:T57d0,<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><strong>Types of views in MVC - ASP.Net</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">There are 3 types of view available in MVC</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000; font-size: 12pt;">View page</span></li>
<li><span style="color: #000000; font-size: 12pt;">Master page view</span></li>
<li><span style="color: #000000; font-size: 12pt;">Partial view</span></li>
</ol>
<ol style="text-align: justify;">
<li><span style="color: #000000; font-size: 12pt;"><strong> View page:</strong></span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">In general, this is inherited from the view page class to create a normal page within MVC, we use this view</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In general, to create this view we use the view page template, i.e., MVC to view page template in MVC application.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />The inherited class name will be available in &lt;%@ page directive with inherits attributes.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />To create a view page that contains a master page we use a template known as &ldquo;MVC2 view content page&rdquo;.</span></p>
<ol style="text-align: justify;" start="2">
<li><span style="color: #000000; font-size: 12pt;"><strong> Master page view: </strong></span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />This is used to create a master page within the MVC application.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />To create a master page view we use a template known as &ldquo;MVC2 view master page.&rdquo;</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />This is going to inherit a clan i.e., &ldquo;system.web.MVC.view master page&rdquo; it is possible to create the master page dynamically in MVC just like in ASP.net</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">The master page view will have a default extension of. master</span></p>
<table style="border-collapse: collapse; width: 100%; height: 40px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 40px;">
<td style="width: 98.1605%; height: 40px; text-align: center;"><em>Learn ASP.Net by Tekslate - Fastest growing sector in the industry. Explore Online <span style="color: #236fa1;"><strong>"<a style="color: #236fa1;" href="asp-dot-net-training" target="_blank" rel="noopener">ASP.Net Training</a>"</strong></span> and course is aligned with industry needs &amp; developed by industry veterans. Tekslate will turn you into ASP.Net Expert.</em></td>
</tr>
</tbody>
</table>
<ol style="text-align: justify;" start="3">
<li><span style="color: #000000; font-size: 12pt;"><strong> Partial views: </strong></span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Partial views are similar to the user controller in ASP.net</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />This will have a default extension of. ascx similar to ASP.net user controller</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />This is inherited from the class &ldquo;system.web.mvc.view user control&rdquo;.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In general, this can be included in any other view page just like in ASP.net user controllers.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong>Creating a view page: </strong></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Go to solution explorer</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Select the home folder from views</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click with RM button</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on add</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on a new item</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Select MVC2 view page template</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Type the view name (sample.asp x)</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on add</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to the source part of the page</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Type following in body part</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">&lt;H2&gt; welcome to satya technologies&lt;/H2&gt;</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to controls folder</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Double click on home controller .cs</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Add new action method with the name (sample)</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Like</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Public action result sample ()</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">{</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Return view ();</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">}</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">To run this page directly</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Go to register routes method</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Change the action name from index to sample</span></p>
<ul style="text-align: justify;">
<li><span style="color: #e03e2d; font-size: 12pt;"><strong>Creating a master view page: </strong></span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Go to solution explorer</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Select a shared folder from views folder</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click with RM button</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on add</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on a new item</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Select MVC2 view master page template</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Type the master page name (abc.master)</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on add</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Go to source part --&gt; write the following code</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">&lt;Body&gt;</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">&lt;h1 align=&rsquo;center&rsquo;&gt;satya technologies &lt;/h1&gt;</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">&lt;/body&gt;</span></p>
<p style="text-align: justify;"><span style="color: #e03e2d; font-size: 12pt;"><strong>Creating a content page:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Select the home folder from views</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click with RM button</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on add</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on a new item</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Select MVC2 view content page template</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Type the content page name (cp1.aspx)</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Click on add</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">A select master page dialogue box is displayed</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Select the abc.master&agrave;click on ok</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">To run this page use the following steps</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Go to the home controller .cs file</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Write the code for action result</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Public action result cp1 ()</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">{</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Return view ();</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">}</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Then go to global.asax file</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Change the action name to cp1.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Run the application and check</span></p>
<p style="text-align: justify;"><span style="color: #e67e23; font-size: 12pt;"><strong>For in-depth understanding click on</strong></span></p>
<ul>
<li><span style="font-size: 12pt; color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></span></li>
<li><span style="font-size: 12pt; color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></span></li>
<li><span style="font-size: 12pt; color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></span></li>
<li><span style="font-size: 12pt; color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></span></li>
<li><span style="font-size: 12pt; color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></span></li>
</ul>
<div class="tags">&nbsp;</div>49:Tcaf,<h2><span style="font-size: 14pt; color: #e67e23;">ASP.Net MVC Design Patterns</span></h2>
<p><span style="font-size: 12pt;">In general 23 design patterns are developed by GOF (gang of four) which are developed into 3 categories <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;GOF (Erich gamma, Richard helm,-,-)</span></p>
<ol>
<li><span style="font-size: 12pt;">Creational design patterns (5)</span></li>
<li><span style="font-size: 12pt;">Structural design patterns (7)</span></li>
<li><span style="font-size: 12pt;">Behavioral design patterns (11)</span></li>
</ol>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Creational design patterns</strong></span></p>
<ol>
<li><span style="font-size: 12pt;">Abstract factory</span></li>
<li><span style="font-size: 12pt;">Builder</span></li>
<li><span style="font-size: 12pt;">Factory method</span></li>
<li><span style="font-size: 12pt;">Prototype</span></li>
<li><span style="font-size: 12pt;">Singleton</span></li>
</ol>
<blockquote>
<p><em><strong>Interested in mastering ASP.Net Training? Enroll now for a FREE demo on "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="asp-dot-net-training" target="_blank" rel="noopener">ASP.Net Training</a></span>"</strong></em></p>
</blockquote>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Structural design patterns</strong> &nbsp;</span></p>
<ol>
<li><span style="font-size: 12pt;">Adapter</span></li>
<li><span style="font-size: 12pt;">Bridge</span></li>
<li><span style="font-size: 12pt;">Composite</span></li>
<li><span style="font-size: 12pt;">Decorator</span></li>
<li><span style="font-size: 12pt;">Fa&ccedil;ade</span></li>
<li><span style="font-size: 12pt;">Flyweight</span></li>
<li><span style="font-size: 12pt;">Proxy</span></li>
</ol>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Behavioral design patterns:-</strong> &nbsp;</span></p>
<ol>
<li><span style="font-size: 12pt;">Chain of responsibility</span></li>
<li><span style="font-size: 12pt;">Command</span></li>
<li><span style="font-size: 12pt;">Interpreter</span></li>
<li><span style="font-size: 12pt;">Iterate</span></li>
<li><span style="font-size: 12pt;">Mediator</span></li>
<li><span style="font-size: 12pt;">Memento</span></li>
<li><span style="font-size: 12pt;">Observer</span></li>
<li><span style="font-size: 12pt;">State</span></li>
<li><span style="font-size: 12pt;">Strategy</span></li>
<li><span style="font-size: 12pt;">Template method</span></li>
<li><span style="font-size: 12pt;">Visitor</span></li>
</ol>
<p><span style="font-size: 12pt;">&nbsp;<strong>Creational design patterns: -</strong> will deal with the instantiation of the classes. &nbsp; </span></p>
<p><span style="font-size: 12pt;"><strong>Structural design patterns: - </strong>will deals with inheritance, creating classes, interface implementing abstraction, etc. &nbsp;</span></p>
<p><span style="font-size: 12pt;"> <strong>Behavioral design patterns: - </strong>will deals with the communication of the object, i.e. where to create objects for the classes and how to consume the classes, etc. </span></p>
<p>&nbsp;</p>4a:T60a2,<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Windows Forms Application:</strong></span></h2>
<p>It is used for developing an application for the desktops with an effective User Interface. &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Note:</strong> </span></p>
<p>&ldquo;Whenever a class inherits &ldquo;System.Windows.Forms.Form&rdquo; class then it is said to be a windows form. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>To Create Windows Forms Application:</strong></span></h3>
<p><img class="alignnone wp-image-8985" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_396-460x228.png" alt="Windows forms application" width="450" height="222" /> &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Understanding</strong></span></h3>
<p>VS.Net IDE for Win form Development. To Box (Ctrl+Alt+X): It maintains all the controls that can be used within the Win form. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Properties Window (F4):</strong></span></h3>
<p>It is used to set or get value from the private or protected members of the class. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Solution Explorer (Alt+Ctrl+L):</strong></span></h3>
<p>It maintains all the files that are used within the application.</p>
<h3><span style="color: #e03e2d;"> <strong>Form: </strong></span></h3>
<p>It acts like a canvas where other controls can be drawn on it.</p>
<p>&nbsp; <img class="alignnone size-full wp-image-8986" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_406.png" alt="Form" width="347" height="279" /> &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Label Control:</strong></span></h3>
<p>It is used to provide any static information on the Form. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Common Properties for all Windows Form Controls:</strong></span></h3>
<p>Name: Used to specify a unique identifier for the control. Text: It is used to set or get the value from the control. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Text Box: </strong></span></h3>
<p>It is used to accept the single Line, Multi-Line, or password characters as the input. &nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Properties:</strong></span></h2>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Multiline: </strong></span></h3>
<p>If set to true then the user can provide input in multiple lines. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Scroll Bars: </strong>I</span></h3>
<p>t is used to attach the scroll Bars to the control. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Password Char: </strong></span></h3>
<p>It is used to display the specified char on the text box instead of the value typed by the user &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Button Control:</strong></span></h3>
<p>It is used to raise the action. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>TrackBall Control: </strong></span></h3>
<p>It is used to allow the user for selecting a value within a range.</p>
<p>&nbsp; <img class="alignnone wp-image-8987" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_4111-460x204.png" alt="TrackBall control" width="404" height="179" /> &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Save File Dialog Control:</strong></span></h3>
<p>It is used to project the dialog Window for saving the file within the system. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Open File Dialog Control:</strong></span></h3>
<p>It is used to project the dialog window for selecting the file which is present within the system. &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Note: </strong></span></p>
<p>The above two controls are used only to project dialog windows but they will not save the file or either open the file. &nbsp;</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Common Properties of above two Controls:</strong></span></h3>
<p><span style="font-size: 12pt; color: #e03e2d;"><strong>Filter: </strong></span>Using to specify the filter expression to be used for displaying the files within the dialog window. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>File Name: </strong></span></h3>
<p>Used to return the name of the file selected within the dialog window. &nbsp;</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Common Methods for the above two Controls:</strong></span></h3>
<p><span style="color: #e03e2d;"><strong>Show Dialog ():</strong></span> It is used to project the dialog window.</p>
<p><img class="alignnone size-full wp-image-8988" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/147.png" alt="Show dialog" width="257" height="284" /> &nbsp;</p>
<p>C: program filescsMicrosoft visual studio common7 VS2008 image library 1033 &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>For Button2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong><strong>For Button3</strong> </span></p>
<p>Text: Record&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text: Close</p>
<p>Name: btn Record &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Name: btnClose</p>
<p>Text Align: Bottom Center &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Text Align: Bottom Center</p>
<p>Image: - - - &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Image:&nbsp; - - -</p>
<p>Image Align: Top center &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Image Align: Top center &nbsp;</p>
<p>In order to support speech API .Net uses System.Speech Name Space</p>
<p>Click on the project [menu]</p>
<p>Add Reference ()</p>
<p>.Net (Tab) ()</p>
<p>Select system speech</p>
<p>OK</p>
<p>Code for Read button</p>
<p>Before write Namespaces</p>
<p>Imports System.Speech</p>
<p>Imports System Speech.Synthesis &agrave; provides classes to convert text to voice.</p>
<p>Code for Read button</p>
<p>Read (button_Click)</p>
<p>Dim SS as New speech Synthesizer &agrave; Provides methods to convert text to voice.</p>
<p>SS.Rate = tbSpeed.Value</p>
<p>SS.Volume = tbVolume.Value</p>
<p>SS.SelectVoice (&ldquo;Microsoft SAM&rdquo;)</p>
<p>SS.SpeakAsync (txtMessage.Text)</p>
<p>Code</p>
<p>Record (button_Click)</p>
<p>Dim sfd as new SaveFileDialog</p>
<p>Sfd.Filter = &ldquo;WaveFile*.wav</p>
<p>Sfd.ShowDialog ()</p>
<p>Dim ss as new speechSynthesizer</p>
<p>ss.Rate = tb.Speed.Value</p>
<p>ss.Value = tb.Volume.Value</p>
<p>ss.SetOutput To WaveFile (sfd.FileName)</p>
<p>ss.Speak (txtMessage.Text)</p>
<p>ss.SetOutputTodefaultAudioDevice ()</p>
<p>MessageBox.Show (&ldquo;Text recorded as voice&rdquo;, VB270 &ldquo;Text2Voice Convertor&rdquo;)</p>
<p>Code for close</p>
<p>Close (button_Click)</p>
<p>End &nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>ForForm Properties</strong></span></h2>
<p>Backcolor = __[--] (select)</p>
<p>Text = VB270 Text2voice Convertor</p>
<p>Icon: Select any good icon (.ico)</p>
<p>Start Position: Centre Screen [For the application to appear whenever executed]</p>
<p>Maximize: False (user can&rsquo;t maximize form)</p>
<p>Execute</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Web Browser Control: </strong></span></h2>
<p>It is used to provide the browsing capabilities to the Windows Form.</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>GroupBox Control:</strong></span></h2>
<p>It is used to logically group the controls together. &nbsp; &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Designing our own Browser:</strong></span></h3>
<p>File menu <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;new Project <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;windows form application <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;OK</p>
<p><span style="color: #e03e2d;"><strong>Name:</strong></span> Vb270Webbrowser</p>
<p>Drag and drop group Box on the form according to our request set the properties&nbsp; as <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Dock: left, Text: options</p>
<p>Drag &amp; drop another group box and set the property Dock: Top</p>
<p>In the remaining space on the form, we want to develop a browser.</p>
<p>Drag &amp; drop web browser control on remaining space .</p>
<p>In 1<sup>st</sup> Groupbox (options)</p>
<p>Select (drag &amp; drop) button &nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Button Properties:</strong></span></h2>
<p>Text: Back</p>
<p>Name: btnBack</p>
<p>Text align: bottom center</p>
<p>Image: select an image (&szlig;) (path is in the above program)</p>
<p>Image align: Top center</p>
<p>Put several buttons one under the other in options Groupbox &nbsp;</p>
<table>
<tbody>
<tr>
<td width="213"><span style="color: #e03e2d;"><strong>Forward </strong></span></td>
<td width="213"><span style="color: #e03e2d;"><strong>Refresh</strong></span></td>
<td width="213"><span style="color: #e03e2d;"><strong>Home</strong></span></td>
</tr>
<tr>
<td width="213">Text: Forward</td>
<td width="213">Text: Refresh</td>
<td width="213">--- home</td>
</tr>
<tr>
<td width="213">Text align: Bottom center</td>
<td width="213">Text align: Bottom center</td>
<td width="213">Text align: Bottomcenter</td>
</tr>
<tr>
<td width="213">Name: btnforward</td>
<td width="213">Name: btnRefresh</td>
<td width="213">Name: btnhome</td>
</tr>
<tr>
<td width="213">Image: __ (<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />)</td>
<td width="213">Image: --- (&nbsp; &nbsp;&nbsp;&nbsp;)</td>
<td width="213">Select on image</td>
</tr>
<tr>
<td width="213">Image Align: Top center</td>
<td width="213">Image Align: Top center</td>
<td width="213">Image Align: Top center</td>
</tr>
</tbody>
</table>
<p><span style="color: #e03e2d;"><strong>Read &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close</strong> </span></p>
<p>Read&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Close</p>
<p>----&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ----</p>
<p>Btn read&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; btn close</p>
<p>---- (--)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- (--)</p>
<p>---- (--)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---- (--)</p>
<p>&nbsp; &nbsp; <img class="alignnone wp-image-8989" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_4210-460x533.png" alt="Windows forms" width="359" height="417" /></p>
<p>For send Group box text = Address URL</p>
<p>Take Textbox under the text, place a button after this text box button properties</p>
<p>Properties: Name: txtURL</p>
<p>Name: btnGo, Image = select -&gt; __ &nbsp; &nbsp;<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" /></p>
<p>Text: Go &nbsp; &nbsp;<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />Image Align: Middle Text &nbsp;</p>
<p><span style="color: #e03e2d;"> <strong>// Code for Go button</strong></span></p>
<p>&lsquo;Go (button_Click)</p>
<p>Try</p>
<p>Dim URL as String</p>
<p>URL = txtURL.Text</p>
<p>Dim protocol as string</p>
<p>Protocol = Mid (URL, 1, 4)</p>
<p>If protocol Upper = &ldquo;HTTP&rdquo;</p>
<p>Then</p>
<p>txtURL.Text = &ldquo;http: //&rdquo; &amp; URL</p>
<p>End if</p>
<p>Web Browser1.URL = New URL (txtURL.Text)</p>
<p>Catch ex as Exception</p>
<p>MessageBox.Show (ex.message, Me.Text)</p>
<p>End Try</p>
<p>We may have a user enters a valid or invalid URL so depending on this we use to try that thing and if exception occurs we catch this so we use Exception handling.</p>
<p>In website find b4 www http: //to use this we have protocol. We have to read URL from middle of string for this we have mid The user may enter URL in upper case lower case or both so we must try to convert into upper or lower The user may enter http or not so we need to concatenate http with URL http: //&amp; URL &nbsp; Code for Back button &lsquo;Back (button_Click) webBrowser.GoBack (); For Forward button_click Webbrowser.Goforward () &nbsp; For Refresh WebBrowser1.Refresh () For Home WebBrowser1.GoHome () &nbsp; Click on project [menu] &agrave; add reference &agrave; Under .Net tab select System.Speech (OK) Click on Read button for code Write on top of public class Form1 Imports System.Speech Imports System.SpeechSynthesis Code for Read (button_Click) Dim ss as new Speech Synthesizer Try ss.Rate = 2 ss.Volume = 100 Dim msg as string Msg = webBrowser1.Document.Body.OuterText (Text on in our site <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;which is to be speaked out) ss.SpeakAsync (msg) Catch ex as Exception ss.SpeakAsync (ex.Message) MessageBox.Show (ex.Message, Me.Text) End try Code for close button End Execute and check &nbsp; &nbsp; For form properties Text: vb270 WebBrowser with voice support Icon: select a browser symbol WindowState: Maximized. Creating a basic setup project (if you want to give your s/w for others but not code) Open soln.Explorer Above oca application we find solution Rclick on solution and select add new project We find (+) other project type Under this &nbsp;&nbsp; visual studio installer Select (1click) on this And select setup project on middle of form. Name vb270 Webbrowser with voice support Click on OK We get a form like (+) Application Folder (+) Users Desktop (+) User&rsquo;s program menu Rclick on application and click add &agrave; add &agrave; project output click on others Once we click on project out click OK &nbsp; Again Rclick on application &agrave; add &agrave; file &agrave; (select an icon which we selected for our application) Select Users Desktop And Right click on Blank Frame | [Rclick] And click on Create New shortcut Then window will be opened Click on application folder Select &ldquo;Primary output from vb270 Webbrowser Click OK Open properties of &ldquo;Primary output from vb270 webbrowser&rdquo; Name: vb270 Webbrowser with voice support Description: Icon: Select Icon file what we have added to our program Select Users program menu and Rclick and Add Folder Name: vb270 batch application Users program menu &agrave; vb270 batch applications Select vb270 batch application and Rclick on blank frame and select create new shortcut and follow indtructions performed at users desktop. (|userprgrm&agrave;vb270|Rclick|) After wards we find in menu bar Debug select this mode for deployment. &nbsp; &nbsp; [There will be debug and release mode. Debug shows of there are errors do you want to debug to open VS IDE but in release mode it says if errors are there errors and do you want to terminate application.] [If our project is under construction we select debug] [If our project is completed we select release] Click on Build menu &amp; Build solution Go 2 solutions Explorer Rclick on our application (vb270 Webbrowser with support) and click on build. Save it as your wish &nbsp;</p>
<h3><strong>Timer Control:</strong></h3>
<p>It is used to execute a set of instructions repeatedly for every specific interval of time.</p>
<p>Property: &nbsp;</p>
<p><strong>Interval: </strong> Specify the duration in milliseconds to halt the timer control execution. &nbsp;</p>
<p><strong>Enabled:</strong> It is used to enable or disable the execution of the timer control. &nbsp;</p>
<h3><strong>Events:</strong></h3>
<p><strong>Tick: </strong> Executes the code present within the Event handler for every elapsed time provided at the interval of timer control. Ex: Take WIN FORM application.</p>
<p>&nbsp; <img class="alignnone size-full wp-image-8990" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_435.png" alt="Screenshot_43" width="325" height="237" /> &nbsp; &nbsp;</p>
<p>Below the form drag &amp; drop timer control that area is called as Component tab. Label1 <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Id = lbttime Button1 <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Id = lb1start watch, text = Start watch Button2 <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Id = lb1start watch, text = Stop watch Timer1 <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Interval = 1000 Enable = False (code written in timer would not be execute) Double click on Timer Control &nbsp;</p>
<h3><strong>Code for Timer</strong></h3>
<p>&lsquo;Timer1_tick Lb1Time.Text = Now ToLongTimeString &nbsp;</p>
<h3><strong>Code for start button1 (start watch)</strong></h3>
<p>&lsquo;Start Watch Timer1.Enabled = true &nbsp;</p>
<h3><strong>Code for stop watch (stop button)</strong></h3>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>&lsquo;Stop Watch Timer1.Enabled = false Execute &nbsp;</p>
<p><strong>Image list: </strong> It is used to maintain a collection of images which can be used by any control that has a capability to project the image. Draw some images in order to make animation</p>
<p><img class="alignnone size-full wp-image-8991" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_446.png" alt="Screenshot_44" width="193" height="49" /> &nbsp;</p>
<p><strong>Picture Box: </strong> It is used to project an image. &nbsp;</p>
<p><strong>Property:</strong> <strong>Image URL: </strong> Specify the URL of the image to be displayed. &nbsp;</p>
<p><strong>Size mode: </strong> Specify the mode of image to be displayed.</p>
<p><img class="alignnone size-full wp-image-8992" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_456.png" alt="Screenshot_45" width="414" height="368" /></p>
<p>Ex: Picture Box1: Mode = stretched Button 1: Id = btn start <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />Id = btn pause &nbsp;<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" /> &nbsp; btn continue <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp; btn close <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp; Text = start&nbsp;&nbsp; = pause&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; continue <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp; close Drag &amp; drop timer control, image list control below form For Timer1 &nbsp;<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" /> &nbsp;Enabled = false &nbsp;<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" /> &nbsp;Interval = 500 Click on Image List Task (|&lt;|) Image size: 255, 255 Image list Depth: Depth 32 bit Choose Images &agrave; click on this Add and select all images created by us for animation. &nbsp;</p>
<p><strong>code:</strong> Above Timer code in class Form2 &lsquo;Form declarations Dim index as Integer = 0 &nbsp;</p>
<p><strong>Code in Timer:</strong> &lsquo;Timer_tick If Index &gt; ImageList1.Images.Count &ndash; 1 Then index = 0 pictureBox1.image = ImageList1.Images (index) Index t = 1 &nbsp;</p>
<p><strong>Code for start button</strong> &lsquo;Start (button_Click) Timer1.Enabled = True btnStart.Enabled = False &nbsp;</p>
<p><strong>Pause btn:</strong> &lsquo;Pause (button2_Click) Timer1.Enabled = False &nbsp;</p>
<p><strong>Continue btn:</strong> &lsquo;Continue (button3_Click) Timer1.Enabled = True &nbsp;</p>
<p><strong>Close btn:</strong> &lsquo;Close (button4_Click) End <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;ADD.Net usage Open windows forms application Name: VB270SQL Client Tool</p>
<p><img class="alignnone wp-image-8993" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_466-460x314.png" alt="Screenshot_46" width="499" height="339" /> &nbsp; <strong>&nbsp;</strong></p>
<table width="534">
<tbody>
<tr>
<td width="234"><strong>For Label1:</strong></td>
<td width="300"><strong>For Label2:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For label3:</strong></td>
</tr>
<tr>
<td width="234">Text: Enter your statement</td>
<td width="300">Text: history&nbsp;&nbsp;&nbsp;&nbsp; Name: |b|result</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table width="667">
<tbody>
<tr>
<td width="169"><strong>For Button1:</strong></td>
<td width="138"><strong>For Button2:</strong></td>
<td width="204"><strong>For Button3:</strong></td>
<td width="156"><strong>For Button4:</strong></td>
</tr>
<tr>
<td width="169">Text: Execute</td>
<td width="138">Text: Clear</td>
<td width="204">Text: Clear History</td>
<td width="156">Text: Close</td>
</tr>
<tr>
<td width="169">Name: btn Execute</td>
<td width="138">Name:</td>
<td width="204">Name: btn clear history</td>
<td width="156">Name: btn close</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table style="height: 96px;" width="237">
<tbody>
<tr>
<td width="181"><strong>For Grid View</strong></td>
</tr>
<tr>
<td width="181">Name: dgv Results</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp;</p>
<table style="height: 206px;" width="310">
<tbody>
<tr>
<td width="181"><strong>For Text Box</strong></td>
</tr>
<tr>
<td width="181">Name: txt Stmt</td>
</tr>
<tr>
<td width="181">Multiline: True</td>
</tr>
<tr>
<td width="181">Scrollbars: Vertical</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp;</p>4b:T1f07,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #ba372a;"><strong>Code for Delete (button_click) (Manage Question)</strong></span></h2>
<p>Try</p>
<p>cmd.CommandType = CommandType.StoredProcedure</p>
<p>cmd.CommandText = &ldquo;Remove Question&rdquo;</p>
<p>cmd.Parameters.Clear ()</p>
<p>cmd.Parameters.AddWithValue (&ldquo;@ qid&rdquo;, txtQuestionId.Text)</p>
<p>if cn.State = ConnectionState.Closed then</p>
<p>ex.Open ()</p>
<p>MessageBox.Show (&ldquo;Question removed&rdquo;, Me.Text)</p>
<p>ClearQuestion ()</p>
<p>Catch ex as Exception</p>
<p>MessageBox.Show (ex.Message, &ldquo;Error&rdquo;)</p>
<p>End try</p>
<p>Open UserForm (A new WINFORM)</p>
<p>Place pictureBox on Form</p>
<p>Set image = Select image (vb270 Online Examination)</p>
<p>Dock = Top</p>
<p>BackGround = White (Form)</p>
<p>Place a label <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Candidate Name</p>
<p><img class="alignnone size-full wp-image-9039" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_685.png" alt="Online examination form" width="418" height="291" /> &nbsp;</p>
<p>Select Combobox &amp; select use Databound items</p>
<p>Choose vb270Category OE</p>
<p>Display Member: Category Name</p>
<p>Value Member: Category Id</p>
<p>// Code for Formload (Userform)</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Under user form</p>
<p>lblCName.Text = logicForm</p>
<p>Above TakeExam_buttonClick</p>
<p>Public Shared examid as Integer</p>
<p>// For TakeExam btn</p>
<p>&lsquo;Take Exam (button_click)</p>
<p>Examid = cmbExam.SelectedValue</p>
<p>Dim ef as New ExamForm</p>
<p>Me.Hide ()</p>
<p>Ef.ShowDialog ()</p>
<p>Me.Dispose ()</p>
<p>// Code for close button_click</p>
<p>End</p>
<p>&nbsp; <img class="alignnone wp-image-9040" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_695-460x370.png" alt="Exam form" width="466" height="374" /> &nbsp;</p>
<p>Place another Groupbox upon existing are</p>
<p>Place label 2<sup>nd</sup> Groupbox &agrave; Text</p>
<p>Text: Thank you for using vb270 Online Examination</p>
<p>Place label 2 on 2<sup>nd</sup> Groupbox</p>
<p>Please click on the [finish] button to view the results</p>
<p>For Groupbox2 &ndash; visible = false</p>
<p>For ExamForm_Load</p>
<p>Imports System.Data</p>
<p>Imports System.Data.SqlClient</p>
<p>- Under public class ExamForm</p>
<p>&lsquo;Form declarations</p>
<p>Dim cn as SqlConnection</p>
<p>Dim cmd as SqlCommand</p>
<p>Dim dr as SqlDataReader</p>
<p>Public Shared ds as DataSet</p>
<p>&lsquo;Form_Load</p>
<p>Cn = New Sql Connection (&ldquo;user id = sa; password = 123; database = master; datasource = sekhar&rdquo;)</p>
<p>Cmd = New SqlCommand</p>
<p>cmd.Connection = cn</p>
<p>cmd.CommandType = CommandType.Text</p>
<p>cmd.CommandText = &ldquo;Select * from vb270 QuestionsOE where category id=&rdquo; &amp; userFrom Examid</p>
<p>if cn.State = ConnectionState.closed then cn.Open ()</p>
<p>dr = cmd.ExecuteReader</p>
<p>ds = New Dataset</p>
<p>ds.Tables.Add (&ldquo;User Response&rdquo;)</p>
<p>ds.Tables (0).Columns.Add (&ldquo;Question&rdquo;)</p>
<p>ds.Tables (0).Columns.Add (&ldquo;CorrectAnswer&rdquo;)</p>
<p>ds.Tables (0).Columns.Add (&ldquo;User Answer&rdquo;)</p>
<p>ds.Tables (0).Columns.Add (&ldquo;Status&rdquo;)</p>
<p>Showquestion ()</p>
<p>Go to &lsquo;Form declarations</p>
<p>Public Sub ShowQuestion ()</p>
<p>If dr.Read = True then</p>
<p>lblQuestion.Text = dr.Getvalue (1)</p>
<p>rbtOption1.Text = dr.GetValue (2)</p>
<p>rbtOption2.Text = dr.GetValue (3)</p>
<p>rbtOption3.Text = dr.GetValue (4)</p>
<p>rbtOption4.Text = dr.GetValue (5)</p>
<p>Else</p>
<p>btnNext.Enabled = False</p>
<p>btnFinish.Enabled = True</p>
<p>GroupBoxQuestion.Visible = False</p>
<p>GroupBoxFinal.Visible = True</p>
<p>End if</p>
<p>End sub</p>
<p>// Code for &lsquo;Next (button_click)</p>
<p>SetUserResponse ()</p>
<p>ShowQuestion ()</p>
<p>Again go to &lsquo;Form declarations (exam form)</p>
<p>Public row SetUserResponse ()</p>
<p>Dim row as DataRow</p>
<p>row = ds.Tables (0).NewRow</p>
<p>row (0) = lblQuestion.Text</p>
<p>Select case dr.GetValue (6)</p>
<p>Case ls =1</p>
<p>Row (1) = rbtOption1.Text</p>
<p>Case ls = 2</p>
<p>Row (2) = rbtOption2.Text</p>
<p>Case ls = 3</p>
<p>Row (3) = rbtOption3.Text</p>
<p>Case ls = 4</p>
<p>Row (4) = rbtOption4.Text</p>
<p>End select</p>
<p>If rbtOption1.Checked then row (2) = rbtOption1.Text</p>
<p>If rbtOption2.Checked then row (2) = rbtOption2.Text</p>
<p>If rbtOption3.Checked then row (2) = rbtOption3.Text</p>
<p>If rbtOption4.Checked then row (2) = rbtOption4.Text</p>
<p>If row (1) = row (2) then</p>
<p>Row (3) = &ldquo;Correct&rdquo;</p>
<p>Else</p>
<p>Row (3)</p>
<p>End if</p>
<p>ds.Tables (0).Rows.Add (row)</p>
<p>rbtOption1.Checked = False</p>
<p>rbtOption2.Checked = False</p>
<p>rbtOption3.Checked = False</p>
<p>rbtOption4.Checked = False</p>
<p>End sub</p>
<p>&nbsp; // Code for Finish_button</p>
<p>Dim rf as ResultsForm</p>
<p>Me.Hide ()</p>
<p>rf.ShowDialog ()</p>
<p>Me.Dispose ()</p>
<p>Project (menu) <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Add new form <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Results Form</p>
<p>&nbsp; <img class="alignnone wp-image-9041" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_706-460x356.png" alt="Online examination form" width="422" height="326" /> &nbsp;</p>
<p>&lsquo;Form Load (ResultsForm</p>
<p>lblName.Text = LoginForm.user</p>
<p>DataGridView1.DataSource = ExamForm.ds.Tables (0)</p>
<p>Dim totalQuestions, correctAnswers as Integer</p>
<p>totalQuestions = ExamForm.ds.Tables (0).Rows.Count</p>
<p>CorrectAnswers = 0</p>
<p>For r as Integer = 0 to</p>
<p>ExamForm.ds.Tables (0).Rows (r) (3) = &ldquo;Correct&rdquo; then</p>
<p>CorrectAnswers + = 1</p>
<p>Next</p>
<p>Dim Percentage as integer</p>
<p>Percentage = (CorrectAnswers * 100) / totalQuestions</p>
<p>Lbl CandidateScore.Text = String.Format (&ldquo;Candidate Score ({0} marks)&rdquo;, percentage)</p>
<p>If percentage &gt; = 85 then</p>
<p>Lbl Result.text = &ldquo;Pass&rdquo;</p>
<p>lblResult.FOreColor = Color.Green</p>
<p>loginForm.AxAgent1.Characters (&ldquo;Merlin&rdquo;).Play (&ldquo;Announce&rdquo;)</p>
<p>loginForm.AxAgent1.Characters (&ldquo;Merlin&rdquo;).Play (&ldquo;Congratulate_2&rdquo;)</p>
<p>loginForm.AxAgent1.Characters (&ldquo;Merlin&rdquo;).Speak(String.Format (&ldquo;Congrts {0} you have passed&rdquo;, lblName.Text))</p>
<p>Else</p>
<p>lblResult.Text = &ldquo;Fail&rdquo;</p>
<p>lblResult.ForeColor = Color.Red</p>
<p>LoginForm.AxAgent1.Characters (&ldquo;Merlin&rdquo;).Play (&ldquo;Sad&rdquo;)</p>
<p>LoginForm.AxAgent1.Characters (&ldquo;Merlin&rdquo;).Speak (&ldquo;Better luck next time&rdquo; &amp; lblName.Text)</p>
<p>End if</p>
<p>progressBarUsersCore.Value = Percentage &nbsp; &nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #ba372a; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.Net Interview Questions" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.Net Interview Questions</a></li>
<li><a title="Ajax Extenders" href="ajax-extenders" target="_blank" rel="noopener">Ajax Extenders</a></li>
<li><a title="Caching in vb.net" href="caching-vb-net" target="_blank" rel="noopener">Caching in vb.net</a></li>
</ul>4c:T29dd,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Working with typed Dataset:</strong></span></h2>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Typed Dataset:</strong></span></h3>
<p>Whenever a Dataset is defined based on the XML schema definition file then it is said to be a typed dataset.</p>
<p>To create a Typed Dataset</p>
<p>Go to project [menu] <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />Add new item <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Under installed Templates [left menu] <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;select data <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;select Dataset [middle menu]</p>
<p>Name: NorthWindDs.Xsd</p>
<p>Click Add</p>
<p>Click on Server Explorer</p>
<p>Rclick on Data Connections &agrave; click on add connections</p>
<p>Choose Data Source</p>
<p>Data Source</p>
<p>[Microsoft Account Database fib</p>
<p>Microsoft SQL Server --- ]select this</p>
<p>Continue <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;click</p>
<p>Then the window will be opened.</p>
<p>Server name &ldquo;Sekhar&rdquo; --- differs from system to system</p>
<p>Check Radio button use SQL server authentication</p>
<p>Username: Sa</p>
<p>Password: 123 (***)</p>
<p>Check to save my password</p>
<p>Select or enter a database name</p>
<p>Select NorthWind in the drop-down list</p>
<p>Click on [Test Connection]</p>
<p>Test connection successful&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [OK]</p>
<p>The above steps address a new Data Connection to server Explorer.</p>
<p>Under Tables in Server Explorer</p>
<p>Select Employees tables and drag and drop the table on a form</p>
<p>A Message box is displayed to save the password click yes</p>
<p>Save ctrl + s</p>
<p>Project [menu] <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Add Windows Forms</p>
<p>Click on Data [menu] &agrave; Show Data Sources</p>
<p>We will get a list of NorthWind DS &ndash; Employees</p>
<p>Select Employees and drag and drop on the form.</p>
<p>Select Dock property = till</p>
<p>Execute</p>
<p>Then we get a Table</p>
<p>If the client wants a table in the form of navigation then? &nbsp;</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Projecting the Data using Navigation style:</strong></span></h3>
<p>Project [menu] <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Add Windows Form</p>
<p>Click on Data [menu] &agrave; Show Data Sources</p>
<p>We get <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;NorthWind DC</p>
<p>Employees</p>
<p>Expand these</p>
<p>employees</p>
<p>(-) Employee Id</p>
<p>(-)&nbsp; Last Name</p>
<p>(-) First Name &nbsp;</p>
<p>Drag and drop the columns available under Employees individually on to the form like (sample)</p>
<p>&nbsp; <img class="alignnone wp-image-9012" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_553-460x136.png" alt="Form" width="457" height="134" /></p>
<p>Navigation style is achieved&nbsp;<img class="alignnone size-full wp-image-9013" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_565.png" alt="Navigation style" width="105" height="30" /> &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Establishing Data Relations using Typed Data Set:</strong></span></h3>
<p>Open NorthWindDs.Xsd</p>
<p>Open ServerExplorer</p>
<p>Drag and drop categories and products</p>
<p>Tables on to NorthWindDs.Xsd</p>
<p>If any relation exists it relates among tables.</p>
<p>Save <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;ctrl + s</p>
<p>Go to project [menu] <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />Add Windows Form</p>
<p>Click on Data [menu] <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Show Data Sources</p>
<p>In the Data Source list table, we get categories, products tables</p>
<p>Expand categories table</p>
<p>Drag and drop required columns from the categories table on to the form (like)</p>
<p>&nbsp; <img class="alignnone wp-image-9014" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_575-460x214.png" alt="Typed data set" width="520" height="241" /> &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Working with Tree View control:</strong></span></h3>
<p>Let us design a sample like this</p>
<p><img class="alignnone wp-image-9015" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_585-460x294.png" alt="Tree view control" width="412" height="262" /> &nbsp; &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Working with Tree View control:</strong></span></h3>
<p>Let us design a sample like this</p>
<p>&nbsp; <img class="alignnone size-medium wp-image-9016" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_595-460x354.png" alt="Tree view control" width="300" height="230" /> &nbsp;</p>
<p>Take a new WINFORM</p>
<p>Drag &amp; drop Tree View control</p>
<p>Set Dock = left</p>
<p>Drag &amp; drop splitter control</p>
<p>Drag &amp; drop Group box on form (Rside)</p>
<p>Resize Group box</p>
<p>Drag &amp; drop 4 labels, 4 text boxes, and button in Group box</p>
<p>Select text for Group box as project Details</p>
<p>(Form6_Load)</p>
<p>Above Imports System.Data</p>
<p>Imports System.Data.SqlClient</p>
<p>&lsquo;Form Declarations</p>
<p>Dim cn as SqlConnection</p>
<p>Dim cn as SqlCommand</p>
<p>Dim da as SqlDataAdapter</p>
<p>Dim ds as DataSet</p>
<p>Dim dr as SqlDataReader</p>
<p>For Form_Load</p>
<p>Cn = New SqlConnection (&ldquo;user id = sa; password = 123; database = northwind; data source = sekhar&rdquo;)</p>
<p>da = New SqlDataAdapter (&ldquo;Select * from categories&rdquo;, cn)</p>
<p>ds = New DataSet</p>
<p>da.Fill (ds, &ldquo;Products&rdquo;)</p>
<p>cmd = New Sql Command (&ldquo;Select * from categories&rdquo;, cn)</p>
<p>if cn.State = ConnectionState closed then</p>
<p>cn.Open ()</p>
<p>End if</p>
<p>dr = cmd.Executereader</p>
<p>Dim root as New TreeNode</p>
<p>Root Text = &ldquo;Available Products&rdquo;</p>
<p>While dr.Read</p>
<p>Executes the loop till records are present in Data Reader</p>
<p>Dim Parent as new Tree Node</p>
<p>Parent.text = dr.GetValue (1)</p>
<p>For r as integer = 0 to ds.Tables (&ldquo;Products&rdquo;).Rows.Count -1</p>
<p>If dr.GetValue (0) = ds.Tables (&ldquo;Products&rdquo;)</p>
<p>Rows (r) (&ldquo;CategoryId&rdquo;) Then</p>
<p>Dim child as New treeNode</p>
<p>Child.text = ds.Tables (&ldquo;Products&rdquo;. Rows (r) (&ldquo;Product Name&rdquo;)</p>
<p>Child.Tag = ds.Tables (&ldquo;products&rdquo;).Rows (r) (&ldquo;Product Id&rdquo;)</p>
<p>Parents.Nodes.Add (Child)</p>
<p>End if</p>
<p>Next</p>
<p>Root Nodes.Add (parent)</p>
<p>End while</p>
<p>TreeView l.Nodes.Add (root)</p>
<p>ds.Tables (&ldquo;Products&rdquo;).Constrints.Add (&ldquo;Pid_Pk&rdquo;,</p>
<p>ds.tables (&ldquo;Product&rdquo;).Columns (&ldquo;Product Id&rdquo;), True) &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Double click on Tree View Control:</strong></span></h3>
<p>&lsquo;TreeView1_After Select</p>
<p>If e.Node.Text &lt;&gt; &ldquo;Available Products&rdquo; Then</p>
<p>If e.Node.ParentText &lt;&gt; &ldquo;Available Products&rdquo; Then</p>
<p>Dim row as DataRow</p>
<p>Row = ds.Tables (&ldquo;Products&rdquo;).Rows.Find (e.Node.Tag)</p>
<p>txtProductId.Text = row (&ldquo;Product Id&rsquo;)</p>
<p>txtProductName.Text = row (&ldquo;Product Name&rdquo;)</p>
<p>txtQuantity.Text = row (&ldquo;Quantity per Unit&rsquo;)</p>
<p>txtPrice.Text = row (&ldquo;Unit Price&rsquo;)</p>
<p>End if</p>
<p>End if</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Execute Assign</p>
<table>
<tbody>
<tr>
<td width="139"><span style="color: #e03e2d;"><strong>Dept</strong></span></td>
<td width="132"><span style="color: #e03e2d;"><strong>Emp</strong></span></td>
</tr>
<tr>
<td width="139">Dept no</td>
<td width="132">Eno</td>
</tr>
<tr>
<td width="139">Dname</td>
<td width="132">Ename</td>
</tr>
<tr>
<td width="139">Loc</td>
<td width="132">Esal</td>
</tr>
<tr>
<td width="139">&nbsp;</td>
<td width="132">Job</td>
</tr>
<tr>
<td width="139">&nbsp;</td>
<td width="132">Dept no</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e03e2d; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.Net Interview Questions" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.Net Interview Questions</a></li>
<li><a title="Caching in vb.net" href="caching-vb-net" target="_blank" rel="noopener">Caching in vb.net</a></li>
</ul>4d:T1fd3,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Inheritance:</strong></span></h2>
<p>It is a collection of members without any definitions. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Syntax:</strong></span></h3>
<p>Interface &lt;interface Name&gt;</p>
<p>&ldquo;Member(s) without definition</p>
<p>- - - - - -</p>
<p>End interface</p>
<p>The members of the interface are by default &ldquo;public&rdquo; and hence the members present within the interface should not be defined using any modifier. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Note:</strong></span></h3>
<p>To use the members of the interface, it is mandatory to implement the interface using the class. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Syntax to define a class for implementing an interface(s):</strong></span></h3>
<p>Class &lt;class Name&gt; implements interface Name(s)</p>
<p>Member(s)</p>
<p>-&nbsp; - - - - - -</p>
<p>End interface &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Note:</strong></span></h3>
<ul>
<li>A single class can implement any number of interfaces.</li>
<li>The class which implements an interface has to provide the complete definition for the members present within the interface else an object can&rsquo;t be created for the class.</li>
</ul>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Syntax to define interface member:</strong></span></h3>
<p>Modifier sub-method name ([arginfo]) implements</p>
<p>InterfaceName.memberName</p>
<p>Statement(s)</p>
<p>- - - - - - - -</p>
<p>End sub &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Note:</strong></span></h3>
<ul>
<li>It is not mandatory to have the same name for interface member and method which provides implementation at the class.</li>
<li>A single method can provide the implementation for any number of interface members.</li>
</ul>
<p>&nbsp; <img class="alignnone size-medium wp-image-8976" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_338-460x271.png" alt="Inheritance" width="300" height="176" /> &nbsp;</p>
<p>(Multiple Inheritances is possible in JAVA &amp; in JAVA JNH &amp; implementation is same)</p>
<p>But VB.Net people think JNH &amp; implements are different</p>
<p>JNH &agrave; Means taking the members &amp; property of the parent</p>
<p><strong><span style="color: #e03e2d;">Ex: </span></strong>Parents property to the child if 3 Assets</p>
<p>JMP &agrave; Means giving the def for members</p>
<p><strong><span style="color: #e03e2d;">Ex: </span></strong>Parents loan clearing by a child.</p>
<p>&lsquo;&lsquo;Demo on Interface</p>
<p>Imports system</p>
<p>Module Interface &lsquo;&lsquo;Demo1</p>
<p>Interface I Father</p>
<p>Sub My Property ( )</p>
<p>End Interface</p>
<p>Interface I Mother</p>
<p>Sub My Property ( )</p>
<p>End Interface</p>
<p>Class Child</p>
<p>Implements I Father, I Mother</p>
<p>Public sub-My Property ( )</p>
<p>Implements I Father.My Property, I Mother.My Property ( )</p>
<p>Console.WriteLine (&ldquo;Use property for business and charity&rdquo;)</p>
<p>End sub</p>
<p>End Class</p>
<p>Sub main ( )</p>
<p>Dim C as Child</p>
<p>C.My Property ( )</p>
<p>End sub</p>
<p>End Module</p>
<p><img class="alignnone size-medium wp-image-8977" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_347-460x314.png" alt="Inheritance" width="300" height="204" /> &nbsp;</p>
<p>&lsquo;&lsquo;Demo on Interface</p>
<p>Imports system</p>
<p>Module Interface &lsquo;&lsquo;Demo2</p>
<p>Interface I Father</p>
<p>Sub My Property ( )</p>
<p>End Interface</p>
<p>Interface I Mother</p>
<p>Sub My Property ( )</p>
<p>End Interface</p>
<p>Class Child</p>
<p>Implements I Father, I Mother</p>
<p>Public sub-Father Property ( )</p>
<p>Implements I Father.My Property</p>
<p>Console.WriteLine (&ldquo;Use property for business&rdquo;)</p>
<p>End sub</p>
<p>Public sub-Mother Property ( )</p>
<p>Implements I Mother.My Property</p>
<p>Console.WriteLine (&ldquo;Use property for charity&rdquo;)</p>
<p>End sub</p>
<p>End Class</p>
<p>Sub main (&nbsp;</p>
<p>Dim C as New Child</p>
<p>C.Father Property ( )</p>
<p>C.Mother Property ( )</p>
<p>End sub</p>
<p>End Module <strong>&nbsp;</strong></p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Must Inherit Class:</strong></span></h3>
<p>It is a class with a collection of members without any definitions.</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Syntax:</strong></span></h3>
<p>Must Inherit class &lt;class Name&gt;</p>
<p>Member(s)</p>
<p>- - - - - - -</p>
<p>End class <strong>&nbsp;</strong></p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Note:</strong></span></h3>
<p>Objects can&rsquo;t be defined for Must Inherit class To use the members of the Must inherit class it must be inherited by the other class and derived class should define members not defined within the must inherit class</p>
<p><img class="alignnone size-full wp-image-8978" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_357.png" alt="Inherit class" width="447" height="381" /> &nbsp; &nbsp; &nbsp;</p>
<p>Dim C as New abstract class () gives error &lsquo;.&rsquo; We can&rsquo;t create an object for must inherit a class &nbsp;</p>
<p>&lsquo;&lsquo;Demo on MustInherit Class</p>
<p>Imports system</p>
<p>Module MustInherit Class &lsquo;&lsquo;Demo</p>
<p>MustInherit Class Abstract Class</p>
<p>Public sub Method Defined ()</p>
<p>Console.WriteLine (&ldquo;Method Defined at Abstract Class&rdquo;)</p>
<p>End sub</p>
<p>Public MustOverride sub</p>
<p>Method Undefined ()</p>
<p>End Class</p>
<p>Class Derived Class</p>
<p>Inherits Abstract Class</p>
<p>Public Overrides sub</p>
<p>Method Undefined ()</p>
<p>Console.WriteLine (&ldquo;Method Defined at Abstract Class&rdquo;)</p>
<p>End sub</p>
<p>End Class</p>
<p>Sub main ( )</p>
<p>Dim ac as New Abstract Class //error</p>
<p>Dim dc as new Derived Class</p>
<p>dc.MethodDefined ( )</p>
<p>dc.MethodUnDefined ( )</p>
<p>End sub</p>
<p>End Module &nbsp;</p>
<p><span style="font-size: 12pt; color: #e03e2d;"><strong>Not Inheritable Class:</strong></span></p>
<p>It is used to define a class as the last class in the hierarchy of inheritance. i.e.; NotInheritable class can&rsquo;t be inherited further.</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Note:</strong></span></h3>
<p>A NotInheritable class can inherit other class and can implement any no. of inheritances and objects can also be defined for the class. &nbsp; &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Ex:</strong></span></p>
<p><img class="alignnone size-full wp-image-8979" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/146.png" alt="1" width="385" height="270" /> &nbsp; &nbsp;</p>
<p>&lsquo;&lsquo;Demo on NotInheritable Class</p>
<p>Imports system</p>
<p>Module NotInheritable Class &lsquo;&lsquo;Demo</p>
<p>Interface I Face</p>
<p>Sub My Method ()</p>
<p>End interface</p>
<p>Class BaseClass</p>
<p>Public sub says ()</p>
<p>Console.WriteLine (End of VB.Net Fundamentals&rdquo;)</p>
<p>End sub</p>
<p>End Class</p>
<p>NotInheritable class FinalClass</p>
<p>Inherits BaseClass</p>
<p>Implements I Face</p>
<p>Public sub-MyMethod () Implements IFace.MyMethod</p>
<p>Console.Write (&ldquo;MyMethod says&rdquo;)</p>
<p>End sub</p>
<p>End class</p>
<p>Sub main ()</p>
<p>Dim fc as New FinalClass</p>
<p>fc.MyMethod ()</p>
<p>fc.says ()</p>
<p>End sub</p>
<p>End Module &nbsp;</p>
<p style="text-align: center;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" title="VB.Net Tutorials" href="vb-net-tutorials" target="_blank" rel="noopener">VB.Net Tutorials</a></p>4e:T1dd3,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #ba372a;">Object-Oriented Program Model:</span></h2>
<p><img class="alignnone wp-image-8981" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_366-460x577.png" alt="object oriented program model" width="491" height="616" /> <strong>&nbsp;</strong></p>
<ul>
<li>Suppose an institute approached you to develop software. Let us see that many institutes will approach you to develop a website for them. You need not develop a specific project for every single rather than to develop a single project &amp; edit.</li>
<li>In the above design, we take an institute class and it contains courses offered since we know a variety of courses and address is varied 1m to other institutes.</li>
<li>The client is peers discount by default is R.S of if joining by the group may be discount consists. &nbsp;</li>
</ul>
<h2><span style="font-size: 14pt; color: #ba372a;"><strong>Event handling in .NET:</strong> &nbsp; </span></h2>
<h3><span style="color: #ba372a; font-size: 12pt;"><strong>Event: </strong></span></h3>
<p>These are the actions that are allowed on control or an object. &nbsp;</p>
<p><span style="color: #ba372a;"><strong>For Ex: </strong></span>Click, Mouse Move, etc. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #ba372a;"><strong>Event handling:</strong> </span></h3>
<p>These are the methods that provide the functionality or the task to be executed whenever an event has been raised on a control. VB.Net supports two types of Event handlers</p>
<ul>
<li>Static Event handlers</li>
<li>Dynamic Event handlers</li>
</ul>
<p>Using console application for projecting a windows form</p>
<p>To use Windows Form, the &ldquo;System.Windows.Forms.Form&rdquo; class should be used.</p>
<p>Open console application</p>
<p>If we Write Imports System.Windows.Form //gives error</p>
<p>So go to project [menu] &agrave; add a reference</p>
<p>In add reference menu select .NET &amp; select System.Windows.Forms &amp; press OK</p>
<p>Hence error is removed automatically</p>
<p>&lsquo;&lsquo;Demo on using a console application to project win form</p>
<p>Imports System.Windows.Forms</p>
<p>Module Winform&rsquo;&rsquo; Demo</p>
<p>Class FClass</p>
<p>Inherits Form</p>
<p>End Class</p>
<p>Sub main ()</p>
<p>Dim fc as New FClass</p>
<p>fc.Text = &ldquo;VB 270 WinForm &lsquo;&lsquo;Demo&rdquo;</p>
<p>fc.showDialog ()</p>
<p>End sub</p>
<p>End Module</p>
<ul>
<li>Execute then we get a WinForm</li>
</ul>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h2><span style="font-size: 14pt; color: #ba372a;"><strong>Static Event handlers:</strong> </span></h2>
<p>Whenever an event handler is defined for the objects or controls created at the design time then it is said to be a Static Event Handler. &nbsp;</p>
<p><span style="color: #ba372a;"><strong>Note:</strong></span></p>
<p>To bind a static Event Handler for, a control or an object then it is mandatory to create the objects using the &ldquo;WithEvents&rdquo; modifier. <strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><span style="font-size: 12pt; color: #ba372a;"><strong>Syntax to define a Static Event Handler:</strong></span></h3>
<p>Private sub ControlName_EventName (By Val sender as Object, By Val e as xEveneArgs) handles ControlName.EventName</p>
<p>Statement(s)</p>
<p>- - - - - - -</p>
<p>End sub</p>
<p>Take a New Module</p>
<p>&lsquo;Demo on Static Event handling . . . .</p>
<p>Imports System.Windows.Forms</p>
<p>Module Static Event Handling Demo</p>
<p>Class FClass</p>
<p>Inherits Form</p>
<p>WithEvents t as New TextBox</p>
<p>Sub new ()</p>
<p>t.Multitime = true</p>
<p>t.ScrollBars = ScrollBars.Vertical</p>
<p>t.Dock = DockStyle.Fill</p>
<p>Me.Text = &ldquo;StaticEventHandlingdemo&rdquo;</p>
<p>Me.Controls.Add(t)</p>
<p>End sub</p>
<p>Private sub t.Keypress (By Val sender As Object, By Val e as KeyPressEventArgs)</p>
<p>Handles t.KeyPress</p>
<p>e.Handled = True &lsquo;Nullify the KeyPress (Don&rsquo;t take p/p of user)</p>
<p>t.Text$ = &ldquo;East or West .Net is best</p>
<p>So eat.Net, Drink.Net, sleep.Net, .Net simply rockzzzz&rdquo;</p>
<p>End sub</p>
<p>End class</p>
<p>Sub main ()</p>
<p>Dim fc as New FClass</p>
<p>fc.ShowDialog ()</p>
<p>End sub</p>
<p>End Module &nbsp;</p>
<h2><span style="font-size: 14pt; color: #ba372a;"><strong>Dynamic Event Handlers:</strong> </span></h2>
<p>Whenever an Event Handlers are being defined for the controls that are created at the runtime then it is said to be Dynamic Event Handling. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #ba372a;"><strong>Syntax to add a Dynamic Event Handler:</strong> </span></h3>
<p>AddHandler, ControlName.EventName, Address of Method Name &nbsp;</p>
<p><span style="color: #ba372a;"><strong>Note:</strong></span></p>
<ul>
<li>Any modifiers can be used for defining the objects.</li>
<li>Dynamic Event Handlers can be removed at run time but Static Event Handlers can&rsquo;t be removed.</li>
<li>To remove a Dynamic Event Handler</li>
</ul>
<p><span style="color: #ba372a;">&nbsp;<strong>Syntax:</strong></span></p>
<p>RemoveHandler, ControlName.EventName, Address of MethodName</p>
<p>Take a New Module</p>
<p>&lsquo;Demo on Dynamic Event handling . . . .</p>
<p>Imports System.Windows.Forms</p>
<p>Module DynamicEventHandler</p>
<p>Class FClass</p>
<p>Inherits Form</p>
<p>Sub new ()</p>
<p>Dim f/p as new FlowLayoutPanel</p>
<p>For I as Integer = 1 to 5</p>
<p>Dim b as New button</p>
<p>b.Text = i</p>
<p>AddHandler b.click, address of b_click</p>
<p>fip.Controls.Add(b)</p>
<p>Next</p>
<p>Me.Text = &ldquo;DynamicEventHandlingDemo&rdquo;</p>
<p>Me.Control.Add (fip)</p>
<p>End sub</p>
<p>Private sub b_click (By Val sender as Object, By Val e as EventArgs)</p>
<p>Dim b as a new button</p>
<p>B = (Type (sender, Button)</p>
<p>MessageBox.Show (&ldquo;You have clicked&rdquo; &amp; b.Text, Me.Text)</p>
<p>End sub</p>
<p>End class</p>
<p>Sub main ()</p>
<p>Dim fc as New FClass</p>
<p>fc.ShowDialog ()</p>
<p>End sub</p>
<p>End Module</p>
<p>Execute &nbsp;</p>
<p><strong><span style="color: #ba372a; font-size: 12pt;">Observation</span></strong></p>
<p>&nbsp; <img class="alignnone wp-image-8982" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_386-460x272.png" alt="Dynamic event handlers" width="461" height="272" /> &nbsp;</p>
<p>This is nothing but the object from which the event is raised.</p>
<p>Ex: 1, 2, 3, 4, 5</p>
<p>The sender must object so we must convert</p>
<p>We use C Type</p>
<p>C Type (Sender, Button)</p>
<p>It must be assign to b which means</p>
<ul>
<li>Sender in the event handler maintains the object which has raised the event.</li>
</ul>
<p>&nbsp; &nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #ba372a; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.Net Interview Questions" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.Net Interview Questions</a></li>
<li><a title="Object-Oriented Program Model in vb.net" href="object-oriented-program-model-vb-net" target="_blank" rel="noopener">Object-Oriented Program Model in vb.net</a></li>
<li><a title="Working of Constructors in vb.net" href="working-constructors-vb-net" target="_blank" rel="noopener">Working of Constructors in vb.net</a></li>
</ul>4f:Tbb2,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Accessing stored procedures using LINQ</strong></span></h2>
<p>Open ServerExplorer</p>
<p>Open NorthWindDataConnection</p>
<p>Drag &amp; drop CustOrderList (Stored Procedure) on Form (which contains tables we drag &amp; dropped (cust, order, - - - -))</p>
<p>(The stored procedure we already have)</p>
<p>Rclick anywhere on the design and click ShowMethodSpan. Now a window will be opened showing all stored procedure</p>
<p>Save</p>
<p><span style="color: #e03e2d;"><strong>Note:</strong></span> The above steps will add the definition of the stored procedure with LINQ to SQL classes. &nbsp;</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>The stored procedure used in LINQ:</strong></span></h2>
<p>ALTER PROCEDURE CustOrderList</p>
<p>@ Customer ID nchar (5)</p>
<p>AS</p>
<p>SELECT Product Name, Total = SUM &nbsp; <strong>- - &gt;</strong>&nbsp; (quantity)</p>
<p>FROM ProductsP, [Order Details] Od, Orders O, Customers c</p>
<p>WHERE C.CustomerID = @ Customer ID</p>
<p>AND C.CustomerID = O.CustomerID</p>
<p>AND O.OrderID = OD.OrderID AND</p>
<p>OD.ProductID = D.ProductID</p>
<p>GROUP BY Product Name</p>
<p>Click on GridView2 task and edit columns</p>
<p>Expand Command Field &agrave; Select &agrave; Add</p>
<p>Button type: button</p>
<p>SelectText: ShowOrders</p>
<p>Double click on GridView2</p>
<p>&ldquo;GridView2_SelectedIndexChanged</p>
<p>String cid;</p>
<p>TableCell tcCID = (TableCell) GridVIew2. SelectedRow. Cells [3];</p>
<p>cid = tcCID.Text;</p>
<p>Response.Redirect (&ldquo;ShowOrdersHistoryByCID.aspx? cid = &ldquo; + cid);</p>
<p>Website [menu] <strong>- - &gt;</strong>Add NewItem &ndash; Name: ShowOrdersHistoryByCID</p>
<p>Place a GridView Control</p>
<p><span style="color: #e03e2d;">// Page_Load</span></p>
<p>String CustomerId = request.QueryString [&ldquo;cid&rdquo;];</p>
<p>NorthWindDBDataContext dc = new NorthWindDBDataContext ();</p>
<p>Var ordersHistory = dc.CustOrderHist (CustomerId);</p>
<p>GridView1.DataSource = orderHistory;</p>
<p>GridView1.DataBind ();</p>
<h2 style="text-align: justify;"><span style="color: #e03e2d; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.Net Interview Questions" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.Net Interview Questions</a></li>
<li><a title="Caching in vb.net" href="caching-vb-net" target="_blank" rel="noopener">Caching in vb.net</a></li>
<li><a title="Data Types and variables in vb.net" href="data-types-variables-vb-net" target="_blank" rel="noopener">Data Types and variables in vb.net</a></li>
</ul>50:T1f19,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Filtering the Data based on LINQ queries</strong></span></h2>
<p>&nbsp; <img class="alignnone wp-image-9043" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_7112-460x328.png" alt="Linq Queries" width="492" height="349" /> &nbsp;</p>
<p>Take 3x1 table Write available categories</p>
<p>Drag &amp; drop DropDownList</p>
<p>Drag &amp; drop Grid View Control &amp; set width Autoformat</p>
<p>Drag &amp; drop LINQDataSource &amp; set width Autoformat</p>
<p>Select LINQDataSource task &amp; configure Database</p>
<p>Category Id</p>
<p>Category Name</p>
<p>For DropDown List: Choose DataSource: LINQDataSource</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Category Name</p>
<p>For dropdown list: ddl available</p>
<p>AutoPostball: true</p>
<p>Double click on the Dropdown list</p>
<p>NorthWind DBDataContext dc = new NorthWindDBDataContext ();</p>
<p>Int cid = int.Parse (ddlCategories.SelectedItem.Value;</p>
<p>Var products = from product in dc.Products</p>
<p>Where</p>
<p>Product.Category Id = cid</p>
<p>Select new</p>
<p>?</p>
<p>Product.Product Id,</p>
<p>Product.ProductName,</p>
<p>Product = QuantityPerUnit,</p>
<p>Product.UnitPrice</p>
<p>};</p>
<p>GridView1.DataSource = Products;</p>
<p>GridView1.DataBind ();</p>
<p>Click on GridView tasks <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" /> Edit columns &agrave; Uncheck auto-generate fields</p>
<p>Select BoundField</p>
<p>Click Add</p>
<p>Header Text: Product ID</p>
<p>DataFile ID: Product ID</p>
<p>Select HyperLink Field</p>
<p>Add&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HeaderText: ProductName</p>
<p>DataNavigateURI Fields: Product ID</p>
<p>DataNavigateURIFormatString: Showorders by Id.aspx ? pid = {0}</p>
<p>DataTextField: Product Name</p>
<p>Select Bound field</p>
<p>Add&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Header Text: Quanity</p>
<p>DataField: Quanity per unit</p>
<p>Unit Price</p>
<p>Website (menu) &ndash; Add New Webform</p>
<p>Name: ShowOrdersby Id &nbsp;<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" /> &nbsp;take 3x1 table</p>
<p>&nbsp; <img class="alignnone size-full wp-image-9044" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_729.png" alt="Linq Datasources" width="235" height="161" /> &nbsp;</p>
<p>Select LINQ Data Source tab <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Table: Order_details</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Select: </strong></span></h3>
<h3><img class="alignnone size-full wp-image-9045" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_735.png" alt="Linq Queries" width="165" height="241" /></h3>
<h3><img class="alignnone size-medium wp-image-9046" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_746.png" alt="Linq Queries" width="300" height="203" /></h3>
<p>&nbsp;</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Select Grid View tasks: </strong></span></h3>
<p>ChooseDataSource: LINQDataSource</p>
<p>Click on edit columns</p>
<p>Command Field <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;select <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;add</p>
<p>Button Type: button<img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />Select Text: Show Customer</p>
<p>OK &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Observation:</strong></span></h3>
<p>The data from Grid View can be read from 3 different event handles.</p>
<ul>
<li>From the event handlers of external controls</li>
<li>From the selected Index changed event of Grid View (select [Command Field])</li>
</ul>
<ul>
<li>From any events of Grid View other &nbsp;than selected Index changed</li>
</ul>
<p>&nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>To refer to the Grid View row from selected Index changed event of Grid View:</strong></span></h3>
<p>Grid View name.Selected Row</p>
<p>To refer the Grid View Row from the events of Grid View other than Selected Index Changed;</p>
<p>e.Row (where &ldquo;e&rdquo; is a Grid View Row Event Args variable) &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Note:</strong></span></p>
<p>Data within the Grid View Row will exist within the table cell of Grid View Row or within some control present within the table cell of Grid View Row. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>To read the Data from the Table cell of Grid View Row:</strong></span></h3>
<p>(Table cell) Grid View Row. Cells [cell index]</p>
<p>To read the value from the control present within the Table cell of GridViewRow</p>
<p>(Control Type) GridViewRow. Cells [cellindex]. Controls [Control index]</p>
<p>(Or)</p>
<p>(Control Type) GridViewRow. Cells [cellindex]. Find Control [Control Name]</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;If we check 101 and list delete it must be deleted (Check Box)</p>
<p>Gvl.Rows[0].Cells [0].Find Control (chkOrderId) &nbsp;</p>
<h4><span style="font-size: 12pt; color: #e03e2d;">// Double click on GridView</span></h4>
<p>NorthWindDBDataContext dc = new NorthWindDBDataContext ();</p>
<p>Table oid = (Tablecell) GridView1.SelectedRow.Cells [0];</p>
<p>Int OrderId = int Parse (oid.Text)</p>
<p>Var cinfo = from customer in</p>
<p>dc.Orders where customer.OrderID = = OrderID</p>
<p>Select new</p>
<p>{</p>
<p>Customer.Customer.CompanyName,</p>
<p>Customer.Customer.ContextName,</p>
<p>Customer.Customer.CustomerID,</p>
<p>Customer.Customer.Country</p>
<p>} ;</p>
<p>GridView2.DataSource = cinfo;</p>
<p>GridView2.DataBind ();</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Execute &nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e03e2d; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.Net Interview Questions" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.Net Interview Questions</a></li>
<li><a title="Accessing stored procedures using LINQ in vb.net" href="accessing-stored-procedures-using-linq-vb-net" target="_blank" rel="noopener">Accessing stored procedures using LINQ in vb.net</a></li>
</ul>51:T865,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Working with Microsoft Agent Control:</strong></span></h2>
<ul>
<li>Microsoft agent characters files will have .acs as its extension (characters in search option (dog (Rover), Merlen 9man), . . . . .)</li>
<li>Agent characters will have individual capabilities based on the Agent Character File</li>
</ul>
<p>Take New WINFORM</p>
<p>Rclick on Tool Box and select the Add tab</p>
<p>Name: COM components</p>
<p>Rclick on COM components tab (In opened Window) under this</p>
<p>Check &nbsp;&nbsp;&nbsp;Microsoft agent Control2.0 <img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;OK</p>
<p>Drag &amp; drop Agent Control on the Form.</p>
<p>Drag &amp; drop ListBoxControl beside Agent Control</p>
<p>&nbsp; <img class="alignnone wp-image-9027" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_636-460x172.png" alt="List box" width="396" height="148" /> &nbsp;</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<p>Double click on Form_Load</p>
<p>&lsquo;Form_Load</p>
<p>AxAgent1.Characters.Load (&ldquo;Merlin&rdquo;, &ldquo;C: Windowsmsagentcharsmerlin.acs&rdquo;)</p>
<p>AxAgent1.Characters (&ldquo;Merlin&rdquo;).Show ()</p>
<p>For each an as String in {To list out animations on}</p>
<p>AxAgent1.characters (&ldquo;Merlin&rdquo;).Animation Names</p>
<p>&lsquo;ListBox1_SelectedIndexChanged</p>
<p>AxAgent1.Characters (&ldquo;Merlin&rdquo;).Play (ListBox1.SelectedItem)</p>
<p>(Execute)</p>
<p style="text-align: center;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" title="VB.NET Tutorials" href="vb-net-tutorials" target="_blank" rel="noopener">VB.NET Tutorials</a></p>
<h3>&nbsp;</h3>52:T133f,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Method Overloading:</strong></span></h2>
<ul>
<li>Whenever the definition of the base class is modified at the derived class then it is said to be method overriding.</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-8971" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_3112-460x207.png" alt="Method overloading" width="478" height="215" /> &nbsp;</p>
<ul>
<li>If you want to change the definition then you must use the keyword &ldquo;Overrides&rdquo; Overrides change the definition of the base class. &nbsp;</li>
</ul>
<h3><span style="color: #e03e2d; font-size: 12pt;"><strong>Note:</strong></span></h3>
<p>In order to modify the definition of the base class at the derived class then the method should be prefixed with the &ldquo;Overrides&rdquo; keyword. &nbsp;</p>
<h3><span style="color: #e03e2d; font-size: 12pt;"><strong>Note:</strong></span></h3>
<p>If any method is defined using the &ldquo;Overrides&rdquo; keyword at the derived class then the method should be prefixed with the &ldquo;Overridable&rdquo; keyword at the base class. &nbsp;</p>
<h3><span style="color: #e03e2d; font-size: 12pt;"><strong>Note:</strong></span></h3>
<p>If any method is prefixed with the &ldquo;Overridable&rdquo; keyword at the base class then it is not mandatory to redefine the definitions at the derived class.</p>
<p>&lsquo;&lsquo;Demo on Method Overriding</p>
<p>Imports system</p>
<p>Module Method Overriding &lsquo;&lsquo;Demo</p>
<p>Class Parents</p>
<p>Public Overridable sub-MyProperty ( )</p>
<p>Console.WriteLine (&ldquo;Use property for business&rdquo;)</p>
<p>End sub</p>
<p>End class</p>
<p>Class Children overrides sub-MyProperty ( )</p>
<p>MyBase.My property ( ) invokes the base class my property method</p>
<p>Console.WriteLine (&ldquo;Use the property for charity&rdquo;)</p>
<p>End sub</p>
<p>End class</p>
<p>Sub main ( )</p>
<p>Dim c as New Children</p>
<p>C.MyProperty ( )</p>
<p>End sub</p>
<p>End Module &nbsp;</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>Shadowing:</strong></span></h2>
<p>It is used to maintain two definitions at the derived class such that one definition can be shadowed in order to project the other definition i.e., the definition of the base class can be shadowed in order to project the new definition provided at the derived class and vice versa is also applicable.</p>
<p>&nbsp; <img class="alignnone wp-image-8972" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_3210-460x247.png" alt="Shadowing" width="401" height="215" /> &nbsp; &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Observation:</strong></span></h3>
<ul>
<li>In order to shadow the definition at the derived class shadows keyword should be used.</li>
<li>If an object is created for the derived class then the definition provided at the derived class will be projected.</li>
<li>In order to retrieve the definition of the base class using the derived class object.</li>
</ul>
<h3><span style="font-size: 12pt; color: #e03e2d;">&nbsp;<strong>To Do:</strong></span></h3>
<ul>
<li>Define a variable for the base class</li>
<li>Create an instance for the derived class and assign to the base class variable invoke the members using the base class variable.</li>
</ul>
<p>&lsquo;&lsquo;Demo on Shadowing</p>
<p>Imports system</p>
<p>Module Shadowing &lsquo;&lsquo;Demo</p>
<p>Class Parents Public sub-MyProperty ( )</p>
<p>Console.WriteLine (&ldquo;Use the property for business&rdquo;)</p>
<p>End sub</p>
<p>End class</p>
<p>Class children</p>
<p>Inherits Parents</p>
<p>Public Shadows sub-MyProperty ()</p>
<p>Console.WriteLine (&ldquo;Use property for charity&rdquo;)</p>
<p>End sub</p>
<p>End class</p>
<p>Sub main ( )</p>
<p>Dim c as New Children</p>
<p>C.MyProperty ( )</p>
<p>Dim P as Parents</p>
<p>P.MyProperty ( )</p>
<p>End sub</p>
<p>End Module &nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e03e2d; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.Net Interview Questions" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.Net Interview Questions</a></li>
<li><a title="Object Oriented Program Model in vb.net" href="object-oriented-program-model-vb-net" target="_blank" rel="noopener">Object Oriented Program Model in vb.net</a></li>
<li><a title="Introduction to VB.Net 4" href="introduction-vb-net-4" target="_blank" rel="noopener">Introduction to VB.Net 4</a></li>
</ul>53:T14a5,<p>&nbsp;</p>
<p style="text-align: justify;">Within the AJAX control Toolkit, most of the controls are extender controls. Extender controls are the controls that extend the functionality of existing controls of Asp.net &amp; these controls are not separate independent controls. The extender controls available in AJAX Toolkit are as follows.</p>
<p style="text-align: justify;"><a title="Ajax Calendar Extender" href="https://tekslate.com/ajax-calendar-extender/" target="_blank" rel="noopener">Ajax Calendar Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Collapsible Extender" href="https://tekslate.com/ajax-collapsible-panel-extender/" target="_blank" rel="noopener">Ajax Collapsible Extender</a></p>
<p style="text-align: justify;">Ajax Color Picker Extender</p>
<p style="text-align: justify;"><a title="Ajax Modal Popup Extender" href="https://tekslate.com/ajax-modal-popup-extender-example/" target="_blank" rel="noopener">Ajax Modal Popup Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Drag Panel Extender" href="https://tekslate.com/ajax-drag-panel-extender-with-example/" target="_blank" rel="noopener">Ajax Drag Panel Extender</a></p>
<p style="text-align: justify;">Ajax Drop Shadow Extender</p>
<p style="text-align: justify;"><a title="Ajax Filtered Text Box Extender" href="https://tekslate.com/ajax-filtered-textbox-extender-with-example/" target="_blank" rel="noopener">Ajax Filtered Text Box Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Hover Menu Extender" href="https://tekslate.com/ajax-hover-menu-extender-with-example/" target="_blank" rel="noopener">Ajax Hover Menu Extender</a></p>
<p style="text-align: justify;">Ajax Drop Down Extender</p>
<p style="text-align: justify;"><a title="Ajax Dynamic Populate Extender" href="https://tekslate.com/ajax-dynamic-populate-extender-with-example/" target="_blank" rel="noopener">Ajax Dynamic Populate Extender</a></p>
<p style="text-align: justify;"><a title="Ajax List Search Extender" href="https://tekslate.com/ajax-list-search-extender-with-example/" target="_blank" rel="noopener">Ajax List Search Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Mask Edit Extender" href="https://tekslate.com/ajax-masked-edit-extender-with-example/" target="_blank" rel="noopener">Ajax Mask Edit Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Mutually Exclusive Check Box Extender" href="https://tekslate.com/ajax-mutually-exclusive-checkbox-extender/" target="_blank" rel="noopener">Ajax Mutually Exclusive Check Box Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Numericup Down Extender" href="https://tekslate.com/numericup-down-extender-with-example/" target="_blank" rel="noopener">Ajax Numericup Down Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Paging &nbsp;Bulleted List Extender" href="https://tekslate.com/ajax-paging-bulleted-list-extender/" target="_blank" rel="noopener">Ajax Paging &nbsp;Bulleted List Extender</a></p>
<p style="text-align: justify;">Ajax Popup Control Extender</p>
<p style="text-align: justify;"><a title="Ajax Resizable Control Extender" href="https://tekslate.com/ajax-resizable-control-extender-with-example/" target="_blank" rel="noopener">Ajax Resizable Control Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Round Corners Extender" href="https://tekslate.com/ajax-rounder-corners-extender/" target="_blank" rel="noopener">Ajax Round Corners Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Slider Extender" href="https://tekslate.com/ajax-slider-extender/" target="_blank" rel="noopener">Ajax Slider Extender</a></p>
<p style="text-align: justify;">Ajax Slide Show Extender</p>
<p style="text-align: justify;"><a title="Ajax Text Box Water Mark Extender" href="https://tekslate.com/ajax-textbox-watermark-extender/" target="_blank" rel="noopener">Ajax Text Box Water Mark Extender</a></p>
<p style="text-align: justify;">Ajax Toggle Button Extender</p>
<p style="text-align: justify;">Ajax Validator Callout Extender</p>
<p style="text-align: justify;"><a title="Ajax Animation Panel Extender" href="https://tekslate.com/ajax-update-panel-animation-extender-with-example/" target="_blank" rel="noopener">Ajax Animation Panel Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Animation Extender" href="https://tekslate.com/ajax-animation-extender-with-example/" target="_blank" rel="noopener">Ajax Animation Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Always Visible Control Extender" href="https://tekslate.com/ajax-always-visible-control-extender-with-example/" target="_blank" rel="noopener">Ajax Always Visible Control Extender</a></p>
<p style="text-align: justify;"><a title="Ajax Auto Complete Extender" href="https://tekslate.com/ajax-auto-complete-extender-with-example/" target="_blank" rel="noopener">Ajax Auto Complete Extender</a></p>
<p style="text-align: justify;">Ajax Balloon Popup Extender</p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: center;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" title="VB.Net Interview Questions" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.Net Interview Questions</a></p>54:T76e,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;">AJAX File Upload</span></h2>
<p>AJAX file upload is also used to upload files to the server. The advantage of this over Asyncfileuploader &amp; file upload of control of ASP.net is you can select multiple files at a time with an Ajaxfileupload and displays the progress of uploading a file by clicking on the AJAX file upload you can select multiple files by holding control (ctrl) or shift key. You can also select multiple files by simply dragging &amp; dropping the files onto the AJAX &ndash; file upload control.</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Properties&nbsp;</strong> </span></h3>
<h4><span style="font-size: 12pt; color: #e03e2d;"><strong>Allowed file type:</strong> </span></h4>
<p>Used to specify a list of allowed file types by separating them with (;) semicolon.</p>
<h4><span style="font-size: 12pt; color: #e03e2d;"><strong>MaximumNumberoffiles:</strong> </span></h4>
<p>Used to specify the Maximum Number of files user can upload using the Ajaxfileupload</p>
<h4><span style="font-size: 12pt; color: #e03e2d;"><strong>Style:</strong> </span></h4>
<p>This property is used to specify the style for the control using CSS properties.</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Method</strong></span></h3>
<p><span style="color: #e03e2d;"><strong>SaveAs ():</strong> </span>Used to save the file selected in Ajaxfileupload to the server.</p>
<p>Within the browsers like the Internet, explorer chromes that support HTML5 &amp; CSS 3 this control can automatically display the progress of uploading a file with a progress bar when it takes time to upload. &nbsp;</p>
<p style="text-align: center;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" title="VB.Net Tutorials" href="vb-net-tutorials" target="_blank" rel="noopener">VB.Net Tutorials</a></p>55:Teae,<p>&nbsp;</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Class:</strong></span></h3>
<p>It is used to define a user-defined reference type datatype member. &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Syntax:</strong> </span></p>
<p>Class Class Name</p>
<p>Members</p>
<p>. . . . .</p>
<p>End class &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Note:</strong></span> Members of the class is of two types</p>
<ul>
<li>Instance members</li>
<li>Shared members</li>
</ul>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Instance members:</strong> </span></h3>
<p>These members are bound to the objects defined for the class and they can be accessed using the object name. &nbsp;</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Shared members:</strong> </span></h3>
<p>These members belong to the class definition and they can be accessed using the class name. Shared members will be loaded on the memory when the class definition is headed. &nbsp;</p>
<h3><span style="color: #e03e2d; font-size: 14pt;"><strong>Object:</strong></span></h3>
<p>The instance of a class is called an object.</p>
<p><span style="color: #e03e2d;"><strong>Note: </strong></span></p>
<ul>
<li>Objects occupy the physical memory</li>
<li>Objects are always isolated i.e. the values assigned for the members of one object will not be reflected for the members of other objects.</li>
</ul>
<p><span style="color: #e03e2d;"><strong>Syntax:</strong> </span></p>
<p>Modifier object name as new Class Name ([. . .]) &nbsp; &nbsp; &nbsp;</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Variable: </strong></span></h3>
<p>These are the place holders for maintaining a value based on the data type used for defining the variable. &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Syntax: </strong></span></p>
<p>Modifier variable name as Datatype [=value] &nbsp;</p>
<h3><span style="font-size: 14pt; color: #e03e2d;"><strong>Modifier: </strong></span></h3>
<p>These are the access specifiers that are used to control the access of the members.</p>
<p>&nbsp; &nbsp; <img class="alignnone wp-image-8953" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_237-460x184.png" alt="Screenshot_23" width="620" height="248" /> &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Note:</strong></span> All the above modifiers can be used within a module and class. But these modifiers can&rsquo;t be used from the methods. &nbsp;</p>
<p><span style="color: #e03e2d;"><strong>Ex:</strong></span></p>
<p>Module M1</p>
<p>Public I as integer &lsquo;valid&rsquo;</p>
<p>Class C1</p>
<p>Public j as integer &lsquo;valid&rsquo;</p>
<p>End class</p>
<p>Sub main ( )</p>
<p>&lsquo;Public K as integer error</p>
<p>End sub</p>
<p>End module</p>
<h2 style="text-align: justify;"><span style="color: #e03e2d; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.NET Interview Questions and Answers" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.NET Interview Questions and Answers</a></li>
<li><a title="View engine &amp; Razor view engine" href="view-engine-razor-view-engine" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
<li><a title="Introduction to VB.Net 4" href="introduction-vb-net-4" target="_blank" rel="noopener">Introduction to VB.Net 4</a></li>
</ul>56:T1a28,<p dir="auto" data-pm-slice="1 1 []">VB.Net is a programming language developed by Microsoft in the 90s. It is a data-driven, object-oriented programming language that can be used to develop different types of applications such as windows applications, web applications and web services.</p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr>
<td style="width: 98.2759%;">
<h3><span style="font-size: 14pt; color: #e67e23;"><strong>Types of applications that can be developed using VB.Net:</strong></span></h3>
<ul>
<li>Console applications</li>
<li>Windows forms applications</li>
<li>Class library</li>
<li>Windows control library</li>
<li>Windows services</li>
<li>Net website</li>
<li>Net web services</li>
<li>WCF services</li>
<li>Silver light applications</li>
<li>Workflow applications</li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="font-size: 14pt; color: #e67e23;"> <strong>Console applications:</strong></span></h2>
<p>Whenever an application accepts the input from console and projects the output on the console then such type of applications are called console applications. Where console is a device which has the capability to accept the information and also to display the data</p>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Structure of VB.Net console application:</strong></span></h3>
<h4><span style="font-size: 12pt; color: #e67e23;"><strong>1<sup>st</sup> method [default]:</strong></span></h4>
<p>Comments . . . . .</p>
<p>Imports statements . . . .</p>
<p>Module Module name</p>
<p>Sub main ( )</p>
<p>Statement(s) to execute . . . .</p>
<p>End sub</p>
<p>End module</p>
<h4><span style="font-size: 12pt; color: #e67e23;"><strong>2<sup>nd</sup> method:</strong></span></h4>
<p>Comments</p>
<p>Imports statements&nbsp;&nbsp; . . . .</p>
<p>Class&nbsp;&nbsp; Class name</p>
<p>[Public] shared sub main ( )</p>
<p>Statement(s) . . . . .</p>
<p>End sub</p>
<p>End class</p>
<p><span style="color: #e03e2d;"><span style="color: #e67e23;"> </span><strong><span style="color: #e67e23;">Note:</span> </strong></span>VB.Net is not the case-sensitive language but it is line sensitive language.</p>
<p>&nbsp; <img class="alignnone wp-image-8946" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_197-460x220.png" alt="Console applications" width="392" height="187" /> &nbsp;</p>
<p><span style="color: #e03e2d;"><span style="color: #e67e23;"> </span><strong><span style="color: #e67e23;">System:</span> </strong></span> It is the root namespace for any .Net application Where a namespace can be considered as a collection of classes in a hierarchy such that the class definitions can be accessed easily &nbsp;</p>
<p><span style="color: #e03e2d;"><span style="color: #e67e23;"> </span><strong><span style="color: #e67e23;">Console:</span> </strong></span> It is a class that provides members to project the data and to accept the data. &nbsp;</p>
<p><span style="color: #e03e2d;"><span style="color: #e67e23;"> </span><strong><span style="color: #e67e23;">Write:</span> </strong></span> It is a method to project data on console. &nbsp;</p>
<p><span style="color: #e03e2d;"><strong><span style="color: #e67e23;">Write Line:</span> </strong></span> It is a method used to project data by appending a newline character at the end of information. &nbsp;</p>
<p><span style="color: #e03e2d;"><span style="color: #e67e23;"> </span><strong><span style="color: #e67e23;">Read:</span> </strong></span> It is used to accept angle character. &nbsp;</p>
<p><span style="color: #e67e23;"> <strong>Read Line:</strong> </span>It is used to read a single line of information i.e. accept the characters until the users press the enter key.&nbsp;</p>
<table style="border-collapse: collapse; width: 100%; height: 19px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 19px;">
<td style="width: 98.3496%; height: 19px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of VB.Net? Enroll in Instructor-Led live <a href="vb-net-training" target="_blank"><span style="color: #236fa1;"><strong>VB.Net Training</strong></span></a> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>Developing a console application using VS.Net (visual studio .Net):</strong></span></h3>
<p>&nbsp; <img class="alignnone wp-image-8947" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_207-460x350.png" alt="Console application" width="413" height="314" /> &nbsp;</p>
<p><span style="color: #e67e23;"> <strong>Prg:</strong></span></p>
<p><strong> </strong> My first VB .Net program</p>
<p>Imports system</p>
<p>Module first program</p>
<p>Sub main ( )</p>
<p>Console.WriteLine (&ldquo;Welcome to VB.Net&rdquo;)</p>
<p>End sub</p>
<p>End module</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;To execute console application</p>
<p><img class="alignnone size-full wp-image-8948" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_2112.png" alt="prg" width="439" height="185" /> &nbsp;</p>
<p>After selection press ctrl + F5</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;To add a new program to the console application [already existing]</p>
<p><img class="alignnone size-full wp-image-8949" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_2210.png" alt="prg" width="343" height="333" /> &nbsp;</p>
<p>Imports system</p>
<p>Class VB Intro</p>
<p>Public shared sub main ( )</p>
<p>Console.WriteLine (&ldquo;VB.Net is very easy to learn yet a powerful language&rdquo;)</p>
<p>End sub</p>
<p>End class</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="VB.NET Interview Questions and Answers" href="vb-net-interview-questions-answers" target="_blank" rel="noopener">VB.NET Interview Questions and Answers </a></li>
<li><a title="MVC Design Patterns" href="mvc-design-patterns" target="_blank" rel="noopener">MVC Design Patterns</a></li>
<li><a title="SilverLight LINQ Integration" href="silverlight-linq-integration" target="_blank" rel="noopener">SilverLight LINQ Integration</a></li>
</ul>57:Tbf0,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>WCF [Windows Communication Foundation]:</strong></span></h2>
<p>It is a unified programming model for developing service-oriented solutions for the Windows platform.</p>
<p>&nbsp; <img class="alignnone wp-image-8943" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_186-460x209.png" alt="WCF" width="547" height="248" /> &nbsp;</p>
<h2><span style="font-size: 14pt; color: #e03e2d;"><strong>WPF [Windows Presentation Foundation]:</strong></span></h2>
<p>It is a new framework for developing rich interface applications with the support of animations, media elements such as Audio-Video and data services, etc. &nbsp;</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as VB.Net Developer? Then here is the blog post on, explore <a title="VB.Net Training" href="vb-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>VB.Net Training</strong></span></a></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>Observation:</strong></span></h3>
<ul>
<li>WPF 3.0 supports only 2D</li>
<li>WPF 3.5 has been enhanced with 3D and rich UI support.</li>
<li>WPF 4.0 has been enhanced with touch support</li>
</ul>
<p>&nbsp;<span style="font-size: 12pt; color: #e03e2d;"><strong>WF (Windows Workflow Foundation):</strong></span></p>
<p>It is a set of activities that are used to coordinate the people and services. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>CS (Card space):</strong></span></h3>
<p>It is a new Framework provided to build high end secured applications using windows cards. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>LINQ (Language Integrated Query):</strong></span></h3>
<p>It is a new Framework introduced in .Net 3.5 for queering the data present within the collection database or XML.</p>
<p><span style="color: #e03e2d;"><strong>Note:</strong></span> LINQ can also be used for data manipulations. &nbsp;</p>
<h3><span style="font-size: 12pt; color: #e03e2d;"><strong>VB.Net 4.0 or VB10:</strong></span></h3>
<p>It is a language with all the greatest features of all the latest languages such as C++, VB, Java, etc, and also the language consists of features that are needed for next-generation application development. &nbsp; &nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e03e2d; font-size: 14pt;"><strong>For an in-depth knowledge, click on below</strong></span></h2>
<ul>
<li><a title="Windows Forms Based Application in vb.net" href="windows-forms-based-application-vb-net" target="_blank" rel="noopener">Windows Forms Based Application in vb.net</a></li>
<li><a title="Working with typed Dataset in vb.net" href="working-typed-dataset-vb-net" target="_blank" rel="noopener">Working with typed Dataset in vb.net</a></li>
<li><a title="Introduction to VB.Net 4" href="introduction-vb-net-4" target="_blank" rel="noopener">Introduction to VB.Net 4</a></li>
</ul>58:T20f0,<h2><span style="font-size: 14pt; color: #e67e23;">Debugging web parts</span></h2>
<p>The basic steps that we need to do in order to debug our Web Part are:</p>
<ol>
<li><strong>Set the breakpoints </strong></li>
<li><strong>Attach the ASP.Net w3wp.exe process </strong></li>
<li><strong>Debug</strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
</ol>
<p>There are two scenarios for debugging your Web Part. The first scenario would have you debug them on your local machine while the second scenario would have you develop your SharePoint Web Part on your local machine but the host and debug the Web Part on a remote machine where SharePoint exists.</p>
<h3><span style="font-size: 12pt; color: #e67e23;">Debugging On Your Local Machine </span></h3>
<p><strong>Step 1: Set the breakpoints</strong></p>
<p>I assume your Web Part project is already open via Visual Studio.Net</p>
<ol>
<li>Check if the Web Part's project output path is set to your Local Drive's InetPubwwwrootbin folder</li>
<li>Confirm that your Web Part is already present in the SafeControls list (We talked about this earlier. Check the "Register the Web Part" section.)</li>
<li>Add your breakpoint as you would with any .Net application using Visual Studio.Net Okay, that was easy. We put breakpoints all over our Web Part to debug whatever we want. The next task would require us to Attach the ASP.Net worker process.</li>
</ol>
<p><strong>Step 2: Attaching the ASP.Net worker process (w3wp.exe)</strong></p>
<ol>
<li>In the Visual Studio.Net Debug menu, click the "Processes" option, and choose the w3wp.exe from the Debug Process dialog box. Ensure that the "Show system processes" checkbox and "Show processes in all sessions" checkbox are enabled.</li>
<li>&nbsp;Select w3wp.exe from the "Available Processes" list and click the "Attach" Button</li>
<li>A dialog box will pop up listing program types that you wish to debug. Choose "Common Language Runtime" and click the OK button and close the dialog box. Great! That's it. Now you're all ready to go and debug unleashed! Now we're reached the stage where debugging your SharePoint Web Part is similar to debugging any ASP.Net web application.</li>
</ol>
<p><strong>Step 3: Finally, Debugging! </strong></p>
<p>Open the SharePoint site and navigate to the page that contains your Web Part. Once this page starts rendering, the control will switch over to your program in Visual Studio.Net wherever you have placed your breakpoints. That's it. Piece'a cake. But what about remote debugging?</p>
<blockquote>
<p><em><strong>Interested in mastering SharePoint Training? Enroll now for a FREE demo on "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="sharepoint-training" target="_blank" rel="noopener">SharePoint Training</a></span>"</strong></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e67e23;"> Debugging From A Remote Machine </span></h3>
<p>Let's go again. Developers can use a remote computer to develop and debug SharePoint Web Parts also. We have a server (remote machine) and a client machine. I assume your Web part project is open in Visual Studio.Net on the client machine and waiting for us to play around.</p>
<p>1. Ensure that the remote server has been installed with remote debugging services configured correctly. Verify that you have given shared access to the virtual directory containing the SharePoint application (LocalDrive: InetPubwwwroot whatever) with read-write permissions.</p>
<p>2. Share and give read access to the folder that contains Microsoft.SharePoint.dll. This would usually be in the Program FilesCommon FilesMicrosoft SharedWeb server extensions60ISAPI</p>
<p>3. Make sure that the SharePoint Web Part is included in the SafeControls list on the remote server also.</p>
<p>4. Ensure that the project's output path is set to the folder that contains the dll file on the remote machine.</p>
<p>5. Add your breakpoints and attach the ASP.Net worker process by navigating yourself to the remote server.</p>
<p>Attaching the ASP.Net worker process follows the same steps we discussed earlier in "Attaching the ASP.Net worker process (w3wp.exe)" Neat. Now load your remote SharePoint site and navigate yourself to the page that contains your Web Part. The control should pass over to Visual Studio.Net breakpoints spread across your Web Part project while rendering. Give it another shot should get you used to it like the back of your hand.</p>
<p><strong>Tips </strong> <strong>1. A Common Error</strong>:</p>
<p>There's a good chance that you could get an error message "Unable to replace&rdquo; after compiling the Web Part. This tends to happen when the ASP.Net worker process w3wp.exe locks an older copy of the assembly from the bin folder. In case you come across this error, remember to open the task manager and terminate the w3wp.exe process. Once terminated, you can recompile your Web Part Project and use the assembly.</p>
<p><strong>2. The CallStack Attribute</strong>:</p>
<p>All of us, as developers hate it when our programs give error messages that are not descriptive and therefore, totally unhelpful. Well, guess what, by default SharePoint tells you that you got an error but by default, it does not tell you any specific reason as to why an error occurred in the first place. Actually, SharePoint displays only a restricted set of exceptions on the client machine due to security reasons. Fortunately for us developers, there's a way to overcome this security restriction. SharePoint disables the CallStack attribute present in the web.config file which is responsible for allowing the client to display exceptions with stack information in the standard ASP.Net error format. Here's how you get it done right: In your web.config file, look for elements. Within this element, look for <strong>&nbsp;</strong>At this point, set the CallStack Attribute to true<strong>: </strong> Further, check that the customErrors element is disabled Now you'll get the required exception details that you normally would with any ASP.Net web application.</p>
<p><strong>3. </strong><strong>Tracing</strong></p>
<p>We can further use ASP.Net tracing mechanisms to provide us with additional information on our Web Part. Once again, this feature is not available to use by default and therefore, we would have to open up our Web Part's web.config file and search for the element and add one more new child element within this element: <strong>&lt; trace enabled ="true" pageOutput = "true"/&gt;</strong> Neat. Now we've got all the right techniques to get our Web Parts debugged right with the help of a .Net development environment, ASP.Net, and SharePoint. So hope you guys have a great time with SharePoint. Anything interesting? buzz me! Happy Programming Y'all! Most of you probably already have figured this out, but for those of you who still have not, here is how you can debug your web part in Visual Studio 2010:</p>
<ol>
<li>Deploy your Web Part</li>
<li>Add the Web Part to Page</li>
<li>In your code, create a breakpoint.</li>
<li>Go to the &ldquo;Debug&rdquo; menu, and choose &ldquo;Attach to Process&rdquo;.</li>
<li>Under the &ldquo;Attach to:&rdquo; section, click on the &ldquo;Select &hellip;&rdquo; button.</li>
<li>Uncheck all options, checking ONLY &ldquo;Managed (v2.0, v1.1, v1.0) code&rdquo;.</li>
<li>Check the &ldquo;Show processes in all sessions&rdquo; checkbox.</li>
<li>Select all &ldquo;w3wp.exe&rdquo; Processes, then click on the &ldquo;Attach&rdquo; button.</li>
<li>Run your page that contains the Web Part. You should now hit your breakpoint and will be able to step through your code.</li>
</ol>
<p><span style="color: #e67e23;"><strong>For an in-depth understanding of SharePoint click on</strong></span></p>
<ul>
<li><a href="https://tekslate.com/tutorials/sharepoint/" target="_blank" rel="noopener">SharePoint Tutorials</a></li>
<li><a class="current-page" href="https://tekslate.com/introduction-sharepoint/" target="_blank" rel="noopener">Introduction to SharePoint</a></li>
<li><a class="current-page" href="https://tekslate.com/application-pages-sharepoint/" target="_blank" rel="noopener">Application Pages</a></li>
<li><a class="current-page" href="https://tekslate.com/sharepoint-security/" target="_blank" rel="noopener">SharePoint Security</a></li>
<li><a href="microsoft-dynamics-365-training/" target="_blank" rel="noopener">Microsoft Dynamics 365 Training In New York</a></li>
</ul>59:T4a6a,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">C# Tutorials Overview</span></h2>
<p><span style="font-size: 12pt;">Welcome to C# Tutorials. The objective of these tutorials is to gain an in-depth understanding of the C# Programming Language.</span></p>
<h3><span style="font-size: 12pt;">Index</span></h3>
<ul>
<li><span style="font-size: 12pt;"><a href="times-control-c-net/" target="_blank" rel="noopener">Working with OOP synopsis concepts in C# .Net&nbsp;</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-windows-programming-gui-programming-c-net/" target="_blank" rel="noopener">Working with windows programming [GUI programming] in C# .Net</a></span></li>
<li><span style="font-size: 12pt;"><a href="exception-handling-c-net/" target="_blank" rel="noopener">Exception handling in C# .Net</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-stream-reader-stream-writer-class-c-net/" target="_blank" rel="noopener">Working with Stream Reader and Stream Writer class in C#</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-assemblies-c-net/" target="_blank" rel="noopener">Working with assemblies in C# .net</a></span></li>
<li><span style="font-size: 12pt;"><a href="windows-service-mailing-concepts-c-net/" target="_blank" rel="noopener">Windows Service with Mailing concepts in C# .net</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-distributed-programming-c-net/" target="_blank" rel="noopener">Working with distributed programming in C# .net</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-windows-service-c-net/" target="_blank" rel="noopener">Working with Windows Service in C# .n</a></span></li>
<li><span style="font-size: 12pt;"><a href="oledb-connection-command-class-c-net/" target="_blank" rel="noopener">OLEDB connection &amp; command class in C# .net</a></span></li>
<li><span style="font-size: 12pt;"><a href="example-data-reader-c-ne/" target="_blank" rel="noopener">Example on Data Reader in C# .ne</a></span></li>
<li><span style="font-size: 12pt;"><a href="key-related-events-c-net/" target="_blank" rel="noopener">Key Related Events in C# .Net</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-delegates-c-net/" target="_blank" rel="noopener">Working with Delegates in C# .net</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-data-set-c-net/" target="_blank" rel="noopener">Working With DATA SET in C# .net</a></span></li>
<li><span style="font-size: 12pt;"><a href="c-net-3-5-features/" target="_blank" rel="noopener">C# .NET 3.5 Features</a></span></li>
<li><span style="font-size: 12pt;"><a href="project-class-c-net/" target="_blank" rel="noopener">Project Class in C# .Net</a></span></li>
<li><span style="font-size: 12pt;"><a href="working-c-net/" target="_blank" rel="noopener">Working with C# .Net</a></span></li>
<li><span style="font-size: 12pt;"><a href="multi-threading-c-net/" target="_blank" rel="noopener">Multi-Threading in C# .Net</a></span></li>
</ul>
<h2><span style="font-size: 14pt; color: #e67e23;">Introduction to .Net Framework</span></h2>
<p><span style="font-size: 12pt;">.NET Framework Supports collections of languages like VC#.net, VC++.net, VB.net&hellip;&hellip;&hellip; .NET Framework is a common architecture for all .net programming languages. .NET - Network-enabled Technology. Visual C#. net&hellip;&hellip;&hellip;..visual C# with new features called as a net.</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;"> Main objectives of&nbsp; .NET Framework </span></h3>
<p><span style="font-size: 12pt;">Platform independent. Language independent. Supports language interoperability. Supports pure OOP's concepts</span></p>
<p><span style="font-size: 12pt;"><strong>Oops </strong>-</span><span style="font-size: 12pt;"> &nbsp; Object-Oriented Programming Supports for network programming with .net Remoting Supports to develop background processes with the help of windows services. Developing or support to develop RICH GUI applications with WPF programming LINQ Programming &nbsp;</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-7547" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_217-460x301.png" alt="Screenshot_2" width="543" height="355" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> DLL (Dynamic-link library) (Executable) files are&nbsp; Executable in any OS with the help of (CLR/Common language run time ), hence .net is called &ldquo;platform-independent&rdquo; <img class="alignnone wp-image-7548" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_316-460x186.png" alt="Screenshot_3" width="536" height="216" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">CLR software is platform dependent. It is a separate version of CLR is introduced for every OS. .net is not purely platform-independent. As of new CLR, Software is not yet developed for dos and windows operating systems. &nbsp;</span></p>
<p><span style="font-size: 12pt;"> <strong>Language-Independent</strong> &nbsp; </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7549" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_416.png" alt="Screenshot_4" width="409" height="205" /></span></p>
<p><span style="font-size: 12pt;"> &nbsp; &nbsp; <img class="alignnone wp-image-7550" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_515.png" alt="Screenshot_5" width="449" height="181" /> </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-7551" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_613-460x359.png" alt="Screenshot_6" width="497" height="387" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">net application logic can be developed in any .net framework compatible languages, hence .net is called as&nbsp;&nbsp;&nbsp; &ldquo;LANGUAGE INDEPENDENT&rdquo;. As of now. net framework is supporting 11 languages + 1 specification. Visual C # . net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">Visual Basic .net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">Visual J #.net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">Visual C++ .net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">VB Script.net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">J Script .net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">PHP .net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">Python .net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">COBOL.net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">PERL.net</span></p>
<p style="padding-left: 30px;"><span style="font-size: 12pt;">Small Talk .Net</span></p>
<p><span style="font-size: 12pt;">.net support one specification called &ldquo;ASP.net&rdquo; Specification provides a set of rules which need to be followed while integrating with a code-behind language. </span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">What is a DLL file? </span></h3>
<p><span style="font-size: 12pt;">As per VB 6.0 or VC ++6.0 Windows OS </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-7552" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_715-460x213.png" alt="Screenshot_7" width="572" height="263" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> As per VB 6.0 or VC, ++6.0 DLL&rsquo;s are called as COH Components. COM is used to develop reusable programs. Every COM Component must be registered for a class ID. Class ID represents a unique identifier, which is a part of the Registry. As Registry is under control of window OS, hence Com is &ldquo;Platform-independent&rdquo;. </span></p>
<p><span style="font-size: 12pt;"><strong>As per.net</strong> As per .net, DLL&rsquo;S Contain&nbsp;&nbsp; Platform independent code in the format of byte code. net DLL is also called as Managed code, Assembly or MSIL (Microsoft intermediate language ) The code written in .net is called as &ldquo;managed code&rdquo; If COM is used in .net then COM is called as&nbsp;&nbsp; &ldquo;unmanaged code&rdquo; .net framework is introduced as a development platform </span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>C&nbsp; language</strong> </span></p>
<pre class="language-javascript"><code>Main ()

{

Int I, * p;

P = &amp;I;

}</code></pre>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-7553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_812.png" alt="Screenshot_8" width="406" height="273" /> </span></p>
<p><span style="font-size: 12pt;">As per memory management is under control of CLR &nbsp;with the help of a Garbage collector (GC), hence the .net framework is called as &ldquo;Development platform&rdquo;. .net framework is derived into the platform &nbsp; <img class="alignnone wp-image-7554" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_913-460x127.png" alt="Screenshot_9" width="680" height="186" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> Framework class library A collection of classes is called as &ldquo;Namespace&rdquo; A collection of Namespace is called as&nbsp; &ldquo;Assembly&rdquo; A collection of Assembly is called as &ldquo;FCL&rdquo; (Framework class library) FCL contains &ndash;6000 predefined class 6500 Methods 1,00,000 properties &nbsp; </span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Assembly Architecture </span></h3>
<p><span style="font-size: 12pt;">The internal organization of a DLL file is called &ldquo;Assembly Architecture&rdquo;. Assembly is derived into three layers Main fest Information holds the summary of the project. Type Info holds the data type information of the languages. MSIL holds the competed code in the format of the BYTE Code. &nbsp; How CLR EXECUTES an ASSEMBLY?</span></p>
<p><span style="font-size: 12pt;"> &nbsp; <img class="alignnone size-full wp-image-7555" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1013.png" alt="Screenshot_10" width="450" height="520" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> CLR will be loaded into the memory. CLR loads the Main fest to understand the summary CLR loads type Info to understand the behavior of the language. CLR generates CTS (common type system) of CLS (Common language specifications) &nbsp;</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-7556" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1112-460x111.png" alt="Screenshot_11" width="638" height="153" /> </span></p>
<p><span style="font-size: 12pt;"><strong>Software Requirements</strong> Windows OS (XP, 2000p, 2005, 2003s, vista) Visual studio .net 2008 professional Edition IIS Server Oracle / SQL Server MS &ndash; office</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Visual C # .net 3.5 2008&nbsp;</span></h3>
<p><span style="font-size: 12pt;">A collection of programs is called as a&nbsp; &ldquo;Software&rdquo; Software is derived into two types </span></p>
<p><span style="font-size: 12pt;"><strong>Packages&nbsp;</strong> <strong>Languages</strong> <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />A software which is developed for a specific purpose is called as&nbsp; </span></p>
<p><span style="font-size: 12pt;">&ldquo;<strong>package</strong>&rdquo;. <strong>Ex:-</strong> &nbsp; MS &ndash; office, oracle, SQL server, operating system. &nbsp; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />A software that is developed for a general-purpose is called a </span></p>
<p><span style="font-size: 12pt;">&ldquo;<strong>language</strong>&rdquo;. <strong>Ex:-</strong> C, C ++, VC ++, Java, C #. Net, etc&hellip;&hellip;&hellip;&nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp; &nbsp; &nbsp; &nbsp;c- family Languages are derived into three types High-level language Assembly language Machine language A = 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; more 10 to Ax <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;register <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;flip flop <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> gates High-level language are easier to learn as these are syntactically similar to English Assembly language are required while developing device driver programming Which provides communication between hardware and software Device drivers properties the communication than between the hardware and software</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Visual C#.net basics</span></h3>
<p><span style="font-size: 12pt;">VC#.net language is architected by ANDREN HEZLSIBERG. VC#.net belongs to the 'C' family. All the rules of &lsquo;C&rsquo; language are applicable to VC#.net also. C#.net is a high-level compiler-based programming language. .net is case sensitive. C#.net is a highly type-safe language. In C#, always Execution starts from main (). &nbsp; </span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Writing First Example in C # .NET </span></h3>
<p><span style="font-size: 12pt;">Open.net software (Start <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />programs micro&nbsp;soft visual studio 2008 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp; micro soft visual studio 2008) (or) (Start <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;run<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Devenv) File menu<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />new <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />project &nbsp; <img class="alignnone wp-image-7560" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_127-460x379.png" alt="Screenshot_12" width="611" height="503" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;"><strong>Observation</strong> <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />For every project a new folder will be created. by default, this folder name will be the same as the project name. </span></p>
<p><span style="font-size: 12pt;"><strong>Default folder structure</strong> D:/C194 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />FIRST<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />BIN<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />DEBUGS<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> DLL, EXE files will be sorted here. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Default folder structure (view<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />menu<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />solution explorer) <img class="alignnone size-full wp-image-7562" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_134.png" alt="Screenshot_13" width="279" height="229" /> </span></p>
<p><span style="font-size: 12pt;">Open program. cs file and write the following inside of main () Namespace FIRST </span></p>
<p><span style="font-size: 12pt;">{ Class program { Static void Main (Strings [] args) { Console . Write Line (&ldquo;Welcome&rdquo;); Console . Write Line (&ldquo;Date Time. Now&rdquo;); Console . Read line (); &nbsp; Execute the project&nbsp; (F5) <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Start Debugging &nbsp; </span></p>
<p><span style="font-size: 12pt;"><strong>Observations</strong> </span></p>
<p><span style="font-size: 12pt;">When the above project is executed then the first.exe file will be created under the D:/c194/first/bin/debug folder. If you want to compile an application, print a message. Console. Write Line (&ldquo;Welcome&rdquo;); Syntax is required. <img class="alignnone wp-image-7563" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_144-460x113.png" alt="Screenshot_14" width="637" height="155" /> </span></p>
<p><span style="font-size: 12pt;">Date Time. Now the returns system date and time. Console. Read line () reads a string from the keyboard.</span></p>5a:T2338,<h2><span style="font-size: 14pt; color: #e67e23;">Working with Razor syntax</span></h2>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>First Install asp.net mvc3 software</strong></span></p>
<p><span style="font-size: 12pt;"><strong> </strong> Creating a new MVC application using the Razor view engine. Go to vstd.net</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click on file</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click on new</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click on project</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Select asp.net.mvc 3 web application</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Type application name</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click on ok Select the project template as internet application Select the view engine as Razor Click on ok &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />When we create Razor application there do not we any deference <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Only deference is with in the view all view pages are created . CSHTML extension . where very view page will contain plain HTML code. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />So that Rendering will be much more minimized reduced. &nbsp; --.Razor syntax will take 3 techniques to write</span></p>
<ol>
<li><span style="font-size: 12pt;">Single line blocks</span></li>
<li><span style="font-size: 12pt;">Multi line blocks</span></li>
<li><span style="font-size: 12pt;">Inline Expressions</span></li>
</ol>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />in general syntax of Razor is for single line blocks</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Syntax<strong>:</strong></span></h3>
<p><span style="font-size: 12pt;">@&nbsp; {statement 1 ;} @&nbsp; {statement 2 ;} &nbsp; &nbsp; </span></p>
<p><span style="font-size: 12pt;"><strong>EX :-</strong>&nbsp; 1. @ {var&nbsp; a = 10;} @ {var&nbsp; b = 20.5} @&nbsp; {var c = &lsquo;satya&rsquo;}</span></p>
<ol>
<li><span style="font-size: 12pt;">@ {var a = 10;}</span></li>
</ol>
<p><span style="font-size: 12pt;">@ {double b = 20.5} @&nbsp;&nbsp; {String c = &lsquo;satya&rsquo;} &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />We use the following syntax for multiple blocks </span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Syntax:</strong></span></p>
<p><span style="font-size: 12pt;"> @ {&nbsp; statement 1 ;} statement 2; } </span></p>
<p><span style="font-size: 12pt;">Ex :-</span></p>
<ol>
<li><span style="font-size: 12pt;">@ { var&nbsp; a = 10;</span></li>
</ol>
<p><span style="font-size: 12pt;">Var&nbsp;&nbsp; b = 20.5; Var c = &lsquo;satya&rsquo; }</span></p>
<ol start="2">
<li><span style="font-size: 12pt;">@ {var a = 10;}</span></li>
</ol>
<p><span style="font-size: 12pt;">@ {double b = 20.5} @&nbsp;&nbsp; {String c = &lsquo;satya&rsquo;} &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Example&nbsp; with Razor syntax:-</span></h3>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to solution explorer</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Select Home folder</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click with RM button</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click on Add</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click on view</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Type the view name as (Sample)</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">De active check box use &nbsp;view&nbsp; (or) Layout</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Click on add</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">A new view page is created with the name sample. HTML</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Go to source</span></p>
<h2><span style="font-size: 12pt;"><strong>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</strong></span></h2>
<p><span style="font-size: 12pt;">Write the following code.&nbsp; On the top of page </span></p>
<pre class="language-javascript"><code>@ { layout = null; } @ { Var a =10; Var b = &ldquo;satya&rdquo;; Var c = &ldquo;20.5&rdquo; }

&lt;body&gt;

&lt;h2&gt; satya technologies &lt;/h2&gt;

&lt;div&gt;

&lt;p&gt; value of a a is :-  @ a &lt;/p&gt;

&lt;p&gt; value of a b is :-  @ b &lt;/p&gt;

&lt;p&gt; value of a c is :-  @ c &lt;/p&gt;

&lt;/div&gt; &lt;/body&gt;

</code></pre>
<h3>&nbsp;</h3>
<blockquote>
<p><em><strong>Learn ASP.net by Tekslate - Fastest growing sector in the industry. Explore Online "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="asp-dot-net-training" target="_blank" rel="noopener">ASP.net Training</a></span>" and course is aligned with industry needs &amp; developed by industry veterans. Tekslate will turn you into ASP.net Expert.</strong></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e67e23;">Go to the Home controller. cs&nbsp; create an action method name as the sample</span></h3>
<pre class="language-javascript"><code>Public action result sample ()

{

Return view ();

}

Go to global .aspx

       &darr;

Change the action name as sample and check and run the application

--&gt; Create a new view page  (Sample)

       &darr;

Write the following code for Razor syntax and design

@ { layout = null;

Int num 1, num2 , result = 0;

If  (is post)

{

Num 1 = convert to int 32 (Request [&ldquo;T1&rdquo;]);

Num 2 = convert to int 32 (Request [&ldquo;T2&rdquo;]);

Result = num 1 + num2;

&lt;form .action = &ldquo;&rdquo;Method = &ldquo;post&rdquo;&gt;

Enter first number

&lt;input type = &lsquo;text&rsquo;@ &ldquo;T1&rdquo;/&gt; &lt;Br&gt;

Enter Second number

&lt;input type = &lsquo;text&rsquo;@ &ldquo;T2&rdquo;/&gt; &lt;Br&gt;

Result is : @ Result

&lt;input type = &lsquo;submit&rsquo; id = &ldquo;B1&rdquo; value = &ldquo;Add&rdquo;/&gt;

&lt;/form&gt;

</code></pre>
<p><span style="color: #e67e23;"><strong style="font-size: 12pt;">For in-depth understanding click on</strong></span></p>
<ul>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></span></li>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></span></li>
</ul>5b:T15f4,<h2><span style="font-size: 14pt; color: #ba372a;"><strong>Anonymous</strong></span></h2>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In general anonymous types of declared with var keyword like</p>
<p>var a =10;</p>
<p>var b=20.5;</p>
<p>var c=&rdquo; sai&rdquo;;</p>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />What we use the data type in C# like int, string, double, etc. are known as &ldquo;named types&rdquo;.</p>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Anonymous types are introduced in 2.0 versions of .net framework and C#.</p>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Anonymous types cannot be used as Global variables.</p>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Initialize the data into an anonymous type is mandatory.</p>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as ASP.net Developer? Then here is the blog post on, explore <a title="ASP.net Training" href="asp-dot-net-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>ASP.net Training</strong></span></a></em></p>
</blockquote>
<h2><span style="font-size: 14pt; color: #ba372a;"><strong>Different between Anonymous and Named types</strong></span></h2>
<p>&nbsp;</p>
<table style="height: 810px;" width="709">
<tbody>
<tr>
<td width="241"><span style="color: #ba372a;"><strong>Named Type</strong></span></td>
<td width="241"><span style="color: #ba372a;"><strong>Anonymous</strong></span></td>
</tr>
<tr>
<td width="241">
<ol>
<li>Type is known at source time</li>
</ol>
</td>
<td width="241">Type is known at compile time</td>
</tr>
<tr>
<td width="241">
<ol start="2">
<li>User/ programmer will decide the type of the variable</li>
</ol>
</td>
<td width="241">Compiler will decide the type of the variable</td>
</tr>
<tr>
<td width="241">
<ol start="3">
<li>Use respective type keyword to create a variable with names type</li>
</ol>
</td>
<td width="241">Use var keyword to create a variable with an anonymous type</td>
</tr>
<tr>
<td width="241">
<ol start="4">
<li>Can be used as a local /global variable</li>
</ol>
</td>
<td width="241">Can be used as a local variable only and can&rsquo;t be used as a global variable data field of the class</td>
</tr>
<tr>
<td width="241">
<ol start="5">
<li>Can be used in any context</li>
</ol>
</td>
<td width="241">Can be used in the following situations
<ul>
<li>As local variable</li>
<li>In for loop initialization</li>
<li>In for each loop initialization</li>
<li>In using statement</li>
</ul>
</td>
</tr>
<tr>
<td width="241">
<ol start="6">
<li>Initialization of variable is optional</li>
</ol>
</td>
<td width="241">Initialization of variable is mandatory</td>
</tr>
<tr>
<td width="241">
<ol start="7">
<li>In the case of number, types can be used with increment/decrement unary operator</li>
</ol>
</td>
<td width="241">In case of number types cannot be used with increment/ decrement unary operator&nbsp; -&gt; for a = a++ produces compile-time error</td>
</tr>
<tr>
<td width="241">
<ol start="8">
<li>Multiple variables can be declared in same statement like object a=10,b= &ldquo;sai&rdquo; , c= 10.5</li>
</ol>
</td>
<td width="241">Multiple variables can&rsquo;t be declared in the same statement as var a=10,b= &ldquo;sai&rdquo; raises compilation error</td>
</tr>
<tr>
<td width="241">
<ol start="9">
<li>Can be used with unsafe code</li>
</ol>
</td>
<td width="241">Can&rsquo;t be used with unsafe code</td>
</tr>
<tr>
<td width="241">
<ol>
<li>Doesn&rsquo;t support complex types</li>
</ol>
</td>
<td width="241">Support complex types</td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 12pt; color: #ba372a;"><strong> Examples with Anonymous types:</strong></span></h3>
<pre style="padding-left: 30px;">Name space CA sample
{
Class sample
{
Static void main ()
{
Var a=&rdquo;10&rdquo;;
Var b=&rdquo;sai&rdquo;;
Var c=&rdquo;10.5&rdquo;;
c.w.l(&ldquo;value of a :-&ldquo;+a);
c.w.l(&ldquo;value of b :-&ldquo;+b);
c.w.l(&ldquo;value of c :-&ldquo;+c);
console.read();
}
}
}</pre>
<h2><span style="font-size: 14pt; color: #ba372a;"><strong>Create an array and print elements using Anonymous type?</strong></span></h2>
<pre style="padding-left: 30px;">Name space CA sample
{
Class sample
{
Static void main ()
{
Int []A=new int [6]{10,20,30,40,50,60};
String []B=new string[3]{&ldquo;sai&rdquo;,&rdquo;Ram&rdquo;,&rdquo;krishna&rdquo;};
c.w.l(&ldquo;elements of array A are:-&rdquo;);
for each (var X in A)
c.write (X+&rdquo; &ldquo;);
c.wl (&ldquo;/n element of array B are:-&ldquo;);
for each (var X in B)
console write (X+&rdquo; &ldquo;);
console read ();
}
}
}
Name space CA sample
{
Class example3
{
Static void main ()
{
Var Pname =New {Sname=&rdquo;Sachin&rdquo;, Fname=&rdquo;Ramesh&rdquo;, Lname=&rdquo;tendulker&rdquo;};
Var DOB=new {Day=14, month=&rdquo;April&rdquo;, year=1973};
c.w.l(&ldquo;person name is:-&rdquo;+Pname.fname+Pname.Lname);
c.w.l(&ldquo;DOB is:-&rdquo;+DOB.month+&rdquo;-&rdquo;+DOB.year);
c.Read();
}
}
}

</pre>5c:T298b,<h2><span style="font-size: 14pt; color: #e03e2d;">OSB Tutorial</span></h2>
<p>Welcome to the free tutorials of OSB. The objective of these tutorials is to understand the Basics of Weblogic Application Server), Creating SOA Domain, Installing Jdeveloper, SOA Composite, and BPM Editor. In addition to OSB tutorials, we will cover OSB interview questions, HowTo,s, and issues of OSB.</p>
<h2><span style="color: #e03e2d; font-size: 14pt;">OSB Introduction</span></h2>
<p>Oracle Service Bus is a market-leading enterprise service bus built from the ground up for Service Oriented Architecture (SOA) life cycle management. It provides foundation capabilities for service discovery and intermediation, rapid service provisioning and deployment, and governance. This service-infrastructure software adheres to the SOA principles of building coarse-grained, loosely coupled, and standards-based services, creating a neutral container in which business functions may connect service consumers and back-end business services, regardless of the underlying infrastructure.</p>
<h2><span style="color: #e03e2d; font-size: 14pt;">Oracle Service Bus Intermediary</span></h2>
<p>The Oracle Service Bus design-time tooling lets you configure a proxy service to suit your needs and to manage Web services by controlling the service and policy configurations and by the monitoring system and operations tasks. Oracle Service Bus relies on Oracle WebLogic Server run-time features.</p>
<h3><img class="aligncenter wp-image-27296" title="Learn OSB Online With Free Tutorials -Oracle Service Bus Intermediary" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_2.jpg" alt="OSB Tutorial" width="676" height="274" /></h3>
<ul>
<li>
<h3><span style="color: #e03e2d; font-size: 12pt;">What is OSB how it is related to SOA?</span></h3>
</li>
</ul>
<p>The <strong>Oracle Service Bus</strong> (<strong>OSB</strong>) is part of the Oracle <strong>SOA</strong> Suite 11g and stands in the center of modern process- and integration-solutions. The lightweight, stateless, and high-performant architecture of the <strong>OSB</strong> turns it into an excellent tool for doing transformation and routing of messages.</p>
<pre style="box-sizing: border-box; font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 13px; margin-top: 0px; margin-bottom: 10px; overflow: auto; color: #212529; padding: 8px; word-break: break-all; overflow-wrap: break-word; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 4px; text-align: center;"><em style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bolder;">Interested in mastering OSB Training? Enroll now for FREE demo <br style="box-sizing: border-box;" />on <a href="osb-training" target="_blank" rel="noopener">OSB Training</a>.</span></em></pre>
<div id="nmtbi7" class="_qhf _grf nmiw nmtbi nmt nmtbia " data-hveid="65" data-ved="0ahUKEwiU1NXRpsPQAhXBPI8KHb5ZB_8Quk4IQSgA">
<div class="_eHi">
<ul>
<li class="_rhf">
<h3><span style="color: #e03e2d; font-size: 12pt;">What are the OSB boards?</span></h3>
</li>
</ul>
<div class="_rhf"><a href="https://tekslate.com/osb-training/" target="_blank" rel="noopener"><strong>Oriented strand board</strong> </a>(<strong>OSB</strong>), also known as the sterling board, sterling <strong>OSB</strong>, aspenite, and smartly in British English, is an engineered wood particle board formed by adding adhesives and then compressing layers of wood strands (flakes) in specific orientations. OSB is a material with favorable mechanical properties that make it particularly suitable for load-bearing applications in construction. The most common uses are as <a class="mw-redirect" title="Sheathing" href="https://en.wikipedia.org/wiki/Sheathing" target="_blank" rel="noopener">sheathing</a> in walls, flooring, and roof decking. For exterior wall applications, panels are available with a <a title="Radiant barrier" href="https://en.wikipedia.org/wiki/Radiant_barrier" target="_blank" rel="noopener">radiant-barrier</a> layer pre-laminated to one side; this eases installation and increases the energy performance of the building envelope. OSB also sees some use in <a title="Furniture" href="https://en.wikipedia.org/wiki/Furniture" target="_blank" rel="noopener">furniture</a> production.</div>
<h2 class="_rhf"><span style="color: #e03e2d; font-size: 14pt;">Installation of OSB</span></h2>
Navigate to the OSB Software folder and click on set up</div>
<div class="_eHi"><img class="aligncenter wp-image-27301" title="Learn OSB Online With Free Tutorials " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_3.jpg" alt="Learn OSB Online With Free Tutorials " width="682" height="374" /></div>
<div class="_eHi">Give the JDK path and press the enter button.</div>
<div class="_eHi"><img class=" wp-image-27311 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_4.jpg" alt="Learn OSB Online With Free Tutorials " width="609" height="477" /></div>
<div class="_eHi">Click on the Next button
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as OSB Developer? Then here is the blog post on, explore <a title="OSB Training" href="osb-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>OSB Training</strong></span></a></em></p>
</blockquote>
<pre> <img class="aligncenter wp-image-27312" title="Learn OSB Online With Free Tutorials " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_6.jpg" alt="OSB Tutorial" width="635" height="508" /></pre>
<div class="a-container">Select the skip software updates radio button and click on the Next button.</div>
<div class="a-container"><img class="aligncenter wp-image-27314" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_7.jpg" alt="OSB Tutorial" width="612" height="489" /></div>
<div class="a-container">Select Oracle Middleware Home Location and click on the Next button.</div>
<div class="a-container"><img class="aligncenter wp-image-27315 size-full" title="Learn OSB Online With Free Tutorials " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_8.jpg" alt="OSB Tutorial " width="579" height="477" /></div>
<div class="a-container">Click on the Next button.</div>
<div class="a-container">&nbsp;<img class="size-full wp-image-27316 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_9.jpg" alt="OSB Tutorial" width="591" height="469" /></div>
<div class="a-container">Click on the Next button.</div>
<div class="a-container"><img class="aligncenter wp-image-27317 size-full" title="Learn OSB Online With Free Tutorials " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_10.jpg" alt="OSB Tutorial" width="592" height="481" /></div>
<div class="a-container">Click on the Next button.</div>
<div class="a-container">&nbsp;<img class="aligncenter wp-image-27318 size-full" title="Learn OSB Online With Free Tutorials " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_11.jpg" alt="OSB Tutorial" width="581" height="469" /></div>
<div class="a-container">Click on the install button.</div>
<div class="a-container">&nbsp;<img class="size-full wp-image-27319 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_12.jpg" alt="Learn OSB Online With Free Tutorials " width="579" height="470" /></div>
<div class="a-container">Installation in progress.</div>
<div class="a-container">&nbsp;<img class="aligncenter wp-image-27320 size-full" title="Learn OSB Online With Free Tutorials " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_13.jpg" alt="OSB Tutorial" width="580" height="469" /></div>
<div class="a-container">Click on the Next button.</div>
<div class="a-container"><img class="size-full wp-image-27321 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_14.jpg" alt="OSB Tutorial" width="583" height="478" /></div>
<div class="a-container">Click on the Finish button.</div>
<div class="a-container">&nbsp;<img class="size-full wp-image-27322 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_15.jpg" alt="OSB Tutorial" width="586" height="472" /></div>
</div>
</div>
<h2><span style="color: #e03e2d; font-size: 14pt;">Proxy and Business Services</span></h2>
<p>The service bus uses a proxy service as an endpoint for incoming requests. A transport layer abstracts the proxy from the transport protocol. So, the functionality of the proxy service is independent of the incoming transport protocol:</p>
<p><img class=" wp-image-27298 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/11/Screenshot_1.jpg" alt="OSB Tutorial" width="672" height="245" /></p>
<p>Transformations, validation, etc. happen within the proxy service. After the transport layer, the message passes through a binding layer, which transforms the message into a canonical, logical representation. The message parts, such as payload or header, will be accessible via variables such as $body or $header. The outgoing endpoint in Oracle Service Bus is called business service. The naming is unfortunately somewhat misleading since the business service is not actually the service implementation itself: the business service is just a piece of configuration within Oracle Service Bus (but separate from a proxy service), which defines the interface and location of the service implementation.</p>
<div id="nmtbi7" class="_qhf _grf nmiw nmtbi nmt nmtbia " data-hveid="65" data-ved="0ahUKEwiU1NXRpsPQAhXBPI8KHb5ZB_8Quk4IQSgA">
<h3 class="_rhf"><span style="color: #e03e2d; font-size: 12pt;">Features of &nbsp;OSB</span></h3>
<ul>
<li>Faster as it is stateless</li>
<li>Service pooling</li>
<li>Service Result caching</li>
<li>Throttling</li>
<li>Alerts (SLA and Pipeline)</li>
<li>Monitoring framework</li>
<li>REST support</li>
<li>Inbuilt variables</li>
</ul>
</div>
<p style="text-align: center;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" title="OSB Interview Question and Answer" href="osb-interview-questions-answers" target="_blank" rel="noopener">OSB Interview Questions</a></p>5d:T23b8,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Working with OOP synopsis concepts:-&nbsp;</span></h2>
<p><span style="font-size: 12pt;">Based on the style of programming the languages are divided into three types Procedure &nbsp; structure &nbsp;OOPL 1960&rsquo;s A! GOL 1970&rsquo;s</span></p>
<ul>
<li><span style="font-size: 12pt;">No loops &nbsp; &nbsp;COBOL</span></li>
<li><span style="font-size: 12pt;">No arrays &nbsp;&nbsp;BASIC</span></li>
<li><span style="font-size: 12pt;">NO dynamic &nbsp;&nbsp;&nbsp;&lsquo;C&rsquo;</span></li>
<li><span style="font-size: 12pt;">Memory allocation</span></li>
</ul>
<h3><span style="font-size: 12pt; color: #e67e23;">Problems in C &ndash;language:-</span></h3>
<pre class="language-javascript"><code>P1 Main ()

{

Int Sal = 4000;

Print f (&ldquo;%d&rdquo;, Sal);

}  

</code></pre>
<p><strong style="font-size: 12pt;">Output:-</strong></p>
<p><span style="font-size: 12pt;">~- 700 &nbsp;</span></p>
<p><em style="box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bolder;">Interested in mastering .NET? Learn more about "<span style="box-sizing: border-box; color: #e03e2d;"><a style="box-sizing: border-box; color: #e03e2d; text-decoration: none; background-color: transparent; transition: all 0.2s linear 0s;" href="net-training" target="_blank" rel="noopener">.NET Training</a></span>" in this blog post.</span></em></p>
<h4>Problems1:-&nbsp;</h4>
<p><span style="font-size: 12pt;">The data type's limits are not controlled at run time.</span></p>
<pre class="language-javascript"><code>P2 Main ()

{

Int I = 500 * 500/500;

Print f (&ldquo;%d&rdquo;, i);

}  

</code></pre>
<p><strong style="font-size: 12pt;">Output:-</strong></p>
<p><span style="font-size: 12pt;">- 27 &nbsp;</span></p>
<h4>Problem 2:-&nbsp;</h4>
<p><span style="font-size: 12pt;">No proper implicit procedure for calculation </span></p>
<pre class="language-javascript"><code>P3

Long Sal = 5000;

// global variable

Main ()

{}

Void F1()

{}

Void F2 ()

{}

Void Marketing Details ()

{

Long Sale = 500000; Sale  = Sale + Sale ;

}  

</code></pre>
<p><span style="font-size: 12pt;">No Security for the&nbsp; &lsquo;DATA&rsquo;</span></p>
<ul>
<li><span style="font-size: 12pt;">To overcome all these problems, ANSI (American National Standard Institute) defined a set of rules called &ldquo;OOPS&rdquo;</span></li>
</ul>
<p><span style="font-size: 12pt;">&nbsp; When a language supports, the following oops concepts then that language is called an object-oriented programming language (OOPL). &nbsp;</span></p>
<p>&nbsp;</p>
<p style="text-align: center;"><span style="font-size: 12pt;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" href="net-tutorials" target="_blank" rel="noopener">Check Out .Net Tutorial</a></span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">OOPS concepts:-</span></h3>
<ol>
<li><span style="font-size: 12pt;">Encapsulation (Data Hiding)</span></li>
<li><span style="font-size: 12pt;">Abstraction (Providing information)]</span></li>
<li><span style="font-size: 12pt;">Polymorphism (overloading)</span></li>
<li><span style="font-size: 12pt;">Inheritance</span></li>
</ol>
<p><span style="font-size: 12pt;">&nbsp;</span></p>
<ol>
<li><span style="font-size: 12pt;">Encapsulation is a concept of data hiding.</span></li>
<li><span style="font-size: 12pt;">Abstraction is a concept of providing full information about an entity (data binding)</span></li>
<li><span style="font-size: 12pt;">Polymorphism is the concept of writing more than one function with the same and different arguments.</span></li>
<li><span style="font-size: 12pt;">Inheritance is a concept of deriving the features from base to derived class</span></li>
</ol>
<p><span style="font-size: 12pt;">&nbsp; &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">OBS:</span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-7608" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_424-460x189.png" alt="Screenshot_42" width="559" height="229" /> &nbsp;</span></p>
<ul>
<li><span style="font-size: 12pt;">To work with OOPS concepts, classes, and objects are required.</span></li>
<li><span style="font-size: 12pt;">Classes are a logical representation</span></li>
<li><span style="font-size: 12pt;">An object is a physical representation</span></li>
</ul>
<p><span style="font-size: 12pt;">&nbsp; As per.net, A class is a collection of</span></p>
<ol>
<li><span style="font-size: 12pt;">Fields: private data of classes is called a field.</span></li>
<li><span style="font-size: 12pt;">Properties: it defines the look and feel of an object</span></li>
<li><span style="font-size: 12pt;">Methods: when an object can do is called a method</span></li>
<li><span style="font-size: 12pt;">Events: what a user can do with an object is called an &ldquo;event&rdquo;</span></li>
</ol>
<ul>
<li><span style="font-size: 12pt;">The instance of classes is called as an object</span></li>
</ul>
<p><span style="font-size: 12pt;">Instance means copy &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Syntax to write a class:</span></h3>
<p><span style="font-size: 12pt;">&nbsp; Class C1 Name</span></p>
<p><span style="font-size: 12pt;"> {</span></p>
<p><span style="font-size: 12pt;"> P</span><span style="font-size: 12pt;">rivate int x,y;</span></p>
<p><span style="font-size: 12pt;"> Private String s;</span></p>
<p><span style="font-size: 12pt;"> Public void print (); </span></p>
<p><span style="font-size: 12pt;">{</span></p>
<p><span style="font-size: 12pt;"> Return type </span></p>
<p><span style="font-size: 12pt;">}</span></p>
<p><span style="font-size: 12pt;"> Private and public are assessed specifiers</span></p>
<p><span style="font-size: 12pt;"> &nbsp;<img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" /> which provides the scope of risibility &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Syntax to create an object:-</span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-7609" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_432-460x91.png" alt="Screenshot_43" width="595" height="117" /> &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Logical Diagram on class and object:-</span></h3>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-7610" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_443-460x247.png" alt="Screenshot_44" width="511" height="274" /> &nbsp; &nbsp; </span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; Test obj = new Test() &nbsp;</span></p>
<ul>
<li><span style="font-size: 12pt;">Object can access only public data.</span></li>
<li><span style="font-size: 12pt;">Object can not access private data</span></li>
</ul>
<p><span style="font-size: 12pt;">&nbsp;</span></p>
<h3><span style="font-size: 12pt;"><strong>EX 1:&nbsp; </strong></span></h3>
<h3><span style="font-size: 12pt; color: #e67e23;">on Classes and objects:-</span></h3>
<p><span style="font-size: 12pt;"><strong>Note:-</strong> </span></p>
<p><span style="font-size: 12pt;">Classes must be declared in GD only.</span></p>
<ul>
<li><span style="font-size: 12pt;">Open windows form Application project</span></li>
<li><span style="font-size: 12pt;">Place a button</span></li>
<li><span style="font-size: 12pt;">Code in GD (Before button 1 click)</span></li>
</ul>
<pre class="language-javascript"><code>Classes Test

{

Private int x, y ;

// fields    (or) 

Reference types

Public void Read  (int a, int b)

//a and b  are     value types,

local variables.

{

x =a;

y =b;

}

Public void print ()

{

Int K = x +y ;

Message Box &gt;show (&ldquo;The sum is &rdquo; + K);

}

//print

}

//test Code for Button 1

click

{

Test  t1 = new Test () T1.Read (10,20);

T1.Print (10,20);

T1.Print ();

// output is &lsquo;30&rsquo;

Test  t2 = new Test ();

T2.print ();

// output is &lsquo;0&rsquo;

Test t3  = new Test ();

T3.print ();

//error

Test t3 = t1;

T3.print ();

//output is &lsquo;30&rsquo;

}

Execute the project

</code></pre>
<h3><span style="font-size: 12pt; color: #e67e23;">OBS:-</span></h3>
<ol>
<li><span style="font-size: 12pt;">Fields of a class are also called Instance variables.</span></li>
<li><span style="font-size: 12pt;">In C#.net by default, every class will be inherited from System. object class</span></li>
<li><span style="font-size: 12pt;">System. object class contains four methods</span></li>
<li><span style="font-size: 12pt;">Get Hash code ()</span></li>
<li><span style="font-size: 12pt;">Get Type ()</span></li>
<li><span style="font-size: 12pt;">Equals ()</span></li>
<li><span style="font-size: 12pt;">To string ()</span></li>
<li><span style="font-size: 12pt;">In C# .net every class contains a minimum of 4 methods.</span></li>
</ol>
<p><span style="font-size: 12pt;">&nbsp;</span></p>5e:T21d0,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Enumerators (enum)</span></h2>
<p><span style="font-size: 12pt;">enum is a keyword enum is a collection of integral Constant's, which will be Identified with string constants. enum is a user-defined data type. </span></p>
<p><span style="font-size: 12pt;"><strong>Syntax</strong> to write enum &nbsp; </span></p>
<p><span style="font-size: 12pt;">Enum enum _name </span></p>
<p><span style="font-size: 12pt;">{ </span></p>
<p><span style="font-size: 12pt;">String value =&nbsp; Integer value, </span></p>
<p><span style="font-size: 12pt;">String value =&nbsp; Integer value, </span></p>
<p><span style="font-size: 12pt;">String value =&nbsp; Integer value,</span></p>
<p><span style="font-size: 12pt;"> } </span></p>
<p><span style="font-size: 12pt;">enum must be declared in general declaration (Go) area only. &nbsp;</span></p>
<blockquote>
<p><em><strong>Interested in mastering .NET? Learn more about "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="net-training" target="_blank" rel="noopener">.NET Training</a></span>" in this blog post.</strong></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e67e23;"><strong>C language</strong></span></h3>
<p><span style="font-size: 12pt;">Int&nbsp; k = 10;</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />global variable Main () { Int I = 10; </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" /> local variable }</span><span style="font-size: 12pt;">syntax of form1 code window Using system&nbsp; Using system.data Namespace ABC&nbsp;&nbsp;</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />project name &nbsp; &nbsp;} } }</span></p>
<p><span style="font-size: 12pt;"> <strong>Note&nbsp;</strong> For every project by default a name space will be created with the name of the project. Using is a keyword which is used to import the namespace (collection of classes ) </span></p>
<p><span style="font-size: 12pt;"><strong>Example 1 on Enum&nbsp;</strong></span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" /> Open windows form application project </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Place a button</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Code for&nbsp; GD&nbsp; (general declaration) </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone size-full wp-image-7600" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_384.png" alt="Screenshot_38" width="347" height="217" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Code for button 1 </span></p>
<pre class="language-javascript"><code>click {

Int  I, j, k;

I = (int) GTB. Sa;

j = (int) GTB. Ja;

k = (int) GTB. Ca;

  Message Box. Show (I + &ldquo;&rdquo; + j + &ldquo;&rdquo; + k);

}

</code></pre>
<p><span style="font-size: 12pt;">Execute the project&nbsp;&nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Observations</span></h3>
<p><span style="font-size: 12pt;">When enum member is not initialized then it will be initialized automatically with the incremented value of the previous member. </span></p>
<p><span style="font-size: 12pt;">In case the previous member is not existing then initialization starts from &ldquo;ZERO&rdquo; &nbsp; </span></p>
<p><span style="font-size: 12pt;"><strong>Example:-</strong></span></p>
<p><span style="font-size: 12pt;"> A program for developing the animated label.</span></p>
<p><span style="font-size: 12pt;">To develop this application buttons, labels, and timer controls are required. &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">About Label</span></h3>
<p><span style="font-size: 12pt;">Generally, a label is used to display some text along with an image [optional]. Label control supports nine types of alignments.</span></p>
<p><span style="font-size: 12pt;">&nbsp; &nbsp;To manage all these alignments, Microsoft introduced a predefined e num called as content alignment.</span></p>
<p><span style="font-size: 12pt;">&nbsp;&nbsp;</span><img class="alignnone wp-image-7602" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_403-460x340.png" alt="Screenshot_40" width="407" height="300" /></p>
<h3><span style="font-size: 12pt; color: #e67e23;"> About Timer Control</span></h3>
<p><span style="font-size: 12pt;">The timer control is used to execute a set of statements continuously provided a property called Enabled must be true. Enabled&nbsp; = true (false)</span></p>
<p><span style="font-size: 12pt;">&nbsp;Timer tick event will be executed after the equal interval which needs to be specified in milliseconds&nbsp;&nbsp; (1000 ms = 1 sec)</span></p>
<p><span style="font-size: 12pt;"> &nbsp; Open windows forms application project Place a button </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />properties&nbsp; F4</span></p>
<p><span style="font-size: 12pt;"> &nbsp;<img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />text = start &nbsp;</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Place one more button </span></p>
<p><span style="font-size: 12pt;">&nbsp;<img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />properties </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />text&nbsp;&nbsp; = start Place a label control </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />properties text&nbsp; = fish land text Align&nbsp; = middle center Auto size = false Image = select an image </span><span style="font-size: 12pt;">Place a timer contro</span></p>
<p><span style="font-size: 12pt;">l</span><img class="alignnone size-full wp-image-7605" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_417.png" alt="Screenshot_41" width="228" height="171" /></p>
<p style="padding-left: 30px;">&nbsp;</p>
<p><span style="font-size: 12pt;">Code in GD (Before Button 1 click)</span></p>
<pre class="language-javascript"><code> Int I = 0; Int [] x = new int [] 

{

(int) content Alignment ,

Top center, (int) content Alignment . Middle Right,

(int) content Alignment. Bottom center,

(int) content Alignment. Middle left

};

</code></pre>
<p><span style="font-size: 12pt;">Code for Timer 1</span></p>
<pre class="language-javascript"><code>tick (double click on timer)

{ I = I +1; If (I = =4) I =0;  

Label 1. Image Align  = (Content Alignment) X [i];

}

</code></pre>
<p>Code for Button 1_ click (Start)</p>
<pre class="language-javascript"><code>{
Timer 1 .enabled = true;
}

</code></pre>
<p><span style="font-size: 12pt;">Code for button 2_click (stop)</span></p>
<pre class="language-markup"><code>{

Timer1.enabled = false;

}</code></pre>5f:T1857,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Conditional Statements</span></h2>
<p><span style="color: #e67e23;"><strong><span style="font-size: 12pt;">Syntax of if condition : </span></strong></span></p>
<p><span style="font-size: 12pt;"><strong>Syntax 1&nbsp;</strong> </span></p>
<p><span style="font-size: 12pt;">If (condition)</span></p>
<p><span style="font-size: 12pt;"> Statement 1 ; </span></p>
<p><span style="font-size: 12pt;">Else Statement 2; </span></p>
<p><span style="font-size: 12pt;"><strong>Syntax 2</strong> </span></p>
<p><span style="font-size: 12pt;">If (condition)</span></p>
<p><span style="font-size: 12pt;"> {</span></p>
<p><span style="font-size: 12pt;"> Statement 1 ; </span></p>
<p><span style="font-size: 12pt;">Statement 2;</span></p>
<p><span style="font-size: 12pt;"> } </span></p>
<p><span style="font-size: 12pt;">Else</span></p>
<p><span style="font-size: 12pt;"> { </span></p>
<p><span style="font-size: 12pt;">Statement 3;</span></p>
<p><span style="font-size: 12pt;"> Statement 4; </span></p>
<p><span style="font-size: 12pt;">}</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Nested If:-</span></h3>
<p><span style="font-size: 12pt;"> If (condition)</span></p>
<p><span style="font-size: 12pt;"> Statement 1 ; </span></p>
<p><span style="font-size: 12pt;">Else If (condition) </span></p>
<p><span style="font-size: 12pt;">Statement 1 ; </span></p>
<p><span style="font-size: 12pt;">Else If (condition)</span></p>
<p><span style="font-size: 12pt;"> Statement 1 ;</span></p>
<p><span style="font-size: 12pt;"> Else </span></p>
<p><span style="font-size: 12pt;">.</span></p>
<p><span style="font-size: 12pt;"> Else Statement;&nbsp; </span></p>
<blockquote>
<p><em style="font-family: quicksand, sans-serif; font-size: 15px; text-align: justify; box-sizing: border-box;"><span style="box-sizing: border-box; font-weight: bolder;">These core tutorials will help you to learn the fundamentals of .NET. For an in-depth understanding and practical experience, explore Online "<span style="box-sizing: border-box; color: #e03e2d;"><a style="box-sizing: border-box; color: #e03e2d; text-decoration-line: none; transition: all 0.2s linear 0s;" href="net-training" target="_blank" rel="noopener">.NET Training</a></span>"</span></em></p>
</blockquote>
<h3><span style="font-size: 12pt; color: #e67e23;">Examples of if statement</span></h3>
<p><span style="font-size: 12pt;">A program to compare two numbers&nbsp; (I and j), if I is greater change from back color to green otherwise REO. </span></p>
<p><span style="font-size: 12pt;">Open windows form application project </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Place two text boxes and a button</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" /> Click on button 1 </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Code for button 1 &nbsp;</span></p>
<pre class="language-javascript"><code>Int I = int. parse (text Box 1. text);

Int j =int. parse (text Box2.text);

If (i&gt; j)

This. Back color = color. Green;

Else

This. Back color = color. Red;

Execute the project

</code></pre>
<p><strong style="font-size: 12pt;">Observations</strong></p>
<p><span style="font-size: 12pt;"> What is this key? </span></p>
<p><span style="font-size: 12pt;">this is a keyword </span></p>
<p><span style="font-size: 12pt;">this works like an object for the current class</span></p>
<p><span style="font-size: 12pt;">this will be created at run time. </span></p>
<p><span style="font-size: 12pt;">this is under the control of CLR. </span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Working with Switch condition Switch syntax </span></h3>
<pre class="language-javascript"><code>Switch (variable)

{

Case 1: Statements;

Break;

Case 2: Statements;

Break;

. Default Statements;

Break;

}</code></pre>
<p>&nbsp;</p>
<p><span style="font-size: 12pt;"><strong>Example of a Switch condition</strong> </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-7577" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_194-460x267.png" alt="Screenshot_19" width="491" height="285" /> </span></p>
<p><span style="font-size: 12pt;">Open windows form application project Place a text box and a button Code for button 1 click &nbsp;</span></p>
<pre class="language-javascript"><code>{

Int  I = int. parse  (text box 1. text);

Switch (i) { &hellip;. }

//switched close here

Switch (i)

{

Case 1: This. back color = color. Green ;

Break;

Case 2 : Color dialog c = new dialog ();

Creating an object

show dialog ();
this. Back color = c. color;

break;

case 3: Application . Exit ();

Break;

Default : Message box . show (&ldquo;enter 1,2, or 3 only&rdquo;);

Break;

}

</code></pre>
<p><span style="font-size: 12pt;">// switch closed here Execute the project</span></p>
<p><span style="font-size: 12pt;"> &nbsp; <strong>Observations</strong> </span></p>
<p><span style="font-size: 12pt;">Syntax to create an object Class name&nbsp;&nbsp; (space)&nbsp; obj _name = new&nbsp; class name (); &nbsp; </span></p>
<p>&nbsp;</p>
<p><span style="font-size: 12pt;"><strong>EX:-</strong></span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-7578" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_204-460x99.png" alt="Screenshot_20" width="539" height="115" /> </span></p>
<p><span style="font-size: 12pt;">Color dialog is a predefined class </span></p>
<p><span style="font-size: 12pt;">Application is a class which contains Exit () method </span></p>
<p><span style="font-size: 12pt;">Purpose of exit () is to terminate the project</span></p>60:T1c1f,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Parsing in C# .Net</span></h2>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone size-full wp-image-7572" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_164.png" alt="Screenshot_16" width="432" height="177" /> </span></p>
<p><span style="font-size: 12pt;">&nbsp; In C # .net all the data types are predefined structure.</span></p>
<p><span style="font-size: 12pt;"> char c; Char is a structure and c is a&nbsp; structure variable. </span></p>
<p><span style="font-size: 12pt;">The structure contains a collection of methods. </span></p>
<p><span style="font-size: 12pt;">The structure will be stored in stack memory.</span></p>
<p><span style="font-size: 12pt;"> As per the above statements, every data type contains a collection of pre-defined methods.</span></p>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: none; padding: 15px; line-height: 36px; color: #333333; font-family: quicksand, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify;"><em style="box-sizing: border-box;"><strong style="box-sizing: border-box; font-weight: bolder;">These core tutorials will help you to learn the fundamentals of .NET. For an in-depth understanding and practical experience, explore Online "<span style="box-sizing: border-box; color: #e03e2d;"><a style="box-sizing: border-box; color: #e03e2d; text-decoration: none; background-color: transparent; transition: all 0.2s linear 0s;" href="net-training" target="_blank" rel="noopener">.NET Training</a></span>"</strong></em></p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify;"><span style="font-size: 12pt; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;">&nbsp; </span><img class="alignnone wp-image-7573" style="font-size: 12pt; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_174-460x168.png" alt="Screenshot_17" width="512" height="186" /><span style="font-size: 12pt; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;">&nbsp;&nbsp;</span></p>
</blockquote>
<p><span style="font-size: 12pt;"><strong>Example:-</strong> A program to point data type limits open window forms application project</span></p>
<p><span style="font-size: 12pt;"> (File <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />&nbsp;new <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />project<img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />visual C # <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />&nbsp; window forms application) </span></p>
<p><span style="font-size: 12pt;"><strong>Observations: -</strong> A window will be opened, which is called as a form</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Open Tool Box&nbsp; (view&nbsp; menu&nbsp; Tool Box) </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Place a button on the form</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Code for button click event Private void button1_ click </span></p>
<pre class="language-javascript"><code>{

Message Box. Show  ( Int. Max value . To String ());

Message Box. Show  ( Int. Min value . To String ());

}

</code></pre>
<p><strong style="font-size: 12pt;">Output</strong></p>
<p><span style="font-size: 12pt;"> 2147483647 -2147483648 Execute the project &nbsp; Write line () is used to display a message in Console Application. Message Box. Show () is used to display a message in the windows form application</span></p>
<p><span style="font-size: 12pt;"> &nbsp; <strong>Example on Parsing</strong> </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone size-full wp-image-7574" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_184.png" alt="Screenshot_18" width="418" height="276" /> </span></p>
<p><span style="font-size: 12pt;">Open window forms application project Place two text boxes and a button Code for button 1 click </span></p>
<p><span style="font-size: 12pt;"><strong>Note&nbsp;</strong></span></p>
<p><span style="font-size: 12pt;"> The value&nbsp; typed in text box 1 as called as text box1 .text Button1</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />Click here &nbsp; </span></p>
<pre class="language-javascript"><code>Message box. Show  (text box 1. Text  + text box 2. Text);

Int Sal = int. parse  (text box 1. Text);

Int inc  =  int. parse  (text box 2. Text);

Int total = sal + inc;

Message Box. Show (total . to string ());

(or)

Message Box. Show (total + &ldquo;&rdquo;);

Execute the project

</code></pre>
<p><strong style="font-size: 12pt;">Observations</strong></p>
<p><span style="font-size: 12pt;"> In C #, message Box. Show () is &nbsp;capable to point only string</span></p>
<p><span style="font-size: 12pt;"> &lsquo;+&rsquo; operator is used to add numbers and to concatenate string. </span></p>
<p><span style="font-size: 12pt;">10 + 20 = 30</span></p>
<p><span style="font-size: 12pt;"> &ldquo;10&rdquo; + &ldquo;20&rdquo; = 1020 &ldquo;</span></p>
<p><span style="font-size: 12pt;">10&rdquo; + 20 = 1020</span></p>61:T2323,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Type Casting in C# .Net</span></h2>
<p><span style="font-size: 12pt;">Typecasting is a concept of converting from one data type into another data type. C# supports two types of typecasting </span></p>
<p><span style="font-size: 12pt;">a) Implicit type casting under control of CLR Lower to higher</span></p>
<p><span style="font-size: 12pt;"> b) Explicit type casting under the control of programmer higher to lower </span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Observations </span></h3>
<p><span style="font-size: 12pt;">Byte to long <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />implicit</span></p>
<p><span style="font-size: 12pt;">Int to byte<img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" /> Explicit </span></p>
<p><span style="font-size: 12pt;">Int to float <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />implicit</span></p>
<p><span style="font-size: 12pt;"> Float to int <img class="alignnone size-full wp-image-7566" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/arrrow.png" alt="arrrow" width="33" height="11" />explicit &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">C # supports 4 types of Explicit type casting technique</span></h3>
<p><span style="font-size: 12pt;">C ++ style of typecasting Converting Boxing and unboxing Parsing</span></p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify; color: #333333; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">&nbsp;</p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify; color: #333333; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">&nbsp;</p>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: none; padding: 15px; line-height: 36px; color: #333333; font-family: quicksand, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify; color: #333333; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><em style="box-sizing: border-box;"><strong style="box-sizing: border-box; font-weight: bolder;">These core tutorials will help you to learn the fundamentals of .NET. For an in-depth understanding and practical experience, explore Online "<span style="box-sizing: border-box; color: #e03e2d;"><a style="box-sizing: border-box; color: #e03e2d; text-decoration: none; background-color: transparent; transition: all 0.2s linear 0s;" href="net-training" target="_blank" rel="noopener">.NET Training</a></span>"</strong></em></p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify;">&nbsp;</p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify;">&nbsp;</p>
</blockquote>
<p><span style="font-size: 12pt; color: #e67e23;"> <strong>Working with C++ style of typecasting</strong></span></p>
<p><span style="font-size: 12pt;"> Ex:-&nbsp;</span></p>
<pre class="language-javascript"><code>int I = 10;

Byte b =  (byte)  I;</code></pre>
<p><span style="font-size: 12pt;"> <strong>Syntax</strong> </span></p>
<p><span style="font-size: 12pt;">DT1&nbsp;&nbsp; V1 = value; </span></p>
<p><span style="font-size: 12pt;">DT2 V2 =&nbsp; (DT2) V1; &nbsp;</span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Example of C++ Style of typecasting</span></h3>
<p><span style="font-size: 12pt;">Open console application project</span></p>
<p><span style="font-size: 12pt;"> Write the following code in the main method </span></p>
<pre class="language-javascript"><code>Int  I = 150;

Byte Sal =  (byte) I;

Console. Write Line  (Sal);

Console. Read Line ();

Execute the project (f5)  &agrave; 150

</code></pre>
<p><strong style="color: #e67e23; font-size: 12pt;">Observations</strong></p>
<p><span style="font-size: 12pt;">In the C++ style of typecasting, there is a possibility of loading the data. </span></p>
<p><span style="font-size: 12pt;"><strong>Convert</strong> </span></p>
<p><span style="font-size: 12pt;">Convert is a predefined class, which is the part of F </span></p>
<p><span style="font-size: 12pt;">Working with convert class is called as &ldquo;Converting&rdquo; </span></p>
<p><span style="font-size: 12pt;">The class contains a set of methods. </span></p>
<p><span style="font-size: 12pt;">Predefined methods on convert class </span></p>
<p><span style="font-size: 12pt;">String x = 123 </span></p>
<p><span style="font-size: 12pt;">Byte b = convert. </span><span style="font-size: 12pt;">To Byte (X);</span></p>
<p><span style="font-size: 12pt;"> Convert. To Byte (value) </span></p>
<p><span style="font-size: 12pt;">Convert. To char (value) </span></p>
<p><span style="font-size: 12pt;">Convert. To string (value) </span></p>
<p><span style="font-size: 12pt;">Convert. To Boolean (value)</span></p>
<p><span style="font-size: 12pt;"> Convert. To Float (value) </span></p>
<p><span style="font-size: 12pt;">* </span><span style="font-size: 12pt;">* * *</span></p>
<p><span style="font-size: 12pt;"> Convert. To INT 16()&hellip;&hellip;&hellip;&hellip;&hellip;.. for short </span></p>
<p><span style="font-size: 12pt;">Convert. To INT 32()&hellip;&hellip;&hellip;&hellip;&hellip;.. for int </span></p>
<p><span style="font-size: 12pt;">Convert. To INT 46()&hellip;&hellip;&hellip;&hellip;&hellip;.. for long </span></p>
<p><span style="font-size: 12pt;">Example of converting </span></p>
<p><span style="font-size: 12pt;">Open Console application project </span></p>
<p><strong><span style="font-size: 12pt;">Write the following code in the main method &nbsp;</span></strong></p>
<pre class="language-javascript"><code>Class Program

{

Static void main  (string [] args)

{

For (int I = 0;I &lt; = 255; I ++)

{

Char  c = Convert. To char (i);

Console. write (c);

}

Console . Read line ();

}

}</code></pre>
<p><span style="font-size: 12pt;"> F5 &nbsp;</span></p>
<p><span style="font-size: 12pt; color: #e67e23;"> <strong>Working with Boxing and Un-Boxing</strong> &nbsp; </span></p>
<p>&nbsp;</p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-7569" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_154-460x150.png" alt="Screenshot_15" width="452" height="146" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">&nbsp; Boxing is a concept of converting value type in to reference types. </span></p>
<p><span style="font-size: 12pt;">UnBoxing is a concept of converting reference type in to value types. </span></p>
<p><span style="font-size: 12pt;"><strong>Note</strong>: Console application is specially designed for a character-based operating system like DOS</span></p>
<p><span style="font-size: 12pt;"> As of now, CLR software is not yet introduced for DOS OS, hence console Applications are not Executable in DOS OS.</span></p>
<p><span style="font-size: 12pt;"> Console Application contains only LOGIC. but not GUI </span></p>
<p><span style="font-size: 12pt;">In order to develop GUI, Applications Microsoft introduced the &ldquo;Windows forms application&rdquo; template. &nbsp;</span></p>62:T12e0,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Design patterns supported in ASP.net:</span></h2>
<ol>
<li>Gang of four patterns</li>
<li>Enterprise patterns</li>
<li>Headfirst patterns</li>
<li>So4 patterns</li>
<li>3-tier and N-tier patterns</li>
<li>App fa&ccedil;ade</li>
<li>Silver light</li>
<li>WPE and WCF practices</li>
<li>Limo-to-SQL practices</li>
<li>Repository</li>
<li>Dependency injection</li>
<li>net MVC</li>
<li>MVP</li>
<li>MVVM</li>
<li>Entity framework</li>
<li>Membership practices</li>
</ol>
<p style="text-align: center;"><span style="font-size: 12pt;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" href="net-tutorials" target="_blank" rel="noopener">Check Out .NET Tutorial</a></span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">MVC pattern:-</span></h3>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />MVC pattern was invented by &lsquo;try give Reenskang&rsquo;, in the year 1978. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />MVC pattern was first implemented as a part of the small talk-80 class library. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />The MVC has proven a very successful pattern today in building web-based applications. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Examples of web application framework the follows MVC patterns are <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />ASP.net MVC, Ruby on Rails, Merb, diango. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In java struct, springs wicket, JSF.</p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify; color: #333333; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">&nbsp;</p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify; color: #333333; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">&nbsp;</p>
<blockquote style="box-sizing: border-box; margin: 0px 0px 1rem; border-left: none; padding: 15px; line-height: 36px; color: #333333; font-family: quicksand, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;">
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify;"><em style="box-sizing: border-box;"><strong style="box-sizing: border-box; font-weight: bolder;">These core tutorials will help you to learn the fundamentals of .NET. For an in-depth understanding and practical experience, explore Online "<span style="box-sizing: border-box; color: #e03e2d;"><a style="box-sizing: border-box; color: #e03e2d; text-decoration: none; background-color: transparent; transition: all 0.2s linear 0s;" href="net-training" target="_blank" rel="noopener">.NET Training</a></span>"</strong></em></p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify;">&nbsp;</p>
<p style="box-sizing: border-box; margin: 10px 0px; font-weight: 400; font-family: quicksand, sans-serif; font-size: 15px; text-align: justify;">&nbsp;</p>
</blockquote>63:T4870,<p>&nbsp;</p>
<p style="text-align: justify;">Welcome to Ruby on rails Tutorials. Ruby on Rails is an extremely productive web application framework written in Ruby by David Heinemeier Hansson. This tutorial gives you a complete understanding of Ruby on Rails.</p>
<p style="text-align: justify;">In addition to Ruby on rails tutorials, we will cover common interview questions and issues of Ruby on Rails.</p>
<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #ba372a;"><strong>Introduction</strong></span></h2>
<p style="text-align: justify;">Ruby is a programming language. It was created 20 years ago by Yukihiro &ldquo;Matz&rdquo; Matsumoto. By most measures of programming language popularity, Ruby ranks among the top ten, though usually as tenth (or so) in popularity, and largely due to the popularity of Rails. Like Java or the C language, Ruby is a general-purpose programming language, though it is best known for its use in web programming.</p>
<p style="text-align: justify;">Ruby is the successful combination of Smalltalk conceptual elegance,&nbsp;Python's ease of use and learning, and&nbsp;Perl's pragmatism.</p>
<p style="text-align: justify;">Ruby is a&nbsp;high-level programming language which&nbsp;Interpreted like Perl, <a href="https://tekslate.com/python-training/" target="_blank" rel="noopener">Python</a>, Tcl/TK, and Object-oriented like Smalltalk, Eiffel, Ada, Java.</p>
<h2 style="text-align: justify;"><span style="font-size: 12pt; color: #ba372a;"><strong>Rails:</strong></span></h2>
<p style="text-align: justify;">Rails is a software library that extends the Ruby programming language. David Heinemeier Hansson is its creator. He gave it the name &ldquo;Ruby on Rails,&rdquo; though it is often just called &ldquo;Rails.&rdquo;&nbsp;Rails Strengths&nbsp;is packed with features that make you more productive, with many of the following features building on one other.</p>
<ul>
<li style="text-align: justify;"><span style="line-height: 1.5;">An extremely productive web-application framework</span></li>
<li style="text-align: justify;">Written in Ruby by David Heinemeier Hansson.</li>
<li style="text-align: justify;">You could develop a web application at least ten times faster with Rails than you could with a typical Java framework.</li>
<li style="text-align: justify;">An open-source Ruby framework for developing database-backed web applications.</li>
<li style="text-align: justify;">Configure your code with Database Schema.</li>
<li style="text-align: justify;">No compilation phase required</li>
</ul>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as Ruby on Rails Developer? Then here is the blog post on, explore <a title="Ruby on Rails Training" href="ruby-rails-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>Ruby on RailsTraining</strong></span></a></em></p>
</blockquote>
<h3 style="text-align: justify;"><span style="font-size: 12pt; color: #ba372a;"><strong>Sample Ruby Code</strong></span></h3>
<p style="text-align: justify;">Here is a sample Ruby code to print "Hello Ruby"</p>
<pre class="prettyprint notranslate prettyprinted"><span class="com"># The Hello Class</span>
<span class="kwd">class</span> <span class="typ">Hello</span>
   
   <span class="kwd">def</span><span class="pln"> initialize</span><span class="pun">(</span><span class="pln"> name </span><span class="pun">)</span>
      <span class="lit">@name</span> <span class="pun">=</span><span class="pln"> name</span><span class="pun">.</span><span class="pln">capitalize
   </span><span class="kwd">end</span>

   <span class="kwd">def</span><span class="pln"> salute
      puts </span><span class="str">"Hello #{@name}!"</span>
   <span class="kwd">end</span>
   
<span class="kwd">end</span>

<span class="com"># Create a new object</span><span class="pln">
h </span><span class="pun">=</span> <span class="typ">Hello</span><span class="pun">.</span><span class="kwd">new</span><span class="pun">(</span><span class="str">"Ruby"</span><span class="pun">)</span>

<span class="com"># Output "Hello Ruby!"</span><span class="pln">
h</span><span class="pun">.</span><span class="pln">salute

<strong>Output</strong> &minus; This will produce the following result
</span></pre>
<pre class="result notranslate">Hello Ruby!
</pre>
<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #ba372a;"><strong>Embedded Ruby</strong></span></h2>
<ul>
<li style="text-align: justify;">ERB (<a class="zem_slink" title="ERuby" href="http://en.wikipedia.org/wiki/ERuby" target="_blank" rel="noopener wikipedia">Embedded RuBy</a>) is a feature of Ruby that enables you to conveniently generate any kind of text, in any quantity, from templates. The templates themselves combine plain text with Ruby code for variable substitution and flow control, which makes them easy to write and maintain.</li>
<li style="text-align: justify;">Although ERB is most commonly seen generating Web pages, it is also used to produce <a class="zem_slink" title="XML" href="http://en.wikipedia.org/wiki/XML" target="_blank" rel="noopener wikipedia">XML documents</a>, RSS feeds, source code, and other forms of a structured text file. It can be extremely valuable when you need to create files that include many repetitions of a standard pattern, such as unit test suites.</li>
<li style="text-align: justify;">The main component of ERB is a library that you can call within your Ruby applications and Rake tasks. This library accepts any string as a template and imposes no limitations on the source of the template. You may define a template entirely within your code, or store it in an external location and load it as required. This means that you can keep templates in files, SQL databases, or any other kind of storage that you want to use.</li>
<li style="text-align: justify;">Here's an example. Save the code in webdemo.rb file. Note that a Ruby file will have an extension <strong>.rb</strong> &minus;</li>
</ul>
<pre class="prettyprint notranslate prettyprinted"><span class="pun">&lt;%</span><span class="pln"> page_title </span><span class="pun">=</span> <span class="str">"Demonstration of ERB"</span><span class="pln"> %&gt;
</span><span class="pun">&lt;%</span><span class="pln"> salutation </span><span class="pun">=</span> <span class="str">"Dear programmer,"</span><span class="pln"> %&gt;

</span><span class="tag">&lt;html&gt;</span>

   <span class="tag">&lt;head&gt;</span>
      <span class="tag">&lt;title&gt;</span><span class="pun">&lt;%=</span><span class="pln"> page_title %&gt;</span><span class="tag">&lt;/title&gt;</span>
   <span class="tag">&lt;/head&gt;</span>
	
   <span class="tag">&lt;body&gt;</span>
      <span class="tag">&lt;p&gt;</span><span class="pun">&lt;%=</span><span class="pln"> salutation %&gt;</span><span class="tag">&lt;/p&gt;</span>
      <span class="tag">&lt;p&gt;</span><span class="pln">This is an example of how ERB fills out a template.</span><span class="tag">&lt;/p&gt;</span>
   <span class="tag">&lt;/body&gt;</span>
	
<span class="tag">&lt;/html&gt;</span></pre>
<p style="text-align: justify;">Now, run the program using the command-line utility <strong>erb</strong></p>
<pre class="result notranslate">tp&gt; erb erb demo.rb</pre>
<p style="text-align: justify;">This will produce the following result &minus;</p>
<pre class="prettyprint notranslate prettyprinted"><span class="tag">&lt;html&gt;</span>

   <span class="tag">&lt;head&gt;</span>
      <span class="tag">&lt;title&gt;</span><span class="pln">Demonstration of ERb</span><span class="tag">&lt;/title&gt;</span>
   <span class="tag">&lt;/head&gt;</span>
	
   <span class="tag">&lt;body&gt;</span>
      <span class="tag">&lt;p&gt;</span><span class="pln">Dear programmer,</span><span class="tag">&lt;/p&gt;</span>
      <span class="tag">&lt;p&gt;</span><span class="pln">This is an example  of how ERb fills out a template.</span><span class="tag">&lt;/p&gt;</span>
   <span class="tag">&lt;/body&gt;</span>
	
<span class="tag">&lt;/html&gt;</span></pre>
<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #ba372a;"><strong>Workflow for Creating Rails Applications</strong></span></h2>
<p style="text-align: justify;">A recommended workflow for creating Rails Application is as follows &minus;</p>
<ul>
<li style="text-align: justify;"><span style="line-height: 1.5;">Use the rails command to create the basic skeleton of the application.</span></li>
<li style="text-align: justify;">Create a database on the PostgreSQL server to hold your data.</li>
<li style="text-align: justify;">Configure the application to know where your database is located and the login credentials for it.</li>
<li style="text-align: justify;">Create Rails Active Records (Models), because they are the business objects you'll be working within your controllers.</li>
<li style="text-align: justify;">Generate Migrations that simplify the creating and maintaining of database tables and columns.</li>
<li style="text-align: justify;">Write Controller Code to put a life in your application.</li>
<li style="text-align: justify;">Create Views to present your data through the User Interface.</li>
</ul>
<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #ba372a;"><strong>Rails Installation</strong></span></h2>
<h3 style="text-align: justify;"><span style="color: #ba372a; font-size: 14pt;"><strong>Installing Ruby on Rails</strong></span></h3>
<h4 style="text-align: justify;"><span style="color: #ba372a;">Step 1: Check Ruby Version</span></h4>
<p style="text-align: justify;">First, check if you already have Ruby installed. Open the command prompt and type <strong>ruby -v</strong>. If Ruby responds, and if it shows a version number at or above 2.2.2, then type <strong>gem --version</strong>. If you don't get an error, skip the <strong>Install Ruby&nbsp;</strong>step. Otherwise, we'll install a fresh Ruby.</p>
<h4 style="text-align: justify;"><span style="color: #ba372a;">Step 2: Install Ruby</span></h4>
<p style="text-align: justify;">If Ruby is not installed, then download an installation package from&nbsp;rubyinstaller.org. Follow the <strong>download</strong> link, and run the resulting installer. This is an exe file <strong>rubyinstaller-2.2.2.x.exe</strong> and will be installed in a single click. It's a very small package, and you'll get RubyGems as well along with this package. Please check the <strong>Release Notes</strong> for more detail.</p>
<p style="text-align: center;"><a style="background-color: #e94350; color: #ffffff; padding: 10px 20px;" title="Ruby on Rails Interview Question and Answers" href="ruby-on-rails-interview-questions-and-answers" target="_blank" rel="noopener">Ruby on Rails Interview Questions</a></p>
<h4 style="text-align: justify;"><span style="color: #ba372a;">Step 3: Install Rails</span></h4>
<p style="text-align: justify;"><span style="color: #ba372a;"><strong>Install Rails</strong> </span>&minus; With Rubygems loaded, you can install all of the Rails and its dependencies using the following command through the command line.</p>
<pre class="result notranslate">C:&gt; gem install rails
</pre>
<p style="text-align: justify;"><img class="size-full wp-image-21096 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/06/Capture.1347.png" alt="Install rails" width="604" height="307" /></p>
<p style="text-align: justify;"><span style="color: #ba372a;"><strong>Note</strong></span> &minus; The above command may take some time to install all dependencies. Make sure you are connected to the internet while installing gems dependencies</p>
<h4 style="text-align: justify;"><span style="color: #ba372a;">Step 4: Check Rails Version</span></h4>
<p style="text-align: justify;">Use the following command to check the rails version.</p>
<pre class="result notranslate">C:&gt; rails -v
</pre>
<h4 style="text-align: justify;"><span style="color: #ba372a;"><strong>Output</strong></span></h4>
<pre class="result notranslate">Rails 4.2.4</pre>
<h3 style="text-align: justify;"><span style="font-size: 14pt; color: #ba372a;"><strong>Configuring Rails Applications</strong></span></h3>
<p style="text-align: justify;">First, we define a default value for all environments in <code>config/application.rb</code>:</p>
<div class="line number1 index0 alt2" style="text-align: justify;"><code class="ruby keyword">module</code> <code class="ruby plain">Configurator</code></div>
<div class="line number2 index1 alt1" style="text-align: justify;"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby keyword">class</code> <code class="ruby plain">Application &lt; Rails::Application</code></div>
<div class="line number3 index2 alt2" style="text-align: justify;"><code class="ruby spaces">&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="ruby comments"># By default, let OSX resolve the path to the binary</code></div>
<div class="line number4 index3 alt1" style="text-align: justify;"><code class="ruby spaces">&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="ruby plain">config.wkhtmltopdf = </code><code class="ruby string">"wkhtmltopdf"</code></div>
<div class="line number5 index4 alt2" style="text-align: justify;"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby keyword">end</code></div>
<div class="line number6 index5 alt1" style="text-align: justify;"><code class="ruby keyword">end</code></div>
<div class="line number6 index5 alt1" style="text-align: justify;">&nbsp;</div>
<div class="line number6 index5 alt1" style="text-align: justify;">Then we override the default setting as necessary in <code>config/environments/</code>:</div>
<div class="line number6 index5 alt1" style="text-align: justify;">&nbsp;</div>
<div class="line number6 index5 alt1" style="text-align: justify;">
<div class="line number1 index0 alt2"><code class="ruby plain">Configurator::Application.configure </code><code class="ruby keyword">do</code></div>
<div class="line number2 index1 alt1"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby comments"># Settings specified here will take precedence over those in config/application.rb</code></div>
<div class="line number4 index3 alt1"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby comments"># Point Heroku explicitly to the binary we need to use</code></div>
<div class="line number5 index4 alt2"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby plain">config.wkhtmltopdf = </code><code class="ruby string">"#{Rails.root}/bin/wkhtmltopdf"</code></div>
<div class="line number6 index5 alt1"><code class="ruby keyword">end</code></div>
<div class="line number6 index5 alt1">&nbsp;</div>
</div>
<div class="line number6 index5 alt1" style="text-align: justify;">Lastly, we access the configuration element in our code:</div>
<div class="line number6 index5 alt1" style="text-align: justify;">&nbsp;</div>
<div class="line number6 index5 alt1" style="text-align: justify;">cmd = [Configurator::Application.config.wkhtmltopdf, url, tmpfile.path]</div>
<div class="line number6 index5 alt1" style="text-align: justify;">&nbsp;</div>
<div class="line number6 index5 alt1" style="text-align: justify;">Just use Rails environment support and <code>config</code> to store your own configuration elements. They&rsquo;re trivial to set, trivial to access, and require no third-party gems or custom text files.</div>
<div class="line number6 index5 alt1">
<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #ba372a;"><strong>Advantages of Ruby on Rails</strong></span></h2>
<ul>
<li style="text-align: justify;"><strong><span style="color: #ba372a;">High Speed of Development:</span>&nbsp;</strong>For example, site development that would traditionally take about 2-3 months can commonly be launched much quicker with Ruby on Rails. This time savings results from a few factors: a leaner code-base (fewer lines of redundant code) and a modular design (re-using existing components rather than building everything from scratch). As such, after launching the site, modifications can be made more quickly as well.</li>
<li style="text-align: justify;"><strong><span style="color: #ba372a;">Cost-Effectiveness:</span>&nbsp;</strong>As Rails sites can be built and modified quickly, this is a really cost-effective way to create and maintain the website &mdash; without compromising the quality, performance, or scalability of your site.</li>
<li style="text-align: justify;"><span style="color: #ba372a;"><strong>Flexibility:&nbsp;</strong></span>There are lots of gems (already built components of specific functionality available); re-using them rather than building everything from scratch provides a lot of different bricks to build the application and extend its functionality. A variety of plugins are available to solve just about any functional challenge you may need for your project. Additionally, Rails is an ideal way to build custom database solutions at a fraction of the usual time and expense.</li>
<li style="text-align: justify;"><strong><span style="color: #ba372a;">Flexibility:</span>&nbsp;</strong>There are lots of gems (already built components of specific functionality available); re-using them rather than building everything from scratch provides a lot of different bricks to build the application and extend its functionality. A variety of plugins are available to solve just about any functional challenge you may need for your project. Additionally, Rails is an ideal way to build custom database solutions at a fraction of the usual time and expense.</li>
<li style="text-align: justify;"><strong><span style="color: #ba372a;">High code quality:</span>&nbsp;</strong>The Ruby language and Ruby on Rails framework are under active development and support. New features, ideas are introduced quite often. Security updates and fixes are released regularly. A large body of books, blog entries, and experiences are also shared online to learn from.</li>
<li style="text-align: justify;"><span style="color: #ba372a;"><strong>Industry support: </strong></span>There are professional hosting support companies, (Heroku, EngineYard). experienced consulting companies, two primary cloud-based offerings, and help with development and deployment, and more. Both provide an easy-to-scale, managed hosting environment. Both are built on Amazon EC2 and offer contrasting approaches and features that will appeal to different audiences.</li>
</ul>
<p style="text-align: justify;">&nbsp;</p>
</div>64:T19a0,<p>&nbsp;</p>
<h2><span style="color: #e67e23; font-size: 14pt;"><strong>Qlik Sense Interview Questions With Answers</strong></span></h2>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q1) Explain briefly approximately Qlik sense?</strong></span></h3>
<p><span style="color: #000000;"><strong>Ans:</strong></span></p>
<ul style="list-style-type: circle;">
<li style="padding-left: 30px;">Self-provider records visualization utility that empowers you to look and discover vast amounts of facts to find out insights of the employer. It uses analytics and Discovery of facts. With Qlik experience, a company can create elastic, interactive visualizations and make significant decisions.</li>
<li style="padding-left: 30px;">It is rapid and easy</li>
<li style="padding-left: 30px;">Redefines the way you get right of entry to, create and proportion insight</li>
<li style="padding-left: 30px;">Quicker time to perception all and sundry, whenever, everywhere on any tool.</li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q2) Explain how does Qlik experience paintings?</strong></span></h3>
<p><strong>Ans:</strong> By intelligently summarizing the enormous amount of complex records by using the use of graph sort of search feel where each Qlik right away updates information. It has rich visible records insights that help in guidelines-based security and governance.</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q3) How to connect Qlik Sense with R?</strong></span></h3>
<p><strong>Ans: </strong></p>
<ul>
<li>This is the most simple way to use R with Qlik: Enlarging R is the idea behind this, and transfer to a respective folder that Qlik sense is gonna read and thus loads the data. Initially, you need to download and install R, later after choosing analysis, mention on the prescribed script, the place to store the results.</li>
<li>After this, to always run, you need to refresh your analysis, after creating a .exe file.</li>
<li>Thus code needs to be:&rdquo; add the path to R Radd R VERSION(num.num)binR.exe&rdquo;</li>
<li>CMD BATCH &ndash;labor &ndash;rahul &ldquo;add the path to tekslatescripttekslatescript.R&rdquo; &ldquo;add path over heretekslatereporttekslatereport.txt&rdquo;</li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q4) A way to manage records inside the app with facts supervisor?</strong></span></h3>
<p><strong>Ans:</strong> The facts supervisor is coping with and adding facts from numerous assets or from the data market of qlik that's visible in apps too. whether you brought them to add data or loaded the usage of scripts. each table is displayed using desk calls, statistics subjects, and supply.</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q5) The way to upload a new information table?</strong></span></h3>
<p><strong>Ans:</strong> Either you can add a data table from the records manager or through numerous records assets</p>
<ul>
<li><span style="color: #e67e23;">By connections</span>: pick out from information connections which had been earlier described through the user or administrator and folders from in which it's miles selected.</li>
<li><span style="color: #e67e23;">Join my statistics</span>: choose from a brand new facts source such as ODBC or OLE, connectors, internet documents, or information files.</li>
<li><span style="color: #e67e23;">Qlikdatamarket</span>: pick from the general public or normalized industrial databases.</li>
<li><span style="color: #e67e23;">Attaching a file</span>: add a report from pc or thru an app.</li>
</ul>
<blockquote>
<p style="text-align: center;"><em>Inclined to build a profession as Qlik Sense Developer? Then here is the blog post on, explore <a title="Qlik Sense Training" href="qlik-sense-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>Qlik Sense Training</strong></span></a></em></p>
</blockquote>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q6) What's Qlik feel Charts?</strong></span></h3>
<p><strong>Ans:</strong> Qlik experience Charts is any other software program as a service (SaaS) providing by Qlik which allows Qlik to experience visualizations to be without problems shared on websites and social media. Charts have restricted interaction and permit users to explore and find out.</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q7) Is there any capability to create, edit, or increase apps in Qlik feel Cloud?</strong></span></h3>
<p><strong>Ans:</strong> The ability to create and edit apps is to be had to all customers. users can add flat-file facts and connect to QlikDataMarket. customers can then create, edit, and increase apps they own. customers can't augment or edit apps create through different users.</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q8) Are records encrypted on Qlik feel Cloud?</strong></span></h3>
<p><strong>Ans:</strong> Yes, the facts are encrypted on Qlik feel Cloud. also, the Credentials and statistics are encrypted &lsquo;in-flight&rsquo; (the usage of SSL).</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q9) What are synthetic keys beneath logical tables?</strong></span></h3>
<p><strong>Ans:</strong> When or extra fields in a facts table are in commonplace this permits the composite key dating. Qlik sense makes it by way of offering synthetic keys routinely. The keys are nameless keys that represent all occurring composite key of the aggregate. however, multiple synthetic keys are regularly related to incorrect facts version but now not always.</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q10) What is the DatatypesQlik sense?</strong></span></h3>
<p><strong>Ans:</strong> Qlik experience has strings, dates, numbers, times and currencies most effective. They can be executed in exclusive methods for calculation functions. this indicates the above parameters which include the date, time can be delivered or subtracted from every other.</p>
<h3><span style="color: #e67e23; font-size: 12pt;"><strong>Q11) What may be performed in Qlik experience Cloud?</strong></span></h3>
<p><strong>Ans: </strong></p>
<ul>
<li>Developing apps and sharing the apps the use of the cloud.</li>
<li>From this hub, we can view or invite customers to comply with the apps, reveal them. additionally, you may generate hyperlinks to percentage the content or visualization in the apps.</li>
<li>whilst logged in, the browser is divided into 3 elements, workspace area, tab panel, and toolbar.</li>
</ul>
<p>&nbsp;</p>65:T4bb8,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Configuring The Managed Meta Data</span></h2>
<p><span style="font-size: 12pt;">The Managed Metadata service application is a welcome addition to SharePoint 2010 and is one of my favorite Enterprise Content Management features within this release. In this three-part series, I plan to delve into the configuration of the Metadata Service Application and then finish off with real-life examples on utilizing our metadata throughout our SharePoint sites. &nbsp;So what is the Managed Metadata Service Application all about and what value does it bring over what we had in SharePoint 2007? The Managed Metadata&rsquo;s primary purpose is to provide you with a central location to store metadata (commonly defined as data about data) that can be utilized throughout any site within your SharePoint farm.&nbsp; This is definitely one step ahead of what we referred to as Content Types and Site Columns in SharePoint 2007 where it was cumbersome to deploy to more than one site collection.&nbsp; The Managed Metadata Service Application requires </span><span style="font-size: 12pt;">Configuring the User Profile Service in SharePoint 2010</span><span style="font-size: 12pt;">&nbsp;as this was a prerequisite for the User Profile Service Application.</span></p>
<p>&nbsp;</p>
<blockquote><em><strong><span style="font-size: 16px;">Aspired to become a SharePoint? Explore the post to discover the know-how on the "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="sharepoint-training" target="_blank" rel="noopener">SharePoint Training</a></span>" course.</span></strong></em></blockquote>
<h3><span style="font-size: 12pt; color: #e67e23;"> Primer on the Managed Metadata Service in SharePoint 2010 </span></h3>
<p><span style="font-size: 12pt;">Managed Metadata and the word Taxonomy go hand in hand, and as mentioned previously, the Managed Metadata service application allows us to formalize our Taxonomy or metadata which will be utilized across the entire farm. There are a number of concepts that you will need to familiarize yourself with before we embark on the configuration. </span></p>
<p><span style="font-size: 12pt;"><strong><em>Term Store&nbsp;</em></strong>This is the database in which our managed metadata is stored in.</span></p>
<p><span style="font-size: 12pt;"> <strong><em>Term</em></strong>&nbsp;is a word or a phrase that can be associated with an item in SharePoint Server 2010. </span></p>
<p><span style="font-size: 12pt;"><strong><em>Term set</em></strong><em>&nbsp;</em>is a collection of related terms. There are two types of Terms available within SharePoint 2010.&nbsp; These are &ldquo;Managed Terms&rdquo; and &ldquo;Enterprise Keywords&rdquo;. </span></p>
<p><span style="font-size: 12pt;">&ldquo;<strong><em>Managed terms</em></strong>, commonly referred to as &ldquo;Taxonomy&rdquo; are predefined words or phrases that can only be created by users with the appropriate permissions. &nbsp;We can refer to this special group of users as &ldquo;Metadata Content Managers&rdquo;. </span></p>
<p><span style="font-size: 12pt;"><em>&ldquo;</em></span><span style="font-size: 12pt;"><strong><em>Enterprise keywords</em></strong>&nbsp;commonly referred to as &ldquo;Folksonomy&rdquo; are words or phrases that have been added by the end-user. </span></p>
<p><span style="font-size: 12pt;">Now that we have a better understanding of some of the key concepts, let&rsquo;s deep dive into our setup and configuration of the Managed Metadata Service Application. </span></p>
<p><span style="font-size: 12pt;"><strong>Setup the Managed Metadata Service</strong> </span></p>
<p><span style="font-size: 12pt;">To set up our Managed Metadata Service, navigate to Central Administration / Application Management / Manage Service Applications. </span></p>
<p><span style="font-size: 12pt;">Click New and select &ldquo;Managed Metadata Service&rdquo; </span></p>
<p><span style="font-size: 12pt;">Enter the follow details;</span></p>
<p><span style="font-size: 12pt;"> <strong>Name</strong>&nbsp;Managed Metadata Service&nbsp;&nbsp;<strong>Database Server:&nbsp;</strong>&lt;server_name&gt;&nbsp; <strong>Database Name:&nbsp;</strong>Managed Metadata DB I will utilize the sp_farm account for the Application Pool Identity. <img class="alignnone wp-image-3865" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4312.png" alt="43" width="415" height="409" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> Click Create. Lastly, navigate to Central Administration / System Settings / Manage services on the server and start the Managed Metadata Web Service. <img class="alignnone wp-image-3866" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4410-460x40.png" alt="44" width="601" height="52" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Now that we have successfully set up our Managed Metadata Service, let&rsquo;s venture into the Term Store Management Tool.&nbsp; You can do so by navigating to Central Administration / Manage Service Applications and clicking on the newly created Managed Metadata Service. Note, you can achieve the same by highlighting the service application and clicking on the Manage icon located in the ribbon. This will launch the below screen which is referred to as the Term Store Management Tool. &nbsp;&nbsp;</span></p>
<p><span style="font-size: 12pt;"> Let&rsquo;s quickly highlight what is made available on this screen.</span></p>
<p><img class="alignnone wp-image-3867" style="font-size: 16px;" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4511-460x213.png" alt="45" width="502" height="231" /></p>
<p><span style="font-size: 12pt;"><strong>Available Service Applications:&nbsp;</strong>If the farm has been set up with multiple Managed Metadata service applications you can easily navigate and configure each one from the single interface.</span></p>
<p><span style="font-size: 12pt;"> <strong>Sample Import:&nbsp;</strong>Here, Microsoft is providing your designated Metadata Managers with a template import file.&nbsp; This template can be used as a base of creating your own which can then be later imported. <strong>Term Store Administrators:&nbsp;</strong>This is where you would add the designated users which will provide them with the ability to create new term set groups.&nbsp; By doing so, they will in turn be able to provide the necessary permissions to the group manager role.&nbsp; Note, users added here have full control of the specified term store.&nbsp; In the above screen capture, I have gone ahead and added Administrator and myself as Term Store Administrators. </span></p>
<p><span style="font-size: 12pt;"><strong>Default Language:</strong> This one is self-explanatory</span></p>
<p><span style="font-size: 12pt;"> <strong>Working Languages:&nbsp;</strong>In addition to the Default Language, you can also specify additional languages available for translation purposes. That&rsquo;s it for now.&nbsp; Stay tuned for my next article in which I will venture into creating Groups, Term Sets, and Terms and demonstrate how we can utilize our managed metadata within our SharePoint sites.</span></p>
<p><span style="font-size: 12pt;"> <strong>References</strong> Plan managed metadata (SharePoint Server 2010)&nbsp;<a href="http://technet.microsoft.com/en-us/library/ee530389.aspx">http://technet.microsoft.com/en-us/library/ee530389.aspx</a> Navigate to Central Administration / Application Management / Manage Service Applications.&nbsp; Highlight the Managed Metadata Service and click on Manage. This launches the Term Store Management Tool which we briefly introduced in</span></p>
<p><span style="font-size: 12pt;">&nbsp;<a href="http://sharepointgeorge.com/2010/configuring-managed-metadata-service-application-sharepoint-2010-part1/">Part 1</a>&nbsp;of this series. Let&rsquo;s begin by creating a new group.&nbsp; You can do so by clicking on the Management Metadata Service node (or whatever you called it) and selecting New Group. <img class="alignnone size-full wp-image-3868" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4612.png" alt="46" width="415" height="379" /> </span></p>
<p><span style="font-size: 12pt;">In my example, I will create a group labeled &ldquo;Office Locations&rdquo;.&nbsp; I have entered a description to help others identify the purpose of this group and added the Group Managers and Contributors, so what&rsquo;s </span><span style="font-size: 12pt;">difference between the two levels of permissions?&nbsp;</span></p>
<p><img class="alignnone wp-image-3869" style="font-size: 16px;" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4711-460x279.png" alt="47" width="426" height="257" /><span style="font-size: 12pt;">&nbsp;</span></p>
<p><span style="font-size: 12pt;">Group Managers have the privilege to a</span><span style="font-size: 12pt;">dd items t</span><span style="font-size: 12pt;">o the grou</span><span style="font-size: 12pt;">p and a</span><span style="font-size: 12pt;">lso</span><span style="font-size: 12pt;"> have the ability to</span><span style="font-size: 12pt;">&nbsp;add users to the Contributors group. Contributors have the privilege to only add and edit terms and set term hierarchies within the group. After adding the above details, click on Save. Our new Group will now be listed as per the below.</span></p>
<p><span style="font-size: 12pt;"> </span><img class="alignnone wp-image-3870" style="font-size: 12pt;" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/489.png" alt="48" width="390" height="234" /></p>
<p><span style="font-size: 12pt;"> I will now create 2 Term Sets which will sit under &ldquo;Office Locations&rdquo;.&nbsp; They will be, &ldquo;State&rdquo; and &ldquo;City&rdquo;. You can do so by clicking on the Group Name and selecting New Term Set. &nbsp; </span><img class="alignnone size-full wp-image-3871" style="font-size: 12pt;" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/499.png" alt="49" width="369" height="254" /><span style="font-size: 12pt;"> </span></p>
<p><span style="font-size: 12pt;">I will label my first Term Set as &ldquo;State&rdquo;. Here I will identify the owner of this Term set, optionally specify an email address for &ldquo;term suggestion&rdquo; and list the Stakeholders who are notified before major changes are made to the term set. We can also set the Submission Policy which dictates whether we allow users to contribute to the Term Set (commonly referred to folksonomy) or restrict it to only metadata managers (Taxonomy). Our last option determines whether we will allow our end-users to utilize the term set for tagging.</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3872" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5011.png" alt="50" width="491" height="458" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Once you have specified your options, click Save.&nbsp; I will now proceed to create a second Term Set labeled City as per the above instructions.&nbsp; Once finalized, our Term Sets will be listed under our Group as per the below screen capture.</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3873" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5115.png" alt="51" width="376" height="235" /> </span></p>
<p><span style="font-size: 12pt;">I will now proceed to create our Terms below our Term Sets.&nbsp; I&rsquo;ll begin by selecting the first Term Set &ldquo;State&rdquo; and then selecting Create Term.</span></p>
<p><span style="font-size: 12pt;"> &nbsp; <img class="alignnone wp-image-3874" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5212.png" alt="52" width="344" height="324" /> </span></p>
<p><span style="font-size: 12pt;">&nbsp; I will create my first Term,&nbsp;&ldquo;NSW&rdquo; which is an Australian State.&nbsp; You will then be greeted with the below screen; </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3875" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5311-460x405.png" alt="53" width="452" height="398" /> </span></p>
<p><span style="font-size: 12pt;">Here we can specify whether the Term is available for Tagging, add a Description to assist users and add &ldquo;Other Labels&rdquo; in which we can enter synonyms and abbreviations relating to the Term.&nbsp; This might come in handy when adding Terms and in my example, I have added &ldquo;New South Wales&rdquo; as an additional Label to the abbreviated &ldquo;NSW&rdquo; Term. Click Save once you have completed the modifications.&nbsp; I will proceed to create a Term for each State and City following the above steps and you should have something similar to the below once you have finished. </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone size-full wp-image-3877" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5510.png" alt="55" width="231" height="330" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Note, we can expedite the creation of Term Sets by using the Import method </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-3878" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5511.png" alt="55" width="303" height="186" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">As an example, I have utilized the sample Import File provided by Microsoft and imported the contents within our Managed Metadata Service.</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3879" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/569.png" alt="56" width="261" height="294" /> </span></p>
<p><span style="font-size: 12pt;">Now that we have a thorough understanding of the creation of Groups, Term Sets, and Terms we will continue our journey in the next and final part of this series where we will utilize our Metadata within our SharePoint Sites. <strong>&nbsp;</strong> </span></p>
<h3><span style="font-size: 12pt; color: #e67e23;">Adding Managed Metadata to a SharePoint List or Library</span></h3>
<p><span style="font-size: 12pt;"> Let&rsquo;s navigate to a List in which we would like to add our Managed Metadata as a column.&nbsp; Navigate to the List or Library in question and click on List under List Tools in the Ribbon and then click on Create Column.</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3880" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/579-460x156.png" alt="57" width="478" height="161" /> </span></p>
<p><span style="font-size: 12pt;">Enter a name for your Column.&nbsp; In my example, I will call it State as I will be using the State Term Set which we created in earlier&nbsp;and select Managed Metadata as your column type. Set your &ldquo;Display format&rdquo; so it either displays just the term label or the entire path. Under Term Set Settings, select your Term Set. You can also utilize the search facility in the event you have a large number of Term Sets. <img class="alignnone wp-image-3881" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/589-460x357.png" alt="58" width="422" height="326" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Finally select whether you want to Allow Fill-in, which is only available if your Term Set was set to allow it. This is handled by the Submission Policy set to Open, (discussed earlier). <img class="alignnone wp-image-3882" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/599-460x190.png" alt="59" width="459" height="188" /> </span></p>
<p><span style="font-size: 12pt;">Click OK once done. I will now proceed to add a new item in my fairly bland Custom List via Add new item.</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3883" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/609-460x206.png" alt="60" width="495" height="221" /></span></p>
<p><span style="font-size: 12pt;"> You have the option to click on the browse button on the right or you can begin typing in which it will provide you with Suggestions.&nbsp; In the above screen capture I began typing in one of the &ldquo;other labels&rdquo; or commonly referred to as synonyms&nbsp;the end result will be the actual &ldquo;Default Label&rdquo; Term listed in the Taxonomy Term Store in Central Administration.&nbsp; E.G. I was typing in &ldquo;New South Wales&rdquo; and the default label in the Term Store was set to &ldquo;NSW&rdquo;.</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3884" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1105-460x196.png" alt="1" width="524" height="222" /> </span></p>
<p><span style="font-size: 12pt;">One thing to note is the &ldquo;Send Feedback&rdquo; link, which is visible if you click on the browse button beside your metadata field.&nbsp; This allows users to provide feedback if an email address was specified under &ldquo;Contact&rdquo; in the properties of the Term via the&nbsp;Term Store Management Tool. </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3885" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1106.png" alt="1" width="480" height="248" /> </span></p>
<p><span style="font-size: 12pt;">There are a couple of neat navigation enhancements made available out of the box in SharePoint 2010 which tightly integrates with our Metadata.&nbsp; Commonly referred to as Metadata Navigation, these options are listed under our List Settings. Navigate to List Settings / General Settings / Metadata navigation settings. Within this screen, we can specify which fields we want to utilize and incorporate in our Navigation Hierarchies and or Key Filters which are both displayed below the Quick Launch.&nbsp; Both allow for enhanced and easy drill-down when filtering your list.&nbsp; I have gone ahead and added our &ldquo;State&rdquo; Metadata field to both Navigation Hierarchies and Key Filters as examples.</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3886" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1107-460x274.png" alt="1" width="482" height="286" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Example of a Navigation Hierarchy. </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-3887" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1108.png" alt="1" width="407" height="360" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Example of Key Filters.</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3889" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1109.png" alt="1" width="411" height="359" /> </span></p>66:T3e47,<h2><span style="font-size: 14pt; color: #e67e23;">Business Data Connectivity Service</span></h2>
<p><span style="font-size: 12pt;">New Create Database name BCSForSharePoint2010</span></p>
<ul>
<li><span style="font-size: 12pt;">Create a new table name: Customer with the following columns:</span></li>
<li><span style="font-size: 12pt;">Enter new customer data</span></li>
</ul>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3713" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/867-460x203.png" alt="86" width="629" height="277" /> </span></p>
<p><span style="font-size: 12pt;">Open Visual Studio 2010 to create a new BCS</span></p>
<ul>
<li><span style="font-size: 12pt;">File | New Project | SharePoint | 2010 | Select Data Connectivity Business Model and name BCSCustomer</span></li>
<li><span style="font-size: 12pt;">Select Site and click Finish to Debugging</span></li>
</ul>
<p>&nbsp;</p>
<blockquote><em><strong><span style="font-size: 16px;">Aspired to become a SharePoint? Explore the post to discover the know-how on the "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="sharepoint-training" target="_blank" rel="noopener">SharePoint Training</a></span>" course.</span></strong></em></blockquote>
<p><span style="font-size: 12pt;">The interface creates the following new </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-3714" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/878.png" alt="87" width="618" height="398" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Rename the Class Entity1 CustomerEntity</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3715" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/888.png" alt="88" width="207" height="220" /> </span></p>
<p><span style="font-size: 12pt;">Rename the primary key of CustomerID from Identifier1 </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3716" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/898.png" alt="89" width="258" height="188" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">In the Properties window of the CustomerID, Name Type: select System.Int32</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3717" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/908.png" alt="90" width="505" height="451" /> </span></p>
<p><span style="font-size: 12pt;">BDC Explorer window Expand Model | Expand BdcModel1 | Expand CustomerEntity | Expand ReadItem | Expand id and&nbsp;choose&nbsp;Identifier</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3718" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/9112-460x325.png" alt="91" width="512" height="360" /> </span></p>
<p><span style="font-size: 12pt;">Rename the primary key of CustomerID from Identifier1 </span></p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-3719" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/9211-460x300.png" alt="92" width="552" height="358" /> </span></p>
<p><span style="font-size: 12pt;">&nbsp; -In the Properties window of the CustomerID, Name Type: select System.Int32</span></p>
<p><span style="font-size: 12pt;"> &nbsp; <img class="alignnone wp-image-3720" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/938.png" alt="93" width="519" height="420" /> </span></p>
<p><span style="font-size: 12pt;">-Selected the following image</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3721" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/948-460x352.png" alt="94" width="489" height="373" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Expand Model | Expand BdcModel1 | Expand CustomerEntity | Expand ReadItem | Expand return parameter and select Entity1</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3722" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/959-460x356.png" alt="95" width="505" height="391" /> </span></p>
<p><span style="font-size: 12pt;">-Change from the Customer Entity1</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3723" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/968-460x345.png" alt="96" width="505" height="379" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> -In the customer select the CustomerID and choose Identifier1 Name Type: select System.Int32</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3724" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/978-460x285.png" alt="97" width="574" height="354" /> </span></p>
<p><span style="font-size: 12pt;">-Renamed CustomerName, Type Name: System. String</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3726" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/986-460x372.png" alt="98" width="572" height="461" /> &nbsp;</span></p>
<p>&nbsp;</p>
<p><span style="font-size: 12pt;"> -Click to Customer | Add Type Descriptor</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3727" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/996-460x304.png" alt="99" width="569" height="375" /> </span></p>
<p><span style="font-size: 12pt;">-Named the City, the Type Name: System.String</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3728" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/190-460x317.png" alt="1" width="536" height="368" /> </span></p>
<p><span style="font-size: 12pt;">-Expand Model | Expand BdcModel1 | Expand CustomerEntity | Expand ReadList | Expand return parameter and select &nbsp;Entity1List </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3729" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/250-460x335.png" alt="2" width="516" height="375" /> -</span></p>
<p><span style="font-size: 12pt;">CustomerList changed</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3730" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/350-460x306.png" alt="3" width="529" height="351" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">-Expand Model | Expand BdcModel1 | Expand CustomerEntity | Expand ReadList | Expand return parameter | Expand &nbsp;CustomerList | Choose Entity1 <img class="alignnone wp-image-3731" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/450-460x290.png" alt="4" width="554" height="349" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Customer changed</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3732" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/540-460x293.png" alt="5" width="588" height="374" /> </span></p>
<p><span style="font-size: 12pt;">-Expand Customer | Change Identifier1 the CustomerID</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3733" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/640-460x313.png" alt="6" width="581" height="395" /> </span></p>
<p><span style="font-size: 12pt;">-In the Properties window of the CustomerID, Name Type: select System.Int32</span></p>
<p><span style="font-size: 12pt;"> <img class="alignnone wp-image-3734" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/739.png" alt="7" width="599" height="416" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">-Select Message and renamed CustomerName, Type Name: System. String</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3735" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/850.png" alt="8" width="577" height="420" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> -Click to Customer | Add Type Descriptor</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3736" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/939.png" alt="9" width="593" height="394" /></span></p>
<p><span style="font-size: 12pt;"> -Named the City, the Type Name: System. String</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3737" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1025-460x311.png" alt="10" width="605" height="407" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;">Solution Explorer window | Select Class Entity1</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3739" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1127.png" alt="11" width="586" height="426" /> &nbsp; &nbsp;</span></p>
<ul>
<li><span style="font-size: 12pt;">Renamed Customer</span></li>
<li><span style="font-size: 12pt;">Declare the following codepublic&nbsp;partial class&nbsp;Customer { / / TODO: Implement Additional properties here. / / The Message property is just a sample how a property could look like. public int&nbsp;CustomerID&nbsp;{get; set;} public string&nbsp;CustomerName&nbsp;{get; set;} public string&nbsp;City&nbsp;{get; set;} }</span></li>
</ul>
<p><span style="font-size: 12pt;">Method Details window BDC - CustomerEntity | collap ReadItem method, ReadList Click the Add method in the combo box and select the Create Delete Method Member <img class="alignnone wp-image-3740" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1226.png" alt="12" width="567" height="335" /></span></p>
<pre style="text-align: center;">&nbsp;</pre>
<p><span style="font-size: 12pt;">Interface as follows</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3741" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1315.png" alt="13" width="548" height="392" /> </span></p>
<p><span style="font-size: 12pt;">&bull; Double click on the file and found ReadItem method appears CustomerEntityService.cs &bull; Using the following declaration code &nbsp; using System.Data; using System.Data.SqlClient; using System.Data.SqlTypes; &bull; Declare the SqlConnection method returns the name GetSqlConnection &nbsp; GetSqlConnection static SqlConnection () { string ConnectionString = "server = (local) database = BCSForSharePoint2010; Integrated Security = true"; SqlConn SqlConnection = new SqlConnection (ConnectionString); sqlConn return; } &bull; In the alternative method ReadItem error code with the following code: public static ReadItem Customer (int id) { Customer customer = new Customer (); SqlConn = GetSqlConnection SqlConnection (); sqlConn.Open (); SqlCommand SqlCommand = new SqlCommand (); sqlCommand.CommandText = "select CustomerID, CustomerName, City" + "From Customer" + "WHERE CustomerID =" + id.ToString (); sqlCommand.Connection = sqlConn; SqlDataReader SqlDataReader = sqlCommand.ExecuteReader(CommandBehavior. CloseConnection); if (sqlDataReader.Read ()) { customer.CustomerID = int. Parse (SqlDataReader [0]. ToString ()); customer.CustomerName = SqlDataReader [1]. ToString (); Customer.City = SqlDataReader [2]. ToString (); } else { customer.CustomerID = -1; customer.CustomerName = "Customer Not Found"; Customer.City = ""; } sqlConn.Dispose (); return customer; } &bull; In the method declaration code ReadList / / / &lt;summary&gt; / / / This is a sample method for Entity1 finder. / / / If You Want to delete or rename the method to think about changing the xml file in the BDC model as well. / / / &lt;/ Summary&gt; / / / &lt;returns&gt; IEnumerable of Entities &lt;/ returns&gt; public static IEnumerable &lt;Customer&gt; ReadList () { SqlConnection SqlConnection = GetSqlConnection (); try { List &lt;Customer&gt; allCustomers = new List &lt;Customer&gt; (); sqlConnection.Open (); SqlCommand SqlCommand = new SqlCommand (); sqlCommand.Connection = SqlConnection; sqlCommand.CommandText = "select CustomerID, CustomerName, City from Customer"; SqlDataReader SqlDataReader = sqlCommand.ExecuteReader (CommandBehavior. CloseConnection); while (sqlDataReader.Read ()) { Customer customer = new Customer (); customer.CustomerID = int. Parse (SqlDataReader [0]. ToString ()); customer.CustomerName = SqlDataReader [1]. ToString (); Customer.City = SqlDataReader [2]. ToString (); allCustomers.Add (customer); } Customer [] = new Customer customerList [allCustomers.Count]; for (int customerCounter = 0; customerCounter &lt;= allCustomers.Count - 1; customerCounter + +) { customerList [customerCounter] = allCustomers [customerCounter]; } return (customerList); } catch (Exception ex) { Tellme String = ex.Message; Customer [] customerlist = new Customer [0]; Customer customer = new Customer (); customer.CustomerID = -1; customer.CustomerName = "Unable to retrieve data"; Customer.City = ""; customerlist [0] = customer; return (customerlist); } finally { sqlConnection.Dispose (); } } &bull; In the Delete method declaration code public static void Delete (int CustomerID) { SqlConnection SqlConnection = GetSqlConnection (); sqlConnection.Open (); SqlCommand SqlCommand = new SqlCommand (); sqlCommand.Connection = SqlConnection; sqlCommand.CommandText = "delete customer WHERE CustomerID =" + customerID.ToString (); sqlCommand.ExecuteNonQuery (); sqlConnection.Dispose (); } &nbsp; After completion code hi build and Deploy project </span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3743" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1413-460x203.png" alt="14" width="618" height="272" /> </span></p>
<p><span style="font-size: 12pt;">Open Central Administration | Application Management | Manage service selected applications You choose to Business Data Connectivity Service You check CustomerEntity BCSCustomer.BdcModel1 with </span><span style="font-size: 12pt;">namespace and select Icon Set Object Permissions Add your user rights for that user and select</span></p>
<p><span style="font-size: 12pt;"><img class="alignnone wp-image-3744" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1512.png" alt="15" width="543" height="338" /> &nbsp;</span></p>
<p><span style="font-size: 12pt;"> Open the site with the port as was at first Debugging ( http://acer:8888 ) and select All Site Content Choose Create Data at the category | select External List | select Create BCSCustomer named below and select the icon to add External Content Type Choose BdcModel1 with External Content Type and select OK BCSCustomer.BdcModel1.CustomerEntity </span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>For an in-depth understanding of SharePoint click on:</strong></span></p>
<ul>
<li><span style="font-size: 12pt;"><a href="https://tekslate.com/tutorials/sharepoint/" target="_blank" rel="noopener">SharePoint Tutorials</a></span></li>
<li><span style="font-size: 12pt;"><a class="current-page" href="https://tekslate.com/introduction-sharepoint/" target="_blank" rel="noopener">Introduction to SharePoint</a></span></li>
<li><span style="font-size: 12pt;"><a class="current-page" href="https://tekslate.com/application-pages-sharepoint/" target="_blank" rel="noopener">Application Pages</a></span></li>
<li><span style="font-size: 12pt;"><a class="current-page" href="https://tekslate.com/sharepoint-security/" target="_blank" rel="noopener">SharePoint Security</a></span></li>
</ul>67:T23ba,<h2><span style="color: #e67e23; font-size: 12pt;">Records Center - A Place for Hierarchy, Driven By Metadata</span></h2>
<p><span style="font-size: 12pt;">The Records Center was introduced in 2007 as a SharePoint site that served as a conventional records archive.&nbsp;&nbsp; Content from all over the enterprise can be submitted to a Records Center and then routed to the appropriate place where it picks up the right permissions and policies, such as expiration and auditing. For SharePoint 2010, we know it's important to continue to invest here and add even more "traditional" archive features.&nbsp;&nbsp; When looking at the broad swath of features we had to choose from, our goals here really focused on providing features that allow you to extract the most value out of an archive and find the data you need.&nbsp; For instance, here are a few of the new features in a SharePoint 2010 Records Center:</span></p>
<ul>
<li><span style="font-size: 12pt;">Document ID: Every document can be assigned a unique identifier, which stays with the document even when it's archived.&nbsp; This allows records to be easily referenced by an ID no matter where the document moves</span></li>
<li><span style="font-size: 12pt;">Multi-Stage Retention: Retention policies can have multiple stages, allowing you to specify the entire document lifecycle as one policy (e.g. review Contracts every year, and delete after 7 years)</span></li>
<li><span style="font-size: 12pt;">Per-Item Audit Reports: You can generate a customized audit report about an individual record</span></li>
<li><span style="font-size: 12pt;">Hierarchal File Plans: You can create deep, hierarchal folder structures and manage retention at each folder in the hierarchy (or inherit from parent folders)</span></li>
<li><span style="font-size: 12pt;">File Plan Report: You can generate status reports showing the number of items in each stage of the file plan, along with a rollup of the retention policies on each node in the plan</span></li>
</ul>
<blockquote><em><strong><span style="font-size: 16px;">Desired to gain proficiency on SharePoint?&nbsp; </span><span style="font-size: 16px;">Explore the blog post on the "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="sharepoint-training" target="_blank" rel="noopener">SharePoint Training</a></span>" course to become a pro in SharePoint.</span></strong></em></blockquote>
<p>&nbsp;</p>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-4175" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3911-460x347.png" alt="39" width="499" height="376" /> &nbsp; </span></p>
<p><span style="font-size: 12pt;"><em>Here's the home page of the Records Center in SharePoint 2010 for a fictional government agency, the Joint Task Force.</em> <em>Notice that a home page is a place for records managers to educate the organization on compliance policy, as well as a place to look up a record by its document identifier.</em> In addition to adding these traditional records management features to our archive, as product designers, we made a big bet on the power of metadata to dive 21st-century electronic records management.&nbsp; This manifests itself in several ways in the SharePoint archive:</span></p>
<ul>
<li><span style="font-size: 12pt;">Taxonomy and Centralized Content Types:&nbsp; The archive will be a consumer of enterprise-wide taxonomies and content types, ensuring consistency and context transfer between the collaborative spaces and the archive.&nbsp; We'll be talking a lot more about our 2010 taxonomy investments in future posts</span></li>
<li><span style="font-size: 12pt;">Content Organizer: The records router can use metadata to route incoming documents to the right place in the hierarchical file plan.&nbsp; For instance, it enables you to automatically enforce rules on content that is submitted, like "If a Purchase Agreement is tagged with Project Alpha, send to the Alpha Contracts subfolder and apply that's folder retention policy to the item."</span></li>
<li><span style="font-size: 12pt;">Virtual Folders: The file plan is a great way to manage a repository but often time isn't what you want to use to navigate and find the content you are looking for.&nbsp; The SharePoint 2010 Records Center makes use of a new feature called metadata-based navigation, which allows you to expose key metadata as virtual folders:</span></li>
</ul>
<p><span style="font-size: 12pt;">&nbsp; <img class="alignnone wp-image-4177" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4011-460x345.png" alt="40" width="508" height="381" /> </span></p>
<p><span style="font-size: 12pt;"><em>Notice that end users discover content in this Records Center by navigating virtual folders based upon metadata properties on the records.</em> This bet on metadata is all about empowering the end-user, thus increasing the chance of successful adoption of the RM system.&nbsp; Instead of choosing a complicated node in a file plan, submitters just fill out a few pieces of useful metadata and they'll use that metadata when they need to find the content again.</span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>In-Place Records Management - Injecting Records Management in the Content Creation Experience</strong> </span></p>
<p><span style="font-size: 12pt;">With just about every customer engagement my team is involved in, we hear the same message again and again: records management doesn't start (or stop!) in the archive.&nbsp; Content isn't created there and it sure doesn't live there for the most interesting parts of its life. There has been made a huge effort in 2010 to enable you to do effective records management in collaborative spaces.&nbsp; Auditing, Retention, Expiration, Reporting, Records Workflows, eDiscovery, Legal Hold, and Recordation are all features you can use in collaborative space as you are striking a balance between SharePoint's value to end-users and the need for information governance. Holding all of this together is a new feature in SharePoint 2010 called In-Place Records Management.&nbsp; This allows certain SharePoint documents (or blogs, wikis, web pages, and list items) to be declared records.&nbsp; The system can prevent such records from being deleted or edited, if necessary by your organization's definition of what a record is: &nbsp; <img class="alignnone wp-image-4178" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4115-460x331.png" alt="41" width="541" height="388" /> </span></p>
<p><span style="font-size: 12pt;"><em>Note that some of the documents have locks, implying to the user that they are dealing with records.&nbsp; When selecting a record, the UI for editing and deleting the item is disabled.</em> This recordation process can be done either manually, as part of a larger process in a workflow, or as a scheduled part of a document's retention (e.g. after 2 years).&nbsp; The key here is that, when declared a record, the content doesn't move to an archive - it stays where it is so the end-users can still find and interact with the content. Once declared, the system knows about an item's record status, so you can do things such as create different retention policies for records or use record state when defining workflows in SharePoint Designer.&nbsp; We also enable a programmability model so you can perform custom processes and policies upon recordation to meet specialized compliance needs. Is In Place Records a replacement for a traditional archive?&nbsp; The answer is, of course, sometimes - we'll find some customers who want to use an in-place approach exclusively, some who will want the traditional hierarchy and centralization that an archive brings, and many who will want both.&nbsp; It'll be something we'll talk about a lot on this blog, and our documentation has already started discussing the pros and cons of both approaches. Scale: We're Talking Big with electronic information growing at a crazy pace and businesses spending billions on eDiscovery every year, records managers have enough to keep them up at night.&nbsp; The scale of their records/content management system shouldn't be another worry. As the records management engineering team, we take this burden very seriously and a large part of our effort this release has been spent adding features to make it easier to scale to massive archives.&nbsp; Features such as Remote Blob Storage, database query optimizations, internal timer job processing improvements, new database indexing strategies, and other engineering initiatives enable us to make a great leap forward this release and allow our customers to have:</span></p>
<ul>
<li><span style="font-size: 12pt;">Tens of millions of records in a single Records Center</span></li>
<li><span style="font-size: 12pt;">Hundreds of millions of records in a distributed archive: We'll talk in more detail in future posts, but many of the features mentioned above light up to allow many Record Centers to bind together to act as one logical repository.</span></li>
</ul>68:T228b,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">Features and Event Receivers</span></h2>
<h3><span style="font-size: 12pt; color: #e67e23;">Introduction </span></h3>
<p><span style="font-size: 12pt;">Features in Microsoft SharePoint Foundation reduce the complexity involved in making simple site customizations, and they are robust when upgrades are applied to a deployment. Features eliminate the need to copy large chunks of code to change simple functionality. Features thus reduce versioning and inconsistency issues that may arise among front-end web servers. Features make it easier to activate or deactivate functionality in the course of a deployment, and administrators can easily transform the template or definition of a site by simply toggling a particular Feature on or off in the user interface. Features provide the following capabilities:</span></p>
<ul>
<li><span style="font-size: 12pt;">Scoping semantics for determining where custom code runs</span></li>
<li><span style="font-size: 12pt;">Pluggable behavior for installing or uninstalling Features within a deployment</span></li>
<li><span style="font-size: 12pt;">Pluggable behavior for activating or deactivating Features at a given scope</span></li>
<li><span style="font-size: 12pt;">A scoped property bag for storing data required by a Feature within its scope</span></li>
<li><span style="font-size: 12pt;">The basis of a unified framework for the distributed deployment of SharePoint Foundation solutions</span></li>
</ul>
<p><span style="font-size: 12pt;">Ability to upgrade Feature versions</span></p>
<blockquote><em><strong><span style="font-size: 16px;">Desired to gain proficiency on SharePoint?&nbsp; </span><span style="font-size: 16px;">Explore the blog post on the "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="sharepoint-training" target="_blank" rel="noopener">SharePoint Training</a></span>" course to become a pro in SharePoint.</span></strong></em></blockquote>
<p>&nbsp;</p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Feature Implementation</strong></span></p>
<p><span style="font-size: 12pt;"> Features are stored on the front-end web server in the %ProgramFiles%Common FilesMicrosoft Sharedweb server extensions14TEMPLATEFEATURES directory. The Feature subfolder includes a Feature.xml file that defines the base properties of the Feature and the elements bound to it, such as XML files containing element manifests and any other supporting files. A Feature folder can contain a Feature.xml file and any number of supporting element files.</span></p>
<table style="height: 70px;" width="725">
<tbody>
<tr>
<td><span style="font-size: 12pt;"><strong>&nbsp;Note</strong></span></td>
</tr>
<tr>
<td><span style="font-size: 12pt;">SharePoint Foundation supports only low-order ASCII characters, and no spaces, for Feature folder and file names.</span></td>
</tr>
</tbody>
</table>
<p><span style="font-size: 12pt;">Features can be installed and activated using the SharePoint Management Shell, through the object model, or through the stsadm tool. You can also activate a Feature through the user interface. Installing a Feature makes its definition and elements known throughout a server farm, and activating the Feature makes the feature available at a particular scope. </span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Feature Elements</strong> </span></p>
<p><span style="font-size: 12pt;">The&nbsp;Feature&nbsp;element is used in a Feature.xml file to define a Feature and to specify the location of assemblies, files, dependencies, or properties that support the Feature. A Feature includes a Feature.xml file and any number of files describing individual elements. Items that were previously contained within a large site definition file have been broken out as separate elements within Features. An element is an atomic unit within a Feature. A Feature.xml file typically points to one or more XML files whose top-level&nbsp;<strong>Elements</strong>&nbsp;tag contains definitions for elements that support the Feature. There are several types of elements, such as an event handler, that can be included in a Feature. For specific information about the file format and XML elements used in the Feature.xml file, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms475601.aspx" target="_blank" rel="nofollow noopener">Feature.xml Files</a>. </span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Creating SharePoint Features</strong> </span></p>
<p><span style="font-size: 12pt;">You can use a SharePoint Feature to group related SharePoint project items for easier deployment. You can create Features, set scopes, and mark other Features as dependencies by using the SharePoint Feature Designer. The designer also generates a manifest, an XML file that describes each Feature.</span></p>
<p><span style="font-size: 12pt; color: #e67e23;"> <strong>Adding Features to the SharePoint Solution</strong> </span></p>
<p><span style="font-size: 12pt;">You can add a Feature to the SharePoint solution by using Solution Explorer or the Packaging Explorer. You can use one of the following methods to add a Feature.</span></p>
<ul>
<li><span style="font-size: 12pt;">In&nbsp;<strong>Solution Explorer</strong>, right-click&nbsp;<strong>Features </strong>and then click&nbsp;<strong>Add Feature</strong>.</span></li>
<li><span style="font-size: 12pt;">In&nbsp;<strong>Packaging Explorer</strong>, right-click the package, and then click&nbsp;<strong>Add Feature</strong>.</span></li>
</ul>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Using the Feature Designer</strong></span></p>
<p><span style="font-size: 12pt;"> A SharePoint solution can contain one or more SharePoint Features, which are grouped under the Feature node in Solution Explorer. Each Feature has its own&nbsp;</span></p>
<p><span style="font-size: 12pt;"><strong>Feature Designer</strong>&nbsp;that you can use to customize the Feature properties. For more information, see&nbsp;How to: Customize a SharePoint Feature. To distinguish Features from one another, you can configure the Feature properties such as the title, description, version, and scope. </span></p>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Feature Designer Options</strong> </span></p>
<p><span style="font-size: 12pt;">After you create a Feature, you can use the Feature Designer to customize it. The following table describes the Feature properties that are displayed in the Feature Designer.</span></p>
<table style="height: 398px;" width="765">
<tbody>
<tr>
<td><span style="font-size: 12pt;">Property</span></td>
<td><span style="font-size: 12pt;">Description</span></td>
</tr>
<tr>
<td><span style="font-size: 12pt;">Title</span></td>
<td><span style="font-size: 12pt;">Optional. The default title of the Feature is set to&nbsp;<em>SolutionName</em>&nbsp;<em>FeatureName</em>.</span></td>
</tr>
<tr>
<td><span style="font-size: 12pt;">Description</span></td>
<td><span style="font-size: 12pt;">Optional. The description of the SharePoint Feature.</span></td>
</tr>
<tr>
<td><span style="font-size: 12pt;">Scope</span></td>
<td><span style="font-size: 12pt;">Required. If a Feature is created by using&nbsp;<strong>Solution Explorer</strong>, the scope is set to Web by default.OptionDescriptionFarmActivate a Feature for an entire server farm. SiteActivate a Feature for all Web sites in a site collection. WebActivate a Feature for a specific Web site. WebApplicationActivate a Feature for all Web sites in a Web application.</span></td>
</tr>
<tr>
<td><span style="font-size: 12pt;">Items in the Solution</span></td>
<td><span style="font-size: 12pt;">All SharePoint Items that can be added to the Feature.</span></td>
</tr>
<tr>
<td><span style="font-size: 12pt;">Items in the Feature</span></td>
<td><span style="font-size: 12pt;">The SharePoint project items that have been added to the Feature.</span></td>
</tr>
</tbody>
</table>
<p><span style="font-size: 12pt; color: #e67e23;"><strong>Adding and Removing SharePoint Project Items</strong></span></p>
<p><span style="font-size: 12pt;"> You can select which SharePoint project items that you want to add a SharePoint Feature to for deployment. Use the <strong>Feature Designer</strong>&nbsp;to add and remove items to Features, and view the Feature manifest. </span></p>
<p><span style="font-size: 12pt;"><strong>Adding Feature Dependencies</strong> </span></p>
<p><span style="font-size: 12pt;">You can configure the Feature manifest so that the SharePoint server activates certain Features before your Feature is activated. For example, if your SharePoint Feature depends on other Features for functionality or data, the SharePoint server can first try to activate any of the Features that your feature depends on. </span></p>69:T160b,<h2><span style="font-size: 14pt;"><span style="color: #e67e23;">Application Pages Vs Site Content Pages Vs Custom aspx Pages Senario2</span></span></h2>
<p><span style="font-size: 12pt;"><strong>Scenario: 2</strong> Application pages are those that are stored in the WSS/MOSS file system, usually found in the SharePoint root (12 hives) ADMIN and LAYOUTS folders. <img class="alignnone wp-image-3468" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/479-460x275.png" alt="47" width="451" height="269" /> A very simple way to extend the functionality of SharePoint is to create your own application page to enhance the administration of a web application, site collection, or site. In this example, we will create a simple page that writes out some information about the current web being administered. The first thing we will write is the page class; this will be used to provide the "code-behind" for the ASPX page that will be created later. <strong>1.</strong> Open Visual Studio and create a new Class Library project, name this project AppPageExample <strong>2.</strong> Rename the default Class1.cs file to AppPageCode.cs and allow it to rename the class (if this does not occur then change the actual class name manually) <strong>3.</strong> Add references to Microsoft.SharePoint.dll and System.Web.dll to project <strong>4.</strong> The SharePoint API exposes an inheritable class Microsoft.SharePoint.WebControls.LayoutsPageBase, this class includes common properties and methods that all standard application pages utilize. Change the AppPageExample class so that it inherits from the.</span></p>
<p>&nbsp;</p>
<blockquote><em><strong><span style="font-size: 16px;">If you want to enrich your career and become a professional in SharePoint, then visit Tekslate - a global online training platform: "<span style="color: #e03e2d;"><a style="color: #e03e2d;" href="sharepoint-training" target="_blank" rel="noopener">SharePoint Training</a></span>"&nbsp; &nbsp;This course will help you to achieve excellence in this domain.</span></strong></em></blockquote>
<p><span style="font-size: 12pt;"><strong>LayoutsPageBase</strong></span></p>
<p><span style="font-size: 12pt;">Class using Microsoft.SharePoint.WebControls; namespace AppPageExample { public class AppPageCode : LayoutsPageBase { } } <strong>5.</strong> Next we will move onto creating the ASPX file that will inherit from our page class created above. Add a new item to your project and select Text File. Name the file "AppPageExample.aspx". <strong>6.</strong> Insert the code below into the newly created ASPX</span></p>
<p><span style="font-size: 12pt;">Note: If using a different stongly named key file then the PublicKeyToken must be changed to reflect your PublicKeyToken &lt;%@ Assembly Name="AppPageExample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a191061ae245bc34" %&gt; &lt;%@ Page Language="C#" Inherits="AppPageExample.AppPageCode" MasterPageFile="~/_layouts/application.master" %&gt; &nbsp; &nbsp;&lt;%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt; &nbsp; &nbsp;&lt;asp:ContentID="Content1"ContentPlaceHolderID="PlaceHolderPageTitle"runat="server"&gt; Application Page Example &lt;/asp:Content&gt; &nbsp; &lt;asp:ContentID="Content2"ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"runat="server"&gt; Application Page Example &lt;/asp:Content&gt; &lt;asp:ContentID="Content4"ContentPlaceHolderID="PlaceHolderPageDescription"runat="server"&gt; An example of how to create an application page &lt;/asp:Content&gt; &lt;asp:ContentID="Content3"ContentPlaceHolderID="PlaceHolderMain"runat="server"&gt; &nbsp; &lt;asp:LiteralID="_litOutput"runat="server"/&gt; &lt;/asp:Content&gt; The asp:Literal control sitting in the main placeholder will be where we render the information about the site being viewed. <strong>7.</strong> Switch back to the AppPageExample.cs file and create a field that maps to the&nbsp;control in the ASPX using System.Web.UI.WebControls; using Microsoft.SharePoint.WebControls; namespace AppPageExample { publicclass AppPageCode : LayoutsPageBase { protected Literal _litOutput; } } &nbsp; <strong>8.&nbsp;</strong>Override the page class' OnLoad method and enter the code below protected override void OnLoad(System.EventArgs e) { StringBuilder oSb = new StringBuilder(); oSb.AppendFormat("Title: {0}", Web.Title); oSb.Append("&lt;br/&gt;"); oSb.AppendFormat("Name: {0}", Web.Name); oSb.Append("&lt;br/&gt;"); oSb.AppendFormat("Url: {0}", Web.Url); oSb.Append("&lt;br/&gt;"); oSb.AppendFormat("Description: {0}", Web.Description); oSb.Append("&lt;br/&gt;"); oSb.AppendFormat("ID: {0}", Web.ID); oSb.Append("&lt;br/&gt;"); oSb.AppendFormat("Language: {0}", Web.Language); oSb.Append("&lt;br/&gt;"); oSb.AppendFormat("MasterUrl: {0}", Web.MasterUrl); oSb.Append("&lt;br/&gt;"); oSb.AppendFormat("ServerRelativeUrl: {0}", Web.ServerRelativeUrl); _litOutput.Text = oSb.ToString(); } 9. The last step is to compile the assembly, add it into the GAC and then copy the ASPX file into the LAYOUTS folder in the SharePoint root directory (12/TEMPLATE/LAYOUTS). Navigate to the page using any web application url you have e.g. http://your.site.url/_layouts/AppPageExample.aspx. You should be presented with something similar to this: <img class="alignnone wp-image-3469" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/487.png" alt="48" width="560" height="339" /></span></p>
<p><span style="font-size: 12pt;">&nbsp;</span></p>6a:T5b1e,<p>In this blog, we have compiled a comprehensive list of <strong>Liferay Interview Questions</strong> to help you prepare for your next Liferay interview. Whether you are a seasoned <strong>Liferay Developer</strong>, or administrator, or just beginning your journey with Liferay, these questions cover a wide range of topics and will provide you with valuable insights into the platform.</p>
<p>From fundamental concepts to more advanced topics, these interview questions are designed to test your understanding of <strong>Liferay's Architecture</strong>, features, customization capabilities, security, performance optimization, and more. By familiarizing yourself with these questions and their answers, you'll gain the confidence and knowledge necessary to excel in your Liferay interview.</p>
<p>So, let's dive into the world of Liferay and explore these insightful interview questions to help you land your dream job or take your career to the next level!</p>
<p>In this article, we will cover the following:</p>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#liferay-interview-questions"><strong>Liferay Interview Questions</strong></a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#dxp-interview-questions"><strong>Liferay DXP Interview Questions</strong></a></span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<h3 style="text-align: center;"><span style="font-size: 18px;"><strong>Most Frequently Asked Liferay Interview Questions</strong></span></h3>
</td>
</tr>
<tr style="height: 37px; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">What is a Liferay Portal?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q2">What is a Portlet?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q7">What class does LiferayMVCPortlet extend?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q8">What are the differences between Portlet and Servlet?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q10">What is the difference between the view and edit modes of a portlet?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q14">What other portals have you heard of? How do you compare them to Liferay?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q15">What is a Portlet Lifecycle?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q16">What Is A Liferay Portal Instance?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q22">Explain IPC(Inter portlet communication).</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q24">In Portlet URL, what is p_p_lifecycle?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;"><a id="liferay-interview-questions"></a>Liferay Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q1"></a>Q1) What is a Liferay Portal?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;In general, a web portal represents a web application that provides a single point of access to a variety of information.</p>
<p>The functionality of a portal can be extended very easily by creating custom applications that can run inside a portal. These applications are called portlets.</p>
<p>For running portlets, you need an application server that can run a portlet container spec (JSR168 or JSR286). There are dozens of free and enterprise portal products available.</p>
<p>Liferay portal is an open-source portal and below are the benefits of using Liferay portal:</p>
<ul>
<li>Content management system (Documents, Articles).</li>
<li>2-stage, 3-stage workflows, and publishing.</li>
<li>Social networking. 4) Sites and organization basis pages.</li>
<li>Integration with third parties like LDAP, Solr, SSO(CAS, Siteminder).</li>
<li>Portlets related to Wiki, News, Finance, Social, Workflow, and Collaboration.</li>
<li>Compatible with different Operating systems, databases and APP servers.</li>
<li>Compatible with UI technologies and web services.</li>
<li>Compatible with different scripts like PHP, Ruby, Grails, and Python.</li>
<li>Support of hot deployment feature.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q2"></a>Q2) What is a Portlet?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;Liferay portal comes with different portlets by default. These portlets are nothing but different small applications running in the instance (portal). Portlets are pluggable software components that are managed in a web portal.</p>
<p>In general words, you can call them as different catalogs as portlets produce fragments of markup code that are aggregated into a portal. So a portal page is displayed as a collection of the portlet, these multiple small applications together making a page of the site and these all pages together makes one community or enterprise portal. Hence a portlet (or collection of portlets) resembles a web-based application that is hosted in a portal.</p>
<p>A portlet is a small application to fulfill the requirement of a certain domain. Inter portlet communication is supported under the Liferay portal. Portlet supports the hot deployment feature of Liferay Portal.</p>
<p style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q3) What is the Liferay portal and how it differs from other portals IBM WCM, Web logic?</strong></span></p>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;</p>
<ul>
<li>Liferay Portal is a platform contains common applications used to create a web application</li>
<li>Liferay provides a development framework with highly customization components for building a site.</li>
<li>Liferay Portal can be used for content management, be it web content management</li>
<li>Liferay Portal offers a rich collaborative application suite with:
<ul>
<li style="text-align: justify;">Calendars</li>
<li style="text-align: justify;">Blogs</li>
<li style="text-align: justify;">Wikis</li>
<li style="text-align: justify;">Workflow</li>
<li style="text-align: justify;">User Management</li>
</ul>
</li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 45.5047px;">
<td style="width: 98.4573%; height: 45.5047px; text-align: center;"><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Inclined to build a profession as Oracle Financial Developer? Then here is the blog post on, explore Oracle Financial Training&quot;}" data-sheets-userformat="{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}">Inclined to build a profession as Liferay Developer? Then here is the blog post on, exploring <span style="color: #236fa1;"><strong><a style="color: #236fa1;" title="Liferay Training" href="https://tekslate.com/liferay-training" target="_blank">Liferay Training</a></strong></span></span></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q4) Is Liferay, JSR-168 compliant or JSR-286?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;JSR &ndash; 286</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q5) Which all methods JSR-286 supports?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;init(),render(),processAction(),processEvent(),serveResource(),destroy()</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q6) Which JSR-286 portlet class extends?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;GenericPortet</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q7"></a>Q7) What class does LiferayMVCPortlet extend?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;LiferayPortlet -&gt; GenericPortlet</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q8"></a>Q8) What are the differences between Portlet and Servlet?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;A Portlet container is built on top Servlet container.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q9) What is the difference between a Liferay Hook and Liferay EXT?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:&nbsp;</strong></p>
<p style="text-align: justify;"><strong><em>Hook:</em> </strong></p>
<p style="text-align: justify;">The hook is a feature to catch hold of the properties and JSP files into an instance of the portal as if catching them with a hook. Hook plugins are more powerful plugins that come to complement portlets, themes, layout templates, and web modules. A hook plugin is always combined with a portlet plugin. For instance, the portlet social-portlet is a portlet plugin for Social Office with hooks. In general, hooks would be very helpful tools to customize the portal without touching the code part of the portal. In addition, you would use hooks to provide patches for the portal systems or social office products.</p>
<p style="text-align: justify;"><strong><em>Source:</em>&nbsp;</strong></p>
<p style="text-align: justify;">Liferay Portal 6 Enterprise Intranets</p>
<p style="text-align: justify;"><strong><em>EXT:</em>&nbsp;</strong></p>
<p style="text-align: justify;">EXT is used to customize and extend the Liferay portal. EXT builds a new ROOT web app and replaces it with a huge build mechanism on your existing Liferay portal.</p>
<p style="text-align: justify;">The Liferay EXT Environment is where you would ideally make changes to the portal itself. In other words, this is where you customize or &ldquo;extend&rdquo; the portal. You may ask, &ldquo;Why can&rsquo;t we just make the changes to the portal source directly?&rdquo; The answer is that you technically CAN, but if and when you have to upgrade, you will have a tough time sorting out what is out-of-the-box and what is customized. EXT Environment keeps things separate.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q10"></a>Q10) What is the difference between the view and edit modes of a portlet?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;View mode is what has displayed a user logs in to the Liferay portal and various portlets are displayed to him.</p>
<p>Edit mode is the configuration options that are displayed when the edit button is clicked on the portlet.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q11) What is service.xml and how will you use the Liferay service builder?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;service.xml is a configuration file that consists of the details for database entities that are used in a portlet. The service builder uses the service.xml to generate the DAO/DTO classes for a portlet.</p>
<p>service.xml is also used by the Liferay server to create the database tables and columns for entities mentioned in service.xml.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q12) Can I run my Struts 1.3-based legacy application as a portlet application? How?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Yes it is possible to convert the legacy application into a portlet by making the legacy application follow the requirements of a Liferay plugin and then deploying the same on the Liferay server.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q13) Do you know how to update your setup of Liferay 5.2.3 to Liferay 6?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;Liferay website itself lists the steps for upgrading from 5.2.3 to Liferay 6. One should be though aware of how to take database backup and how to patch Liferay in general.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q14"></a>Q14) What other portals have you heard of? How do you compare them to Liferay?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Other vendors have also rolled out portals which are reference implementations of JSR 286. The list includes:</p>
<ul>
<li>Apache JetSpeed</li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" title="JBoss Tutorial" href="https://tekslate.com/jboss" target="_blank">JBoss</a></span> GateIn</li>
<li>Oracle WebLogic Portal</li>
<li>IBM Websphere Portal</li>
<li>SAP NetWeaver</li>
</ul>
<h2><span style="color: #236fa1; font-size: 24px;"><a id="dxp-interview-questions"></a>Liferay <strong>DXP</strong> Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q15"></a>Q15) What is a Portlet Lifecycle?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;Following is the portlet lifecycle:</p>
<p style="padding-left: 30px; text-align: justify;"><strong>Init():&nbsp;</strong>It mainly initializes the portlet.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>Render():</strong> It takes the <span style="color: #236fa1;"><a style="color: #236fa1;" title="HTML Tutorial" href="https://tekslate.com/html-tutorials" target="_blank">HTML</a></span> output to User Interface. It mainly renders the view in terms of JSP/HTML code and shows it into the respective portlet.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>Destroy():</strong> This method takes care of releasing the portlet resources.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q16"></a>Q16) What Is A Liferay Portal Instance?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Liferay portal ships with the one Liferay portal tomcat bundle which is up and running on any server with certain database settings. We can have more than one Liferay instance running from one database.</p>
<p>Liferay Portal allows you to run more than one portal instance on a single server. The Portal Instances page of the control panel lets you manage these instances. Data for each portal instance are kept separate. All portal data, however, is kept in the same database.</p>
<p>Each portal instance requires its own domain name. Liferay will direct users to the proper portal instance based on this domain name. So before you configure an instance, we need to configure its domain name in our network first. When we are ready to add an instance, click the Instances tab - &gt; Add button.</p>
<p>It will be prompted for four fields and a checkbox:</p>
<ul>
<li style="text-align: justify;"><em><strong>Web ID:</strong></em> A general convention is to use the domain name for this. It&rsquo;s a user-generated ID for the instance.</li>
<li style="text-align: justify;"><em><strong>Virtual Host:</strong></em> Put the domain name you configured in your network here. When users are directed to your Liferay server via this domain name, Liferay will then be able to send them to the proper portal instance.</li>
<li style="text-align: justify;"><em><strong>Mail Domain:</strong></em> Enter the domain name for the mail host for this instance. Liferay will use this to send email notifications from the portal.</li>
<li style="text-align: justify;"><em><strong>Max Users:</strong></em> Enter the maximum number of user accounts you would like your portal instance to support.</li>
<li style="text-align: justify;"><em><strong>Active:</strong></em> Use this checkbox to choose whether to create an active or an inactive portal instance.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q17) How Can I Configure Two Different Domain Names (e.g. First.example.com And Second.example.com) On Liferay?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> At the time of the creation of any site, we need to provide domain names that further take it as a site domain name. We need to provide a certain domain name as required through the control panel of the Liferay portal. A single instance of Liferay Portal supports the hosting of two or more domain names via communities(sites).</p>
<p>When we will go to the control panel -&gt; Site settings -&gt; we can provide the site URL, and details like the site(community) description, membership type, active status, and virtual host.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q18) Which One Is Best To Start In A Clean Setup?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Liferay bundled with the Tomcat app server is the best one to start in a clean setup.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q19) How Can You Customize Liferay Search Feature? What Are The APIs To Do It?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> We can customize the Liferay Search feature, depending on our requirements in two ways.</p>
<p style="padding-left: 30px; text-align: justify;"><em><strong>Hook:</strong></em> If changes are required as per the view side like we need to change the search result from view then we can write the Hook to customize it.</p>
<p style="padding-left: 30px; text-align: justify;"><em><strong>EXT:</strong></em> If changes are required as per the core functionality like we need to change the search query term, we can implement EXT.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q20) How To Setup A Liferay Cluster From Scratch?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> We need to set up the below properties in our portal-ext.properties(this is for one instance represented by 1p, same properties we need to add for the second instance also represented by 2p) and some required IP addresses.</p>
<pre><code>#cluster configurations - these settings are for cluster
net.sf.ehcache.configurationResourceName=/myehcache/hibernate-clustered.xml
dl.store.file.system.root.dir=/webapps/document_library_cluster
#other settings for cluster
liferay.home=/webapps/liferay-1p/liferay-portal-6.1.10-ee-ga1/
lucene.dir=/webapps/liferay-1p/liferay-portal-6.1.10-ee-ga1/data/lucene
cluster.link.enabled=true
lucene.replicate.write=true
multicast.group.address["cluster-link-control"]=239.255.4.1</code></pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q21) What is the Use of &lt;portlet:defineObject&gt; and &lt;liferaytheme:defineObject&gt;?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> These are Liferay tag libs and provide access to the below list of objects in JSP:</p>
<ul>
<li>portlet: define object will provide the following variables</li>
<li>reader request and render response</li>
<li>action request and Response</li>
<li>event request and Response</li>
<li>resourceRequest and Response</li>
<li>portletConfig</li>
<li>portlet session</li>
<li>portletSessionScope</li>
<li>portlet preference</li>
<li>portlet preferences values</li>
</ul>
<p style="text-align: justify;"><em><strong>Liferay-theme: define object will provide the following variables</strong></em></p>
<ul>
<li style="text-align: justify;">themeDisplay</li>
<li style="text-align: justify;">company</li>
<li style="text-align: justify;">user</li>
<li style="text-align: justify;">realUser</li>
<li style="text-align: justify;">contact</li>
<li style="text-align: justify;">layout</li>
<li style="text-align: justify;">layouts</li>
<li style="text-align: justify;">plid</li>
<li style="text-align: justify;">layoutTypePortlet</li>
<li style="text-align: justify;">portletGroupId</li>
<li style="text-align: justify;">permissionChecker</li>
<li style="text-align: justify;">locale</li>
<li style="text-align: justify;">timeZone</li>
<li style="text-align: justify;">theme</li>
<li style="text-align: justify;">colorScheme</li>
<li style="text-align: justify;">portletDisplay</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q22"></a>Q22) Explain IPC(Inter portlet communication).</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;</p>
<ul>
<li>Portlet 1.0 did not offer any standard method for portlets to communicate with each other</li>
<li>Portlet 2.0 (JSR &ndash; 286 ) addresses this issue with 2 different mechanisms for IPC.
<ul>
<li style="text-align: justify;">Public Render Parameters</li>
<li style="text-align: justify;">Portlet Events</li>
</ul>
</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q23) What is the use of the PortletPreferences interface?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Portlet Preferences are properties for storing basic portlet configuration data. Administrators often use preferences to provide a customized view of a portlet to users based on preferences.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="q24"></a>Q24) In Portlet URL, what is p_p_lifecycle?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;</p>
<p style="padding-left: 30px; text-align: justify;">p_p_lifecyle holds an integer value and represents the portlet lifecycle phase to the portlet belongs:</p>
<ul>
<li style="text-align: justify;">0 means render phase</li>
<li style="text-align: justify;">1 means the action phase</li>
<li style="text-align: justify;">2 means the server resource phase.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q25) What is the Portlet Namespace and why it is important? how do you get the portlet namespace in JSP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;</p>
<ul>
<li>Portlet namespace is portlet Id</li>
<li>p_p_id parameters also contain portlet namespace</li>
<li>portlet name space is prefixed with URL parameters so that the portlet container will identify the parameters belong to what portlet</li>
<li>In JSP:</li>
</ul>
<p style="padding-left: 60px; text-align: justify;">&lt;% String nameSpace=&nbsp; getNamespace() %&gt;</p>
<p style="padding-left: 60px; text-align: justify;">&lt;portlet-namespace/&gt;</p>6b:T2b5f,<p>&nbsp;</p>
<p style="text-align: justify;">Welcome to J2EE Tutorials. The intent of the tutorials is to provide an in-depth understanding of J2EE. The JEE tutorials are a set of tutorials covering the Java Platform, Enterprise Edition. (JEE) The purpose of the tutorials is to introduce novice programmers to the JEE platform.</p>
<p style="text-align: justify;">In addition to J2EE Tutorials, we will cover common interview questions, issues, and how to&rsquo;s of<a href="j2ee-interview-questions-answers" target="_blank" rel="noopener"> J2EE</a>.</p>
<blockquote>
<p style="text-align: justify;"><em>If you would like to become a J2EE certified professional, then visit Tekslate - A Global online training platform: "<span style="color: #ba372a;"><strong><a style="color: #ba372a;" href="j2ee-training" target="_blank" rel="noopener">J2EE Training and Certification Course</a></strong></span>". This course will help you to achieve excellence in this domain.</em></p>
</blockquote>
<h3 style="text-align: justify;"><strong>Introduction</strong></h3>
<p style="text-align: justify;">Every good JEE programmer must acquire an enormous amount of knowledge. Everybody tells you what to study, but no one tells you how to study. One can easily be lost in all these tools, technologies, recommendations, libraries. There are many tools that help advance programmers develop their applications. But on the other hand, they bring additional complexity to development. Tools like XDoclet or Hibernate help advanced JEE programmers focus on the application logic, but necessarily make the learning curve steeper for a novice programmer. Have a look at the various Apache projects at www.apache.org. Ant, Cocoon, iBATIS, Struts, Maven, Tapestry, Xalan, Velocity. Just to name a few.</p>
<p style="text-align: justify;">You cannot become a general unless you were a private. You must go to the top, from the very bottom. There is no shortcut available. The best way for a novice programmer is a step by step approach. Pick one tool, library at a time, and play with it. Realizing all this, I have made the tutorials to cope with all this complexity. We will begin with the very basic things like installing necessary tools, trying very simple JSP files, or servlets.</p>
<h3 style="text-align: justify;"><strong>Java Platforms</strong></h3>
<p style="text-align: justify;">The world of Java is divided into the following three platforms.</p>
<p style="padding-left: 30px; text-align: justify;">-Java Platform, Standard Edition, Java SE</p>
<p style="padding-left: 30px; text-align: justify;">-Java Platform, Micro Edition, Java ME</p>
<p style="padding-left: 30px; text-align: justify;">-Java Platform, Enterprise Edition, Java EE</p>
<p style="text-align: justify;">Java SE is the core Java technology platform. It is used to create Java desktop and server applications. <em>Java ME</em> is aimed at creating applications for portable devices like cell phones or PDAs. The <em>Java EE</em> is a platform for creating large enterprise applications. It adds libraries necessary to create stable, secure, multi-tier, distributed applications.</p>
<h2 style="text-align: justify;"><strong>Java EE</strong></h2>
<p style="text-align: justify;">Java Platform, Enterprise Edition is a set of libraries, tools, specifications, best practices for developing, deploying, and managing server-side enterprise-level applications.</p>
<p style="text-align: justify;">Each application is executed on the <em>application server</em>. Some of the well-known application servers are <a href="jboss" target="_blank" rel="noopener">JBoss</a>, OCJ, Resin, and WebLogic. In these tutorials, we will use Resin. To create and manage source code, developers use <em>Integrated Development Environments</em>, (IDEs). The most popular Java IDEs are NetBeans, Eclipse, JDeveloper, and IntelliJ IDEA.</p>
<p style="text-align: justify;">The key technologies of the Java EE are:</p>
<p style="padding-left: 30px; text-align: justify;">-Web Services Technologies</p>
<p style="padding-left: 30px; text-align: justify;">-Web Application Technologies</p>
<p style="padding-left: 30px; text-align: justify;">-Enterprise Application Technologies</p>
<p style="padding-left: 30px; text-align: justify;">-Management and Security Technologies</p>
<p style="text-align: justify;">To install all these technologies, we can go to the sun download site, or we can download the NetBeans JEE pack. These technologies are included in this pack.</p>
<p style="text-align: justify;">The Java Platform, Enterprise Edition is not limited to these technologies. The platform has a wide variety of additional tools and libraries. The numerous Apache projects are good examples.</p>
<p style="text-align: justify;">The Java EE also consists of a set of best practices, coding styles, and software patterns.</p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: center;"><em>Related Article:-<span style="color: #e03e2d;"><strong><a style="color: #e03e2d;" href="distributed-systems-j2ee-architecture" target="_blank" rel="noopener">Distributed Systems &amp; J2EE Architecture</a></strong></span></em></p>
<h3 style="text-align: justify;"><strong>Web Application</strong></h3>
<p style="text-align: justify;">An enterprise application consists of web modules. These are packaged in war files. A war (short for Web Archive) file is a jar file used to distribute a collection of JavaServer Pages, servlets, Java classes, XML files, tag libraries, and static Web pages. They create a web application. Smaller web applications can be packaged in a war file.</p>
<p style="text-align: justify;">The root directory of this directory structure is called the <em>document root</em>. Let's have a web application called email. For the Resin AS, the path to the document root would be:</p>
<pre class="code">RESIN_INSTALL_DIR/webapps/email 
</pre>
<p style="text-align: justify;">We place our files and resources under the document root directory. All files are visible except for a special directory <em>WEB-INF</em>. All files under the WEB-INF directory are private and are not visible to the client. The <code>WEB-INF</code> directory is optional, but it is always created unless we create some very simple examples.</p>
<p style="text-align: justify;">The WEB-INF directory contains two special files and two directories. The <code>web.xml</code> file is a web application deployment descriptor. It is used to configure the web application. The <code>web.xml</code> file is a Java EE deployment descriptor. It is defined by a specification. There is another type of descriptor called runtime deployment descriptor. It is used to configure Java EE implementation-specific parameters. In the case of Resin Application Server, the runtime deployment descriptor is called<code>resin-web.xml</code>. In the case of GlassFish AS it is called <code>sun-web.xml</code>.</p>
<p style="text-align: justify;">The two special directories are named <code>classes</code> and <em>lib</em>. We place all compiled servlets and utility classes under the classes directory. The <code>lib</code> directory contains additional libraries in form of JAR files. These can be e.g. third party libraries like database drivers or XML parsers.</p>
<p style="text-align: justify;">It is conventional to put tag files into the <em>tag</em> directory.</p>
<h3><strong>Installing Java</strong></h3>
<p style="text-align: justify;">The <em>Java Development Kit</em> (JDK). The JDK is a software development kit used to create Java applications. If we need to run Java applications, we only need the <em>Java Runtime Environment</em> (JRE). If we want to create Java applications, we also need the JDK. The JDK also includes JRE. Primary components of the Java Development Kit are Java compiler, launcher, documentation generator, debugger, disassembler, archiver.</p>
<p style="text-align: justify;">There are three basic Java editions.</p>
<p style="padding-left: 30px; text-align: justify;">-Java SE - Java Standard Edition</p>
<p style="padding-left: 30px; text-align: justify;">-Java EE - Java Enterprise Edition</p>
<p style="padding-left: 30px; text-align: justify;">-Java ME - Java Micro Edition</p>
<p style="text-align: justify;">If we download the JDK we can create Java SE applications. These basically command-line applications a Java Swing GUI applications. Java EE is used to create enterprise applications. Java ME is used to create mobile applications. For both of them, we need to install additional libraries.</p>
<h2 style="text-align: justify;">Steps</h2>
<p style="text-align: justify;">These are the steps to install the latest JDK on Linux. When I write these words it is JDK 6 Update 3.</p>
<p style="padding-left: 30px; text-align: justify;">-go to http://java.sun.com/</p>
<p style="padding-left: 30px; text-align: justify;">-select menu downloads - Java SE</p>
<p style="padding-left: 30px; text-align: justify;">-Click on the download button of the latest JDK version</p>
<p style="padding-left: 30px; text-align: justify;">-accept the license agreement</p>
<p style="padding-left: 30px; text-align: justify;">-download the appropriate version of java, Linux self-extracting file, 65.40 MB</p>
<p style="padding-left: 30px; text-align: justify;">-sudo chmod +x jdk-6u3-Linux-i586.bin</p>
<p style="padding-left: 30px; text-align: justify;">./jdk-6u3-linux-i586.bin</p>
<p style="padding-left: 30px; text-align: justify;">-Do you agree to the above license terms? [yes or no] yes</p>
<p style="padding-left: 30px; text-align: justify;">-mv jdk1.6.0_03/ installdir</p>
<p class="code" style="text-align: justify;">$ export PATH=$PATH:/home/vronskij/bin/jdk1.6.0_03/bin/</p>
<p>We add the bin directory to the PATH variable. On my computer the path to the Java bin directory is <code>/home/vronskij/bin/jdk1.6.0_03/bin/</code>.</p>
<p class="code" style="text-align: justify;">$ java -version java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)</p>
<p>We verify the installed version of java. Now let's create a simple Java console application. Launch your favorite text editor and write down the following code.</p>
<pre class="code" style="text-align: justify;">/* Console.java */

public class Console {

    public static void main(String[] args) {
        System.out.println("Java console application");
    }
}

This sample program will print text on the console window.</pre>
<pre class="code">$ javac Console.java
$ ls
Console.class  Console.java  Console.java~
$ java Console
Java console application</pre>
<p style="text-align: justify;">We compile the source code with the <code>javac</code> command. Then we launch the program with the <code>java</code>command.</p>
<pre class="code">export JAVA_HOME=/home/vronskij/bin/jdk1.6.0_03/bin/
</pre>
<p style="text-align: justify;">We set up the <code>JAVA_HOME</code> variable to point to our JDK. This is for other applications like ant or Netbeans, so that they know, where the Java has been installed.</p>6c:T77b7,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">IBM DB2 Interview Questions</span></h2>
<div style="border-radius: 3px; background-color: #eaecf1; padding: 0 0 10px 0; margin-bottom: 20px;">
<p><span style="font-size: 13pt; color: #ffffff; padding: 10px 20px; font-weight: 600; text-align: center; border-radius: 3px; display: block; background-color: #008e81;">&nbsp;Categories of IBM DB2 Interview Questions</span></p>
<ul>
<li style="text-align: justify;"><span style="font-size: 12pt;"><strong><span style="font-family: georgia, palatino, serif;"><strong style="color: #000000;"><a href="#scenario"> IBM DB2 Certification Questions and Answers</a></strong>&nbsp;</span></strong></span></li>
<li style="text-align: justify;"><span style="font-size: 12pt; font-family: georgia, palatino, serif;"><strong><a href="#advanced">IBM DB2 Interview Questions for Experienced</a></strong></span></li>
</ul>
</div>
<h3><span style="font-size: 12pt;">1Q) What is DB2 ( IBM Database 2 )?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><span style="color: #e03e2d;"><strong>Ans:</strong></span> DB2 is a subsystem of the MVS operating system. It is a Database Management System ( DBMS ) for that operating system.</span></p>
<h3><span style="font-size: 12pt;">2Q) What is an access path?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The path that is used to get to data specified in SQL statements.</span></p>
<h3><span style="font-size: 12pt;">3Q) What is an alias?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>It is an alternate name that can be used in SQL training Hyderabad statements to refer to a table or view in the same or remote DB2 subsystem</span></p>
<h3><span style="font-size: 12pt;">4Q) Explain what a plan?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A plan is a DB2 object (produced during the binding process ) that associates one or more database request modules with a plan name.</span></p>
<blockquote>
<p style="text-align: justify;"><em><strong><span style="font-size: 16px;">Inclined to build a profession as IBM DB2? Then here is the blog post on, explore "</span></strong><span style="color: #e03e2d;"><a style="color: #e03e2d;" href="ibm-db2-training" target="_blank" rel="noopener"><strong><span style="font-size: 12pt;">IBM DB2 Training</span></strong></a></span><strong><span style="font-size: 16px;">"</span></strong></em></p>
</blockquote>
<h3 style="text-align: justify;"><span style="font-size: 12pt;">5Q) What information is used as input to the binding process?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The database request module produced during the pre-compile. The SYSIBM.SYSSTMT table of the DB2 catalog.</span></p>
<h3><span style="font-size: 12pt;">6Q) What is meant by the attachment facility?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The attachment facility is an interface between DB2 and TSO, IMS/VS, CICS, or batch address spaces. It allows application programs to access DB2.</span></p>
<h3><span style="font-size: 12pt;">7Q) What is meant by AUTO COMMIT?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>AUTO COMMIT is a SPUFI option that commits the effects of <a href="sql-tutorials" target="_blank" rel="noopener">SQL </a>statements automatically if they are successfully executed.</span></p>
<h3><span style="font-size: 12pt;">8Q) What is the base table?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A base table is a real table - a table that physically exists in that there are physical stored records.</span></p>
<h3><span style="font-size: 12pt;">9Q) What is a buffer pool?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A buffer pool is the main storage that is reserved to satisfy the buffering requirements for one or more tablespaces or indexes, and is made up of either 4K or 32K pages.</span></p>
<h3><span style="font-size: 12pt;">10Q) On the create tablespace, what does the CLOSE parameter do?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>CLOSE physically closes the tablespace when no one is working on the object. DB2 (release 2.3 ) will logically close tablespaces.</span></p>
<h3><span style="font-size: 12pt;">11Q) What will the COMMIT accomplish?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>COMMIT will allow data changes to be permanent. This then permits the data to be accessed by other units of work. When a COMMIT occurs, locks are freed so other applications can reference the just committed data.</span></p>
<h3><span style="font-size: 12pt;">12Q) What is cursor stability?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>It is cursor stability that "tells" DB2 that database values read by this application are protected only while they are being used. (Changed values are protected until this application reaches the commit point ). As soon as the program moves from one row to another. Other programs may read or the first row.</span></p>
<h3><span style="font-size: 12pt;">13Q) What is the function of the Data Manager?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The Data Manager is a DB2 component that manages the physical databases. It invokes other system components, as necessary, to perform detailed functions such as locking, logging, and physical I/O operations ( such as search, retrieval, update, and index maintenance).</span></p>
<h3><span style="font-size: 12pt;">14Q) What is a data page?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A data page is a unit of retrievable data, either 4K or 32K ( depending on how the table is defined ), containing user or catalog information.</span></p>
<h3><span style="font-size: 12pt;">15Q) What is the Declaration Generator ( DCLGEN )?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>DCLGEN is a facility that is used to generate SQL statements that describe a table or view. These tables or view descriptions are then used to check the validity of other SQL statements at precompile time. The table or view declares are used by the DB2I utility DCLGEN to build a host language structure, which is used by the DB2 precompiler to verify that correct column names and data types have been specified in the SQL statement.</span></p>
<h3><span style="font-size: 12pt;">16Q) What will the FREE command do to a plan?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>It will drop ( delete ) that existing plan.</span></p>
<h3><span style="font-size: 12pt;">17Q) What is a host variable?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>This is a data item that is used in an SQL statement to receive a value or to supply a value. It must be preceded by a colon (:) to tell DB2 that the variable is not a column name.</span></p>
<h3><span style="font-size: 12pt;">18Q) What will the DB2 optimizer do?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The optimizer is a DB2 component that processes SQL statements and selects the access paths.</span></p>
<h3><span style="font-size: 12pt;">19Q) What is a page?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>This is the unit of storage within a tablespace or index space that is accessed by DB2.</span></p>
<h3><span style="font-size: 12pt;">20Q) What is page space?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Page Space refers to either to an unpartitioned table, to an index space, or to a single partition of a partitioned table of index space.</span></p>
<h2 id="scenario"><span style="color: #236fa1; font-size: 16pt;">IBM DB2 Certification Questions </span></h2>
<h3><span style="font-size: 12pt;">21Q) What is a predicate?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A predicate is an element of a search condition that expresses or implies a comparison operation.</span></p>
<h3><span style="font-size: 12pt;">22Q) What is a recovery log?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A recovery log is a collection of records that describes the sequence of events that occur in DB2. The information is needed for recovery in the event of a failure during execution.</span></p>
<h4><span style="font-size: 12pt;">23Q) What is a Resource Control Table (RCT)? Describe its characteristics?</span></h4>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The RCT is a table that is defined to a <a href="ibm-db2-training/" target="_blank" rel="noopener">DB2</a>/CICS region. It contains control characteristics that are assembled via the DSN CRCT macros. The RCT matches the CICS transaction ID to its associated DB2 authorization ID and plan ID ( CICS attachment facility).</span></p>
<h3><span style="font-size: 12pt;">24Q) Where are plans stored?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Each plan is defined uniquely in the SYSIBM SYSPLANS table to correspond to the transaction(s) that are to execute that plan.</span></p>
<h3><span style="font-size: 12pt;">25Q) What is meant by repeatable read?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>When an application program executes with repeatable read protection, rows referenced by the program can't be changed by other programs until the program reaches a commit point.</span></p>
<h3><span style="font-size: 12pt;">26Q) Describe what a storage group (STOGROUP) is?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A STOGROUP is a named collection of DASD volumes to be used by table spaces and index spaces of databases. The volumes of STOGROUP must be of the same device type.</span></p>
<h3><span style="font-size: 12pt;">27Q) How would you move a tablespace ( using STOGROUP ) to a different DASD volume allocated to that tablespace?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>If the tablespace used is only allocated do that STOGROUP :</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">ALTER STOGROUP- add volume (new ) delete volume (old )</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">REORG TABLESPACE or RECOVER TABLESPACE</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Create a new STOGROUP that points to the new volume. ALTER the tablespace and REORG or RECOVER the tablespace.</span></p>
<h3><span style="font-size: 12pt;">28Q) What is the format (internal layout) of "TIMESTAMP"?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>This is a seven-part value that consists of a date (yymmdd) and time (hhmmss and microseconds)</span></p>
<h3><span style="font-size: 12pt;">29Q) What is meant by a unit of recovery?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>This is a sequence of operations within a unit of work (i. e. , work done between commit points).</span></p>
<h3><span style="font-size: 12pt;">30Q) Can DB2 be accessed by TSO users? If yes, which command is used to invoke DB2?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>DB2 can be invoked by TSO users by using the DSN RUN command.</span></p>
<h3><span style="font-size: 12pt;">31Q) What is a DB2 catalog?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The DB2 catalog is a set of tables that contain information about all of the DB2 objects ( tables, views, plans, etc ).</span></p>
<h3><span style="font-size: 12pt;">32Q) What information is held in SYSIBM.SYSCOPY?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The SYSIBM.SYSCOPY table contains information about image copies made of the tablespaces.</span></p>
<h3><span style="font-size: 12pt;">33Q) What information is contained in an SYSCOPY entry?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Included is the name of the database, the tablespace name, and the image copy type (full or incremental, etc..) as well as the date and time each copy was made.</span></p>
<h3><span style="font-size: 12pt;">34Q) What information can you find in SYSIBM.SYSLINKS table?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The SYSIBM.SYSLINKS table contains information about the links between tables created by referential constraints.</span></p>
<h3><span style="font-size: 12pt;">35Q) Where could you look if you had a question about whether a column has been defined as an index?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>This information can be found in SYSIBM.SYSINDEXES.</span></p>
<h3><span style="font-size: 12pt;">36Q) What is the SQL Communications Area and what are some of its key fields?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>It is a data structure that must be included in any host-language program using SQL. It is used to pass feedback about the SQL operations to the program. Fields are return codes, error messages, handling codes, and warnings.</span></p>
<h3><span style="font-size: 12pt;">37Q) What is DCLGEN?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>DCLGEN stands for declarations generator, it is a facility to generate DB2 SQL data structure in COBOL or PL/I programs.</span></p>
<h3><span style="font-size: 12pt;">38Q) How do you leave the cursor open after issuing a COMMIT? (for DB2 2.3 or above only )?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Use WITH HOLD option in DECLARE CURSOR statement. But, it has no effect on pseudo-conversational CICS programs.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">What is the physical storage length of each of the following DB2 data types: DATE, TIME, TIMESTAMP?</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><span style="color: #000000;">DATE: 4 bytes</span> <span style="color: #000000;"> TIME: 3 bytes</span> <span style="color: #000000;"> TIMESTAMP: 10 bytes</span></span></p>
<h3><span style="font-size: 12pt;">39Q) What is DCLGEN?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>DeClarations GENerator: used to create the host language copy books for the table definitions. Also creates the DECLARE table.</span></p>
<h3><span style="font-size: 12pt;">40Q) Is DECLARE TABLE in DCLGEN necessary? Why did it use?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>It not necessary to have a DECLARE TABLE statement in DCLGEN. This is used by the pre-compiler to validate the table-name, view-name, column name etc.., during pre-compile.</span></p>
<h2 id="advanced"><span style="color: #236fa1; font-size: 16pt;">IBM DB2 Interview Questions for Experienced</span></h2>
<h3><span style="font-size: 12pt;">41Q) How is a typical DB2 batch program executed?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There are two methods of executing a DB2 - batch program</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><span style="color: #000000;">Use DSN utility to run a DB2 batch program from native TSO. An example is shown:</span> <span style="color: #000000;"> DSN SYSTEM(DSP3)</span> <span style="color: #000000;"> RUN PROGRAM(EDD 47/0BD) PLAN(EDD470BD) LIB(EDGS01T.OBJ.LOADLIB)</span> <span style="color: #000000;"> END</span></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Use the IKJEFT01 utility program to run the above DSN command in a JCL.</span></p>
<h3><span style="font-size: 12pt;">42Q) Name some of the fields from SQLCA?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>SQLCODE, SQLERRM, SQLERRD</span></p>
<h3><span style="font-size: 12pt;">43Q) How do you do the EXPLAIN of a dynamic SQL statement?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There are two methods to achieve this:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Use SPUFI or QMF to EXPLAIN the dynamic SQL statement</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Include EXPLAIN command in the embedded by dynamic SQL statements</span></p>
<h3><span style="font-size: 12pt;">44Q) How do you simulate the EXPLAIN of an embedded SQL statement in SPUFI/QMF? Give an example with a host variable in where clause)?</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;"><span style="color: #000000;"><strong style="color: #e03e2d;">Ans: </strong>Use a question mark in place of a host variable (or an unknown value). For instance,</span> <span style="color: #000000;"> SELECT EMP_NAME FROM EMP WHERE EMP_SALARY &gt; ?</span></span></p>
<h3><span style="font-size: 12pt;">45Q) What are the isolation levels possible?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>CS: Cursor Stability</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">RR: Repeatable Read</span></p>
<h3><span style="font-size: 12pt;">46Q) What is the difference between CS and RR isolation levels?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>CS: Release the lock on a page after use</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">RR: Retains all locks acquired till the end of the transaction</span></p>
<h3><span style="font-size: 12pt;">47Q) When do you specify the isolation level? How?</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;"><span style="color: #000000;"><strong style="color: #e03e2d;">Ans: </strong>During the BIND process (ISOLATION LEVEL is a parameter for the binding process ).</span> <span style="color: #000000;"> ISOLATION (CS/PR)..</span></span></p>
<h3><span style="font-size: 12pt;">48) How does DB2 determine what lock-size to use?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There are three methods to determine lock-size. They are;</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000; font-size: 12pt;">-Based on the lock-size given while creating the tablespace.</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000; font-size: 12pt;">-Programming can direct the DB2 what lock-size to use</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000; font-size: 12pt;">-If lock-size ANY is specified, DB2 usually chooses a lock-size of PAGE</span></p>
<h3><span style="font-size: 12pt;">50) What is lock escalation?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Promoting a PAGE lock-size to the table or tablespace lock-size when a transaction has acquired more lock than specified in NUMLKTS. Locks should be taken on objects in single tablespace for escalation to occur.</span></p>
<h3><span style="font-size: 12pt;">51Q) What are the various locks available?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>SHARE, EXCLUSIVE, UPDATE</span></p>
<h3><span style="font-size: 12pt;">52Q) What is ALTER?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>SQL command used to change the definition of DB2 objects.</span></p>
<h3><span style="font-size: 12pt;">53Q) What is a DBRM, PLAN?</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;"><span style="color: #000000;"><strong style="color: #e03e2d;">Ans: </strong>DBRM: DataBase Request Module, has the SQL statements extracted from the host language program by the pre-compiler.</span> <span style="color: #000000;"> PLAN: A result of the BIND process. It has the executable code for the SQL statements in the DBRM.</span></span></p>
<h3><span style="font-size: 12pt;">54Q) What is ACQUIRE/RELEASE in BIND?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Determine the point at which DB2 acquires or releases locks against table and tablespaces, including intent locks.</span></p>
<h3><span style="font-size: 12pt;">55Q) What else is there Ain the PLN apart from the access path?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>PLAN has the executable code for the SQL statements in the host program</span></p>
<h3><span style="font-size: 12pt;">56Q) What happens to the PLAN if the index used by it is dropped?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The plan is marked as invalid. The next time the plan is accessed, it is a rebound.</span></p>
<h3><span style="font-size: 12pt;">57Q) What are PACKAGES?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>They contain executable code for SQL statements for one DBRM.</span></p>
<h3><span style="font-size: 12pt;">58Q) What are the advantages of using a PACKAGE?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The advantages of using PACKAGE are :</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Avoid having to bind a large number of DBRM members into a plan</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Avoid the cost of a large bind</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Avoid the entire transaction being unavailable during bind and automatic rebind of a plan</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">Minimize fallback complexities if changes result in an error.</span></p>
<h3><span style="font-size: 12pt;">59Q) What is a collection?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A user-defined name that is the anchor for packages. It has no physical existence. The main usage is to group packages.</span></p>
<h3><span style="font-size: 12pt;">60Q) How would you print the output of an SQL statement from SPUFI?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Print the output dataset.</span></p>
<h3><span style="font-size: 12pt;">61Q) What is dynamic SQL?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Dynamic SQL is a SQL statement created at program execution time.</span></p>
<h3><span style="font-size: 12pt;">62Q) When is the access path determined for dynamic SQL?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>At run time, when the PREPARE statement is issued.</span></p>
<h3><span style="font-size: 12pt;">63Q) Suppose I have a program that uses a dynamic SQL and it has been performing well till now. Off late, I find that performance has deteriorated. What happened?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There may be one of the following reasons:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">probably RUN STATS is not done and the program is using a wrong index due to incorrect stats.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;">probably RUN STATS is done and the optimizer has chosen a wrong access path based on the latest statistics.</span></p>
<h3><span style="font-size: 12pt;">64Q) How does DB2 store NULL physically?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>As an extra-byte prefix to the column value. Physically, the null prefix is Hex '00" if the value is present and Hex 'FF' if it is not.</span></p>
<h3><span style="font-size: 12pt;">65Q) How do you retrieve the data from a nullable column?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Use null indicators. Syntax .. INTO HOSTVAR: NULLED</span></p>
<h3><span style="font-size: 12pt;">66Q) What is the picture clause of the null indicator variable?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>S9(4) COMP.</span></p>
<h3><span style="font-size: 12pt;">67Q) What does it mean if the null indicator has -1, 0, -2?</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;"><span style="color: #000000;"><strong style="color: #e03e2d;">Ans: </strong>-1: the field is null;</span> <span style="color: #000000;"> 0: the field is not null;</span> <span style="color: #000000;"> -2: the field value is truncated</span></span></p>
<h3><span style="font-size: 12pt;">68Q) How do you insert a record with a nullable column?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>To insert a NULL, move -1 to the null indicator. To insert a valid value, move 0 to the null indicator</span></p>
<h3><span style="font-size: 12pt;">69Q) What is RUNSTATS?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A DB2 utility used to collect statistics about the data value in tables which can be used by the optimizer to decide the access path. It also collects statistics used for space management. These statistics are stored in DB2 catalog tables.</span></p>
<h3><span style="font-size: 12pt;">70Q) When will you choose to run RUNSTATS?</span></h3>
<p style="text-align: justify;"><span style="color: #000000; font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>After a load, or after mass updates, inserts, deletes, or after REORG.</span></p>
<p><span style="font-size: 12pt;">What is the reason that the MySQL statement &ldquo;SELECT AVG (SALARY) FROM EMP&rdquo; generates inaccurate output? The reason for the statement generating inaccurate outcomes is because of the fact that SALARY has not been declared to have NULL and at the same time the employees whose salary is not known are also counted. </span></p>
<h3><span style="font-size: 12pt;">71Q) Why SELECT is not preferred in embedded SQL programs? </span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d; text-align: justify;">Ans: </strong>SELECT is not preferred in embedded SQL programs for three reasons. First; if the table structure is changed by the addition or deletion of a field and the program is modified then using SELECT might retrieve the columns that the user may not use. This would lead to Input-Output overhead and the chances of an index-only scan are also eliminated.</span></p>6d:T3130,<p>&nbsp;</p>
<h2><span style="font-size: 14pt; color: #e67e23;">MS Project Interview Questions With Answers</span></h2>
<p>&nbsp;</p>
<p><span style="color: #34495e;"><span style="color: #e67e23;"><span style="font-size: 18.6667px;"><span style="font-size: 12pt;"><span style="color: #34495e;">Are you planning to participate in an interview for an <strong>MS Project</strong> role, but are confused about how to break that interview, and what would be the most likely <strong>MS Project interview</strong></span><strong> </strong></span><span style="color: #34495e; font-size: 12pt;"><strong>questions</strong>&nbsp;an interviewer might ask? Well, you've come to the right place. Tekslate has collected the most frequently asked<strong> MS Project interview questions and answers</strong>, which are often asked in several interviews.</span></span></span></span></p>
<h3><span style="font-size: 12pt;">1Q) Provide an explanation for what's hyperlink undertaking in MS venture used for?</span></h3>
<p><span style="font-size: 12pt;"><span style="color: #e03e2d;"><strong>Ans:</strong></span> Hyperlink challenge in MS undertaking for connecting any duties in a mission.</span></p>
<h3><span style="font-size: 12pt;">2Q) Point out in which is &ldquo;summary undertaking&rdquo; in MS challenge?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>The rundown task is useful in assessing the wandering period and the period in a task and arranging the wander altogether. you could discover &ldquo;summary project&rdquo; below the main menu -&gt; Insert -&gt; precise</span></p>
<h3><span style="font-size: 12pt;">3Q) listing out the types of responsibilities utilized in MS challenge?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There are the foremost four kinds of obligations:</span></p>
<ul>
<li><span style="font-size: 12pt;">Precis duties: It includes subtasks and their associated houses</span></li>
<li><span style="font-size: 12pt;">Subtasks: it is a smaller mission that is part of a precise task</span></li>
<li><span style="font-size: 12pt;">Routine obligations: these are the tasks that fall within normal durations</span></li>
<li><span style="font-size: 12pt;">Milestones: these are the top precedence mission which might be adjusted to 0 lengths and are like quick-term goals in the venture</span></li>
</ul>
<h3><span style="font-size: 12pt;">4Q) Mention the sorts of task links in MS mission 2013?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There are four forms of task links in MS mission</span></p>
<ul>
<li><span style="font-size: 12pt;">Finish to begin link: in this link, the second venture cannot be initiated until the first task is finished.</span></li>
<li><span style="font-size: 12pt;">Begin to begin hyperlink: in this hyperlink, the second task can start at any time after the first assignment is initiated.</span></li>
<li><span style="font-size: 12pt;">End to complete hyperlink: in this link, the mission does no longer should stop at the same time, the second challenge can quit every time after the first venture is ended.</span></li>
<li><span style="font-size: 12pt;">Start to finish link: on this hyperlink, the second mission can&rsquo;t finish until the first task begins.</span></li>
</ul>
<blockquote><em><strong><span style="font-size: 16px;">Inclined to build a profession as MS Project? Then here is the blog post on, explore "<a href="ms-project-training" target="_blank" rel="noopener"><span style="color: #e03e2d;">MS Project Training</span></a>"</span></strong></em></blockquote>
<h3><span style="font-size: 12pt;">5Q) Explain a way to set a work time exception in undertaking 2013?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>To adjust them to be had working hours in undertaking 2013 for a particular day, you need to change the work time exception settings. for you to do that</span></p>
<ul>
<li><span style="font-size: 12pt;">Choose the task and trade the running time.</span></li>
<li><span style="font-size: 12pt;">At the calendar pick the day you want to alternate.</span></li>
<li><span style="font-size: 12pt;">Click the exception tab to display it, it'll show a column with the call cell in a blank row, kinda name for the exception, and press enter.</span></li>
<li><span style="font-size: 12pt;">Tap the exception call you entered in step three after which click on the info button. it's going to open an element dialog box for this exception. where you'll make the setting consistent with your requirement like running time, recurrent sample, and range of recurrence.</span></li>
</ul>
<h3><span style="font-size: 12pt;">6Q) Give an explanation for how you can evaluate budget useful resource values in MS mission?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans:</strong></span></p>
<ul>
<li><span style="font-size: 12pt;">Go to aid utilization view ( View -&gt; aid usage).</span></li>
<li><span style="font-size: 12pt;">Upload finances value, work, finances paintings, and price columns to the desk if they may be not there already.</span></li>
<li><span style="font-size: 12pt;">Faucet on the drop-down arrow to the proper of the resource call column heading and then pick out &ldquo;institution with the aid of&rdquo; -&gt; custom organization, in order to group the aid by custom resource check field.</span></li>
<li><span style="font-size: 12pt;">Tap on the down arrow in the field call cellular in the organization through the row section, after that within the drop-down list of resource fields, pick out the name of the custom textual content subject to your budget categories and then click observe.</span></li>
<li><span style="font-size: 12pt;">Now inside the group precise rows, examine the budget get price or budget paintings values to the cost or work values concurrently.</span></li>
<li><span style="font-size: 12pt;">To dismantle the organization, you could select NO groups by clicking the down arrow to the proper of the useful resource call column heading.</span></li>
</ul>
<h3><span style="font-size: 12pt;">7Q) What are your favorite MS task books/internet sites?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Mission making plans, estimating, tracking, and conversation is possibly the most complex, nuanced region that Microsoft&rsquo;s circle of relatives of workplace-related applications hopes to aid. experienced, professional <a href="pmp-training" target="_blank" rel="noopener">PM</a>s have to be actively looking to enlarge their ability sets with a ramification of sources.</span></p>
<h3><span style="font-size: 12pt;">8Q) Have you ever completed any VBA automation with MS Project?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>This isn't as commonplace as Excel programming, however, it'd deliver some perception into their depth of expertise of the assignment &ldquo;database&rdquo;. a few oldsters automate look/feel troubles, so printouts always appear the same (consistency breeds familiarity). different uses macros for mainly intricate utilization or cost calculations. The candidate ought to be able to glibly describe the benefits and challenges of automation with this tool.</span></p>
<h3><span style="font-size: 12pt;">9Q) How do you add or delete a standard or custom column/field?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>A bit of a trick question: there are many ways to add (or insert) a column/field, typically they will brute force Insert or use a macro. You should never delete a column/field that contains data; the recommended approach is to hide the column. An interviewer could drill into the candidate&rsquo;s use of custom tables, views, fields, and filters. Have they set up templates? How do they manage consistency among multiple projects? Do they use automation or templates to develop standards and make incremental improvements for each project they work on?</span></p>
<h3><span style="font-size: 12pt;">10Q) How do you model meetings and non-working time on a project plan?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There are a number of different methods &ndash; including &hellip;</span></p>
<ul>
<li><span style="font-size: 12pt;">Model all resource participation at 80% available time</span></li>
<li><span style="font-size: 12pt;">Change the default calendar to 6-hour workdays</span></li>
<li><span style="font-size: 12pt;">Create weekly, 5-day (duration) tasks, for 1-4 (effort) hours per week, and assign everybody to this task</span></li>
</ul>
<p><span style="font-size: 12pt;">Candidate should be able to talk about the pros and cons of whatever method they select.</span></p>
<p><strong><span style="font-size: 12pt;">MS Project Interview Questions for Freshers</span></strong></p>
<h3><span style="font-size: 12pt;">11Q) Can MS Project be used to track an agile development project, and if so, how?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>There is no right answer to this question, I&rsquo;ve heard opinions on both sides. However, if someone can give a cogent, detailed answer, either way, they are demonstrating their knowledge of agile and/or Project.</span></p>
<p><span style="font-size: 12pt;">Cross-company management, matrix management A project manager has to liaise with other departments in the company, like the procurement, the R&amp;D, as well as the Logistics department. Other than that, the project manager may also have to interact with customers and the company&rsquo;s partners. Sometimes, the project manager may also be responsible for the invoicing and financial issues of his projects. Do you have that project management experience?</span></p>
<h3><span style="font-size: 12pt;">12Q) Tell me about a time when your stakeholders didn&rsquo;t agree on a project. How did you proceed?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Interviewers asking this question are looking for stories that&nbsp;will&nbsp;prove you have these necessary soft skills for the job.&nbsp;Make sure to brainstorm&nbsp;stories about your former project management roles in anticipation&nbsp;of&nbsp;this question and use them as&nbsp;a&nbsp;confirmation that you have the mediation skills&nbsp;that&nbsp;these hiring managers are looking for.</span></p>
<h3><span style="font-size: 12pt;">13Q) What projects do you not want to work on?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Everyone wants to believe they can handle every project, but the reality is that most project managers are best suited for a narrow project management role.</span></p>
<p><span style="font-size: 12pt;">If you tell your future employer that you love working on everything, that communicates that:</span></p>
<ol>
<li><span style="font-size: 12pt;">You might not know what you&rsquo;re talking about OR</span></li>
<li><span style="font-size: 12pt;">You&rsquo;re unwilling to communicate weaknesses.</span></li>
</ol>
<p><span style="font-size: 12pt;">Neither of these traits&nbsp;reflects&nbsp;well on you.</span></p>
<p><span style="font-size: 12pt;">Instead, be honest. Are you more of a software development person? Do you do well with creative media campaigns? Would you rather lie down and die than work on a construction project? Let your interviewer know; both they and your future self will thank you for it.</span></p>
<h3><span style="font-size: 12pt;">14Q) How do you deal with difficult team members?</span></h3>
<p><span style="font-size: 12pt;"><strong style="color: #e03e2d;">Ans: </strong>Project management flows a lot smoother when everyone is meeting deadlines with quality results. Unfortunately, you&rsquo;re likely to work with some individuals who have trouble delivering. Your interviewer wants to know how you deal with these interpersonal and personnel issues.</span></p>
<p><span style="font-size: 12pt;">First, look up proper approaches to dealing with difficult team members so that you&rsquo;re ready to respond with the best possible answers. Provide examples of how you helped improve the work processes of team members at your previous jobs. You can always ask your interviewer to give a &ldquo;for instance&rdquo;; they might also have someone specific in mind.</span></p>6e:T33bc,<p>&nbsp;</p>
<h2 style="font-weight: 400; text-align: justify;"><strong><span style="color: #000000; font-size: 14pt;">OpenSpan Interview Questions</span></strong></h2>
<p>Following are some of the most frequently asked <span style="font-weight: 400;">Openspan</span> interview questions in the interview, here are the answers for them.</p>
<p><strong><span style="color: #993300; font-size: 12pt;">1.What is Openspan?</span></strong></p>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Openspan is RPA(Robotic process Automation Tool) </span><span style="font-weight: 400;">It can be used as standalone or it be integrated by visual studio by using its plug-in.This is one among other automation tools like UIPath, BluePrism, Automation etc</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">2.What is RPA ?</span></h3>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>RPA is a software that creates software robots. Representing the future of process automation in enterprises as well as outsourcing entities, RPA takes into account that the world is moving increasingly towards automating tasks that are better performed by computers and allowing the human workforce to focus their attention on tasks that require creativity, judgment, and personal interaction.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">3.What is Adapter in OpenSpan ?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The Adapter lets OpenSpan projects to interrogate with our target applications.There is a Windows application template for each type of Windows applications you want to work with in the project. Adding the Windows template adds an OpenSpan Adapter to the Project With Properties specific for use with Windows applications.</span></p>
<blockquote>
<p style="text-align: justify;"><em style="color: #4a4a4a; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 0.925rem; margin: 0px; padding: 0px; box-sizing: border-box;">If you want to enrich your career and become a professional in OpenSpan, then visit Tekslate - a global online training platform: "<a href="openspan-training" target="_blank" rel="noopener"><strong><span style="color: #e03e2d;">OpenSpan Training</span></strong></a>"&nbsp; &nbsp;This course will help you to achieve excellence in this domain.</em></p>
</blockquote>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">4.What is ExcelConnector in OpenSpan?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>ExcelConnector is used to read/write the data in to excel files.We can use this connectors to interact with excel file in our &nbsp;automation. To use this feature you must have installed the Office Connectors while &nbsp;installing the Studio for development and in runtime for deployment. When we install studio or runtime there is option to choose appropriate &nbsp;version of Office connectors.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">5.What is Studio Development Environment in Openspan?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Studio Development Environment is an Integrated Development Environment (IDE) for creating, building, and testing Runtime projects.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">6.What is WebAdapter ?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>It enables OpenSpan Studio to interrogate with a Windows application for interrogation purposes. &nbsp;WebAdapter is used to interrogate the Microsoft Internet Explorer.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">7.What is Universal WebAdapter?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Universal WebAdapter is used to interrogate the Web applications like Chrome and Fire fox.In order to use WebAdapter at the time of installation of Studio you must have installed the Chrome and Firefox extension.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">8.What is The Difference Between Path and Target Path?</span></h3>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The Path and Target Path are the Properties of Windows Adapter and can be found in&nbsp; Properties Window.</span></p>
<p style="font-weight: 400; padding-left: 30px; text-align: justify;"><span style="font-weight: 400;">Path - If the application that is required to run is from same folder where all other applications are installed or installed in any custom location then put the full path including the application and extension. </span></p>
<p style="font-weight: 400; padding-left: 30px; text-align: justify;"><span style="font-weight: 400;">Target Path - &nbsp;If the desired application is opened by the another application Eg. you have written a .bat command to launch your application. Then path will contain the full path including extension of that .bat and target path will contain only application_name.extension of that application. </span></p>
<p style="font-weight: 400; padding-left: 30px; text-align: justify;"><span style="font-weight: 400;">StartMethod should be set to start and wait to launch for that application mentioned in target path property.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">9.What is the differentiation in PEGA Robotics with other RPA?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Robotic Automation system from Pega includes a Studio (Design Tool) based on Microsoft Visual Studio where the user can generate automation, as a runtime client, which runs the robotic automation on user's desktop, facilitated by a cloud-based Deployment Portal, which helps in implementing and managing the automation that are being developed by the user.</p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">10.What is Objec<span style="font-weight: 400;">t </span>Explorer in Pega?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The Object Explorer lists commonly used .Net components and all OpenSpan custom components.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">11.What is Studio's Integrated Development Environment?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Pega Robotic Automation Studio runs within the Visual Studio design &nbsp;&nbsp;&nbsp;&nbsp;environment. The environment is comprised of: the Menu toolbar, Standard toolbar, various Tool Windows docked or auto-hidden on the left, bottom, and right sides, as well as the Designer space. The tool windows, menus, and toolbars that are available depend on the type of project item with which you are working. </span><span style="font-weight: 400;">You can easily move and dock windows using the visual guide diamond or temporarily hide windows using Auto-Hide.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">12.What is the difference between Thin client and Thick Client ?</span></h3>
<p style="font-weight: 400; text-align: justify;"><strong>Ans: Thin Clien</strong><span style="font-weight: 400;">t : A Thin Client is browser based. &nbsp;This means that you don't need to install any heavy stuffs and it's available across platforms and is browser based.</span></p>
<p style="font-weight: 400; padding-left: 30px; text-align: justify;"><strong>Thick Client : </strong><span style="font-weight: 400;">A thick client is installed into the client side. It is still connected to the server, but most of the processing is done on client side. With thick client, there won't be much processing via the network. In a way, it will be a much faster option if your network is slow or congested.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">13.What are the benefits of PEGA Robotics Automation Systems ?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>With Pega Robotic Process Automation (RPA), organizations can automate the mundane, tedious, time-consuming, manual work that is hampering productivity and efficiency. Whether adjudicating claims, onboarding customers or employees, reconciling financials, updating customer information in systems record, Pega RPA can manage the work across your enterprise.</span></p>
<h3 style="font-weight: 400; text-align: justify;"><strong><span style="color: #993300; font-size: 12pt;">14.How to connect Oracle, SQL Server with OpenSpan?</span></strong></h3>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>To connect Oracle or SQL Server in OpenSpan under data tab OracleQuery and SQLQuery is available that can be used to connect with these databases. These return the DataSet to work and functions and properties are available.</span></p>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">[Related Page On<a href="interview-questions-on-sql-server" target="_blank" rel="noopener"> SQL Server</a>]</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">15.What is the difference between WaitAll and WaitAny ?</span></h3>
<p style="font-weight: 400; text-align: justify;"><strong>Ans: </strong>The WaitAll control will wait until All objects are Created.</p>
<p style="font-weight: 400; padding-left: 30px; text-align: justify;">The WaitAny component is used when any one object&mdash;screen, form, or application&mdash;in a group must be created before the user can proceed. This is useful when, for example, the group consists of three screens, each relating to a level of membership.</p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">16.What is defined as attribute of interrogated control ?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Property is defined as an attribute of interrogated control.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">17.Which Section of object explorer contains the buttons to select an object properties,events or methods for an Automation ?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Object Inspector object explorer contains the buttons to select an object properties,events or methods for an Automation.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">18.What is HookChildProcesses ?</span></h3>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The </span>HookChildProcesses<span style="font-weight: 400;"> property applies to Windows and web application adapters.</span><span style="font-weight: 400;">This property applies when one application starts other applications and the spawned applications are required for the solution.</span></p>
<ol style="text-align: justify;">
<li style="font-weight: 400;"><span style="font-weight: 400;"> &nbsp;In this case, set the Path or the StartPage property to identify the application that &nbsp;&nbsp;&nbsp;spawns the other applications.</span></li>
<li style="font-weight: 400;">Next, set the HookChildProcesses property to True so that you can interrogate any application that is spawned by the Path or StartPage application.</li>
<li style="font-weight: 400;">Set the adapter's StartMethod property to Start.</li>
</ol>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">19.What is InteractionManager and how it works ?</span></h3>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The InteractionManager component connects all customer interactions through the configuration of its properties, events and methods.This component maintains a direct link to the contents of the interaction.xml configuration File and stores the context values defined for each interaction.</span></p>
<p style="font-weight: 400; padding-left: 30px; text-align: justify;"><span style="font-weight: 400;">These context values appears as component properties.There can be only one InteractionManager component per referenced project ina deployment package,and its existence enables the connectivity of the framework&rsquo;s activities and tasks.</span></p>
<h3 style="text-align: justify;"><span style="color: #993300; font-size: 12pt;">20.What Are The Competitors of PEGA RPA?</span></h3>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Some other Popular RPA is Blue Prism, Edge Verve, Automation Anywhere, Datamatics, etc.</span></p>6f:T1ce5,<p>&nbsp;</p>
<h2><span style="font-size: 14pt;">Performing Data Manipulations using Disconnected Model:</span></h2>
<p>Inserting the record using a disconnected model</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />Open <a href="sql-server-integration" target="_blank" rel="noopener">SQL SERVER </a></p>
<p>Create</p>
<p>Take a new WINFORM and design like &nbsp;</p>
<p><img class="alignnone size-full wp-image-9019" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_605.png" alt="sql server" width="347" height="198" /> &nbsp;</p>
<p>// Code for button1_click</p>
<p>Imports System.Data</p>
<p>Imports System.Data.SqlClient</p>
<p>In form</p>
<p>&lsquo;Form declarations</p>
<p>Dim cn as SqlConnection</p>
<p>Dim da as SqlDataAdapter</p>
<p>Dim cmb as SqlCommandBuilder</p>
<p>Dim ds as DataSet &nbsp;</p>
<p>// Form_Load</p>
<p>Cn = New SqlConnection (&ldquo;user id = sa; password = 123; database = northwind; data source = sekhar&rdquo;)</p>
<p>da = New SqlDataAdapter (&ldquo;Select * from dept270&rdquo;, cn)</p>
<p>cmb = New SqlCommandBuilder (da)</p>
<p>ds = New DataSet</p>
<p>da.Fill (ds, &ldquo;dept270&rdquo;)</p>
<p>ds.Tables (&ldquo;Dept270&rdquo;).Constrints.Add (&ldquo;deptno_Pk&rdquo;,</p>
<p>ds.tables (&ldquo;Dept270&rdquo;).Columns (&ldquo;dept no&rdquo;), True)</p>
<p>// Code for Add Department (button_click)</p>
<p>Try</p>
<p>Dim row as DataRow</p>
<p>row = ds.Tables (&ldquo;Dept270&rdquo;).NewRow</p>
<p>row (&ldquo;dept no&rdquo;) = txt Deptno.Text</p>
<p>row (&ldquo;dept name&rdquo;) = txt Dname.Text</p>
<p>row (&ldquo;Loc&rdquo;) = txtLoc.Text</p>
<p>ds.Tables (&ldquo;Dept270&rdquo;).Rows.Add (row da.update (ds.Tables (&ldquo;Dept270&rdquo;))</p>
<p>If MessageBox.Show (&ldquo;Department added do you want to add another department&rdquo;, Me.Text, MessageBoxbuttons.YesNo, MessageBoxIcon Question) = Windows.Forms.DIalogResult.Yes Then</p>
<p>txtDeptno.Clear ()</p>
<p>txtDname.Clear ()</p>
<p>txtLoc.Clear ()</p>
<p>txtDeptno.Clear ()</p>
<p>Else</p>
<p>End</p>
<p>End if</p>
<p>Catch ex as Exception</p>
<p>MessageBox.Show (ex.Message, &ldquo;Error&rdquo;)</p>
<p>End try</p>
<p><img class="alignnone size-full wp-image-8553" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled1.png" alt="Untitled" width="36" height="12" />&nbsp;Execute</p>
<p>Performing updations and deletions using ADD.Net disconnected model &nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp; <img class="alignnone wp-image-9020" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_6111-460x244.png" alt="sql server" width="392" height="208" /></p>
<blockquote>
<p><em style="color: #4a4a4a; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 0.925rem; background-color: #ffffff; text-align: justify; margin: 0px; padding: 0px; box-sizing: border-box;">If you want to enrich your career and become a professional in SQL Server, then visit Tekslate - a global online training platform: "<a href="sql-server-training" target="_blank" rel="noopener"><span style="color: #e03e2d;"><strong>SQL Server Training</strong></span></a>"&nbsp; &nbsp;This course will help you to achieve excellence in this domain</em></p>
</blockquote>
<p>Imports System.Data</p>
<p>Imports System.Data.SqlClient</p>
<p>&lsquo;Form declarations</p>
<p>Dim cn as SqlConnection</p>
<p>Dim da as SqlDataAdapter</p>
<p>Dim cmb as SqlCommandBuilder</p>
<p>Dim ds as DataSet</p>
<p>Dim row as DataRow</p>
<p>Form_Load</p>
<p>Cn = New SqlConnection (&ldquo;user id = sa; password = 123; database = northwind; data source = sekhar&rdquo;)</p>
<p>da = New SqlDataAdapter (&ldquo;Select * from dept270&rdquo;, cn)</p>
<p>cmb = New SqlCommandBuilder (da)</p>
<p>ds = New DataSet</p>
<p>da.Fill (ds, &ldquo;dept270&rdquo;)</p>
<p>ds.Tables (&ldquo;Dept270&rdquo;).Constrints.Add (&ldquo;deptno_Pk&rdquo;, ds.tables (&ldquo;Dept270&rdquo;).Columns (&ldquo;dept no&rdquo;), True)</p>
<p>// Code for Add Department (button_click)</p>
<p>&lsquo;Search (button_click)</p>
<p>Dim dno as Integer</p>
<p>Dno = Val (txtDeptno.Text)</p>
<p>If ds.tables (&ldquo;dept270&rdquo;).Rows.Contains (dno) = True</p>
<p>Then</p>
<p>Row = ds.Tables (&ldquo;dept270&rdquo;).Rows.Find (dno)</p>
<p>txtDname.Text = row (&ldquo;Dname&rdquo;)</p>
<p>txtLoc.Text = row (&ldquo;Loc&rdquo;)</p>
<p>Else</p>
<p>MessageBox.Show (&ldquo;Department not found&rdquo;, &ldquo;Error&rdquo;)</p>
<p>&lsquo;Update (button_click)</p>
<p>Try</p>
<p>row (&ldquo;dname&rdquo;) = txtDname.Text</p>
<p>row (&ldquo;loc&rdquo;) = txtloc.Text</p>
<p>row.EndEdit ()</p>
<p>da.Update (ds.Tables (&ldquo;dept270&rdquo;))</p>
<p>MessageBox.Show (&ldquo;Record updated&rdquo;, Me.Text)</p>
<p>Catch ex as Exception</p>
<p>MessageBox.Show (ex.Message, &ldquo;Error&rdquo;)</p>
<p>End try</p>
<p>// &lsquo;Delete (button_click)</p>
<p>Try</p>
<p>row.Delete ()</p>
<p>da.Update (ds.Tables (&ldquo;dept270&rdquo;))</p>
<p>MessageBox.Show (&ldquo;Record Deleted&rdquo;, Me.Text)</p>
<p>txtDeptno.Clear ()</p>
<p>txtDname.Clear ()</p>
<p>txtLoc.Clear ()</p>
<p>txtDeptno.Clear ()</p>
<p>Catch ex as Exception</p>
<p>MessageBox.Show (ex.Message, &ldquo;Error&rdquo;)</p>
<p>End try</p>
<p>&lsquo;Close (button_click)</p>
<p>End</p>
<h3><span style="font-size: 14pt;">Concepts to remember (Add.Net disconnected model)</span></h3>
<ul>
<li>Projecting the data (all rows &amp; navigations)</li>
<li>Various search methods supported</li>
<li>Relationships between tables</li>
<li>Data manipulations</li>
</ul>
<p>&nbsp;<strong>COM Interoperability Model:</strong></p>
<p>Whenever a COM component is used within a .Net application or if a .Net assembly is used from a COM type application then it is said to be supporting COM interoperability. &nbsp;</p>
<p><strong>Using </strong><strong>COM Components from .Net application</strong> <img class="alignnone wp-image-9023" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_627-460x214.png" alt="sql server model" width="468" height="217" /> &nbsp;</p>
<p>Whenever a .Net application uses the definition of COM component then a request will be given to the CLR where the CLR identifies the request type and defines Runtime Callable Wrapper (RCW) Once RCW is defined then it sends a request for the COM server where the COM component is identified based on its GUID (Global Unique identifier) and the component type library definitions will be returned to the RCW. Once RCW collects the data then it creates an interoperable COM which is an assembly once the assembly is created then the .Net application will consume that assembly and provides the output.</p>
<p><strong>Get In-Depth Knowledge on SQL Server Click on Here:</strong></p>
<ul>
<li><a href="transfer-sql-server-objects-task" target="_blank" rel="noopener">Transfer SQL server Objects Task</a></li>
<li><a href="teradata-sql-server-2008" target="_blank" rel="noopener"><span style="font-size: 12pt; font-family: Arial;" data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;TeraData in sql server -2008&quot;}" data-sheets-userformat="{&quot;2&quot;:4224,&quot;10&quot;:2,&quot;15&quot;:&quot;Arial&quot;}">TeraData in sql server -2008</span></a></li>
</ul>70:T40fc,<p style="text-align: justify;">Welcome to SAP NetWeaver Tutorials. The objective of these tutorials is to provide an in-depth understanding of SAP NetWeaver. In addition to free SAP NetWeaver Tutorials, we will cover common interview questions, issues, and how-to&rsquo;s of SAP NetWeaver.</p>
<h2 style="text-align: justify;"><span style="font-size: 24px; color: #e67e23;">SAP NetWeaver</span></h2>
<p style="text-align: justify;">SAP NetWeaver supports several technologies like Microsoft .NET, Oracle Java EE, and IBM Web Sphere for customizations and other extending processes for customers. So the customers can use their current IT infrastructure for using SAP and they don&rsquo;t need to invest more in IT infrastructure for their SAP implementation. Using NetWeaver and organizations can improve their operational efficiency and can make faster decision-making by accelerated business information access. Smooth end-to-end business and high process quality and efficiency are also some advantages of the NetWeaver Platform.</p>
<p style="text-align: justify;">Netweaver makes possible access to <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP SD Tutorial" href="https://tekslate.com/sap-sd-tutorials" target="_blank">SAP</a></span> data using simple HTTP protocol or even mobile. This eliminates the need for installing and more importantly training in SAP's client-side software.</p>
<p style="text-align: justify;">The core capabilities of SAP NetWeaver are the integration of people, information, and process.</p>
<p style="text-align: justify;"><img class=" wp-image-23196 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/08/Capture-213.png" alt="Capture 213" width="548" height="380" /></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Information integration</span></h3>
<p style="text-align: justify;"><strong>&nbsp;</strong>It means you can bring together information from a variety of locations and have it make sense in the context of what your folks do every day!</p>
<p style="text-align: justify;"><strong>Examples:</strong></p>
<ul>
<li style="text-align: justify;"><em><strong>Business Intelligence:</strong></em> It provides you with reliable tools for creating individual and interactive reports and applications.</li>
<li style="text-align: justify;"><em><strong>BI Content &amp; BI Content Extensions:</strong></em>&nbsp;Enables quicker implementation using pre-configured role and task-oriented information models in SAP Business Intelligence.</li>
<li style="text-align: justify;"><em><strong>Knowledge Management:</strong></em>&nbsp;Allows common access to unstructured information and documents in a distributed storage landscape like <strong>Search, Classification, Subscription, Versioning, etc</strong>.</li>
<li style="text-align: justify;"><strong><em>Search and Classification (TREX):</em> </strong>Provides SAP applications with numerous services for searching, classifying, and text-mining in large collections of documents (unstructured data) as well as for searching in and aggregating business objects (structured data).</li>
</ul>
<p style="text-align: justify;">With SAP R/3, SAP ushers in a new generation of enterprise software &mdash; from mainframe computing (client-server architecture) to the three-tier architecture of database, application, and user interface.</p>
<p style="text-align: justify;"><img class=" wp-image-23197 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/08/Capture-214.png" alt="Capture 214" width="631" height="369" /></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;">Want to acquire industry skills and gain complete knowledge of SAP ABAP? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP ABAP Training" href="https://tekslate.com/sap-abap-training" target="_blank"><strong>SAP ABAP Training</strong></a></span> to get Job Ready!</td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Three-Tier Architecture of SAP R/3</span></h3>
<h3 style="text-align: justify;"><strong><em><span style="font-size: 14px;">Presentation Servers:</span></em></strong></h3>
<p style="text-align: justify;">Presentation servers contain systems capable of providing a graphical interface.</p>
<ul>
<li style="text-align: justify;">The presentation layer is also known as the client Layer</li>
<li style="text-align: justify;">The presentation Layer is a user interaction</li>
<li style="text-align: justify;">For SAP-User interaction purposes, we use GUI</li>
<li style="text-align: justify;">GUI stands for Graphical user interface</li>
<li style="text-align: justify;">Examples &minus; Desktop, Mobile Devices, laptops</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 14px;"><em><strong>Application Servers:</strong></em></span></h3>
<p style="text-align: justify;">Application servers include specialized systems with multiple CPUs and a vast amount of RAM.</p>
<ul>
<li style="text-align: justify;"><span style="line-height: 1.5;">The Application Layer is also known as Kernel Layer and Basic Layer.</span></li>
<li style="text-align: justify;">SAP application programs are executed in the Application Layer.</li>
<li style="text-align: justify;">The application layer serves the purpose of a communicator between the Presentation and Database Layers.</li>
<li style="text-align: justify;">The application server is where the dispatcher distributes the workload to the different work processes that make the job done.</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 14px;"><em><strong>Database Servers:</strong></em></span></h3>
<p style="text-align: justify;">Database servers contain specialized systems with fast and large hard drives.</p>
<ul>
<li style="text-align: justify;">The database layer stores the data</li>
<li style="text-align: justify;">Datastore can be Business data, SAP system data, SAP tables, and Programs.</li>
<li style="text-align: justify;">Examples &minus; Oracle, Microsoft SQL Server, IBM DB/2, Siebel, Sybase, etc.</li>
</ul>
<p style="text-align: right;"><em>Checkout:</em> [ <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP NetWeaver Interview Questions" href="https://tekslate.com/sap-netweaver-interview-questions" target="_blank"><em><strong>SAP NetWeaver Interview Questions</strong></em></a></span> ]</p>
<h2 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">SAP NetWeaver Gateway</span></h2>
<p style="text-align: justify;">In the three-tier architecture, SAP Gateways make up the middle or application tier. This middle layer is essential for communication between the frontend and the backend. The use of multi-tier architecture to implement a data processing system adds a valuable level of modularity and flexibility to the system by being able to develop and maintain each tier individually. &nbsp;The purpose of this tutorial is to create a Gateway that will extract data from the flight carrier database table, which will be accessed from the Gateway Client. The Gateway will be able to retrieve a list of carriers as well as individual carriers. &nbsp;Let&rsquo;s get started.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Creating a New Project</span></h3>
<ul>
<li style="text-align: justify;">First, navigate to the Gateway Service Builder with the T-Code &ldquo;SEGW&rdquo;</li>
<li style="text-align: justify;">Click the &ldquo;Create Project&rdquo; button</li>
</ul>
<p style="text-align: justify;"><img class=" wp-image-23198 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/08/Capture-215.png" alt="Capture 215" width="566" height="182" /></p>
<ul>
<li style="text-align: justify;">Give the Gateway project a name and a description</li>
<li style="text-align: justify;">Save the project and assign it to the appropriate package. For the purpose of this demo the project will be saved as a local object ($TMP or click the button &ldquo;Local Object). The Gateway project has now been successfully created.</li>
</ul>
<p style="text-align: justify;">&nbsp;<img class=" wp-image-23199 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/08/Capture-216.png" alt="Capture 216" width="447" height="301" /></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Creating an Entity &amp; Entity Set</span></h3>
<ul>
<li style="text-align: justify;">What is an Entity and Entity Set?</li>
<li style="text-align: justify;">An Entity is a structure that can be defined by the user or defined as an ABAP Data Dictionary structure. &nbsp;An Entity Set is simply a collection or table of Entities.</li>
<li style="text-align: justify;">Right-click Data Model and select &ldquo;Import&rdquo; -&gt; &ldquo;DDIC Structure&rdquo; to use an ABAP Data Dictionary structure</li>
</ul>
<p style="padding-left: 30px; text-align: justify;"><img class="aligncenter" src="http://www.dataxstream.com/wp-content/uploads/Screen-Shot-2015-07-07-at-3.30.20-PM-300x109.png" alt="Screen Shot 2015-07-07 at 3.30.20 PM" width="553" height="201" /></p>
<ul>
<li style="text-align: justify;">Type &ldquo;SCARR&rdquo; for ABAP Structure and press enter. A list of properties should appear</li>
<li style="text-align: justify;">Make &ldquo;Carrier&rdquo; the object name for the entity</li>
<li style="text-align: justify;">Change the &ldquo;Usage&rdquo; of the property &ldquo;MANDT&rdquo; to &ldquo;Ignore&rdquo; and click the checkmark at the bottom right</li>
</ul>
<p style="text-align: justify;"><a href="http://www.dataxstream.com/wp-content/uploads/3.png"><img class=" wp-image-14056 aligncenter" src="http://www.dataxstream.com/wp-content/uploads/3-300x58.png" alt="3" width="817" height="158" /></a></p>
<ul>
<li style="text-align: justify;">Double click the folder &ldquo;Entity Sets&rdquo;</li>
<li style="text-align: justify;">Click &ldquo;Insert Row&rdquo; and name the Entity Set</li>
</ul>
<p style="text-align: justify;"><a href="http://www.dataxstream.com/wp-content/uploads/Screen-Shot-2015-07-07-at-3.42.25-PM.png"><img class=" wp-image-14042 aligncenter" src="http://www.dataxstream.com/wp-content/uploads/Screen-Shot-2015-07-07-at-3.42.25-PM-300x79.png" alt="Screen Shot 2015-07-07 at 3.42.25 PM" width="570" height="150" /></a></p>
<ul>
<li style="text-align: justify;">The naming convention is to either make the Entity Set name the plural form of the name of the entity or append &ldquo;_Set&rdquo; to the Entity name. For training purposes, name the entity set &ldquo;Carriers&rdquo; or &ldquo;Carrier_Set&rdquo;. &ldquo;Carriers&rdquo; will be used for the remainder of this tutorial</li>
<li style="text-align: justify;">Use the Entity name, &ldquo;Carrier&rdquo;, for &ldquo;Entity Type Name&rdquo;. Make sure to save and the Entity and corresponding Entity Set have successfully created</li>
</ul>
<p style="text-align: justify;"><a href="http://www.dataxstream.com/wp-content/uploads/Screen-Shot-2015-07-07-at-3.47.51-PM.png"><img class=" wp-image-14043 aligncenter" src="http://www.dataxstream.com/wp-content/uploads/Screen-Shot-2015-07-07-at-3.47.51-PM-300x161.png" alt="Screen Shot 2015-07-07 at 3.47.51 PM" width="434" height="233" /></a></p>
<h2 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">SAP NetWeaver Components</span></h2>
<p style="text-align: justify;">SAP NetWeaver includes a comprehensive set of components, applications, and tools.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Application Server</span></h3>
<p style="text-align: justify;">It supports platform-independent web services, business applications, and standards-based development, enabling you to leverage existing technology assets for Web-services-oriented solutions.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Business Warehouse</span></h3>
<p style="text-align: justify;">It enables you to integrate data from across the enterprise and transform it into practical, timely business information to drive sound decision making.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Gateway</span></h3>
<p style="text-align: justify;">It enables developers to create applications that link business users to SAP software from any environment and through any device.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Master Data Management</span></h3>
<p style="text-align: justify;">It ensures cross-system data consistency and helps integrate business processes across the extended value chain.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Process Orchestration</span></h3>
<p style="text-align: justify;">It helps improve processes, from simple workflows to integrated processes that span applications and organizational boundaries. It includes capabilities for business process management, business rules management, and process integration.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Portal</span></h3>
<p style="text-align: justify;">It unifies critical information and applications to give users role-based views that span the enterprise, enabling you to take full advantage of your information resources.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP Auto-ID Infrastructure</span></h3>
<p style="text-align: justify;">It gives you all the capabilities you need to integrate all automated sensing devices including RFID readers and printers, Bluetooth devices, embedded systems, and barcode devices.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Identity Management</span></h3>
<p style="text-align: justify;">It addresses access and provisioning issues facing a typical enterprise. It creates a new opportunity for integrating business processes and helps you to integrate systems in a heterogeneous IT environment.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">SAP NetWeaver Information Lifecycle Management</span></h3>
<p style="text-align: justify;">It allows you to archive data in a readily accessible format according to regulatory retention rules that you define.</p>
<table style="border-collapse: collapse; width: 100%; height: 56px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Checkout our Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP Fiori Tutorial" href="https://tekslate.com/sap-pi-tutorials" target="_blank"><strong>SAP Fiori Tutorial</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">SAP NetWeaver Tools</span></h2>
<p><span style="font-size: 14px;"><strong><em>Adaptive Computing Controller:</em> </strong>It provides a central point of control for assigning computing resources and optimizing their use.</span></p>
<p><span style="font-size: 14px;"><strong><em>SAP NetWeaver Composition Environment:</em>&nbsp;</strong>It provides a robust environment for the design, deployment, and running of composite applications that comply with a service-oriented architecture.</span></p>
<p><span style="font-size: 14px;"><strong><em>SAP NetWeaver Developer Studio:</em> </strong>It offers a convenient user interface and rich functionality for developing J2EE applications.</span></p>
<p><span style="font-size: 14px;"><strong><em>SAP NetWeaver Visual Composer:</em>&nbsp;</strong>It simplifies the creation of portal content and analytics applications, enabling business analysts to build or customize applications using a visual user interface rather than manual coding.</span></p>
<p><span style="font-size: 14px;"><strong><em>SAP Solution Manager:</em>&nbsp;</strong>It facilitates technical support for distributed systems with a functionality that covers all key aspects of solution deployment, operation, and continuous improvement.</span></p>71:T6383,<h2><span style="font-size: 24px; color: #236fa1;">SAP NetWeaver Interview Questions</span></h2>
<div>
<div>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q1. What is SAP NetWeaver?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>SAP NetWeaver is SAP's integrated technology computing platform and is the technical foundation for many SAP applications since the SAP Business Suite. SAP NetWeaver is marketed as a service-oriented application and integration platform. SAP NetWeaver provides the development and runtime environment for SAP applications and can be used for custom development and integration with other applications and systems.</p>
</div>
</div>
<h3><span style="font-size: 18px; color: #e67e23;">Q2. What is the transactional processing in AS ABAP? Explain?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>Transactions are processing units grouped to provide specific units. They have four principal characteristics. The initial letters of these characteristics together form the acronym ACID.</p>
<ul>
<li style="text-align: justify;">Atomic</li>
<li style="text-align: justify;">Consistent</li>
<li style="text-align: justify;">Isolated</li>
<li style="text-align: justify;">Durable</li>
</ul>
<p><strong>Atomic</strong> means that a transaction is either fully successful or does not have any effects at all. If a transaction-oriented system goes down, you need to ensure that inconsistent, partial results are not stored.</p>
<p><strong>Consistent</strong> means that the system status changes from one that is accurate and consistent in business terms to another that is also accurate and consistent in business terms.</p>
<p><strong>Isolated</strong> means that the changes made within a transaction can only be seen by other transactions, even those that run simultaneously, after the final confirmation.</p>
<p>The results of a transaction are <strong>durable</strong> because, after the final confirmation, they are stored permanently in the database.</p>
<div style="text-align: justify;">
<h3><span style="font-size: 18px; color: #e67e23;">Q3. How to trigger the idoc?&nbsp;</span></h3>
</div>
<div style="text-align: justify;">
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>We can trigger the idoc by using T Code - WE19</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q4. What is SAP?</span></h3>
</div>
<div>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>SAP stands for System Analysis and Program Development.</p>
<p><strong>SAP's Business Suite has four applications as below:</strong></p>
<ol>
<li>Customer relationship management (CRM) - helps companies acquire and retain customers, gain marketing and customer insight.</li>
<li>Product lifecycle management (PLM) - helps manufacturers with product-related information.</li>
<li>Supply chain management (SCM) - helps companies with the process of resourcing its manufacturing and service processes.</li>
<li>Supplier relationship management (SRM) - enables companies to procure from suppliers.</li>
<li>Enterprise resource planning (ERP).</li>
</ol>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP BASIS? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP BASIS Training" href="https://tekslate.com/sap-basis-training" target="_blank"><strong>SAP BASIS Training</strong></a></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
</div>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q5. What is lock management in the SAP system?</span><br /></strong></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Lock management is used in SAP system to ensure data consistency and to check that data records cannot be changed by any particular user at any particular time. A database transaction is a combination of the physical and logical unit. The database lock administration can only coordinate this type of database transaction. From an SAP point of view, this is not sufficient, because SAP transactions, which are formed from a sequence of logically related work steps that are consistent in business terms, are generally made up of several dialog steps. SAP systems need to have their own lock management. Enqueue's work process is used for this purpose. This also ensures that the platform independence of lock management is maintained.</span></p>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q6. What do you mean by PBO (process before output) and PAI (process after input)?</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>For an SAP transaction, the graphical representation of the screen and related processing logic is called a Dynpro (dynamic program). Each Dynpro consists of a PBO/PAI module to prepare and process the data displayed or entered on the screen.</p>
<ul>
<li>-PBO (Process Before Output): A processing event which is called before the screen is displayed. Its tasks include the initialization of the screen fields and supply default data values for the screen.</li>
<li>-PAI (Process After Input): A processing event taking place after you leave a screen. Its tasks are to process the input data or initiate the update of the database.</li>
</ul>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q7. Where do we find the idoc in xi?</span></h3>
</div>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>Integration repository --&gt; Imported objects ---&gt; Idoc.</p>
<h3><span style="font-size: 18px; color: #e67e23;">Q8. How many processes exist in the Java application server? Explain.</span></h3>
<div><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>The following processes exist in Java AS :</div>
<ul>
<li>The <strong>dispatcher</strong> distributes incoming requests to the server processes.</li>
<li>The <strong>server process</strong> executes the Java applications. Every server process is multithreaded and can thus process a large number of requests in parallel.</li>
<li>The <strong>Java message service</strong> manages a list of Java dispatchers and server processes. It is responsible for the communication within the Java runtime environment.</li>
<li>The <strong>Java enqueue service</strong> manages logical locks that are set by the executed Java application program in a server process.</li>
<li>The <strong>Software Deployment Manager(SDM)</strong> is the standard tool used to install Java software components on the SAP Web AS Java.</li>
</ul>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q9. How many types of processes are there in the SAP Netweaver application server? Explain</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>The types of processes in SAP AS are:</p>
<ul>
<li>The <strong>dispatcher</strong> distributes the request to the work processes.</li>
<li><strong>Dialog work processes</strong> fulfill all requests for the execution of dialog steps triggered by an active user. Every dispatcher requires at least two dialog work processes.</li>
<li><strong>Spool work processes</strong> pass sequential data flow on to printers. At least one spool work process is required for each SAP system. It is possible to configure more than one spool work process for each dispatcher.</li>
<li><strong>Update work processes</strong> to execute update requests. Similarly to spool work processes, you need at least one update work process per SAP system.</li>
<li><strong>Background work processes</strong> execute programs that run without interacting with the user. You need at least two background work processes for each SAP system.</li>
<li>The <strong>enqueue work process</strong> administers the lock table in the shared memory. The lock table contains the logical database locks of the ABAP runtime environment of the SAP system. Only one enqueue work process is needed for each system.</li>
</ul>
<h3><strong><span style="color: #e67e23; font-size: 18px;">Q10. What is an instance? How many types of instances are there? Explain them.</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>An instance is an administrative unit that combines SAP system components proving one or more services. The services provided by an instance are started or stopped together. You use a common instance profile to set parameters of all the components of an instance. Each instance has its own buffer area. An instance runs on one physical computer, but there can be multiple instances on one computer. An instance is identified by the system ID(SID) and the instance number. There are two types of instances :</p>
<p>The central instance of the SAP system is distinguished by the fact that it offers services that no other instance of the system offers. For the AS ABAP, these are the message server and the enqueue work process. For the AS Java, you can recognize the central instance by the software deployment manager (SDM).</p>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q11. Explain the processes used for operating business applications.</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>The following processes are used for operating business application software:</p>
<ul>
<li>Presentation processes (for example, for displaying screens)</li>
<li>Application processes (for example, for executing application programs)</li>
<li>Database processes(for example, for managing and organizing database data)</li>
</ul>
<p>When you are installing and configuring an SAP system, you need to decide how you are going to distribute the required processes among the available hardware. There are various ways of doing this :</p>
<ul>
<li><strong>Single-tier configurations</strong>, all processing tasks(database, application, and presentation processes) are performed by one computer. This is classic mainframe processing.</li>
<li><strong>Two-tier configurations</strong> are usually implemented using special presentation servers that are responsible solely for formatting the graphical interface.</li>
<li><strong>Three-tier configuration</strong>, each layer runs on its own host. Many different application servers can simultaneously work with the data of a database server.</li>
</ul>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q12. Define client and server in terms of both hardware-oriented</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>In a hardware-oriented view, the term server means the central server in a network that provides data, memory, and resources for the workstations(clients).</p>
<p>In the software-oriented view, the client and server are both defined as the process level(service). Service in this context is a service provided by a software component. This software component can consist of a process or a group of processes and is then called a server for that service. Software components that use a service are called clients. At the same time, clients can also be servers for other specific services.</p>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q13. What are the commands /nen and /nex in Netweaver used for?</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong><strong>/nex</strong> in the t-code entry field of the SAP toolbar. This terminates all separate sessions and logs off immediately (without warning!).</p>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q14. How many help options are there in SAP Netweaver? Explain.</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>SAP system provides you with various help options :</p>
<p><strong>F1 Help</strong>: It is used to display an explanation of fields, menus, functions, and messages. The F1 help also displays technical information on the relevant field.</p>
<p><strong>F4 Help</strong>: It is used to display possible input values. You can also call up the F4 help for a field using the button immediately to the right of the selected field.</p>
<p><strong>SAP Library (Online Documentation)</strong>: The SAP library is a useful aid to getting to know system functions. It allows you to access the online documentation. The information stored here does not simply describe how to use system functions, it also explains system architecture concepts, gives examples of how you can configure various processes and warns you about possible user errors and their consequences.</p>
<h3><strong><span style="font-size: 18px; color: #e67e23;">Q15. How many types of locks can an application developer choose? Explain.</span><br /></strong></h3>
<p><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>The application developer can choose between different lock modes :</p>
<p><strong>Write locks (lock mode Exclusive)</strong>: the lock data can be edited only by one user. The requests for another write lock and another read lock are rejected. A write lock protects the locked objects against all types of other transactions. Only the same lock owner can set the lock again.</p>
<p><strong>Read locks(lock mode Shared)</strong>: several users can have access to the locked data at the same time. The requests for additional read locks are accepted, even if they are from other users. A write lock is rejected.</p>
<p><strong>Enhanced write locks(lock mode exclusive noncumulative)</strong>: while write locks can be successively requested and released by the same transaction, and enhanced write lock can only be requested once, even by the same transaction. All other requests for locks are rejected.</p>
<p><strong>Optimistic locks(lock mode Optimistic)</strong>: optimistic locks respond like reading lock at first and can be changed to write locks. An optimistic lock is set if the user displays the data in changed mode.</p>
<table style="border-collapse: collapse; width: 100%; height: 56px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Checkout Our Blog on </em><span style="color: #236fa1;"><em><strong><a style="color: #236fa1;" title="SAP ABAP Tutorial " href="https://tekslate.com/sap-abap-tutorials" target="_blank">SAP<span style="font-family: Roboto, Arial; font-size: 11pt;"> ABAP Tutorial</span></a></strong></em></span></td>
</tr>
</tbody>
</table>
<h3><span style="font-size: 18px; color: #e67e23;">Q16. What is an update in terms of the SAP system? Explain.</span></h3>
</div>
<p style="text-align: justify;"><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>In the SAP system, a business process is mapped using an SAP transaction that can contain several screen changes. Data changes effected by this process are supposed to be executed completely or not at all in the database. The update system offers increased security, performance, and restorability in the execution of database changes. The updating system is a technology that allows SAP transactions to off-load time-intensive database changes.</p>
<p>To increase performance further, application developers can configure different types of updates :</p>
<ul>
<li style="text-align: justify;">Time-critical, primary V1 updates. They are relevant to objects that have a controlling function in the system, such as a change to the material stock or an order creation.</li>
<li style="text-align: justify;">Non-time critical, secondary V2 updates that depend on the V1 updates. These are purely statistical updates such as the calculation of results.</li>
<li style="text-align: justify;">Non-time critical updates are allowed and processed at a later point of time (collective run).</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q17. With the SAP user interface, how many screen elements can be used?&nbsp;</span></h3>
<div class="paratitle1" style="text-align: justify;"><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>An SAP user interface contains the following screen elements :</div>
<ul>
<li class="paratitle1" style="text-align: justify;">Command field</li>
<li class="paratitle1" style="text-align: justify;">Menu bar, system function bar, title bar, application toolbar, status bar</li>
<li class="paratitle1" style="text-align: justify;">Checkboxes</li>
<li class="paratitle1" style="text-align: justify;">Radio buttons</li>
</ul>
<div class="paratitle1" style="text-align: justify;">Tab You can start applications directly by entering their transaction code in the <strong>command field</strong>. The <strong>menu bar</strong> is the top line of any dialog window in the SAP system. The pushbuttons in the <strong>standard toolbar</strong> are shown on every SAP screen. If they are not available in an application, pushbuttons that you cannot use on that screen are deactivated. If you place the cursor over a pushbutton for a short time, the system displays a flag with the name or function of the pushbutton. The <strong>title bar</strong> is the function that you are currently in. The <strong>application toolbar</strong> shows the pushbuttons available in the application that you are currently in. The <strong>status bar</strong> displays information on the current system status, such as warnings and errors. Within a field group, <strong>checkboxes</strong> allow selecting several options at the same time. With <strong>radio buttons,</strong> you can only select one option. A <strong>tab</strong> organizes several sub-screens to improve clarity.</div>
<h3 class="paratitle1" style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q18. In how many ways SAP Netweaver AS can be installed? Explain.</span></h3>
<div class="paratitle1">
<p style="text-align: justify;"><strong><span style="color: #000000;">Ans:</span>&nbsp;</strong>There are 3 different installation options for SAP Netweaver AS. These are :</p>
<ul>
<li style="text-align: justify;"><em><strong>SAP Netweaver AS ABAP:</strong></em> Complete infrastructure in which ABAP-based applications can be developed and used.</li>
<li style="text-align: justify;"><em><strong>SAP Netweaver AS Java:</strong></em> Complete infrastructure in which J2EE-conform applications can be developed and used.</li>
<li style="text-align: justify;"><em><strong>SAP Netweaver AS ABAP + Java:</strong></em> Complete infrastructure in which ABAP-based and J2EE-based applications can be developed and used. This installation emphasizes the seamless Java ABAP integration.</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q19. What does the SAP Netweaver Application server offer?</span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Ans:</strong></span></p>
<ul>
<li style="text-align: justify;">SAP Netweaver AS is the logical result of the further development of the SAP Application server Technology. <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP Netweaver" href="https://tekslate.com/sap-netweaver-tutorials" target="_blank">SAP Netweaver</a></span> AS offers :</li>
<li style="text-align: justify;">A reliable and extensively tested runtime environment, which has been developed further continuously over more than ten years.</li>
<li style="text-align: justify;">A framework for executing complex business processes that meet the highest security standards.</li>
<li style="text-align: justify;">A reliable and user-friendly development environment.</li>
<li style="text-align: justify;">Support for open standards, including HTTP, HTTPS, SMTP, WebDAV, SOAP, SSL, Unicode, HTML,XML and WML.</li>
<li style="text-align: justify;">High scalability.</li>
<li style="text-align: justify;">Support for different operating systems and database platforms.</li>
</ul>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q20. What is the use of metadata? Can we create that?</span></h3>
</div>
<div>
<p><strong style="text-align: justify;"><span style="color: #000000;">Ans:</span>&nbsp;</strong>Metadata or message Metadata provides the structure definition of the XI message. &nbsp;can be created in IR . which is called Message Type.</p>
<p>The inbound proxy is the server proxy and the outbound proxy is the client proxy. &nbsp;In client-server architecture let me explain, that someone is sending a request for data then that someone will be server and that is through a proxy, and the client will fulfill this requirement and send the response back through a proxy that is an outbound proxy.</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q21. What is message monitoring, component monitoring, and performance monitoring?</span></h3>
<div><span style="color: #000000;"><strong style="text-align: justify;">Ans:</strong></span><strong style="text-align: justify;">&nbsp;</strong>Message monitoring is to monitor the status of the message that if it is successful or in waiting for the state, or to be delivered or if it is in error at what point it is in error and to review all the steps of the message in Adapter engine or integration engine with the payload.</div>
</div>
<div>
<p>Component monitoring means majorly monitoring the status of communication channels that they are flowing data properly or not, the status of the adapter engine, etc.</p>
<p>Performance Monitoring is to monitor the instance of servers for each and every interface.</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q22. What is an inbound proxy and outbound proxy?</span></h3>
</div>
<div>
<p><strong style="text-align: justify;"><span style="color: #000000;">Ans:</span>&nbsp;</strong><span style="text-align: justify;">The inbound</span>&nbsp;proxy is the server proxy and the outbound proxy is the client proxy. &nbsp;In client-server architecture let me explain, that someone is sending a request for data then that someone will be server and that is through a proxy, and the client will fulfill this requirement and send the response back through a proxy that is an outbound proxy.</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q23. How to trigger the idoc?</span></h3>
</div>
<div>
<p><strong style="text-align: justify;"><span style="color: #000000;">Ans:</span>&nbsp;</strong>We can trigger the idoc by using T Code - WE19</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q24. What are message monitoring, component monitoring, and performance monitoring?</span></h3>
<div><strong style="text-align: justify;"><span style="color: #000000;">Ans:</span>&nbsp;</strong>Message monitoring is to monitor the status of the message that if it is successful or in waiting for the state, or to be delivered or if it is in error at what point it is in error and to review all the steps of the message in the Adapter engine or integration engine with the payload.</div>
</div>
<div>
<p>Component monitoring means majorly monitoring the status of communication channels whether they are flowing data properly or not, the status of the adapter engine, etc.</p>
<p>Performance Monitoring is to monitor the instance of servers for each and every interface.</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q25. What is the difference b/w Graphical mapping and XSLT mapping?</span></h3>
</div>
<div>
<p><strong style="text-align: justify;"><span style="color: #000000;">Ans:</span>&nbsp;</strong>XSLT MAPPING Converts from XML to text, HTML, and DHTML. The main difference is the XSLT Mapping itself generates the target structure. There is no other tool or mapping to convert in XML to text and HTML.</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q26. Who will prepare the functional spec?</span></h3>
</div>
<div>
<p><strong style="text-align: justify;"><span style="color: #000000;">Ans:</span>&nbsp;</strong>Functional Spec derives from Software requirements. Software requirement derives from Marketing requirements. MRS will be prepared by Business Analysts with help of End Users. So, Functional Spec is a small piece of the requirement to fill the business requirements. Finally, the Functionality will be validated/Verified against MRS tested by the End-User during user acceptance testing.</p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q27. What is the difference b/w Graphical mapping and XSLT mapping?</span></h3>
</div>
<div>
<p><strong style="text-align: justify;"><span style="color: #000000;">Ans:</span>&nbsp;</strong>XSLT MAPPING Converts from <span style="color: #236fa1;"><a style="color: #236fa1;" title="Introduction to XML in Oracle SOA" href="https://tekslate.com/xml" target="_blank">XML</a></span> to text, HTML, and DHTML.and the main difference is that XSLT Mapping itself generates the target structure.there is no other tool or mapping in convert in XML to text and Html.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>72:T2a79,<p>&nbsp;</p>
<p style="text-align: justify;">Welcome to SAP IM Tutorials. The objective of these tutorials is to provide an in-depth understanding of SAP IM. In addition to free SAP IM Tutorials, we will cover common interview questions, issues, and how to&rsquo;s of SAP IM.</p>
<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #e67e23;">Introduction</span></h2>
<p style="text-align: justify;">Inventory management software is a computer-based system for tracking inventory levels, orders, sales, and deliveries. It can also be used in the manufacturing industry to create a work order, bill of materials, and other production-related documents.</p>
<h3 id="N26292" class="sansserif" style="text-align: justify;"><span style="font-size: 14pt; color: #e67e23;"><span class="SAPXDPTitle">Investment Management Overview</span></span></h3>
<p class="SAPXDPParagraph" style="text-align: justify;">The <q class="SAPXDPScreenElement" title="Object name">Investment Management</q> (IM) component provides functions to <q class="SAPXDPScreenElement" title="Object name">support the planning,</q> investment, and financing processes for:</p>
<p class="SAPXDPParagraph" style="text-align: justify;">Capital investments, such as the acquisition of fixed assets as the result of of-house production or purchase</p>
<p class="SAPXDPParagraph" style="text-align: justify;">Investments in research and development</p>
<p class="SAPXDPParagraph" style="text-align: justify;">Projects that fall primarily under overhead, such as continuing education of employees or establishing new markets.</p>
<p class="SAPXDPParagraph" style="text-align: center;"><em>Check Out <span style="color: #e03e2d;"><strong><a style="color: #e03e2d;" href="security-sap-hana" target="_blank" rel="noopener">Security in SAP HANA</a></strong></span></em></p>
<h3 class="SAPXDPParagraph" style="text-align: justify;"><span style="font-size: 14pt; color: #e67e23;">Maintenance programs</span></h3>
<p class="SAPXDPParagraph" style="text-align: justify;">The term investment, therefore, is not limited only to investments you capitalize for bookkeeping or tax purposes. An investment in this context can be any measure that initially causes costs, and that may only generate revenue or provide other benefits after a certain time period has elapsed (for example, plant maintenance projects).</p>
<p class="SAPXDPParagraph" style="text-align: justify;">The IM component contains functions for managing investments in the area of fixed assets. Financial assets are managed in the <q class="SAPXDPScreenElement" title="Object name">Treasury</q> component.</p>
<p class="SAPXDPParagraph" style="text-align: justify;"><img class="size-full wp-image-22677 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/07/Capture-87.png" alt="Capture 87" width="536" height="426" /></p>
<p class="SAPXDPParagraph" style="text-align: justify;">The integrated planning process allows you to roll up planned values from appropriation requests and measures on the investment program to which they are assigned. You carry out budgeting measures, on the other hand, from the top down within the investment program.</p>
<div class="SAPXDPKeyblockGeneral" style="text-align: justify;">
<h3 tabindex="0"><span style="color: #e67e23; font-size: 14pt;"><span class="SAPXDPTitle">Implementation considerations</span></span></h3>
<p class="SAPXDPParagraph">For information on implementing the IM component, refer to the Implementation Guide (IMG) for Investment Management. Choose <q class="SAPXDPScreenElement" title="Object name">SAP Customizing Implementation Guide</q> &rarr; <q class="SAPXDPScreenElement" title="Object name">Investment Management</q>.</p>
</div>
<div class="SAPXDPKeyblockGeneral" style="text-align: justify;">
<h3 tabindex="0"><span style="color: #e67e23; font-size: 14pt;"><span class="SAPXDPTitle">Integration</span></span></h3>
<p class="SAPXDPParagraph">The investment program and the appropriation request are objects that originate in the IM component. In order to represent the measure, the IM component uses internal orders from <a class="zem_slink" title="Overhead (business)" href="http://en.wikipedia.org/wiki/Overhead_%28business%29" target="_blank" rel="noopener wikipedia">Overhead Cost</a> Controlling - Overhead Orders (CO-OM-OPA) and Plant Maintenance (PM), as well as work breakdown structure (WBS) elements from the Project System (PS).</p>
<p class="SAPXDPParagraph">The integration with Asset Accounting (FI-AA) enables you to easily capitalize on the costs of internal orders and WBS elements that require capitalization to a fixed asset. Costs that do not require capitalization can be settled to cost accounting.</p>
<p class="SAPXDPParagraph">You can post acquisitions to a measure in the Logistics components of the SAP System.</p>
</div>
<h3 style="text-align: justify;"><span style="font-size: 14pt; color: #e67e23;">Features Integration in Materials Management</span></h3>
<p style="text-align: justify;">As a component of Materials Management, Inventory Management is directly linked with <a class="zem_slink" title="Material requirements planning" href="http://en.wikipedia.org/wiki/Material_requirements_planning" target="_blank" rel="noopener wikipedia">Material Requirements Planning</a>, Purchasing, and <a class="zem_slink" title="Invoice" href="http://en.wikipedia.org/wiki/Invoice" target="_blank" rel="noopener wikipedia">Invoice</a> Verification.</p>
<p style="text-align: justify;">Inventory Management provides information for MRP, which takes into account not only physical stocks but also planned movements (requirements, receipts).</p>
<p style="text-align: justify;">When a material is ordered from a vendor, Inventory Management posts the delivery as a goods receipt with reference to the <a class="zem_slink" title="Purchase order" href="http://en.wikipedia.org/wiki/Purchase_order" target="_blank" rel="noopener wikipedia">purchase order</a>. The vendor invoice is processed later by Invoice&nbsp;Verification. Here, the quantities and values from the purchase order and the goods receipt document are checked to ensure that they match those in the invoice.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;">Integration in Production Planning </span></h3>
<p style="text-align: justify;">Inventory Management is closely linked to the Production Planning module:</p>
<ul>
<li style="text-align: justify;">Inventory Management is responsible for the staging of the components required for production orders.</li>
<li style="text-align: justify;">The receipt of the finished products in the warehouse is posted in Inventory Management.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;">Integration in Sales &amp; Distribution </span></h3>
<p style="text-align: justify;">As soon as you enter a sales order, you can initiate a dynamic availability check of stocks on hand.</p>
<p style="text-align: justify;">When the delivery is created, the quantity to be delivered is marked as "Scheduled for delivery". It is deducted from the total stock when the goods issue is posted.</p>
<p style="text-align: justify;">It is also possible to create sales order stocks.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;">Integration in Quality Management </span></h3>
<p style="text-align: justify;">In the case of a goods movement, the system determines whether the material is subject to inspection operation. If so, a corresponding activity is initiated for the movement in the Quality Management system</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;">Integration in Plant Maintenance</span></h3>
<p style="text-align: justify;">Inventory Management is linked with Plant Maintenance as follows:</p>
<ul>
<li style="text-align: justify;">It is possible to post goods movements with reference to equipment BOMs.</li>
<li style="text-align: justify;">It is possible to withdraw parts for maintenance orders.</li>
<li style="text-align: justify;">When serial number management is active, the individual serial numbers are entered in the case of every goods movement. Serial numbers are managed in the Plant Maintenance system.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;">Integration in the Logistics Information System </span></h3>
<p style="text-align: justify;">With the Inventory Controlling component, the Logistics Information System offers a tool for collecting, compressing and evaluating inventory management data.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 14pt;">Inventory Management and the Warehouse Management System </span></h3>
<p style="text-align: justify;">The Inventory Management system can be extended by the Warehouse Management system (LE-WM) which manages storage bins in complex warehouse structures.</p>
<p style="text-align: justify;">While Inventory Management manages the stocks by quantity and value, the Warehouse Management component reflects the special structure of a warehouse and monitors the allocation of the storage bins and any transfer transactions in the warehouse.</p>
<h3 style="text-align: justify;"><span style="font-size: 14pt; color: #e67e23;">Reporting in Inventory Management</span></h3>
<p style="text-align: justify;"><span style="font-size: 14pt;"><strong>Use: </strong></span>To simplify your day-to-day work with the Inventory Management component, there is a range of functions and reports that provide extensive information on all materials with their stock data. This section provides an overview of the reporting function in Inventory Management. For more information, refer to the documentation on each function or the relevant report documentation.</p>
<p style="text-align: justify;"><strong>List displays:</strong> This provides reports for documents posted in Inventory Management. Example: material documents for a material.</p>
<p style="text-align: justify;"><strong>Stock:</strong> This provides information on a material&rsquo;s stocks. Example: current stock/requirements list. The stock overview provides an overview of all stocks of material overall organizational levels.</p>
<p style="text-align: justify;"><strong>Information:</strong> This allows you to display data (master data, transaction/movement data) from other applications. Example: displaying a purchase order.</p>
<p style="text-align: justify;"><strong>Balances display:</strong> This provides reports on the GR/IR clearing account.</p>
<p style="text-align: justify;"><strong>Consignment</strong>: You can use this to display all information on consignment stocks. Example: displaying vendor consignment stock.</p>
<p style="text-align: justify;">&nbsp;</p>73:T5688,<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #e67e23;">SAP Lumira</span></h2>
<p style="text-align: justify;"><span style="font-size: 12pt;">Welcome to SAP Lumira Tutorials. The objective of these tutorials is to gain an in-depth understanding of SAP HANA.SAP Lumira is known as a visual intelligence tool that is used to visualize data and create stories to provide graphical details of the data. Data is entered in Lumira as a dataset and you can apply filters, hierarchies, and columns to prepare documents. You can choose various charts like Bar charts, Pie charts, etc. to visualize the data effectively. In addition to SAP Lumira Tutorials, we will cover common interview questions and issues of SAP HANA.</span></p>
<h2 style="text-align: left;"><span style="color: #e67e23; font-size: 14pt;">SAP Lumira Introduction</span></h2>
<p style="text-align: justify;"><span style="font-size: 12pt;">SAP Lumira (formerly called SAP Visual Intelligence) is a self-service, data visualization&nbsp;application for business users.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">SAP Lumira grew out of SAP Business Explorer, the company's previous, but more basic, self-service data visualization tool. According to SAP, the two are meant to go hand-in-hand. For example, analysts using SAP Lumira can alter data structures and correlations in whatever way they want, without the help of their IT department, then push the data back into the system so it can then be consumed by more casual users in tools like Business Explorer.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">SAP Lumira can either be used in conjunction with the <a href="sap-hana-tutorials-interview-questions" target="_blank" rel="noopener">SAP HANA</a> in-memory platform or without. &nbsp;SAP announced the general availability of SAP Lumira during the 2012 SAP Sapphire Now conference in Orlando, Florida, although it was known as SAP Visual Intelligence at the time. SAP announced that it had formally renamed the application SAP Lumira, at the following Sapphire conference in 2013.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">SAP Lumira, standard edition allows you to connect to and visualize nearly any type of business data, whether it resides in various enterprise databases, the cloud, or spreadsheets. You can combine, enrich, and visualize data for immediate insights. Start making sense of all your data &ndash; go beyond static spreadsheets and basic presentations &ndash; without the complexity of traditional reporting.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong><span style="color: #e67e23;">With SAP Lumira, standard edition you can</span></strong></span></p>
<ul>
<li style="text-align: justify;"><span style="font-size: 12pt;">Acquire and enrich spreadsheet and enterprise data, connecting to SAP BusinessObjects Universe, SAP HANA, freehand SQL, Hortonworks Sandbox, MapR Sandbox, and many other sources.</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Maximize data knowledge and get the most up-to-date information without any coding or support from IT</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Expand your business intelligence by merging multiple datasets into meaningful visualizations</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Discover hidden insights by exploring any amount and any type of data in real-time, without sacrificing performance or security</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Unify your view of the business by bringing together data from enterprise sources across all lines of business as well as personal sources on your desktop</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Share data visualizations and collaborate with colleagues and business partners using SAP Lumira, the Edge edition</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Explore data and get answers on the go by publishing visualizations to SAP Lumira, the Edge edition</span></li>
</ul>
<p style="text-align: justify;"><span style="font-size: 12pt;">SAP Lumira is data manipulation and visualization tool. You can connect to various data sources, select and clean data, manipulate and visualize data with a diverse offer of graphical charts and tables. SAP Lumira is installed locally and can operate on data either remotely or on locally stored datasets. The charts that are created can be saved and sent out by email. Your datasets can be published to SAP Hana, SAP Explorer, the SAP Lumira Cloud, and SAP Streamwork activities. The charts that you create in SAP Lumira are saved in documents with the file format.SViD. This is a document that contains the data source connection information, the data definition and data, and the visualizations.</span></p>
<h3 style="text-align: left;"><span style="color: #e67e23; font-size: 12pt;">SAP Lumira Overview</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">Basically, SAP Lumira enables business users to access, transform, and visualize data of any size in a repeatable and self-service manner. The tool emphasizes a simple user-friendly interface and creates very captivating visualizations that allow users to swiftly analyze data without the need for scripting.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">SAP Lumira&rsquo;s drag-and-drop interface is easy to become familiar with, and with a few clicks data from multiple sources can be gathered, combined, and visualized. After the tool is installed and system access is set up, training is really not needed, but some basics by someone who knows the tool can be helpful.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>SAP Lumira&rsquo;s capabilities include:</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="font-size: 12pt;">Maximizing business knowledge by integrating wide-scale insights and drill-down to granular details</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Accelerating decision-making with immediate fact-based solutions to intricate business questions by avoiding list tables and fixed format reports. Interaction is key.</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Increasing self-service data usage without increasing the workload of the IT department</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">Visualizing any amount of data in real-time using SAP HANA and simple deployment to mobile devices.</span></li>
</ul>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Create a document and acquire a dataset from a Microsoft Excel file</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19219" title="SAP Lumira Tutorials-Microsoft Excel file" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.495.png" alt="SAP Lumira Tutorials" width="716" height="257" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><strong>Click on New Document</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19221" title="sap lumira tutorials-new document" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.496.png" alt="sap lumira tutorials" width="699" height="475" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19222" title="sap lumira tutorials-microsoft excel" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.497.png" alt="sap lumira tutorials" width="652" height="312" /></span></p>
<pre style="text-align: center;"><span style="font-size: 12pt;"><em><strong>&nbsp;</strong></em></span></pre>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19224" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.498.png" alt="sap lumira tutorials" width="726" height="362" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19225" title="sap lumira tutorials-dataset" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.499.png" alt="sap lumira tutorials" width="676" height="354" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19226" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.500.png" alt="sap lumira tutorials" width="665" height="385" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19228" title="sap lumira tutorials-acquiring data" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.5011.png" alt="sap lumira tutorials" width="648" height="565" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19229" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.502.png" alt="sap lumira tutorials" width="519" height="416" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19230 " title="sap lumira tutorials-new dataset" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.503.png" alt="sap lumira tutorials" width="633" height="612" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19231" title="sap lumira tutorials-new dataset" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.504.png" alt="sap lumira tutorials" width="662" height="554" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19232" title="sap lumira tutorials-foodmart" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.505.png" alt="sap lumira tutorials" width="681" height="555" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Acquire a dataset from a universe.<strong>&nbsp;</strong>Create a New Document</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19233" title="sap lumira tutorials-new dataset" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.506.png" alt="sap lumira tutorials-new dataset" width="661" height="649" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Select Universe</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19234" title="sap lumira tutorials-new dataset" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.507.png" alt="sap lumira tutorials" width="561" height="428" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Design Query.</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19235" title="sap lumira tutorials-Design Query." src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.508.png" alt="sap lumira tutorials" width="633" height="380" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Acquire a dataset from a database using Freehand SQL</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Create a new document</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19236" title="sap lumira tutorials-query with SQL" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.510.png" alt="sap lumira tutorials" width="501" height="503" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19237" title="sap lumira tutorials-ms sql server" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.511.png" alt="sap lumira tutorials" width="626" height="382" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Provide details</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19238" title="sap lumira tutorials-new dataset" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.512.png" alt="sap lumira tutorials" width="634" height="304" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Select Source table &amp; Write Query</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19239" title="sap lumira tutorials-new dataset" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.513.png" alt="sap lumira tutorials" width="625" height="405" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19240" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.514.png" alt="sap lumira tutorials" width="621" height="343" /></span></p>
<h3 style="text-align: justify;"><span style="font-size: 12pt; color: #e67e23;">Building Visualizations and Storyboards</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">1Manage measures in a dataset-Execute Query</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19241" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.515.png" alt="sap lumira tutorials" width="684" height="373" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Delete column</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19242" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.516.png" alt="sap lumira tutorials" width="600" height="376" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19243" title="sap lumira tutorials-remove color code " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.517.png" alt="sap lumira tutorials" width="550" height="341" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Create a measure</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19244" title="sap lumira tutorials-sap lumira yoga west.svid" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.518.png" alt="sap lumira tutorials" width="520" height="520" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19245" title="sap lumira tutorials-sap lumira yoga west.svid" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.519.png" alt="sap lumira tutorials" width="778" height="340" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19246" title="sap lumira tutorials-sap lumira yoga west.svid" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.520.png" alt="sap lumira tutorials" width="754" height="625" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Sort, rank, calculate, and filter values in a visualization-Execute any Query</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19247" title="sap lumira tutorials-revenue-by-product-type" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.521.png" alt="sap lumira tutorials" width="592" height="426" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Select any measure &amp; set order</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19248" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.522.png" alt="sap lumira tutorials" width="442" height="300" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19249" title="sap lumira tutorials-revenue on product type by product type" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.523.png" alt="sap lumira tutorials" width="580" height="555" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Can calculate</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19250" title="sap lumira tutorials" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.524.png" alt="sap lumira tutorials" width="620" height="446" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19251" title="sap lumira tutorials-revenue and running_avg by product type" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.525.png" alt="sap lumira tutorials" width="664" height="318" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt; color: #e67e23;"><strong>Sharing Results</strong></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Export a dataset as a HANA-Execute Query</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19252" title="sap lumira tutorials-publish dataset to sap hana" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.526.png" alt="sap lumira tutorials" width="544" height="340" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Create a View</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19253" title="sap lumira tutorials-publish dataset to sap hana" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.527.png" alt="sap lumira tutorials" width="593" height="373" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19254" title="sap lumira tutorials-publish dataset to sap hana" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.528.png" alt="sap lumira tutorials" width="725" height="299" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Publish a dataset to SAP BusinessObjects Explorer-Create a Query &amp; publish to Explorer</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19255" title="sap lumira tutorials-sapbo server" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.529.png" alt="sap lumira tutorials" width="585" height="572" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Select Folder &amp; Click on Publish</span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;"><img class="aligncenter wp-image-19256" title="sap lumira tutorials-publish dataset to explorer" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.530.png" alt="sap lumira tutorials" width="604" height="410" /></span></p>
<p style="text-align: justify;"><span style="font-size: 12pt;">Log on to launchpad &amp; check your report in a folder<img class="aligncenter wp-image-19257 size-full" title="sap lumira tutorials- BI launch pad" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.531.png" alt="sap lumira tutorials" width="624" height="333" /></span></p>
<h3 style="text-align: left;"><span style="color: #e67e23; font-size: 12pt;">Features of Lumira</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">The key <a href="https://tekslate.com/sap-lumira-interview-questions/" target="_blank" rel="noopener">features of Lumira</a> are as follows &minus;</span></p>
<ul>
<li style="text-align: justify;"><span style="line-height: 1.5; font-size: 12pt;">It allows you to predict future outcomes and forecast as per the changing market situations.</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">You can create data visualizations and stories from multiple data sources.</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">It helps you to adapt data to organizational needs to create stories with visualizations.</span></li>
<li style="text-align: justify;"><span style="font-size: 12pt;">You can share the visualizations on different platforms like SAP HANA, BO Explorer, Business Objects BI Platform, etc.</span></li>
</ul>
<h3 style="text-align: left;"><span style="color: #e67e23; font-size: 12pt;">Conclusion</span></h3>
<p style="text-align: justify;"><span style="font-size: 12pt;">Overall, the SAP Lumira Cloud is the best tool available in the present market that lets us analyze data and collaborate with colleagues on datasets, stories, and other business intelligence artifacts from web browsers or mobile devices</span></p>74:T41f8,<h2><span style="color: #e67e23;"><strong><span style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 24px; background-color: #ffffff;">Data Analytics in SAP</span></strong></span></h2>
<p>SAP Predictive Analysis is a statistical analysis and data mining solution that enables you to build predictive models to discover hidden insights and relationships in your data, from which you can make predictions about future events. With SAP Predictive Analysis, you can perform various analyses on the data, including time series forecasting, outlier detection, trend analysis, classification analysis, segmentation analysis, and <span style="color: #236fa1;"><a class="zem_slink" style="color: #236fa1;" title="Affinity analysis" href="http://en.wikipedia.org/wiki/Affinity_analysis" target="_blank" rel="nofollow">affinity analysis</a>.</span> This application enables you to analyze data using different visualization techniques, such as scatter matrix charts, parallel coordinates, cluster charts, and decision trees. SAP Predictive Analysis offers a range of predictive analysis algorithms, supports the use of the R open-source statistical analysis language, and offers in-memory data mining capabilities for handling large-volume data analysis efficiently. Note: SAP Predictive Analysis inherits data acquisition and data manipulation functionality from SAP Lumira. SAP Lumira is a data manipulation and visualization tool. Using SAP Lumira, you can connect to various data sources such as flat files, relational databases, in-memory databases, and SAP BusinessObjects universes, and can operate on different volumes of data, from a small matrix of data in a CSV file to a very large dataset in SAP HANA, select and clean data, and manipulate data. Basics of SAP Predictive Analysis Component A component is the basic processing unit of SAP Predictive Analysis. Each component contains input and/or output anchors (connection points). These anchors are used to connect components through connectors. When you connect components together, data is transmitted from predecessor components to their successor components. SAP Predictive Analysis consists of the following components: Data preparation Algorithms Data writers <img class=" wp-image-19275 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.532.png" alt="sap predictive analytics" width="450" height="203" /> You can access components from the Designer view of the <span style="color: #236fa1;"><a class="zem_slink" style="color: #236fa1;" title="Prediction" href="http://en.wikipedia.org/wiki/Prediction" target="_blank" rel="nofollow">Predict</a></span> panel. After you have added components to the analysis editor, the status icon of a component allows you to identify its state. The following are the states of a component: (Not Configured): This state is displayed when you drag a component onto the analysis editor. It indicates that the component needs to be configured before running the analysis. (Configured): This state is displayed once all the necessary properties are configured for the component. (Success): This state is displayed after the successful execution of the analysis. (Failure): This state is displayed if this component causes the execution of the analysis to fail. <strong>Analysis</strong> An analysis is a series of different components connected together in a particular sequence with connectors, which define the direction of the data flow. <strong>Model</strong> A model is a reusable component created by training an algorithm using historical data. <strong>In-Database (In-DB)</strong> In-database (in-DB) is an analysis execution mode in which data processing is performed within the database using data mining capabilities. In this mode, the data is never taken out of the database for processing and hence the processing speed is very high. This mode can be used to process large data sets. SAP HANA supports in-DB data mining through R integration and Predictive Analysis Library (PAL). <strong>In-Process (In-Proc)</strong> In-Process is an analysis execution mode in which the data processing is performed by taking data out of the database into the predictive analysis process space. This type of analysis is also referred to as Out-DB analysis. To launch SAP Predictive Analysis, choose Start &gt; All Programs &gt; SAP Business Intelligence &gt; SAP Predictive Analysis &gt; SAP Predictive Analysis Understanding SAP Predictive Analysis When you launch SAP Predictive Analysis, the home page appears. The home page contains information that helps you get started with SAP Predictive Analysis. It also has a Samples folder, which contains two SAP Predictive Analysis sample documents such as Customer Satisfaction Analysis and Revenue Forecasting Analysis. You can also view the SAP Predictive Analysis sample documents in SAP Lumira using the SAP Predictive Analysis license key. To start analyzing data using SAP Predictive Analysis, you need to first connect to the data source and acquire data for analysis. After acquiring data, you can perform the following operations on data: Prepare data for analysis by applying data manipulation and data cleansing functions Analyze data by applying data mining and statistical analysis algorithms Share datasets and charts with external collaborators Once you have acquired data from the data source, you need to switch to the Predict panel to analyze data Designer View The Designer view enables you to design and run analyses, and to create predictive models. <img class=" wp-image-19277 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.533.png" alt="sap predictive analytics" width="638" height="357" /> <strong>. </strong></p>
<p><strong>Results View</strong> &nbsp; The Results view enables you to understand data and analysis results by using various visualization techniques and intuitive charts. <img class=" wp-image-19278 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.534.png" alt="sap predictive analytics" width="722" height="383" /></p>
<p><strong>Using SAP Predictive Analysis from Start to Finish</strong> &nbsp; The following is an overview of the process you can follow to build a chart based on a dataset. The process is not a linear one, and you can move from one step back to a preceding step to fine-tune your chart or data. <img class="alignnone size-full wp-image-19279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.535.png" alt="sap predictive analytics" width="552" height="441" /> <img class="alignnone size-full wp-image-19280" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.536.png" alt="sap predictive analytics" width="557" height="568" /> <img class="alignnone size-full wp-image-19281" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.537.png" alt="Capture.537" width="552" height="84" /> <strong>Connecting to Data Sources</strong> Connect to an SAP HANA analytic view Open Predictive Analysis <img class=" wp-image-19282 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.538.png" alt="sap predictive analytics" width="752" height="427" /></p>
<p>Select SAP HANA Online <img class=" wp-image-19283 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.539.png" alt="sap predictive analytics" width="724" height="362" /> <img class=" wp-image-19284 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.540.png" alt="sap predictive analytics" width="595" height="637" /> <img class="size-full wp-image-19285 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.541.png" alt="sap predictive analytics" width="615" height="336" /> Connect to a universe data source</p>
<pre style="text-align: center;"><em><strong>Aspired to become an SAP BO?
Explore the post to discover the know-hows on <a href="https://tekslate.com/business-objects-training/" target="_blank" rel="noopener">SAP BO Training</a>.</strong></em></pre>
<p>Create new document <img class=" wp-image-19286 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.542.png" alt="sap predictive analytics" width="577" height="312" /> <img class=" wp-image-19287 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.543.png" alt="sap predictive analytics" width="556" height="559" /> <img class=" wp-image-19288 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.544.png" alt="sap predictive analytics" width="542" height="292" /> <img class=" wp-image-19289 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.545.png" alt="sap predictive analytics" width="548" height="312" /> Connect to a Freehand SQL data source Open New document &amp; Select any DataBase <img class=" wp-image-19290 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.546.png" alt="sap predictive analytics" width="548" height="295" /> <img class=" wp-image-19291 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.547.png" alt="sap predictive analytics" width="533" height="304" /> Provide Data Base Details <img class=" wp-image-19292 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.548.png" alt="sap predictive analytics" width="525" height="299" /> Write SQL Query &amp; Execute it <img class=" wp-image-19293 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.549.png" alt="sap predictive analytics" width="539" height="275" /> <img class=" wp-image-19294 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.550.png" alt="sap predictive analytics" width="533" height="151" /> <strong>Manipulating Data</strong> Add columns using functions and formulas Execute predictive Analysis <img class=" wp-image-19295 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.551.png" alt="sap predictive analytics" width="618" height="352" /> Go to Manipulation Tools(Tab) &amp; go to Create new Function &amp; Select as &ldquo;Round&rdquo; <img class=" wp-image-19296 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.552.png" alt="sap predictive analytics" width="590" height="344" /> <img class=" wp-image-19297 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.553.png" alt="sap predictive analytics" width="589" height="612" /> <img class=" wp-image-19298 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.554.png" alt="sap predictive analytics" width="440" height="314" /> <img class=" wp-image-19299 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.555.png" alt="sap predictive analytics" width="668" height="458" /> <img class="wp-image-19300 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.556.png" alt="sap predictive analytics" width="602" height="407" /> View data with Geo Code <img class=" wp-image-19301 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.557.png" alt="sap predictive analytics" width="571" height="328" /> Sharing Results Share data visualizations Prepare a report <img class=" wp-image-19302 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.558.png" alt="sap predictive analytics" width="598" height="344" /> <img class="wp-image-19303 alignleft" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.559.png" alt="sap predictive analytics" width="383" height="537" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <img class=" wp-image-19304 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.560.png" alt="sap predictive analytics" width="666" height="516" /> <img class=" wp-image-19305 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.561.png" alt="sap predictive analytics" width="631" height="529" /> Publish dataset to SAP Explorer Execute Query <img class=" wp-image-19306 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.562.png" alt="sap predictive analytics" width="701" height="315" /> Select Excel sheet <img class=" wp-image-19307 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.563.png" alt="sap predictive analytics" width="686" height="377" /> Connect to SAP BO Server <img class=" wp-image-19308 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.564.png" alt="sap predictive analytics" width="586" height="331" /> <img class=" wp-image-19309 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.565.png" alt="sap predictive analytics" width="555" height="574" /> <img class=" wp-image-19310 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.566.png" alt="sap predictive analytics" width="536" height="384" /> <img class=" wp-image-19311 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.567.png" alt="sap predictive analytics" width="663" height="218" /> <strong>Create an Analysis</strong> Open A predictive View <img class=" wp-image-19312 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.568.png" alt="sap predictive analytics" width="639" height="365" /> Go to Data Preparation(tab) &amp; Select Sample <img class=" wp-image-19313 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.569.png" alt="sap predictive analytics" width="769" height="351" /> Set Options<img class=" wp-image-19314 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.570.png" alt="sap predictive analytics" width="520" height="317" /> Go to Algorithms(Tab) &amp; select R-K Means <img class=" wp-image-19315 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.571.png" alt="sap predictive analytics" width="553" height="316" /> Select Measures <img class=" wp-image-19316 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.572.png" alt="sap predictive analytics" width="540" height="395" /> <img class=" wp-image-19317 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.573.png" alt="sap predictive analytics" width="540" height="379" /> Run the Query <img class=" wp-image-19318 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.png" alt="sap predictive analytics" width="624" height="533" /></p>
<p><strong>For in-depth understanding click on</strong></p>
<ul>
<li class="title"><span style="color: #236fa1;"><a class="current-page" style="color: #236fa1;" title="Business Objects Web Intelligence" href="https://tekslate.com/business-objects-web-intelligence/" target="_blank">Business Objects Web Intelligence</a></span></li>
<li class="title"><span style="color: #236fa1;"><a class="current-page" style="color: #236fa1;" title="Information Design Tool in SAP BO" href="https://tekslate.com/information-design-tool-sap-bo/" target="_blank">Information Design Tool in SAP BO</a></span></li>
<li class="title"><span style="color: #236fa1;"><a class="current-page" style="color: #236fa1;" title="Widgets in SAP BO" href="https://tekslate.com/widgets-sap-bo/" target="_blank">Widgets in SAP BO</a></span></li>
<li class="title"><span style="color: #236fa1;"><a class="current-page" style="color: #236fa1;" title="Design Studio in SAP BO" href="https://tekslate.com/design-studio-sap-bo/" target="_blank">Design Studio in SAP BO</a></span></li>
</ul>75:Taeb1,<p><span style="font-size: 12pt;"><span style="color: #993300;"><span style="color: #000000;">Are you planning to attend an interview for the SAP PS Developer role but confused about how to crack that interview also what would be the most probable <strong>SAP PS Interview Questions</strong> that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked <strong>SAP PS Interview Questions</strong> which are often asked in multiple interviews.</span></span></span></p>
<p><span style="font-size: 12pt;"><span style="color: #993300;"><span style="color: #000000;">In this article, we will cover the following:</span></span></span></p>
<ul>
<li><span style="color: #236fa1;"><strong><a style="color: #236fa1;" href="#sap-ps-interview-questions"><span style="font-size: 12pt;"><span style="font-size: 14px;">SAP PS Interview Questions</span></span></a></strong></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><strong><a style="color: #236fa1;" href="#sap-ps-module-interview-questions">SAP PS Module Interview Questions</a></strong></span></li>
<li><span style="color: #236fa1; font-size: 14px;"><a style="color: #236fa1;" href="#SAP-ps-certification-questions"><strong>SAP PS Certification Questions</strong></a></span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 37px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 100%;">
<h3 style="text-align: center;"><span style="font-size: 18px;"><strong>Most Frequently Asked SAP PS Interview Questions&nbsp;</strong></span></h3>
</td>
</tr>
<tr style="height: 37px; background-color: #ffffff; border-color: #ced4d9; border-style: solid;">
<td style="width: 100%;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">What is SAP PS?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q2">What is WBS?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q7">What is Easy Cost Planning?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q8">What are settlement rules?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q11">What is SAP-Project System?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q15">What is the milestone triggering?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q20">What do Activities, NTW, and WBS represent?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q22">The structure of NTW is similar to what type of order?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q26">What do time profiles do?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q46">What is the Standard Project Structure?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="color: #236fa1; font-size: 24px;"><a id="sap-ps-interview-questions"></a>SAP PS Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q1"></a>Q1) What is SAP PS?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;Project System provides tools to track project milestones, costs, and resources. <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP PS Training" href="https://tekslate.com/sap-ps-training/" target="_blank">SAP's Project System </a></span>module contains tight integration to the Controlling, Human Resources, and Logistics modules. It utilizes personnel records from HR, rolls costs into Controlling and links to materials or customers in the Logistics modules. </span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Two key objects that define the Project in SAP are:</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Work Breakdown Structure:</strong></em> defines tasks and assign resources to those tasks</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Network:</strong></em> defines the dependencies within the Work Breakdown Structure (WBS)</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q2"></a>Q2) What is WBS?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;A <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://en.wikipedia.org/wiki/Work_breakdown_structure" target="_blank" rel="nofollow">Work Breakdown Structure</a></span> (WBS) is a model of a project and shows the project activities to be fulfilled in a hierarchical form. It forms the operative basis for planning costs, revenues, and payments, as well as for scheduling, and budgeting. It also shows responsibility.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">One definition from the Project Management Institute is as follows:</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">The Work Breakdown Structure (WBS) is a key planning tool used to define a project in terms of its deliverables while providing a method for breaking these deliverables into meaningful work efforts.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">It is the functional basis for further planning steps in a project, for example, for process planning, cost planning, scheduling, capacity planning or costing, as well as project control.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">It provides a clear picture of the project and facilitates the coordination and implementation of the project from a management standpoint.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">It shows the work involved in a project.</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Work Breakdown Structure (WBS) is created under an object known as Project definition.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q3) For raising Client billing, is there any possibility of linking line items in the SD module with Activities / WBS in the PS module? </span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;It can be linked through DIP Profile and do Resource Related Billing for raising billing.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q4) Can Revenues be linked with Activities?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;No, it can be done at the WBS level with the 'Billing' operative indicator.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q5) Can progress be updated in WBS elements?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;Yes, You can use Progress Analysis (EVA) for this.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q6) Workforce Planning and Project Status?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;When a project status is set back to REL from TECO or CLSD status, the workforce planning done is getting deleted completely at the activity. </span><span style="font-weight: 400;">Run cmp9(Evaluation again) and you will have workforce planning back.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP PS? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP PS Training" href="https://tekslate.com/sap-ps-training" target="_blank"><strong>SAP PS Training</strong></a></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q7"></a>Q7) What is Easy Cost Planning?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> It is another function for planning costs at the WBS elements </span><span style="font-weight: 400;">level. It uses the existing Controlling, purchasing, or MM </span><span style="font-weight: 400;">data in the form of cost items. Also, you can have </span><span style="font-weight: 400;">predefined costing models to simplify repeated entries. </span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q8"></a>Q8) What are settlement rules?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;Settlement rules are nothing but settling the account for a </span><span style="font-weight: 400;">cost centre. Which WBS are accounts assigned the cost of the </span><span style="font-weight: 400;">corresponding WBS should be settled to the respective cost </span><span style="font-weight: 400;">centre assigned for that WBS. The settlement rule is assigned in a </span><span style="font-weight: 400;">settlement profile in which you will define (like asset)&nbsp;</span><span style="font-weight: 400;">the rules of the settlement.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q9) What do you understand by Project?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> A project is a system that involves 1. project, sub-</span><span style="font-weight: 400;">project, activities &amp; tasks. </span><span style="font-weight: 400;">It will have good integration with the other modules </span><span style="font-weight: 400;">like MM, Fi/co, &amp; PM modules.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q10) How can PS be linked to COPA? How will the settlement take place in this case (when PS is linked to Controlling through COPA)?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;The settlement will take place via a profitability segment. </span><span style="font-weight: 400;">Level 1 WBS should have a settlement rule defined to be </span><span style="font-weight: 400;">settled to PSG and level 2 WBS should be settled to </span><span style="font-weight: 400;">superior one WBS element. The main level 1 WBS/ Project </span><span style="font-weight: 400;">will be settled to PSG and variance will be posted to </span><span style="font-weight: 400;">COPA. </span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q11"></a>Q11) What is SAP-Project System?</span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Project System is a Project management tool from SAP. Which has very good integration with the other modules of SAP like FI, CO, MM, SD, PP, HR, and DMS? This module basically coordinates and controls all the phases of a project, in direct coordination with purchasing and controlling, from quotation to design and approval to resource management and cost settlement.</p>
<p style="text-align: justify;"><span style="font-weight: 400;">Also besides the integration with the SAP module, this Project system also has an integration with third-party popular Project management tools like Microsoft Projects and Primavera.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q12) What is Project Definition?</span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Project definition is a binding framework in SAP for all organizational elements created within a project (e.g. WBS and Networks). Data like company code, plant, and the person responsible can default into WBS if initially entered in the project definition. Such data can also default into the project definition via the project profile which will then default it to subsequent WBS.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q13) What is Project Coding Mask?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;Project Coding helps display complex project numbers. They can also be used to indicate the position of a WBS element in the project hierarchy.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">We can create a mask for every key you want to use in project coding. Project Definition has to be unique in the SAP System and also WBS Element has to be unique in the SAP System.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Project code is changeable and the hierarchy can be changed up to a certain point of project status.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Project Code has 2 parts</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Part 1:</strong></em> Project Identifier (Project Coding Mask)</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;"><em><strong>Part 2:</strong></em> Project Number (usually a serial number)</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Every project begins with a Project ID (max. 5 Characters), Using separators to distinguish the different WBS levels. e.g.: "/", "-", "."</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q14) Explain What is unit costing?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;Unit costing is a means of recording all the costs - direct </span><span style="font-weight: 400;">and indirect - associated with the delivery of services. The total</span><span style="font-weight: 400;"> cost of service provision is divided by the total amount </span><span style="font-weight: 400;">of service provided.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP SD? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title=" SAP SD Training " href="https://tekslate.com/sap-sd-training" target="_blank"><strong>SAP SD Training</strong> </a></span>to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q15"></a>Q15) What is the milestone triggering?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; Whenever the confirmation of activities is done and if the </span><span style="font-weight: 400;">milestone is attached to that particular activity the </span><span style="font-weight: 400;">milestone <span style="color: #236fa1;"><a style="color: #236fa1;" title="Triggers Introduction" href="https://tekslate.com/apex-triggers-introduction" target="_blank">triggers</a></span> the milestone as per the configuration </span><span style="font-weight: 400;">done and it will do the billing through the SD module.</span></p>
<h2><span style="font-size: 24px; color: #236fa1;"><a id="sap-ps-module-interview-questions"></a>SAP PS Module Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q16) How do LSMW and BAPI work?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;LSMW is an encapsulated data transfer tool. It can provide </span><span style="font-weight: 400;">the same functionality as BDC in fact much more but when </span><span style="font-weight: 400;">coming from a technical perspective most of the parameters are </span><span style="font-weight: 400;">encapsulated. </span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">To list out some of the differences : </span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">LSMW is basically designed for a functional consultant who does </span><span style="font-weight: 400;">not do much coding but needs to explore the functionality </span><span style="font-weight: 400;">while BDC is designed for a technical consultant. </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">LSMW offers different techniques for migrating data: Direct </span><span style="font-weight: 400;">input, BAPI, Idoc, and Batch input recording. While BDC basically </span><span style="font-weight: 400;">uses recording. </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">LSMW mapping is done by SAP while in BDC we have to do it </span><span style="font-weight: 400;">explicitly. </span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">LSMW is basically for standard SAP applications while BDC is </span><span style="font-weight: 400;">basically for customized applications.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q17) How can PS be linked to COPA? How will the settlement take place in this case (when PS is linked to Controlling through COPA)?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Level 1 WBS should have a settlement rule defined to be </span><span style="font-weight: 400;">settled to PSG and level 2 WBS should be settled to </span><span style="font-weight: 400;">superior one WBS element. The main level 1 WBS/ Project </span><span style="font-weight: 400;">will be settled to PSG, and variance will be posted to </span><span style="font-weight: 400;">COPA.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q18) How to calculate WIP in PS for all wbs pertaining to that particular project? Any specific Tcode in ECC 6.0?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;KKA2 for calculating result Analysis; </span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">KKAJ - for calculating WIP.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q19) What are the parameters of the Project System?</span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> There are several parameters to define here at the level of the structure. First, it's the Project Definition (Proj. Profile), then we have the WBS Level, and then, if used, the Network/Activity/Sub Activity Level. You may include components and services. The configuration goes into Proj. Definition, WBS, and Activity profiles.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q20"></a>Q20) What do Activities, NTW, and WBS represent?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;WBS and Networks are two structures that differ in the way in which they enable you to structure projects and in the functions provided for them in the SAP system. For example, if you need a hierarchical budget management function for a project, you would want to use a WBS structure. If, in addition, you also want to do capacity planning, you would have to use one or several networks as well. Depending on the specific requirements you may be able to map a project only via a WBS structure, or by using only one or several networks, or a combination of both.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q21) What is the menu path &amp; T. Code for defining special characters for Projects?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;It can be found at the following location:</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Project System &gt;&gt;&gt; Structures &gt;&gt;&gt; Operative Structures &gt;&gt;&gt; Work Breakdown Structures &gt;&gt;&gt; Project Coding Mask &gt;&gt;&gt; Define Special Characters for Projects</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Transaction is OPSK</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q22"></a>Q22) The structure of NTW is similar to what type of order?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Maintenance order.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP BW on Hana? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP BW on Hana Training" href="https://tekslate.com/sap-bw-on-hana-training" target="_blank"><strong>SAP BW on Hana Training</strong></a></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q23) What is the impact of the coding mask on the project and where is it created (menu path)?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Coding masks contain sections for the external identification of projects, and they are separated by special characters. A section consists either of numbers that are represented by "0" characters in the coding mask, or alphanumeric characters that are represented by "X" characters in the mask. You can store a descriptive text for each coding mask and use lock indicators to control whether the key and the associated mask can be used for operative or standard WBS structures.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Project System &gt;&gt;&gt; Structures &gt;&gt;&gt; Operative Structures &gt;&gt;&gt; Work Breakdown Structures &gt;&gt;&gt; Project Coding Mask &gt;&gt;&gt; Define Project Coding Mask</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Transaction is OPSJ</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q24) How to set the field status of WBS as mandatory, (WBS Element, NTW)?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp; There are five different transactions. Project Definition, WBS Elements, Network Header, Networks Overview and Network Details. There you will see a table with radio buttons that indicate whether a field should be set as Input, Required (mandatory), Display, or Hide. You can also define Influence Fields and Field Groups.</span></p>
<p style="text-align: justify;"><em><strong>For Project Definition and WBS Elements:</strong></em></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Project System &gt;&gt;&gt; Structures &gt;&gt;&gt; Operative Structures &gt;&gt;&gt; Work Breakdown Structures &gt;&gt;&gt; User Interface Settings &gt;&gt;&gt; Define Field Selection for Work Breakdown Structures</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Transactions are OPUK (Project Definition), OPUJ (WBS Elements)</span></p>
<p style="text-align: justify;"><em><strong>For Networks:</strong></em></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Project System &gt;&gt;&gt; Structures &gt;&gt;&gt; Operative Structures &gt;&gt;&gt; Network &gt;&gt;&gt; User Interface Settings &gt;&gt;&gt; Define Field Selection for Networks</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Transactions are OPUA (Header), OPUB (Overview), OPUC (Details)</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q25) Difference between validation &amp; substitution?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Substitution enables us to automatically change master data fields of Project Definitions, WBS Elements, Network Headers, and Activities. For example, you can automatically set the cost centre 9999 for those WBS Elements into which responsible persons with numbers 0 to 20 have been entered.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Validation enables you to carry out self-defined checks for master data fields of the same elements. But the result of validations consists of informational messages, warnings, or error messages. For example, you can validate that projects with a specific project profile always begin with the same key.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP BASIS? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP BASIS Training" href="https://tekslate.com/sap-basis-training" target="_blank"><strong>SAP BASIS Training</strong></a></span> to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q26"></a>Q26) What do time profiles do?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The profile is part of the"Planning Board Profile" and it determines the beginning and the end of the evaluation and planning periods. This means that pre-evaluation and post-evaluation periods are defined automatically. This is how the Planning Board is displayed graphically.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q27) Where do we define time profiles? What is the evaluation period?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The evaluation period is the period in which you want to control your project, and it will be displayed on your planning board. Don't get confused with scheduling, which is how time is managed in a project.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Project System &gt;&gt;&gt; Structures &gt;&gt;&gt; Project Planning Board &gt;&gt;&gt; Define Time Profiles</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Transactions are OPTY</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q28) What are the different time profiles?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;There are two, but you can define your own. SAPPS_Z001 and SAPPS_Z002.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q29) What are the fields in the pricing procedure?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;There are 16 fields that are given below:</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Step</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Counter</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Condition type</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Description</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">From</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">To</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Manual</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Mandatory</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Statistic</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Print</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Subtotal</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Requirement</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Alternative calculation type</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Alternative condition base value</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Account key</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Accrual</span></li>
</ul>
<h2 id="advanced"><span style="color: #236fa1; font-size: 24px;"><a id="SAP-ps-certification-questions"></a>SAP PS Certification Questions</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q30) What are the Standard output types in SD?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;BA00 for order LD00 for delivery RD00 for billing and RD03 for Cash sales.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q31) What is Condition type?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Condition type is a pricing element such as a discount, freight, or surcharge. This is used in pricing procedures to represent condition records.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q32) What is the difference between the delivery document &amp; scheduling?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The delivery document is an electronic document that stores when how much quantity of materials and where the materials should go on the other side, scheduling represents when materials will be delivered in that case backward scheduling and forward scheduling are used.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q33) How is the item category determined?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;In general item category determination is happened through sales document type+item usage+item category group+higher level item category +default item category</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">In the creation of the reference document, item category determination happens from copy control where the source item category is to the target item category. if it is not maintained, item category determination has happened though normal determination like sales document type+ item usage+item category group + higher-level item category+default item category.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q34) What is Extract used in condition tech? in pricing?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Condition table+Access sequence+Condition type+pricing procedure=condition technique. The above extract is used to find a suitable condition record.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q35) What is the difference between plant and storage location?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> A plant may be delivering plant and production plant or a storage plant. In Sales and Distribution, since the plant is assigned to the sales organization and distribution channel, it is called delivering plant.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q36) What is the purpose of the transaction code in SYSTEM?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The transaction code is the short path to reach a specific screen in the SYSTEM. Instead of going through the routine menu, you can enter the Transaction Code and then press &ldquo;Enter,&rdquo; which would directly take you to the specific transaction. For example, you can access the VA22 transaction code to reach the Change Quotation screen. However, the VA01 transaction code is used to create a Sales document in SYSTEM.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q37) What is meant by match code in SYSTEM?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> The comparison key that helps you to find the key of a specific database record, depending on the field value entered in the record, is known as the match code. On the basis of the match code, the system then displays a list of records from which you can select the appropriate one.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q38) Explain the three main areas of customer master data.</span></h3>
<p style="text-align: justify;"><strong>Ans:</strong>&nbsp;The customer master is a part of the SD module and forms the basis for customer-related transactions. It is divided into three areas:</p>
<p style="text-align: justify;"><span style="font-weight: 400;">General Data&mdash;It is used for the maintenance of general customer details such as name, address, phone/fax nos., and so on.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Sales Area Data&mdash;It is used for Sales-related data maintenance.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Company Code data&mdash;It is used for accounts-related data maintenance.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q39) What is the purpose of the Implementation Guide (IMG Menu) in the SYSTEM?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;The Implementation Guide (IMG Menu) is used to collectively group the areas that must be configured and customized, and form a basic structure of an organization in the System to run.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q40) How will you maintain a company code in a SYSTEM?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;To maintain a company code, navigate the following menu path:</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Customizing Implementation Guide (MG Menu)). Enterprise Structure &gt; Definition &gt; Financial Accounting &gt; Edit, Copy, Delete, Check Company Code.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP MDG? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP MDG Training" href="https://tekslate.com/sap-mdg-training" target="_blank"><strong>SAP MDG Training</strong></a></span>&nbsp;to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q41) What do you mean by Enterprise Resource Planning (ERP)?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;ERP is a way to integrate processes and data of an organization into a single system to provide easy access and workflow in an organization. It refers to the way in which large organizations efficiently plan to use resources to their fullest.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q42) List the advantages of implementing an ERP system in an organization.</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;The advantages of implementing an ERP system in an organization are as follows:</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Various processes and workflows of an organization are integrated into a single system.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Efficient utilization of resources in an organization.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Ability to easily share organizational data across different departments.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Improves efficiency and productivity levels.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Lower costs.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Better customer service.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q43) What is the relationship in SAP PS?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong>&nbsp;Relationship basically denotes how activities in a </span><span style="font-weight: 400;">network order are related to each other. They can be </span><span style="font-weight: 400;">classified into 4 categories - SS (Start-Start), SF(Start-</span><span style="font-weight: 400;">Finish), FF (Finish-Finish), and FS (Finish-Start). </span><span style="font-weight: 400;">For 2 activities say A and B</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">SS --&gt;&gt; Both A and B start together</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">SF --&gt;&gt; Start of A coincides with the finish of B and so on.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">We can also specify the time gap between which these </span><span style="font-weight: 400;">relationships work. Say in an SS relationship, there can be </span><span style="font-weight: 400;">a 10 minutes gap between the start of A and B and so on.</span><span style="font-weight: 400;">&nbsp;&nbsp;&nbsp;</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q44) What mean by valuated stock, and non-valuated stock? Which category you are using in po&amp;pr?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> In Valuated stock, every material in stock is managed on </span><span style="font-weight: 400;">both a quantity basis and a value basis. The monetary value </span><span style="font-weight: 400;">of each quantity of material is calculated separately. while </span><span style="font-weight: 400;">non-valuated material is maintained as per quantity and not </span><span style="font-weight: 400;">on the basis of its value.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q45) What is the Primary integration for PS?</span></h3>
<p style="text-align: justify;"><strong>Ans:</strong></p>
<p><em><strong>1. Controlling (CO): </strong></em></p>
<p><span style="font-weight: 400;">Substantial integration exists between PS and CO. This is because PS relies on so many objects that belong to CO for Integrated Cost Planning, Settlement, Results Analysis, Resource Planning, and any reporting that involves Cost Elements. Controlling Area is the most obvious connection, without which PS could not function. In Workforce Planning via Work Centres/Activity Types, there is integration with Human Resources (HR) to register personnel who are assigned to projects.</span></p>
<p><em><strong>2. Materials Management (MM): </strong></em></p>
<p><span style="font-weight: 400;">Based on Materials and BOMs, PS has the ability to create Reservations, Purchase Requisitions and Purchase Orders via Easy Cost Planning Execution Services and Networks in general. This powerful integration makes PS a key player in the logistics cycle, including the ability to handle Services via Service Masters. Further, the ability of Networks to work with Catalogues takes PS into SRM (Supply Relationship Management), where the internet plays a large part in sourcing materials. Additionally, PS can help manage the MRP (Material Requirements Planning) cycle with its MRP Grouping functionality. PS is the &lsquo;owner&rsquo; of the ProMan facility which tracks and helps manage all the Procurement document flows.</span></p>
<p><em><strong>3. Sales and Distribution (SD): </strong></em></p>
<p><span style="font-weight: 400;">PS has a fairly straightforward integration with SD via Order Numbers. All SD Orders (Quotations, Sales Orders, Consignment Orders, etc) can be assigned to a project for the purpose of planning revenue, creating Billing Plans, and attracting costs. DIP Profiles (Dynamic Item Processors) assist in the process of simulating and automatically creating Sales Documents, plus providing a means to bill customers based on activity within a project (Resource-Related Billing). Additionally, Assembly Processing provides the means for a Sales Order or Quotation to automatically generate a Project using Configurable Materials.</span></p>
<p><em><strong>4. Finance (FI): </strong></em></p>
<p><span style="font-weight: 400;">As PS is primarily a Cost Planner and Cost Collector and therefore a slave to FI/CO, its primary objects (WBS and Network) rely on actual expenditure to manage Account Determination, which is really the Chart of Accounts. Ultimately, all costs end up somewhere in Finance. Cash-flow management is also a feature that PS can be used for, via Funding Areas in Treasury.</span></p>
<p><em><strong>5. Production Planning (PP): </strong></em></p>
<p><span style="font-weight: 400;">Though not a major player in the PS side of integration, it is via <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP MM Training" href="https://tekslate.com/sap-mm-training/" target="_blank">MM</a></span> that PP is informed of Production Orders using special settings in the Material Master.</span></p>
<p><em><strong>6. Plant Maintenance (PM): </strong></em></p>
<p><span style="font-weight: 400;">At the heart of this integration is Maintenance Orders, which like most external orders can connect to PS for Planning and Settlement purposes. Generally, Maintenance and Service Orders apply to Capital or Customer-based projects, where equipment serviced on-site can be managed in a Project.</span></p>
<p><em><strong>7. Investment Management (IM): </strong></em></p>
<p><span style="font-weight: 400;">Quite a substantial amount of integration here. IM seamlessly integrates with PS to manage Assets Under Construction (AUCs). Cost Planning can be managed in PS, sent to Investment Programs, and returned to the project as a managed Budget. AUCs are automatically generated when a project is released, so there is a relatively important connection to Fixed Assets.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q46"></a>Q46) What is the Standard Project Structure?</span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Standard structures in Project Systems can be found in Standard project definitions and in Standard WBS These standard structures can be used as a template to standardize project management.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">This brings about the advantage of Making the processing of projects more transparent (everyone creates an operative project from a standard project), Enabling comparison of projects with similar structures, Facilitates project controlling.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Standard project templates CANNOT be used to capture any actual data (e.g. costs, actual materials used) and they serve as a quick way to create an operative project during the implementation stage. As such, it is recommended that nominated users maintain these standard project templates at least once a year or whenever there are process changes for each type of project.</span></p>
<p>&nbsp;</p>76:T5422,<p style="text-align: justify;"><span style="font-size: 14px;">Are you planning to attend an interview for the SAP UI Developer role but are confused about how to crack that interview also what would be the most probable <strong>SAP UI5 Interview Questions</strong> that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked <strong>SAP UI5 Interview Questions</strong> which are often asked in multiple interviews.</span></p>
<p style="text-align: justify;"><span style="font-size: 14px;">In this article, we will cover the following:</span></p>
<ul>
<li style="text-align: justify;"><span style="color: #236fa1;"><a style="color: #236fa1;" href="#sap-ui5"><strong><span style="font-size: 14px;">SAP UI5 Interview Questions</span></strong></a></span></li>
<li style="text-align: justify;"><a href="#ui5-fiori"><strong><span style="font-size: 14px;"><span style="color: #236fa1;">SAP UI5 FIORI Interview Questions</span></span></strong></a></li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<h3 style="text-align: center;"><span style="font-size: 18px;"><strong>Most Frequently Asked SAP UI5 Interview Questions</strong></span></h3>
</td>
</tr>
<tr style="border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">What is SAPUI5?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q2">Why SAPUI5?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q4">What is a Component?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q6">What is MVC?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q9">What types of views are available in SAPUI5?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q14">What are the SAPUI5 Fragments?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q17">What is SAPUI5 Bootstrapping?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q18">What are the Metadata Annotations?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q25">What are Fiori Design Principles?</a></span></li>
<li><a href="#q26"><span style="color: #236fa1;">What is SAP Fiori?</span></a></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;"><a id="sap-ui5"></a>SAP UI5 Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q1"></a>Q1) What is SAPUI5?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Just like any other HTML5 client-side rendering library, SAPUI5 is also one. SAPUI5 strictly follows RIA (Rich Internet Application) standards. It is based on <span style="color: #000000;"><a style="color: #000000;" title="JavaScript Training" href="https://tekslate.com/javascript-training/" target="_blank"><span style="color: #236fa1;">JavaScript</span></a></span> which provides a lightweight programming model for desktop as well as mobile applications.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q2"></a>Q2) Why SAPUI5?</span></h3>
<p style="text-align: justify;"><span style="color: #e67e23;"><strong><span style="color: #000000;">Ans:</span></strong> </span>As the HTML5 world is the new age front technology across all aspects of internet applications SAP was kind of trailing in this age because SAP was using age-old <span style="color: #236fa1;"><a style="color: #236fa1;" title="Web Dynpro Training" href="https://tekslate.com/java-webdynpro-training/" target="_blank">Web Dynpro</a></span> for building SAP Web Applications which lacks rich and user-friendly <span style="color: #236fa1;"><a class="zem_slink" style="color: #236fa1;" title="User interface" href="http://en.wikipedia.org/wiki/User_interface" target="_blank" rel="nofollow">UI</a>.</span> SAP identified this and came up with its own custom HTML5 library i.e. SAPUI5.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q3) Explain the Navigation concept in SAPUI5?</span></h3>
<p style="text-align: justify;"><span style="color: #e67e23;"><strong><span style="color: #000000;">Ans:</span></strong> </span>SAPUI5 uses two mechanisms for navigation in applications that are EventBus and Routing where the latter supersedes since SAPUI5 1.16.<span class="skimlinks-unlinked">sap.ui.core.routing</span> is the class used for the routing. We define routing in components metadata in the &ldquo;routing&rdquo; key.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q4"></a>Q4) What is a Component?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>Component or <span class="skimlinks-unlinked">Component.js</span> is the first point of our application or we can say that it serves as an index that encapsulates all our application details i.e. view names, routing details, main view, applications type(Fullscreen or SplitApp), application service configuration, etc.</p>
<h3 class="font_8" style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q5) What is the difference between HTML5 and SAPUI5?</span></h3>
<p class="font_8" style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>HTML5 is a markup language, It doesn&rsquo;t have programming capabilities but SAPUI5 is a framework that is based on the MVC approach to building web applications. HTML5 is mainly for the purpose of creating a simple webpage without formatting and logic but UI5 provides standard style and components to build rich UIs.</p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ecf0f1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to become expert in building Responsive web applications, enroll in our <span style="color: #000000;"><a style="color: #000000;" title="SAP UI5 Training" href="https://tekslate.com/sap-ui5-training" target="_blank"><strong><span style="color: #236fa1;">SAP UI5 Training</span></strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 class="font_8" style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q6"></a>Q6) What is MVC?</span></h3>
<p class="font_8" style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>MVC stands for model view controller; it&rsquo;s an architecture to design UI based applications to achieve maximum reusability and extensibility of the application for future changes. Model is the representation of data in the form of the object, View defines the UI and the Controller contains all the logic to drive as well connects view with model.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q7) When and How to use formatting in SAPUI5?</span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Ans: </strong></span>We need to use formatter when we need to perform some changes on the back end property data on the front end. we can use formatter while <span style="color: #236fa1;"><a class="zem_slink" style="color: #236fa1;" title="Data binding" href="http://en.wikipedia.org/wiki/Data_binding" target="_blank" rel="nofollow">data binding</a></span> to a property like as follows: <em>oControl = new <span class="skimlinks-unlinked">sap.ui.commons.TextField</span>({</em> <em>value&nbsp;: {path : &ldquo;/path&rdquo;, formatter : function(oEvent){</em> <em>return &ldquo;Value:&rdquo;+oEvent;</em> <em>}}});</em></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q8) What all design patterns are recommended/available in SAPUI5?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>SAP recommends following application design patterns keeping in mind the design consistency of the applications:</p>
<ul>
<li style="text-align: justify;">Master-Detail</li>
<li style="text-align: justify;">Master-Master-Detail</li>
<li style="text-align: justify;">Fullscreen</li>
<li style="text-align: justify;">Fullscreen-Fullscreen-Master Detail (Multi Flow)</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q9"></a>Q9) What types of views are available in SAPUI5?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>There are following predefined three types of view available in SAPUI5:</p>
<ul>
<li style="text-align: justify;">JSON view</li>
<li style="text-align: justify;">JavaScript View(JS View)</li>
<li style="text-align: justify;">HTML View</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q10) What is formatted in SAPUI5 and how to use it?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>We need to use formatter when we need to perform some changes on the back-end property data on the front end. we can use formatter while data &nbsp;binding to a property like as follows: oControl = new sap.ui.commons.TextField({ value : {path : &ldquo;/path&rdquo;, formatter : function(oEvent){ return &ldquo;Value:&rdquo;+oEvent; }}});</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q11) What all types of data models available in SAPUI5?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>As SAPUI5 follows MVC(Model-View-Controller) there model plays a crucial role in the framework. SAPUI5 has the following predefined four data models available:</p>
<ul>
<li style="text-align: justify;"><em><strong>JSON Model:</strong></em> Client-side model, supports two-way binding.</li>
<li style="text-align: justify;"><em><strong>XML Model:</strong></em> Client-side model intended for small data sets this is a very rarely used, model.</li>
<li style="text-align: justify;"><em><strong>Resource Model:</strong> </em>This is also a client-side model used to maintain resource bundles, especially texts.</li>
<li style="text-align: justify;"><em><strong>OData Model:</strong> </em>This is the most important model of the four provided. This is the server-side model, that supports two-way binding ODATA model currently supports OData version 2.0.</li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q12) What are the Lifecycle methods of the SAPUI5 views controller?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>There are four Lifecycle methods available in every SAPUI5 view controller.</p>
<p style="text-align: justify;">These are</p>
<ul>
<li style="text-align: justify;">onInit()</li>
<li style="text-align: justify;">onExit()</li>
<li style="text-align: justify;">on after rendering()</li>
<li style="text-align: justify;">on before rendering()</li>
<li style="text-align: justify;">onInit is called when a view is instantiated and its controls (if available) have already been created;</li>
<li style="text-align: justify;">onExit is called&nbsp;when the view is destroyed, used to free resources and finalize activities;</li>
<li style="text-align: justify;">on after rendering when the view has been rendered and therefore its <span style="color: #236fa1;"><a style="color: #236fa1;" title="HTML Tutorial" href="https://tekslate.com/html-tutorials/" target="_blank">HTML</a></span> is part of the document;</li>
<li style="text-align: justify;">on before rendering is called before the controller view is re-rendered and not before the first rendering.</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q13) What is the main difference between OData Model and JSON Model?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>The JSON model is a client-side model and, therefore, intended for small datasets, which are completely available on the <span class="skimlinks-unlinked">client. The</span> OData model is a server-side model: the dataset is only available on the server and the client only knows the currently visible rows and fields.</p>
<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;"><a id="ui5-fiori"></a>SAP UI5 FIORI Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q14"></a>Q14) What are the SAPUI5 Fragments?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>Fragments are very lightweight UI controls and part of another UI. Fragments are not completely like views but they act as a view. Fragments are defined similar to views and are names like &ldquo;<em><span class="skimlinks-unlinked">myFragment.fragment.xml</span></em>&ldquo;.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q15) Does Fragment have its own controller?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>Fragments are created without controllers, they don&rsquo;t have their own controllers they share the controller of the view which is invoking it.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q16) In how many ways you can bind data to your controls?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>We can bind data to any controls using three methods, Property, Element, and Aggregation binding.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q17"></a>Q17) What is SAPUI5 Bootstrapping?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>SAPUI5 Bootstrapping means loading and initializing SAPUI5 on any HTML page. The most important library or resource loaded in SAPUI5 bootstrap is &ldquo;<span class="skimlinks-unlinked">sap-UI-core.js</span>&rdquo;. Apart from this theme for the application, SAPUI5 libraries, etc are declared in the bootstrapping.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q18"></a>Q18) What are the Metadata Annotations? </span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>The&nbsp;service metadata document&nbsp;describes the structure of all resources in the service. This structural metadata makes it easy to understand a service. We can explore service metadata at the address&nbsp;&ldquo;$metadata&rdquo;&nbsp;relative to the service root.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q19) What are common Metadata Annotations? </span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>Following are some of the service metadata annotations which are common and a front-end developer must know these in order to understand the service and integrate it:</p>
<p style="text-align: justify;">EDM: EntityContainer</p>
<p style="text-align: justify;">EDM: EntitySet</p>
<p style="text-align: justify;">EDM: EntityType</p>
<p style="text-align: justify;">EDM: Property</p>
<p style="text-align: justify;">EDM: Nav Navigation Property</p>
<p style="text-align: justify;">EDM: AssociationSet</p>
<table style="border-collapse: collapse; width: 100%; height: 56px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Checkout our Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP UI5 Tutorial" href="https://tekslate.com/sap-ui5-tutorial" target="_blank"><strong>SAP UI5 Tutorial</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q20) What is the difference between SAP Fiori and SAPUI5?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>SAP FIORI is a collection of standard applications based on the SAPUI5 library provided by SAP. SAP FIORI applications share some standard design guidelines and the way in which these applications are developed.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q21) How many types of Fiori applications are there?</span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Ans:</strong></span> There are 3 types of Fiori applications:</p>
<ul>
<li style="text-align: justify;">Transactional</li>
<li style="text-align: justify;">Analytical</li>
<li style="text-align: justify;">Fact Sheets</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;">Q22) What is the difference between SAP Fiori and SAPUI5?</span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Ans: </strong></span>SAP FIORI is a collection of standard applications based on the SAPUI5 library provided by SAP. SAP FIORI applications share some standard design guidelines and the way in which these applications are developed.</p>
<h3 style="text-align: justify;"><span style="font-style: inherit; font-size: 18px; color: #e67e23;">Q23) What is FIORI Launchpad and Explain it?</span></h3>
<p style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>It is a home page for all the FIORI applications provided. There is more than five hundred custom app provided by SAP. This shows a tile-based UI where every UI redirects to the assigned FIORI application. This Launchpad is fully customizable according to your needs like theming and all.</span></p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><span style="font-style: inherit;">Q24) How can you get the web browser of the client on which the SAP Fiori application is running?</span></strong></span></h3>
<p style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>SAPUI5 library provides a special API &ldquo;sap.ui.Device&ldquo;which can be used for the device and its feature detection. This API provides flags like &ldquo;chrome&rdquo;, &ldquo;firefox&rdquo;, &ldquo;Mozilla&rdquo;, &ldquo;edge&rdquo; etc. in &ldquo;sap. ui.Device.browser&rdquo; API which returns boolean values.&nbsp;</span></p>
<h3 style="text-align: justify;"><span style="font-style: inherit; font-size: 18px; color: #e67e23;"><a id="q25"></a>Q25) What are Fiori Design Principles?</span></h3>
<p style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>There are 5 design principles we need to keep in mind while designing SAP Fiori applications.</span></p>
<ul>
<li style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;">Role-Based</span></li>
<li style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;">Delightful</span></li>
<li style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;">Simple</span></li>
<li style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;">Responsive</span></li>
<li style="text-align: justify;"><span style="font-style: inherit; font-weight: inherit;">Coherent</span></li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><a id="q26"></a>Q26) What is SAP Fiori?</span></h3>
<p style="text-align: justify;"><strong><span style="color: #e67e23;"><span style="color: #000000;">Ans:</span> </span></strong>SAPUI5 is a client-side HTML5 rendering framework or library and SAP FIORI is a collection of and released as waves of applications that are completely based on the SAPUI5 framework. It means we can create applications using the SAPUI5 framework and SAP FIORI is the final product i.e. application. In SAPUI5 we have to code from scratch, but in Fiori Application the custom application is already built and enhancements can be done on those custom apps.</p>77:T65b3,<div>
<p><span style="font-size: 14px;">Are you planning to attend an interview for the SAP B1 Developer role but confused on how to crack that interview and also what would be the most probable <strong>SAP B1 Interview Questions</strong> that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked <strong>SAP B1 Interview Questions</strong> which are often asked in multiple interviews.</span></p>
<p><span style="font-size: 14px;">In this article, we will cover the following:</span></p>
<ul>
<li style="text-align: justify;"><span style="font-size: 14px; color: #236fa1;"><strong><span style="font-family: georgia, palatino, serif;"><a style="color: #236fa1;" href="#scenario">SAP B1 Certification Questions</a>&nbsp;</span></strong></span></li>
<li style="text-align: justify;"><span style="font-size: 14px; font-family: georgia, palatino, serif; color: #236fa1;"><strong><a style="color: #236fa1;" href="#advanced">SAP B1 Interview Questions for Experienced</a></strong></span></li>
</ul>
<h2 style="text-align: left;"><span style="font-size: 24px; color: #236fa1;">SAP B1 Interview Questions and Answers</span></h2>
<h3><span style="font-size: 18px; color: #e67e23;">Q1) What is SAP B1?</span></h3>
</div>
<div>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:&nbsp;</span></strong>B1 = Business One SAP Business One is an integrated enterprise resource planning (ERP) solution for small and medium-sized businesses, as well as divisions and subsidiaries of larger companies.</span></p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q2) Can we format BEx reports/graphs using HTML and CSS?</span></h3>
</div>
<div>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:&nbsp;</span></strong>Manual says we can do format using HTML and <span style="color: #236fa1;"><a style="color: #236fa1;" title="Cookies in JavaScript" href="https://tekslate.com/cookies-javascript" target="_blank">Java Script</a></span> [not css].</span></p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q3) Why is there a restriction of 16 Dim tables in an Info Cube and 16 critical fields in an ODS?</span></h3>
</div>
<div>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:&nbsp;</span></strong>In all of the database systems, there is maximum number of fields allowed to create a primary key (composite key) is 16. In the case of a cube, to fetch a single record a combination of all dimensions is used, so this is the reason behind having a maximum no. of dimensions in the cube is 16 only.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q4) Which is the DLL's used in SAP Business One SDK?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:&nbsp;</span></strong>Interop.SAP bouiCOM.dll and Interop.SAP bobs COM.dll are the two Dell's used in SAP Business One SDK. Interop.SAPbouiCOM.dll is used for accessing the user controls that are displayed over the form. Different controls such as labels, combo boxes, matrices, etc. can be accessed using Interop.SAPbouiCOM.dll. Interop.SAPbobsCOM.dll is used for accessing objects that are used in SAP. For eg, the item objects can be accessed as, Dim objItem As SAPbobsCOM.Items</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q5) What are SAP and ERP?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:&nbsp;</span></strong>SAP is the name of the company that supplies the leading ERP software released as SAP BW, <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP ERP RDS for profitability analysis" href="https://tekslate.com/sap-erp-rds-profitability-analysis-sap-hana-data-provisioning" target="_blank">SAP ERP</a></span>, and various other SAP applications. The company was founded in Germany in 1972 and has released various versions of its ERP software. There are currently over eight million SAP users around the world.</span></p>
<p><span style="font-size: 14px;">ERP is an acronym for Enterprise Resource Planning. ERP applications are applications that are designed to create a real-time view of the core business processes within a company so that the company can monitor and manage its processes efficiently. ERP software tracks the day-to-day transactions and processes within a company. ERP software tracks various business resources like cash, raw materials, production capacity, and sales. Data is shared between the various company departments. ERP packages are therefore often integrated applications that span the various business processes within the business. Databases are the most popular storage method for shared information. For more information on SAP basics, you can read the SAP Basics and Resources to Help You Learn More article available on the Udemy blog.</span></p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q6) Why do we have only 16 Dimension tables in a cube? Is there any reason? Is it a limitation?</span></h3>
</div>
<div>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;<span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP BO BI Training" href="https://tekslate.com/sap-bo-bi-training" target="_blank">SAP BI</a></span> Info Cube Can have a maximum of 16 Dimensions, Why because a Cube shape will have only 16 Dimensions and also Normal database table will have only 16 key fields. When we create the Info Cube system is going to create tables like F-table and &nbsp;E-table So, we should follow that database concept Because Info Cube will Have only 16 Dimensions.</span></p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q7) Why we are going for customization? Give me a scenario.</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:&nbsp;</span></strong></span></p>
<ul>
<li><span style="font-size: 14px;">For Requirement as per company</span></li>
<li><span style="font-size: 14px;">Reporting As Per Module</span></li>
<li><span style="font-size: 14px;">Remove Complexity From End-User</span></li>
</ul>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q8) Where do you store the master data in&nbsp; BI 7.0?</span></h3>
</div>
<div><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> Unlike the older version of BW which uses star schema, BI 7.0 uses the extended star schema. In this, master data is stored outside the cube. In the star schema, both master data and transaction data reside inside the cube bringing many problems: master data is not reusable, computing of alphanumeric values, and analysis is limited. In BI 7.0 Master data is stored outside the cube which makes it reusable, and alphanumeric values can be computed and many more analyses are possible.</span>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q9) What are the common Transport errors in SAP BW?</span></h3>
</div>
<div><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> NOT CORRECT USAGE. Reason: When we change the structure of any cube which has Business Warehouse Accelerator Indexes created for it. A change in structure could mean a change as simple as adding a navigational attribute. solution: Delete the Indexes (BWA Indexes)first then transport and then rebuild the indexes Info Object not available inactive version. Reason: We get this error when we try to transport the Info Object Catalogs without transporting the info objects. Solution: As a prerequisite first transport the info objects then transport info object catalogs. The navigational attribute does not exist Reason: If we mark an object in the cube as a navigational attribute and the navigational attribute does not exist as navigational in the target system. Solution: Transport the info object with a navigational attribute and then re-import this transport.</span>
<div>
<h2 id="scenario"><span style="color: #236fa1; font-size: 24px;">SAP B1 Certification Questions </span></h2>
<h3><span style="font-size: 18px; color: #e67e23;">Q10) What advantage of it with aggregates?</span></h3>
</div>
<div><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> If we create aggregates on info cube then query performance will be improved if our query accesses attributes data frequently. The sequence when we execute the query is: Query first goes into cache if it finds relevant data in the cache will fetch data otherwise it goes into BI ACCELERATOR(BIA) Aggregates Finally it goes into IC if the data is not available in the above 3 stages. If we maintain aggregates or BIA OLAP no need to come up to IC. So time will be reduced. Query performance will be improved.</span></div>
</div>
</div>
<h3><span style="font-size: 18px; color: #e67e23;">Q11) What is used in SDK for developing a form?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> Screen painter is used for developing forms in SAP Business One SDK. Screen Painter is provided as an add-on by SAP and it can be used to design and develop forms. The files created by the screen painter have srf extension and these files should be renamed to XML for deploying them in SAP Business One.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q12) Which tool is provided by SAP for keeping track of events?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> SAP Business One Event Logger is a tool provided by SAP for keeping track of events. Both SAP Business One and event logger should be executed simultaneously. The event logger will give you a detailed list of events that fired while operating SAP. Event logger is a very useful tool while developing add-ons in SDK. Coding can be done as per the events that are shown in the event logger. For developing robust applications in SAP Business One SDK, an event logger is a useful tool since the entire programming in SAP Business One SDK is event-driven.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q13) Is it possible to alter the standard behaviour of SAP Business One using SDK?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> The standard behaviour or the conventional flow of SAP Business One can not be altered using SDK. Some or other errors will occur. So it is advisable not to disturb the conventional flow of SAP Business One using SDK.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q14) What is the et_FORM_DATA_ADD event in SAP Business One SDK?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;et_FORM_DATA_ADD event fires when the add button is clicked. This event adds a new record in SAP. This event can be used for validating the input received by the user. This event fires in two sessions. In the first session, an event fires before the successful execution of the event I .e.ActionSuccess.The code is as,</span></p>
<p><span style="font-size: 14px;">BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD ANDBusinessObjectInfo.ActionSuccess = False The second session occurs when the action is executed successfully i.e.</span></p>
<p><span style="font-size: 14px;">SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD ANDBusinessObjectInfo.ActionSuccess = True</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q15) How is SAP Business One implemented?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;SAP Business One is implemented as a two-layer architecture. The system is based on a Microsoft SQL Server database where data is stored centrally. The business logic is mostly processed on the client software (fat client).</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q16) What are the different components of SAP Business One client software?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Graphical user interface and the business object classes connecting to the database are the different components of SAP Business One client software.</span></p>
<div>
<h3><span style="font-size: 18px; color: #e67e23;">Q17) Explain the difference between transfer rule&amp;update rules.</span></h3>
</div>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;In context to <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP BW Training " href="https://tekslate.com/sap-bw-training" target="_blank">SAP BW</a></span>/BI 3. x</span></p>
<p><em><strong><span style="font-size: 14px;">Transfer rules: </span></strong></em></p>
<p><span style="font-size: 14px;">Mapping the fields in the data source to the info objects in the Info source or target fields. it helps you to distinguish which all fields in the data source are required in the info objects in the Info source.&nbsp; &nbsp;</span></p>
<p><em><strong><span style="font-size: 14px;">Update rules: </span></strong></em></p>
<p><span style="font-size: 14px;">To update something. here it revolves around a source(info source)and a target(data target). update rules are used to update the data targets.you have to create update rules if you supply a data target from an Info-Source with a flexible update.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q18) What is the function of UI API i.e. User Interface API?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;UI API stands for User Interface Application Program.Dll is provided by SAP i.e. Interop.SAPbouiCOM.dll.The reference of this dll is added in the project to access it in the project. UI API is used for accessing the controls that are displayed on the form. The following are the functions of UI API</span></p>
<ul>
<li><span style="font-size: 14px;">Provides objects and methods to access screen objects of the User Interface.</span></li>
<li><span style="font-size: 14px;">Provides access to internal system events of the user interface.</span></li>
<li><span style="font-size: 14px;">Provides the ability to modify or add menus, windows, or fields.</span></li>
<li><span style="font-size: 14px;">It provides one integrated user interface.</span></li>
<li><span style="font-size: 14px;">Use COM capable development tools (Microsoft Visual &hellip;)</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q19) What is the use of a company object in SAP Business One?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> The following are the uses of company objects in SAP Business One -</span></p>
<ul>
<li><span style="font-size: 14px;">Access Data in an SAP Business One database.</span></li>
<li><span style="font-size: 14px;">Connect to and disconnect to the customer database.</span></li>
<li><span style="font-size: 14px;">Start and end global transactions.</span></li>
<li><span style="font-size: 14px;">Work with XML data.</span></li>
</ul>
<h2 id="advanced"><span style="color: #236fa1; font-size: 24px;">SAP B1 Interview Questions For Experienced</span></h2>
<h3><span style="font-size: 18px; color: #e67e23;">Q20) What are the different types of data sources?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> The following are the different types of data sources -</span></p>
<ul>
<li><span style="font-size: 14px;">Data Tables</span></li>
<li><span style="font-size: 14px;">DB Data Sources</span></li>
<li><span style="font-size: 14px;">User DataSources</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q21) What are the functions of the Data Interface API (DI API)?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Following are the functions of the Data Interface API (DI API) -</span></p>
<ul>
<li><span style="font-size: 14px;">DI API provides objects and methods i.e. add, update, Remove, for performing various data-level operations. This can be done without installing the SAP Business One client.</span></li>
<li><span style="font-size: 14px;">DI API provides access to business objects i.e. master data and transnational data.</span></li>
<li><span style="font-size: 14px;">DI API can be used in COM-capable development tools (e.g. Microsoft Visual Studio). Dll SAPbobsCOM.dll is provided by SAP. Just by adding the reference of this dll, you can perform data-level operations.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q22) What are the different types of transactions supported by DI API?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong> Following are the different types of transactions supported by DI API</span></p>
<ul>
<li><span style="font-size: 14px;">Single Transaction</span></li>
<li><span style="font-size: 14px;">Global Transaction</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q23) What is a Bubble Event?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Bubble Event specifies whether the event will be processed by SAP Business One or not.If Bubble Event=True, then SAP Business One will process the event else the execution will terminate.</span></p>
<p><span style="font-size: 14px;">For eg,</span></p>
<pre class="language-javascript"><code>If pVal.EventType = BoEventTypes.et_CLICK And pVal.Action_Success = True And pVal.FormUID = "F_32" And pVal.ItemUID = "btnSave" Then

BubbleEvent=False

End If</code></pre>
<p><span style="font-size: 14px;">In the above code, the click event of the save button is handled. When the user clicks on the save button, then first the above code will execute and then it will be handled by SAP Business One. Here I have set BubbleEvent=False.So the click event will terminate and SAP Business One will not handle the event.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q24) What is DBDataSource?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;DBDataSource is used for storing data from the database.DBDataSource is linked to a database table and it represents tabular data.DBDataSource is used by all system forms. You can get DBDataSource as follows -</span></p>
<p><span style="font-size: 14px;">Here I have assumed that I have opened the form of Sales Order and I want to get the database details of the sales order. The table's name is ORDER.</span></p>
<p><span style="font-size: 14px;">Dim objDS As SAPbouiCOM.DBDataSource</span></p>
<p><span style="font-size: 14px;">objDS = SBO_Application.Forms.ActiveForm.DataSources.DBDataSources.Item("ORDR")</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q25) How to bind a textbox with data source?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Textbox can be binded to datasource as follow&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Dim objForm As SAPbouiCOM.Form</span></li>
<li><span style="font-size: 14px;">Dim txtDocEntry As SAPbouiCOM.EditText</span></li>
<li><span style="font-size: 14px;">objForm = SBO_Application.Forms.ActiveForm</span></li>
<li><span style="font-size: 14px;">objForm.DataSources.UserDataSources.Add("DocEntry", SAPbouiCOM.BoDataType.dt_LONG_NUMBER)</span></li>
<li><span style="font-size: 14px;">txtDocEntry = objForm.Items.Item("txtDocEntry").Specific</span></li>
<li><span style="font-size: 14px;">txtDocEntry.DataBind.SetBound(True, "", "DocEntry")</span></li>
<li><span style="font-size: 14px;">In the above code,I have considered the textbox txtDocEntry.I want this textbox to accept numeric input only.So I have binded it with dt_LONG_NUMBER as shown above.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q26) What are the limitations of the DI server?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Following are the limitations of DI server&nbsp;</span></p>
<ol>
<li><span style="font-size: 14px;">Metadata operations not supported.</span></li>
<li><span style="font-size: 14px;">Different support for transaction handling than plain DI API.</span></li>
</ol>
<h3><span style="font-size: 18px; color: #e67e23;">Q27) What is the function of OBServerDLL.DLL?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;In OBServerDLL.DLL, the business objects of the SAP Business One client are copied.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q28) What are the different parts of DI API?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;Following are the different parts of DI API&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">COM Interface - The COM Interface provides the interface to the add-on application.</span></li>
<li><span style="font-size: 14px;">DI Core - The DI Core, which is the main component of the DI API, performs all the data logic operations.</span></li>
<li><span style="font-size: 14px;">Data Manager - The Data Manager stores temporary object data, converts object data to internal data formats, retrieves data from the database, and controls the database transactions.</span></li>
<li><span style="font-size: 14px;">Schema Generator - The Schema Generator creates XML schemas based on object interface descriptions. The schema generator also creates object validation lists.</span></li>
</ul>
<h3><span style="font-size: 18px; color: #e67e23;">Q29) Where does DI server execute i.e. client or server?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;DI server executes on the server.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q30) For performing heavy-duty operations what is a suitable DI API or DI server?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;For performing heavy-duty operation DI server is suitable. The DI Server implements a connection pooling mechanism to enhance the performance and scalability of the server. As DI Server is a SOAP-based interface it does not limit the client to a COM interface but allows a wide range of possible client technologies.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q31) What is the value returned when any method of a DI API object executes successfully?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;0 is returned when any method of a DI API object executes successfully.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q32) Which table saves the details of the country?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;The OCRY table saves the details of the country.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q33) Which property of the matrix gives the total number of rows in the matrix?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;The property VisualRowCount gives the total number of rows in the matrix.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q34) In SAP Business One SDK, which object is used for executing SQL queries and stored procedures?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;In SAP Business One SDK, the recordset object is used for executing SQL queries and stored procedures.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q35) What is the value returned by a method when it executes successfully?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;0 is the value returned by a method when it executes successfully.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q36) What is A/R Invoice?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;The acronym of A/R Invoice is Account Receivable Invoice. For selling a product, the following invoices are added in SAP Business One&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Sales Quotation</span></li>
<li><span style="font-size: 14px;">Sales Order</span></li>
<li><span style="font-size: 14px;">Delivery</span></li>
<li><span style="font-size: 14px;">&nbsp;A/R Invoice</span></li>
</ul>
<p><span style="font-size: 14px;">So A/R Invoice is the last process for the sales department. When the A/R Invoice is added, the respective accounting entries are added. The report from the A/R Invoice is sent as a bill along with the product.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;">Q37) What is A/P Invoice?</span></h3>
<p><span style="font-size: 14px;"><strong><span style="color: #000000;">Ans:</span></strong>&nbsp;The acronym of A/P Invoice is Account Payable Invoice. For purchasing the goods, the following invoices are added in SAP Business One&nbsp;</span></p>
<ul>
<li><span style="font-size: 14px;">Purchase Quotation</span></li>
<li><span style="font-size: 14px;">Purchase Order</span></li>
<li><span style="font-size: 14px;">Goods Receipt PO</span></li>
<li><span style="font-size: 14px;">A/P Invoice</span></li>
</ul>
<p><span style="font-size: 14px;">So A/P Invoice is the last process for the purchasing department. When A/P Invoice is added, the accounting effect can be seen.</span></p>
</div>
</div>
</div>
</div>
</div>78:Ted1,<h2 style="text-align: justify;"><span style="font-size: 14pt; color: #ba372a;"><strong>Introduction</strong></span></h2>
<p style="text-align: justify;">Welcome to SAP MRS Tutorial. The objective of these tutorials is to provide an in-depth understanding of SAP MRS. In addition to free SAP MRS, we will cover common interview questions, issues, and how to&rsquo;s of SAP MRS.</p>
<h2><span style="font-size: 14pt; color: #ba372a;"><span style="color: #ba372a;"><span style="font-size: 18.6667px;"><strong>SAP Multi-Resource Scheduling</strong></span></span></span></h2>
<p style="text-align: justify;">SAP MRS stands for multi-resource scheduling and planning. SAP MRS is a component of <a href="https://tekslate.com/sap-erp-rapid-deployment-solution-profitability-analysis-sap-hana-project-planning" target="_blank">SAP ERP</a> application and allows enterprises effortlessly to manage high-volume resources and supports operations and maintenance strategy. SAP MRS offers state-of-art features and functionalities which makes SAP MRS a must-have for service industries. SAP MRS is an add-on to the SAP ECC components. MRS provides the resource planner in various application areas with an intuitive graphical interface that contains information about open demands, the utilization of resources, and any possible conflicts with the current resource planning.</p>
<p style="text-align: justify;">The software provides assistance in finding the relevant resources related to your demands and consecutively assign them to the demands and later these arise from the units of work corresponding to the areas of Service, project system which is the primary source of these sources of demand meant for SAP Multisource Scheduling are listed below:</p>
<ul>
<li style="text-align: justify;">Customer Service orders</li>
<li style="text-align: justify;"><a href="https://tekslate.com/sap-crm-training" target="_blank">CRM</a> service orders</li>
<li style="text-align: justify;">Projects from Collaboration Projects (projects)</li>
<li style="text-align: justify;">Projects from Project System</li>
<li style="text-align: justify;">Plant Maintenance orders</li>
</ul>
<p style="text-align: justify;">With the help of SAP Multi Resource Scheduling, one can do multiple things that vary right from viewing the status of resource planning, allocating appropriate tools as well as employees that require demands from various areas.</p>
<h2 style="text-align: justify;"><strong><span style="font-size: 14pt; color: #ba372a;">Features of MRS</span></strong></h2>
<ul>
<li style="text-align: justify;">It focuses on an overview of your current planning status</li>
<li style="text-align: justify;">It includes scheduled requests</li>
<li style="text-align: justify;">It includes resource utilization</li>
<li style="text-align: justify;">It concentrates on open work lists</li>
<li style="text-align: justify;">Uses a graphical planning board</li>
<li style="text-align: justify;">SAP MRS is supported by an alert monitor, to interactively dispatch open service requests to your available resources</li>
<li style="text-align: justify;">Use an optimization engine to automatically create an optimized schedule</li>
<li style="text-align: justify;">It Determines your overall request status</li>
<li style="text-align: justify;">It also Supports your field service efficiency</li>
<li style="text-align: justify;">It makes you Understand your resource utilization</li>
<li style="text-align: justify;">It will take advantage of analytics</li>
<li style="text-align: justify;">Using analytics reduces the commute times by integrating Geographical Information Systems (GIS)</li>
<li style="text-align: justify;">Make use of mobile connectivity to update the requests for your field service personnel</li>
</ul>79:T309f,<p><span style="font-size: 14px;">Are you planning to attend an interview for the SAP Lumira Developer role but confused about how to crack that interview also what would be the most probable SAP Lumira Interview Questions that the interviewer may ask? Well, you have reached the right place. Tekslate has collected the most frequently asked <strong>SAP Lumira Interview Questions</strong> which are often asked in multiple interviews.</span></p>
<table style="border-collapse: collapse; width: 100%; height: 120px;" border="1px" cellpadding="10">
<tbody>
<tr style="background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<h3 style="text-align: center;"><span style="font-size: 18px;"><strong>Most Frequently Asked SAP Lumira Interview Questions</strong></span></h3>
</td>
</tr>
<tr style="border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q1">What is SAP Lumira Server?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q2">What is the business value of the SAP Lumira Server?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q4">What can I do with SAP Lumira Server?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q5">Is SAP Lumira Server generally available?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q7">How is SAP Lumira Server licensed?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q11">What are the system requirements?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q12">What are the supported browsers?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q16">Can I publish data sets on SAP Lumira Server?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q17">Can SAP Lumira Server be accessed via a mobile device?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#q18">Where can I find videos about SAP Lumira Server?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="color: #236fa1; font-size: 24px;">SAP Lumira Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q1"></a>Q1. What is SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP Lumira" href="https://tekslate.com/sap-lumira" target="_blank">SAP Lumira</a></span> Server is an agile visualization solution that allows business users to analyze massive data volumes and get unique insight in real-time. Designed for ease of use and collaboration, SAP Lumira Server lets you share compelling data stories and extend the power of big data to everyone across the enterprise.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q2"></a>Q2. What is the business value of the SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans:</strong><strong>&nbsp;</strong>Deliver faster time to insight with the latest visualization technologies.</p>
<p style="text-align: justify;">Visualize any amount of data in real time with an intuitive drag-and-drop interface.</p>
<p style="text-align: justify;">Maximize business knowledge with a combination of big-picture insights and granular details.</p>
<p style="text-align: justify;">Drive immediate outcomes across your enterprise with the power of big data.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q3. How will SAP HANA customers benefit from SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>SAP Lumira Server runs natively on the SAP HANA platform with direct and fully optimized access to analytic and calculation views in order to leverage the power of the HANA platform.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q4"></a>Q4. What can I do with SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Expose HANA views as datasets on the SAP Lumira Server desktop) and publish it as a dataset on SAP Lumira Server</p>
<p style="text-align: justify;">Create beautiful graphics and visualizations to convey and share knowledge</p>
<p style="text-align: justify;">Show the &ldquo;where&rdquo; of your data using interactive maps and geolocations</p>
<p style="text-align: justify;">Share your insights instantly making it easy to collaborate with teammates and colleagues.</p>
<p style="text-align: justify;">Create, explore, and share datasets and analytics and made them available via web browsers or mobile devices.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q5"></a>Q5. Is SAP Lumira Server generally available?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes. SAP Lumira Server is generally available (GA) and customers can download it from SAP Service Marketplace.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q6. Will customers require the SAP HANA platform to benefit from SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes, SAP Lumira Server is a native SAP HANA software solution and requires <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP HANA ETL Based Replication" href="https://tekslate.com/sap-hana-etl-based-replication" target="_blank">SAP HANA</a></span>.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q7"></a>Q7. How is SAP Lumira Server licensed?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>SAP Lumira Server is currently licensed under the <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP Business Object Mobile Configuration" href="https://tekslate.com/sap-business-object-mobile" target="_blank">SAP BusinessObjects</a></span> BI license model.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q8. Is SAP Lumira &ldquo;desktop&rdquo; integrated with SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes. SAP Lumira &ldquo;desktop&rdquo; and SAP Lumira Server have been designed to work as one solution. Desktop users can create visualizations and stories and make them available across the organization by publishing them on the SAP Lumira Server.</p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP ABAP? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP ABAP Training" href="https://tekslate.com/sap-abap-training" target="_blank"><strong>SAP ABAP Training</strong></a></span>&nbsp;to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q9. Can I use SAP Lumira (desktop) to publish data sets on SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes. SAP Lumira &ldquo;desktop&rdquo; and SAP Lumira Server have been designed to work as one solution. Desktop users can create visualizations and stories and make them available across the organization by publishing them on the SAP Lumira Server.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q10. Is SAP Lumira Server a native SAP HANA application?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes, SAP Lumira Server is a native SAP HANA XS application hosted on and managed by the SAP HANA platform:</p>
<p style="text-align: justify;">SAP Lumira Server can be installed using SAP HANA Lifecycle manager</p>
<p style="text-align: justify;">Identity and access management is based on the SAP HANA platform</p>
<p style="text-align: justify;">Support manual authentication and SSO (SAML / X.509)</p>
<p style="text-align: justify;">Content authorization can be set at the SAP HANA-role level with a view or edit rights to the content. Content authorization respects the Data Authorization security context.</p>
<p style="text-align: justify;">Logging and tracing via XS trace logs facility which logs in the same way as the core SAP HANA logs.</p>
<p style="text-align: justify;">Logging uses the browser console and logs are discarded when the browser closes or moves to another URL.</p>
<p style="text-align: justify;">Backup and recovery as SAP HANA instance</p>
<p style="text-align: justify;">Load balancing and a reverse proxy are supported</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q11"></a>Q11. What are the system requirements?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>SAP HANA SP07 Rev 70</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q12"></a>Q12. What are the supported browsers?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Google Chrome and Microsoft Internet Explorer 9</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q13. What are the supported languages?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Only English is supported at this time.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q14. Which version of SAP Lumira (desktop) do I need to &ldquo;connect&rdquo; to SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>SAP Lumira Server currently supports SAP Lumira 1.0 SP15 (version 1.15) and up.</p>
<table style="border-collapse: collapse; width: 100%; height: 56px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Checkout our Blog on <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP Lumira Tutorial" href="https://tekslate.com/sap-lumira-tutorials" target="_blank"><strong>SAP Lumira Tutorial</strong></a></span></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;">Q15. How do I publish stories I created using SAP Lumira (desktop)?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>You will see a new "Publish to SAP Lumira Server" option under the Share tab. Select your story and click on &ldquo;Publish to SAP Lumira Server&rdquo;. You will be asked to enter your SAP Lumira credentials.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q16"></a>Q16. Can I publish data sets on SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes, you can combine and enrich data from multiple sources (xlsx, relational databases, SAP BusinessObjects universes) and then publish the resulting dataset to SAP Lumira Server.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q17"></a>Q17. Can SAP Lumira Server be accessed via a mobile device?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>SAP Lumira Server can be accessed from any mobile device supporting HTML5. SAP Lumira Server is also integrated with SAP BusinessObjects Mobile, which you can download from Apple&rsquo;s App Store.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><a id="q18"></a>Q18. Where can I find videos about SAP Lumira Server?</span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The HANA Academy has recently published several SAP Lumira Server "how-to" videos:</p>
<p style="text-align: justify;">HANA Academy: Live2 Project: Installing SAP Lumira Server - YouTube</p>
<p style="text-align: justify;">HANA Academy: Building and Exporting Storyboards with SAP Lumira Server - YouTube</p>
<p style="text-align: justify;">HANA Academy: Creating Scripted Calculation Views with SAP Lumira Server - YouTube</p>7a:T315a,<h2 style="text-align: justify;"><span style="text-align: start; font-size: 24px; font-family: Arial; color: #e67e23;" data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;SAP LUMIRA&quot;}" data-sheets-userformat="{&quot;2&quot;:4226,&quot;4&quot;:[null,2,16777215],&quot;10&quot;:2,&quot;15&quot;:&quot;Arial&quot;}">SAP LUMIRA</span></h2>
<p style="text-align: justify;">SAP Lumira is a data manipulation and visualization tool. You can connect to various data sources, select and clean data, and manipulate and visualize data with a diverse offer of graphical charts and tables. SAP Lumira is installed locally and can operate on data either remotely or on locally stored datasets. The charts that are created can be saved and sent out by email. Your datasets can be published to <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP HANA Tutorial" href="https://tekslate.com/sap-hana-tutorials-interview-questions" target="_blank">SAP Hana</a></span>, SAP Explorer, the SAP Lumira Cloud, and SAP Streamwork activities. The charts that you create in SAP Lumira are saved in documents with the file format.SViD. This is a document that contains the data source connection information, the data definition and data, and the visualizations.</p>
<h3 style="text-align: justify;"><span style="font-size: 20px; color: #e67e23;">Create a document and acquire a dataset from a Microsoft Excel file</span></h3>
<p style="text-align: justify;"><img class=" wp-image-19219 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.495.png" alt="sap lumira dataset" width="716" height="257" /></p>
<p style="text-align: justify;"><strong>Click on New Document</strong></p>
<p style="text-align: justify;"><img class=" wp-image-19221 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.496.png" alt="SAP Lumira" width="699" height="475" /></p>
<p style="text-align: justify;"><img class=" wp-image-19222 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.497.png" alt="sap lumira source" width="652" height="312" /></p>
<p style="text-align: justify;"><img class=" wp-image-19224 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.498.png" alt="sap lumira" width="686" height="342" /></p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of SAP BASIS? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP BASIS Training" href="https://tekslate.com/sap-basis-training" target="_blank"><strong>SAP BASIS Training</strong></a></span>&nbsp;to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><img class=" wp-image-19225 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.499.png" alt="sap lumira" width="676" height="354" /></p>
<p style="text-align: justify;"><img class=" wp-image-19226 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.500.png" alt="Capture.500" width="630" height="365" /></p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-19228" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.5011.png" alt="sap lumira acquiring data" width="616" height="537" /></p>
<p style="text-align: justify;"><img class=" wp-image-19229 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.502.png" alt="sap lumira" width="507" height="406" /></p>
<p style="text-align: justify;"><img class="size-full wp-image-19230 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.503.png" alt="Capture.503" width="561" height="542" /></p>
<p style="text-align: justify;"><img class=" wp-image-19231 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.504.png" alt="sap lumira" width="662" height="554" /></p>
<p style="text-align: justify;"><img class=" wp-image-19232 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.505.png" alt="sap lumira" width="618" height="504" /></p>
<p style="text-align: justify;">Acquire a dataset from a universe</p>
<p style="text-align: justify;"><strong>&nbsp;</strong>Create a New Document</p>
<p style="text-align: justify;"><img class=" wp-image-19233 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.506.png" alt="sap lumira" width="585" height="574" /></p>
<p style="text-align: justify;">Select Universe</p>
<p style="text-align: justify;"><img class=" wp-image-19234 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.507.png" alt="sap lumira" width="528" height="403" /></p>
<p style="text-align: justify;">Design Query.</p>
<p style="text-align: justify;"><img class=" wp-image-19235 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.508.png" alt="sap lumira design query" width="533" height="320" /></p>
<p style="text-align: justify;">Acquire a dataset from a database using Freehand SQL</p>
<p style="text-align: justify;"><strong>&nbsp;</strong>Create a new document</p>
<p style="text-align: justify;"><img class=" wp-image-19236 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.510.png" alt="sap lumira create a document" width="439" height="440" /></p>
<p style="text-align: justify;"><img class=" wp-image-19237 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.511.png" alt="sap lumira" width="626" height="382" /></p>
<p style="text-align: justify;">Provide details</p>
<p style="text-align: justify;"><img class=" wp-image-19238 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.512.png" alt="sap lumira" width="634" height="304" /></p>
<p style="text-align: justify;">Select the Source table &amp; Write Query</p>
<p style="text-align: justify;"><img class=" wp-image-19239 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.513.png" alt="sap lumira source table" width="625" height="405" /></p>
<p style="text-align: justify;"><img class=" wp-image-19240 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.514.png" alt="sap lumira" width="558" height="308" /></p>
<h3 style="text-align: justify;"><span style="font-size: 18px;">Building Visualizations and Storyboards</span></h3>
<p style="text-align: justify;">1) Manage measures in a dataset</p>
<p style="text-align: justify;"><strong>&nbsp;</strong>Execute Query</p>
<p style="text-align: justify;"><img class=" wp-image-19241 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.515.png" alt="sap lumira storyboards" width="653" height="356" /></p>
<p style="text-align: justify;">Delete column</p>
<p style="text-align: justify;"><img class=" wp-image-19242 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.516.png" alt="sap lumira delete column" width="600" height="376" /></p>
<p style="text-align: justify;"><img class=" wp-image-19243 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.517.png" alt="sap lumira remove color code" width="550" height="341" /></p>
<p style="text-align: justify;">Create a measure</p>
<p style="text-align: justify;"><img class=" wp-image-19244 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.518.png" alt="sap lumira yoga west" width="520" height="520" /></p>
<p style="text-align: justify;"><img class=" wp-image-19245 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.519.png" alt="Capture.519" width="778" height="340" /></p>
<p style="text-align: justify;"><img class=" wp-image-19246 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.520.png" alt="sap lumira change aggregation" width="754" height="625" /></p>
<p style="text-align: justify;">Sort, rank, calculate, and filter values in a visualization</p>
<p style="text-align: justify;">Execute any Query</p>
<p style="text-align: justify;"><img class=" wp-image-19247 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.521.png" alt="sap lumira execute any query" width="592" height="426" /></p>
<p style="text-align: justify;">Select any measure &amp; set the order</p>
<p style="text-align: justify;"><img class=" wp-image-19248 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.522.png" alt="sap lumira measures" width="442" height="300" /></p>
<p style="text-align: justify;"><img class=" wp-image-19249 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.523.png" alt="sap lumira ranking" width="580" height="555" /></p>
<p style="text-align: justify;">Can calculate</p>
<p style="text-align: justify;"><img class=" wp-image-19250 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.524.png" alt="sap lumira calculate" width="620" height="446" /></p>
<p style="text-align: justify;"><img class=" wp-image-19251 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.525.png" alt="sap lumira" width="664" height="318" /></p>
<p style="text-align: justify;"><strong>Sharing Results</strong></p>
<p style="text-align: justify;">Export a dataset as a HANA</p>
<p style="text-align: justify;"><strong>&nbsp;</strong>Execute Query</p>
<p style="text-align: justify;"><img class=" wp-image-19252 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.526.png" alt="sap lumira export a dataset" width="544" height="340" /></p>
<p style="text-align: justify;">Create a View</p>
<p style="text-align: justify;"><img class=" wp-image-19253 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.527.png" alt="sap lumira" width="593" height="373" /></p>
<p style="text-align: justify;"><img class=" wp-image-19254 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.528.png" alt="sap lumira publish" width="725" height="299" /></p>
<p style="text-align: justify;">Publish a dataset to SAP BusinessObjects Explorer</p>
<p style="text-align: justify;"><strong>&nbsp;</strong>Create a Query &amp; publish it to Explorer</p>
<p style="text-align: justify;"><img class=" wp-image-19255 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.529.png" alt="sap lumira " width="585" height="572" /></p>
<p style="text-align: justify;">Select Folder &amp; Click on Publish</p>
<p style="text-align: justify;"><img class=" wp-image-19256 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.530.png" alt="sap lumira Publish" width="604" height="410" /></p>
<p style="text-align: justify;">Log on to Launchpad &amp; check your report in a folder<img class="size-full wp-image-19257 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.531.png" alt="sap lumira document" width="624" height="333" /></p>
<p><strong>For in-depth understanding click on</strong></p>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP Lumira Tutorial" href="https://tekslate.com/sap-lumira-tutorials" target="_blank">SAP Lumira Tutorial</a></span></li>
<li><a title="SAP Lumira Interview Questions" href="https://tekslate.com/sap-lumira-interview-questions" target="_blank"><span style="color: #236fa1;">SAP Lumira Interview Questions</span></a></li>
</ul>7b:T62a,<p>&nbsp;</p>
<p><strong>Swift Interview Questions And Answers</strong></p>
<p><strong>1. What is IOS Swift?</strong></p>
<p><strong>Ans.</strong> A new programming language that is developed by Apple Inc in June 2014 to create and develop the applications for mobiles and desktops. This language works with macOS, iOS, watchOS and also tvOS.</p>
<p>Swift supports various operating systems such as Free SD, Darwin, Linux and so on.</p>
<p><strong>2. What are the advantages of using swift language?</strong></p>
<p><strong>Ans.</strong> Swift is one of the rapidly growing languages,&nbsp; this language helps us to develop software&rsquo;s that are incredibly fast, reliable, secure and robust. Swift is mostly used to develop the programmes for macOS, iPhone/ iPad(IOS)&nbsp;&nbsp;</p>
<p><strong>3. What are the applications of Swift language?</strong></p>
<p><strong>Ans.</strong></p>
<ul>
<li>Open-source language</li>
<li>Very easy to learn and maintain</li>
<li>Closures</li>
<li>Supported by multiple devices</li>
<li>Supports dynamic libraries</li>
<li>Optional types</li>
</ul>
<p><strong>4. If there is no IOS device then how can we test Apple iPhone applications?</strong></p>
<p><strong>Ans.</strong> If we don&rsquo;t have iOS then we can test those applications on simulators provided by apple on the mac system</p>
<p><strong>5. List the tools that are required to develop iOS application?</strong></p>
<p><strong>Ans.</strong></p>
<ul>
<li>MacMini/mac</li>
<li>Xcode</li>
<li>Apple Developer Program</li>
<li>Swift Programming Language</li>
</ul>
<p>&nbsp;</p>7c:T6179,<p>&nbsp;</p>
<p><span style="font-size: 12pt;">Computer Networking has seen significant evolution, especially in the last 10years. In the late 1950s, the computers were considered as huge complex machines and are operated by trained people. But now, things have changed, and advanced technologies have come into existence. Even a small kid can connect with the world to explore new technology using Computer Networks. It has evolved to be a user-friendly device, and that made things very easy for the users to understand the behaviour of Computer Networks.&nbsp;</span></p>
<h2><span style="font-size: 14pt; color: #e67e23;">What is Computer Networking?</span></h2>
<p><span style="font-size: 12pt;">A computer network is a set of two or more interlinked computer systems through a wired or wireless media to send or receive data. It is a digital telecommunication network that allows the nodes to allocate resources. Every network involves hardware and software that connects computers and tools. Multiple devices help in communication between two or more different devices which are known as Network devices such as Router, switch, hub, bridge, etc.</span></p>
<p><span style="font-size: 12pt;">A Computer Network is not only to meet the connectivity between the computers to share data but also it has to meet the network criteria such as&nbsp;</span></p>
<p><span style="font-size: 12pt;"><strong>Performance:</strong> It can be measured with two terms one is Transmit time is a time taken for a message to travel from one device to another, and the other is Response time which is the elapsed time between query and response. The performance depends on the following factors:</span></p>
<ul>
<li><span style="font-size: 12pt;">Type of transmission medium used.</span></li>
<li><span style="font-size: 12pt;">Number of users</span></li>
<li><span style="font-size: 12pt;">The efficiency of software, and</span></li>
<li><span style="font-size: 12pt;">The capability of connected network</span></li>
</ul>
<p><span style="font-size: 12pt;"><strong>Reliability:</strong> It is measured in terms of</span></p>
<ul>
<li><span style="font-size: 12pt;">Recovery from failures</span></li>
<li><span style="font-size: 12pt;">Frequency of failures</span></li>
<li><span style="font-size: 12pt;">Robustness during disaster</span></li>
</ul>
<p><span style="font-size: 12pt;"><strong>Security:</strong> It has to ensure data from unauthorized access. When the data is flowing in a network, it has to flow through various network layers. So, it has a chance of data breach by unwanted users. That is why Data security is the most crucial part of the Computer Network.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Basics of Computer Network</span></h3>
<p><span style="font-size: 12pt;">The Computer Network components consist of both hardware devices and the software devices that are required to install. There are a few essential Computer Network components that are discussed below:</span></p>
<ul>
<li><span style="font-size: 12pt;"><strong>Servers:</strong> The server is a computer that handles the shared files, programs, and the network operating system. It allows access to network resources for all the users in the network.</span></li>
<li><span style="font-size: 12pt;"><strong>Routers: </strong>A route is networking devices that enable to share a single internet connection with multiple devices, thus saves money.</span></li>
<li><span style="font-size: 12pt;"><strong>Switches: </strong>Switches works as a controller that connects computers, printers, and other hardware devices to a network.</span></li>
<li><span style="font-size: 12pt;"><strong>Modem:</strong> It allows the computers to connect with the network over a telephone line.</span></li>
<li><span style="font-size: 12pt;"><strong>Transmission media: </strong>It is a carrier used to interconnect computers in a network through cables and connectors such as twisted pair cable, coaxial cable, and fibre optic cable.</span></li>
<li><span style="font-size: 12pt;"><strong>Hub:</strong> It is a device that splits the network connection into multiple computers.&nbsp;&nbsp;</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Goals of Computer Network</span></h3>
<p><span style="font-size: 12pt;">Computer Network is a means of interconnection of computers for sharing the data through the network from person to person. There are a few essential goals of the Computer Network. They are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;"><strong>Flexibility:</strong> Easy access to sharing data from any computer on the network.</span></li>
<li><span style="font-size: 12pt;"><strong>High reliability:</strong> If there is an external source of supply, all the files should make a copy on two or more machines. If any of them gets troubled with some hardware issues, the other copies can be used.&nbsp;</span></li>
<li><span style="font-size: 12pt;"><strong>Resources sharing:</strong> In an organization, numerous computers are working and located apart. E.g. A group of workers can share an ordinary scanner, modem, printer, etc.</span></li>
<li><span style="font-size: 12pt;"><strong>Inter-process communication: </strong>It is a mechanism that allows processes to communicate with each other and synchronize their actions. It is used for exchanging data between multiple threads.</span></li>
</ul>
<p><span style="font-size: 12pt;">Apart from these goals, it also includes excellent network performance, scalability, centralized management, access to remote information, etc.</span></p>
<h3><span style="font-size: 12pt;">Basic Communication model</span></h3>
<p><span style="font-size: 12pt;">Over several years ago, the basic communication model has been evolved that represents various elements of communication processes. They are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;"><strong>Sender:</strong> The person or an organization that has information to share with other person or an organization</span></li>
<li><span style="font-size: 12pt;"><strong>Message:</strong> A message is data or information to be delivered</span></li>
<li><span style="font-size: 12pt;"><strong>Medium: </strong>It is a channel through which the communication travels from sender to receiver</span></li>
<li><span style="font-size: 12pt;"><strong>Receiver: </strong>The person who receives the message sent by the sender</span></li>
<li><span style="font-size: 12pt;"><strong>Noise:</strong> It refers to a factor that can interface with adequate comprehension. It occurs when the message or the data subject to noise</span></li>
<li><span style="font-size: 12pt;"><strong>Feedback:</strong> It is a part of the receiver&rsquo;s response that communicates back to the sender</span></li>
</ul>
<p><span style="font-size: 12pt;">This model supports all kinds of data, such as text, voice, or even a video. It is very fast and takes a fraction of a second to communicate the message, and yet it provides a highly secured medium of communication; thus, it was easy to access.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Line configuration of Computer Network</span></h3>
<p><span style="font-size: 12pt;">Line configuration refers to the way of connecting two or more communication devices through a link. A link is a communication pathway that sends data from one device to another. The devices can be a PC, Laptop, printer, etc. that can send and receive data. To connect with the devices, they are two methods to follow:</span></p>
<ul>
<li><span style="font-size: 12pt;">Point-to-point Connection</span></li>
<li><span style="font-size: 12pt;">Multipoint Connection</span></li>
</ul>
<p><span style="font-size: 12pt;"><strong>Point-to-point Connection: </strong>The point-to-point is a convention that is used as a communication link between two devices. It is easy to establish and understand. The point-to-point connection uses an actual length of wire to connect the two devices, or the other satellite links are also possible. It is considered to be the most straightforward and conventional network topology.</span></p>
<p><span style="font-size: 12pt;">E.g., The Point-to-point connection between Television and the remote to control the Television.</span></p>
<p><span style="font-size: 12pt;"><strong>Multipoint Connection:</strong> It is used to connect two or more devices with a single shared link. It is also called the Multidrop configuration. It has the capability of sharing the link with more than two devices. Depending on that capacity, the ways of configuration are of two kinds. They are discussed below:</span></p>
<ul>
<li><span style="font-size: 12pt;">Spatial sharing: If a link is used between many devices concurrently, then it is known as Spatial shared configuration</span></li>
<li><span style="font-size: 12pt;">Temporal sharing: If the user takes turns while using the link, then it is known as Temporal shared line configuration.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Types of Transmission Media</span></h3>
<p><span style="font-size: 12pt;">In network communications, the Transmission Media is a Physical connection or interface between a Transmitter and a Receiver. It is the channel through which data is transferred from one place to another. Transmission Media are classified into two types. They are discussed below:</span></p>
<p><span style="font-size: 12pt;"><strong>Guided Media:</strong> It provides a conductor from one device to another and transmits signals through the cables that are directed and confined by the physical limits of the medium. It is also known as Bounded or Wired Transmission Media. It provided a high-speed transmission of data, Comparatively used for shorter distance cable connectors, and even more secure. There are three types of Guided Media. They are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">Twisted Pair Cable: These are widely used medium in networking because of its low cost, lighter, easy to fix and replace, and provides high speed than coaxial cables. Again these Twisted pair cables are of two types. They are</span></li>
<li><span style="font-size: 12pt;">Unshielded Twisted Pair: It has a four pair of copper wires that are present within a plastic sheath. The wires are twisted to avoid interference. It is widely used in telephonic applications. It provides a high-speed capacity with low cost and easy to fix the cable.</span></li>
<li><span style="font-size: 12pt;">Shielded Twisted Pair: It was widely used in high-speed networks. It makes the use of a metallic shield to wrap the wires to prevent interference better than UTP. It is highly expensive and provides better performance. It is used in voice and data channels of telephone lines.</span></li>
<li><span style="font-size: 12pt;">Coaxial cable: It consists of three layers for a central copper conductor surrounded by an insulating layer, a conducting shield and an outermost plastic jacket. There are two basic modes of data transmission in Coaxial cable. One is the broadband mode that has a distributed cable bandwidth, and the other is the baseband mode that has a dedicated cable bandwidth. It was mainly used in televisions and Cable TV. It provides high bandwidth with reasonable cost and easy to install.&nbsp;</span></li>
<li><span style="font-size: 12pt;">Optical fibres: It uses the concept of light waves through a core made of glass or plastic. These cables are well suited for video, voice or data transmission. Optical fibres are the most secure of all the cable media and have excellent transmission speed, a signal can travel a longer distance when compared with other cables, and provides high bandwidth. Difficult to install and maintain and even expensive, but it can withstand electromagnetic interference.</span></li>
</ul>
<p><span style="font-size: 12pt;"><strong>Unguided Media: </strong>It has no visible medium that is used for the transmission of signals. The signals are broadcast through the air that was the only medium and can be used for long-distance communication. It was also known as Wireless or Unbounded transmission media. These are of three types. They are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">Radio Waves: These are easy to generate, and the frequency range is between 3KHz-1GHz. These waves are widely used for the transmission in AM and FM radio and cordless phones.&nbsp;</span></li>
<li><span style="font-size: 12pt;">Microwaves: It is a line of sight transmission that means the sending and receiving antennas are required to align appropriately with each other. The distance covered by the signal is directly proportional to the height of the antenna. And the frequency range is between 1GHZ-300GHz. These are commonly used for television distribution and mobile phones.</span></li>
<li><span style="font-size: 12pt;">Infrared waves: It is used for short-distance communication, and it cannot penetrate through obstacles. The frequency range is between 300GHz-400THz. These are used in a wireless mouse, printer, keyboard, TV remote, etc.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Transmission modes in Computer Network</span></h3>
<p><span style="font-size: 12pt;">The Transmission mode refers to the mechanism of transferring the data between two devices connected over a network. It directs the flow of information. It was also known as Communication mode. These modes are of three types. They are:</span></p>
<p><span style="font-size: 12pt;"><strong>Simplex mode: </strong>It is a unidirectional communication system that means the data can be sent only in one direction. We cannot send a message back to the sender.</span></p>
<p><span style="font-size: 12pt;">Example: Loudspeaker, Television, Monitor, Keyboard, etc.</span></p>
<p><span style="font-size: 12pt;"><strong>Half Duplex mode:</strong> It is a Bidirectional communication system that a data can be transmitted in both directions but not at the same time. That means when one device is sending, the other can only receive at that time, and vice versa.&nbsp;</span></p>
<p><span style="font-size: 12pt;">Example: The best example for Half Duplex mode is the Walkie-talkie in which the message can be transmitted in both the direction one at a time.</span></p>
<p><span style="font-size: 12pt;"><strong>Full Duplex mode:</strong> The Full-Duplex mode is as same as Bidirectional communication. We can transmit and receive the data in both the directions simultaneously. In this system, there can be two lines, one for sending the data and the other for receiving the data.</span></p>
<p><span style="font-size: 12pt;">Example: Telephone Network in which there is communication between two persons by a telephone line that can talk and listen at the same time.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Types of Area networks</span></h3>
<p><span style="font-size: 12pt;">The Geographical area that a network covers to connect and communicate with all the different computers through a medium. There are various types of Computer Networks are categorized depending on their capacity of the area covered and the numbers of systems connected in the network.&nbsp;</span></p>
<p><span style="font-size: 12pt;">The most widely used Area Networks are&nbsp;</span></p>
<ul>
<li><span style="font-size: 12pt;">Local Area Network(LAN)&nbsp;</span></li>
<li><span style="font-size: 12pt;">Metropolitan Area Network(MAN)</span></li>
<li><span style="font-size: 12pt;">Wide Area Network(WAN).&nbsp;</span></li>
</ul>
<p><span style="font-size: 12pt;">Apart from these types, there are other types of Computer Networks also like&nbsp;</span></p>
<ul>
<li><span style="font-size: 12pt;">Personal Area Network(PAN)&nbsp;</span></li>
<li><span style="font-size: 12pt;">Storage Area Network(SAN)</span></li>
<li><span style="font-size: 12pt;">Enterprise Private Network(EPN)</span></li>
<li><span style="font-size: 12pt;">Virtual Private Network(VPN)</span></li>
</ul>
<p><span style="font-size: 12pt;"><strong>Local Area Network(LAN):</strong> A group of computers and devices are connected in a limited area such as Office building, School, etc. This type of network can connect 5000 interconnected devices across the building. It covers a small geographical area that limits to a few kilometres and is owned privately. It was easy to maintain, and the error and noise are minimal due to the short distance network.&nbsp;</span></p>
<p><span style="font-size: 12pt;"><strong>Metropolitan Area Network(MAN): </strong>It covers a larger geographical area than LAN and serves as an Internet Service Provider(ISP). It provides high-speed connectivity and covers over a 50km geographic range like towns and cities. The data rate is adequate for distributed computing applications.&nbsp;</span></p>
<p><span style="font-size: 12pt;"><strong>Wide Area Network(WAN):</strong> It covers over a large geographical area and is confined within the boundaries of the state or country. The WAN connects with LAN by linking to other LAN&rsquo;s through telephone lines and radio waves and thus limited to an organization or a company to be accessible to the public.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Types of Network Topologies</span></h3>
<p><span style="font-size: 12pt;">The arrangement of a network that comprises nodes and connecting lines through sender and receiver is known as network topology. Various kinds of Network Topologies are discussed below:</span></p>
<p><span style="font-size: 12pt;"><strong>Bus Topology:</strong> It is a kind of network in which every computer and network device is connected to a single cable and transmits data only in one direction. It is easy to understand and requires very less cable when compared to other topologies. It is used to build small networks. The nodes are connected to the channel through drop lines.</span></p>
<p><span style="font-size: 12pt;"><strong>Star Topology:</strong> In this kind of topology, all the systems are connected to a single network device through the cables. The network device can be a Hub, server, router, or switch the network devices acts as a central node that connects all the systems. High cost but easy to maintain. If the one system fails, the whole network doesn&rsquo;t interrupt, but if the central node fails, the entire system gets interrupted.</span></p>
<p><span style="font-size: 12pt;"><strong>Mesh Topology:</strong> In this mesh topology, every system is connected to another system through a specific channel. There are two ways to transfer data over Mesh topology. One is routing, which is the nodes accompany a routing logic according to the network required to guide the data from source to destination. The other method is flooding, which is the same data is transmitted to all the nodes of the network, and hence it has no logic. The network is robust in case of flooding, and it is hard to lose any data. It was an expensive and highly secure network. It also detects the faults very easily.</span></p>
<p><span style="font-size: 12pt;"><strong>Ring Topology:</strong> In this ring topology, each computer is connected to another computer in the form of a ring that connects the last system to the first system. It is a unidirectional data flow system, but, with the use of the dual connection, it can also be used for bidirectional data flow. It was easy to install and expand and used for transmitting huge data traffic.&nbsp;</span></p>
<p><span style="font-size: 12pt;"><strong>Tree Topology:</strong> It consists of one root node that connects all the sub-nodes in the form of tree representations. In general, it has three levels of hierarchy, and it expands depending on the requirement. It detects faults quickly and easy to maintain.</span></p>
<p><span style="font-size: 12pt;"><strong>Hybrid Topology:</strong> It is the combination of two or more topologies. These topologies can be a mix of Bus topology, Mesh topology, Star topology, Tree topology and Ring topology. The use of Hybrid topology depends on the requirement of business, users, etc. It is scalable and reliable at the same time it is the most expensive among all other Topologies.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Applications of Computer Networks</span></h3>
<p><span style="font-size: 12pt;">Following are some of the business applications of computer networks:</span></p>
<p><span style="font-size: 12pt;"><strong>Sharing Resources: </strong>The main aim of Computer networks is to make all the programs, data, devices, available to everyone on the network irrespective of the location of the resources and the user.</span></p>
<p><span style="font-size: 12pt;"><strong>Communication Medium:</strong> Computer networks provide a reliable setup of communication medium among the employees in an office. Every organization will have two or more computers using an e-mail function that all the employees are used for day-to-day communication.</span></p>
<p><span style="font-size: 12pt;"><strong>Server-client model:</strong> Imagine a system in which a firm&rsquo;s data is stored on a system that is highly secured with firewalls and is situated in the company office. A person who works in that organization needs to access data remotely with the desktop. In this model, the data is stored on computers in the firm called servers, and the employee desktop will be the Client.</span></p>
<p><span style="font-size: 12pt;"><strong>E-commerce:</strong> Doing business with consumers over the internet has become an essential goal in e-commerce. Online shopping, online library, online trading, and many more were come under E-commerce and thus expected to grow in future to a great extent. It is the most convenient way of dealing with things and even saves time and money.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Advantages of Computer Network</span></h3>
<p><span style="font-size: 12pt;">Let&rsquo;s see the main advantages of Computer networks:&nbsp;</span></p>
<p><span style="font-size: 12pt;"><strong>Data storage:</strong> Data can be stored in the server that can be shared and available to every user in the organization</span></p>
<p><span style="font-size: 12pt;"><strong>Highly flexible:</strong> It offers users the opportunity to explore everything about computer networks such as software without affecting their functionality.</span></p>
<p><span style="font-size: 12pt;"><strong>Cost efficiency: </strong>with the use of computer networks, you can use a lot of software products available in the market that can be installed into your system or server.</span></p>
<p><span style="font-size: 12pt;"><strong>Data backup:</strong> Due to some damage to the devices or the system, the data can get inaccessible on one PC, another duplicate of similar data is accessible on another system for future use. So backing up the data helps in further handling without interruption.</span></p>
<p><span style="font-size: 12pt;">I<strong>ncreases storage capacity:</strong> The shared data, files, and resources have to ensure that the data is properly stored in the system. With the help of Network technology, you can get the required data space to store.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Disadvantages of Computer Network</span></h3>
<p><span style="font-size: 12pt;">The disadvantages of Computer Network are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">Security issues: Lots of people share the network to transmit and receive data, so an individual user&rsquo;s security will be at stake. Lack of security leads to Data breach.</span></li>
<li><span style="font-size: 12pt;">Lack of robustness: If the main server breaks down, the entire system will become interrupted. Also, if the central linking server fails, the whole network gets distracted.&nbsp;</span></li>
<li><span style="font-size: 12pt;">Presence of virus and malware: If the system infected with a virus, then the data in the system gets corrupted. So the regular inspection has to be done to ensure safe Data storage in the system.</span></li>
<li><span style="font-size: 12pt;">Expensive setup: Cost of installation depends on the number of systems to be connected in the network. Use of costly devices such as servers, routers, hubs, etc. adds cost and also requires the Network Interface Cards for the workstations.</span></li>
</ul>
<p><span style="font-size: 12pt;"><strong>Conclusion</strong></span></p>
<p><span style="font-size: 12pt;">In this tutorial, we have learned all the necessary and core concepts of Computer Networks that results in better performance with high speed of processing. We have learned Types of transmission model, Configuration lines, Types of Area networks, Network Topologies, and Applications of Computer Network.</span></p>7d:T4702,<p>&nbsp;</p>
<h2><span style="font-size: 14pt;">IOS Interview Questions and Answers</span></h2>
<h3><span style="color: #e67e23; font-size: 12pt;">Q1: Which JSON framework that is supported by IOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The JSON framework that is supported by IOS is SBJSON.</span></p>
<ul>
<li><span style="font-size: 12pt;">SBJSON is a generator for Objective-C</span></li>
<li><span style="font-size: 12pt;">It provides a flexible API and additional control, making JSON handling much easier.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q2: What are the ways to attain concurrency in IOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>There are three ways to attain concurrency in IOS. They are as follows:&nbsp;</span></p>
<ul>
<li><span style="font-size: 12pt;">Dispatch queues</span></li>
<li><span style="font-size: 12pt;">Operation queues</span></li>
<li><span style="font-size: 12pt;">Threads</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q3: Explain the different types of IOS application states?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The different IOS application states are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">Not running state: When the app was running but it is terminated by the system or the app has not been launched&nbsp;</span></li>
<li><span style="font-size: 12pt;">Active state: When the app is running in the foreground and receiving the events. This is the normal mode for the foreground app&nbsp;</span></li>
<li><span style="font-size: 12pt;">Inactive state: When the app is running in the foreground but not receiving the events. The only time it stays inactive when the user locks the screen or the system prompts the user to respond to the events such as phone calls or messages.</span></li>
<li><span style="font-size: 12pt;">Suspended state: A suspended app just persists in memory but does not execute any code. When a low memory condition happens, the system may exclude the suspended app without any notice to the users to provide the space for foreground apps.</span></li>
<li><span style="font-size: 12pt;">Background state: When the application is running in the background and executes code will be in this state. Before being suspended, the application enters this state. Yet, an app that appeals for additional time for execution must prevail in the Background state. Also when an app is being launched directly into the background will enter this state.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q4: What is the difference between atomic and non-atomic properties?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>An atomic property will always return the initialized objects and also happens to be a default state for a synthesized property. Yet, not all the values are correct. They are not safe. More than one thread may strive to perform read-write operations simultaneously.</span></p>
<p><span style="font-size: 12pt;">The non-atomic property does not ensure a valid value to be returned. This value can be a correct value, a trash value, or a partially written value.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q5: What is Cocoa and Cocoa touch?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>Cocoa: It provides an Application development environment for OS X. It includes the Foundation and Appkit framework.&nbsp;</span></p>
<p><span style="font-size: 12pt;">Cocoa Touch: It provides an Application development environment for iOS. It includes the Foundation and UIkit framework. It refers to application development using any programmatic interface.</span></p>
<p><span style="font-size: 12pt;">The primary programming language that is used for developing the application in cocoa and cocoa touch is the Objective-C.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q6: Define managed object context?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>A managed object content is basically a scratchpad in an application for a related collection of objects. You can get objects from a persistent store to bring temporary objects to this pad. After making the required modification, you can put them back to the store. The context has an undo manager that monitors all these changes and also posts a notification to your application.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q7: Mention the key functionalities of Managed object context?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The key functionalities of the managed object context include as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">Lifecycle management: The context is responsible for expecting changes in its objects and keeps an undo manager so you can have better control over an undo and redo. You can insert new objects and delete ones you got fetched, and submit these changes to the persistent store.</span></li>
<li><span style="font-size: 12pt;">Concurrency: Here, the core data uses threads that restrict to ensure managed object contexts. when you create a context you can specify the concurrency pattern with that you can use it by using initWithConcurrencyType:</span></li>
<li><span style="font-size: 12pt;">Notification: A context posts notifications at different points that can alternatively be observed elsewhere in your application.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q8: What are the rendering options for JSON Serialization?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The rendering options for JSON Serialization are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">MutableContainers: Dictionaries and arrays are created as variable objects.</span></li>
<li><span style="font-size: 12pt;">MutableLeaves: JSON object graph leaf strings are developed as instances of variable strings</span></li>
<li><span style="font-size: 12pt;">allowFragment: The parser allows objects that are not an instance of dictionaries or arrays.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q9: What is the difference between app ID and bundle ID?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>An app ID is a two-part string used to identify one or more apps from a single development team. The string comprises a Team ID and a bundle ID search string, with a period (.) separating the two sections. The Team ID is provided by Apple and is unique to a specific development team.</span></p>
<p><span style="font-size: 12pt;">The bundle ID uniquely recognizes the iOS application in Apple&rsquo;s ecosystem and thus relevant for both OSX and iOS apps. This implies no two applications can have a similar bundle identifier. So to avoid conflicts, Apple urges developers to make use of reverse-DNS for choosing an application&rsquo;s bundle identifier.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q10: What is the framework that is used to construct an application user interface in iOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The UIKit framework is used to construct an application&rsquo;s user interface for iOS. It provides event handling, windows, drawing model, views, and controls specially designed for a touch screen user interface. It also provides an application model for interacting with the system.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q11: Which API is used to write the test scripts to exercise the application UI elements?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>UI Automation API is designed to automate test procedures. The test scripts that are written in Javascript to the UI Automation API and thus simulate user interaction with the application and return log information to the host system.<span style="white-space: pre;"> </span></span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q12: What is Spritkit and Scenekit?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>SpriteKit is a framework for easy development of animated 2D objects While, SceneKit is a framework acquired from OS X that helps with 3D graphics rendering. The new wave of mobile games is expected to redefine the iOS devices powerful GPUs are offered through Scenekit, Spiritkit, and Metal.&nbsp;</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q13: Write the differences between assign and retain?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>Assign: It is a keyword used to make a reference from one object to another. The retain count of the source does not increase.</span></p>
<p><span style="font-size: 12pt;">Retain: It is used to create a reference from one object to another and increases the retain count of the source object.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q14: Write the hierarchy from UIButton to NSObject?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>UIButton acquires from UIControl, UIControl acquires from UIView, UIView acquires from UIResponder, UIResponder acquires from the root class NSObject.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q15: Define layer objects?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>Layer objects are data objects which represent visual content and are used by views to provide their content. Custom layer objects are also added to the interface to implement complex animations and other kinds of sophisticated visual effects.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q16: What are iBeacons?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>iBeacon is a protocol developed by Apple Inc. It implements the Bluetooth low energy (BLE) technology to create a new way of providing location-based information and services to iPhones and other Apple devices. When the apps installed on your iPhone listen out for the nearby Bluetooth signals transmitted by these beacons and thus responds accordingly.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q17: What is an App ID?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>An App ID is a unique identity that iOS used to connect an application to the Apple push notification service, shares data between the application, and allows you to connect with the external hardware devices that you want to connect to your iOS application.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q18: What is NSError?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>In Objective-C, error handling is provided with the NSError class that is available in the foundation framework. An error object conveys the more extensible errors to the user during run time by using the error code or the error string. It has three main components that are as follows:</span></p>
<p><span style="font-size: 12pt;">Domain: The error domain can be pre-defined NSError domain or a string describing the domain</span></p>
<p><span style="font-size: 12pt;">Code: An int value representing the error</span></p>
<p><span style="font-size: 12pt;">User Info Dictionary: A dictionary containing all the additional information about the error.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q19: What are the various ways that you can specify the layout of elements in a UIView?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The various ways to specify the layout of the element in UIView are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">You can mention the coordination of every element using CGRects and then you can pass the (id)initWithFrame:(CGRect)frame method of UIView.</span></li>
<li><span style="font-size: 12pt;">You can use your code along with NSLayoutConstraints to arrange the elements using AutoLayout.</span></li>
<li><span style="font-size: 12pt;">A storyboard for an application can be built using the InterfaceBuilder. You can also include a XIB file into your project, can arrange the layout within the file, and can load the file in your application code.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q20: What are the features of the UIkit framework in iOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>UIKit framework supports the following features:</span></p>
<ul>
<li><span style="font-size: 12pt;">Print support</span></li>
<li><span style="font-size: 12pt;">PDF creation</span></li>
<li><span style="font-size: 12pt;">Motion and touch-based events</span></li>
<li><span style="font-size: 12pt;">Supports external displays&nbsp; along with graphics and windowing</span></li>
<li><span style="font-size: 12pt;">Content can be shared through email, Facebook, and Twitter.</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q21: What are the important features of iOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The most important features of iOS are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">iCloud</span></li>
<li><span style="font-size: 12pt;">Social media</span></li>
<li><span style="font-size: 12pt;">GPS</span></li>
<li><span style="font-size: 12pt;">Multitasking</span></li>
<li><span style="font-size: 12pt;">High-end processor</span></li>
<li><span style="font-size: 12pt;">Powerful API</span></li>
<li><span style="font-size: 12pt;">Notification center</span></li>
<li><span style="font-size: 12pt;">Game center</span></li>
<li><span style="font-size: 12pt;">Bluetooth</span></li>
<li><span style="font-size: 12pt;">Gyroscope</span></li>
<li><span style="font-size: 12pt;">In-app purchase</span></li>
<li><span style="font-size: 12pt;">Accelerometer</span></li>
<li><span style="font-size: 12pt;">Orientations</span></li>
<li><span style="font-size: 12pt;">Accessibility and many more</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q22: What are the various programming languages used for developing an iOS application?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The various programming languages used for developing an iOS application are as follows:</span></p>
<ul>
<li><span style="font-size: 12pt;">Objective-C</span></li>
<li><span style="font-size: 12pt;">Javascript</span></li>
<li><span style="font-size: 12pt;">HTML5</span></li>
<li><span style="font-size: 12pt;">Swift</span></li>
<li><span style="font-size: 12pt;">.NET</span></li>
<li><span style="font-size: 12pt;">C</span></li>
</ul>
<p><span style="font-size: 12pt;">However, the official languages used for developing the iOS application are Objective-C and C.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q23: Define ARC in iOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>ARC stands for Automatic Reference Counting. This feature is used for handling the lifetime of the objects in Objective-C. It is a memory management technique for the C language compiler that is used by both Swift and Objective-C for reference counting. ARC stores the information about the instance class referred to variables, constants, and instance properties.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q24: What are the different data types in Objective-C?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>Objective-C has different types of data types are as follows:&nbsp;</span></p>
<ul>
<li><span style="font-size: 12pt;">Class</span></li>
<li><span style="font-size: 12pt;">Bool</span></li>
<li><span style="font-size: 12pt;">NSString</span></li>
<li><span style="font-size: 12pt;">NSInteger</span></li>
<li><span style="font-size: 12pt;">NSUInteger</span></li>
<li><span style="font-size: 12pt;">CGfloat</span></li>
<li><span style="font-size: 12pt;">SEL</span></li>
<li><span style="font-size: 12pt;">Ivar</span></li>
</ul>
<h3><span style="color: #e67e23; font-size: 12pt;">Q25: Define NSOperation, NSOperationQueue, and NSBlockOperation?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>NSOperation is an abstract class that can be used for adding dependencies to different operations, reuse, cancel, and suspend them. It can be used through the NSOperation subclasses.</span></p>
<p><span style="font-size: 12pt;">NSOperationQueue is a queue that monitors the operations. These queued operations are executed by NSOperationQueue as per the requirement.</span></p>
<p><span style="font-size: 12pt;">And, NSBlockOperation is a subgroup of NSOperation that deals with the execution of one or more tasks concurrently.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q26: Define the Responder chain in iOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>A sequence of responder objects is called the Responder Chain. The chain initially starts at the responder and ends at the application object. If the first responder cannot handle the event then it forwards to the next responder in the responder chain.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q27: What is the importance of using @synchronized in Objective-C?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>The @synchronized directive is used in Objective-C for ensuring that the only thread gets executed at any given point of time. It prevents one or more threads from accessing the same address in memory.</span></p>
<h3><span style="color: #e67e23; font-size: 12pt;">Q28: What do you understand about iOS?</span></h3>
<p><span style="font-size: 12pt;"><strong>Ans. </strong>iOS is the operating system that was developed by Apple Inc. for its devices such as smartphones, tablets, iPods, iPads, etc. It was termed as iOS after the launch of the iPad. A major update to the iOS software is released every year at Apple&rsquo;s developer conference. The latest version of iOS is iOS 13 that runs on iPhone X and was released on September 19, 2019.</span></p>7e:T19a2,<h2 style="text-align: justify;"><span style="color: #000000;"><strong>HTML Tutorial Overview</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">Welcome to&nbsp;HTML Tutorials. The objective of these tutorials is to provide in depth understand of HTML Programming Language. In these tutorials we will cover topics such as HTML Attributes, Forms, Scripts, Elements and Tags, Event Handlers etc.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">In addition to free HTML Tutorials, we will cover common interview questions, issues and how to's of HTML.</span></p>
<h3>Index</h3>
<ul>
<li><a href="https://tekslate.com/html-event-handlers/">HTML Event Handlers</a></li>
<li><a href="https://tekslate.com/html-lists/">HTML Lists</a></li>
<li><a href="https://tekslate.com/html-frames/">HTML Frames</a></li>
<li><a href="https://tekslate.com/html-forms/">HTML Forms</a></li>
<li><a href="https://tekslate.com/html-table-tags/">HTML Table Tags</a></li>
<li><a href="https://tekslate.com/html-script-tags/">HTML Script Tags</a></li>
<li><a href="https://tekslate.com/html-formatting-elements-tags/">HTML &ndash; Formatting Elements &amp; Tags</a></li>
<li><a href="https://tekslate.com/style-sheets-html/">Style Sheets in HTML</a></li>
<li><a href="https://tekslate.com/html-elements-tags/">HTML Elements and Tags</a></li>
<li><a href="https://tekslate.com/html-attributes/">HTML Attributes</a></li>
<li><a href="https://tekslate.com/work-html-forms-mvc/">HTML forms in MVC</a></li>
<li><a href="https://tekslate.com/mvc-html-helper-class-controllers/">MVC HTML helper class controllers</a></li>
</ul>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #000000;"><strong>What is HTML?</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">HTML stands for Hypertext markup language, and it is the most widely used language to write web pages, as its suggests, HTML is a markup language.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Hypertext refers to the way in which web pages(HTML documents) are linked together, when you click a link in a web page, you are using hypertext.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Markup Language describes how HTML works. With a markup language, you simply &ldquo;mark up&rdquo; a text document with tags that tell a web browser how to structure it to display.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">All you need to do to use HTML is learn what type of markup to use to get the results you want.</span></p>
<h2 style="text-align: justify;"><span style="color: #000000;"><strong>Why to learn HTML?</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">It is possible to create WebPages without knowing anything about the HTML source behind the page.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">There are excellent editors on the market that will take care of the HTML parts. All you need to do is layout the page.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">However, if you want to make it above average in web design, it is strongly recommended you to understand these tags.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The most important benefits are :</span></p>
<p style="text-align: justify;"><span style="color: #000000;">you can use tags the editor does not support.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">You can read the code of other people&rsquo;s pages, and &ldquo;borrow&rdquo; the cool effects.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">You can do the work yourself, when the editor simply refuses to create the effects you want.</span></p>
<h2 style="text-align: justify;"><span style="color: #000000;"><strong>What do I need to create HTML?</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">Computer</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Text or HTML editor</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Adobe Dreamweaver</span></p>
<p style="text-align: justify;"><span style="color: #000000;">SeaMoney,Coffee Cup(windows) and textpad(windows)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Notepad(for windows),Pico(for Linux), or simpletext/Text edit/Text Wrangler(Mac)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Web Browser</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Internet Explorer, Firefox,Chrome,obers&hellip;.etc</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Do I need to be online?</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">No, you do not need to be online to create web pages. You can create web pages on your local machine. You only need to go online when you want to publish your web page to the web.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>HTML Documents = Web pages</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">HTML documents describe web pages</span></p>
<p style="text-align: justify;"><span style="color: #000000;">HTML documents contain HTML tags and plain text</span></p>
<p style="text-align: justify;"><span style="color: #000000;">HTML documents are also called web pages</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>.HTM or .HTML File Extension?</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">When you save an HTMl file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Basic HTML Document structure</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The basic structure for all HTML documents is simple and should include the following minimum elements or tags.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Doctypes</span></p>
<p style="text-align: justify;"><span style="color: #000000;">- The main container for HTML pages</span></p>
<p style="text-align: justify;"><span style="color: #000000;">- The container for page header information</span></p>
<p style="text-align: justify;">&nbsp;</p>7f:T2475,<h2 style="text-align: left;"><span style="font-size: 14pt;">Crystal Reports Tutorials</span></h2>
<p style="text-align: left;">Welcome to Crystal Report Tutorials. The objective of these tutorials is to provide an in-depth understanding of Crystal Report. In addition to free Crystal Report Tutorials, we will cover common interview questions, issues and how to&rsquo;s of HTML.</p>
<h3 style="text-align: left;" align="justify"><span style="font-size: 12pt;">What is Crystal Reports?</span></h3>
<p style="text-align: left;" align="justify"><span style="color: #000000;">Crystal Report</span> is a Reporting Application that can generate reports from various Data Sources like Databases, XML files etc.. The Visual Studio.NET <a class="zem_slink" title="Integrated development environment" href="http://en.wikipedia.org/wiki/Integrated_development_environment" target="_blank" rel="noopener wikipedia">Integrated Development Environment</a> comes with Crystal Reports tools. The Crystal Reports makes it easy to create simple reports and also has comprehensive tools that you need to produce complex or specialized reports in csharp and other programming languages.</p>
<p style="text-align: left;" align="justify">Crystal Reports is compatible with most popular development environments like<span style="color: #000000;"> C#, VB.NET</span> etc. You can use the Crystal Reports Designer in Visual Studio .NET to create a new report or modify an existing report.</p>
<h3 style="text-align: left;" align="justify"><span style="font-size: 12pt;">Crystal Reports Designer</span></h3>
<p style="text-align: left;">The <strong>Crystal Reports Designer</strong> is an application which provides a graphical interface to develop reports and provides flexibility and control during the creation of highly formatted, feature-rich reports. It includes a complete and rich set of layout and design controls to give the created reports a professional, pixel-perfect appearance without any custom coding, streamline the number of reports by using parameters and organize data in a logical manner using sections, groups and sorting. The outlook of the ad-hoc chart and map reports is supported by the intelligent charting feature that automatically recommends the best chart type for a given set of data.</p>
<p style="text-align: left;">For novice users, Crystal Reports includes an intuitive report design expert and a report creation wizard. For more advanced users, Crystal Reports lets control over most features, including formulas, conditional formatting and object positioning so the reports can be highly customized.</p>
<p style="text-align: left;">Crystal Reports provides a set of <strong>over 35 data connection drivers</strong> to any relational, OLAP, XML or in-memory data source. CR provides native, ODBC, OLE DB or JDBC connectivity to databases, files, logs, enterprise applications, program elements or BusinessObjects Enterprise universes. The underlying SQL for every report developed in Crystal Reports can be customized which provides complete control over how the data is queried. It is also easy to link data from multiple sources and in multiple languages within the same report.</p>
<pre style="text-align: center;"><strong><em>These core tutorials will help you to learn the Crystal Report Tutorials. For an in-depth understanding and practical experience,
 &nbsp;explore <a href="https://tekslate.com/crystal-reports-training" target="_blank" rel="noopener">Crystal Reports Training</a>.</em></strong></pre>
<p style="text-align: left;">Crystal Reports report designer is composed of the Toolbar, Design tab and Field Explorer and Report Explorer tabs. The toolbar is divided into <strong>Standard, Formatting, Insert, Experts, Navigation bars.</strong></p>
<p style="text-align: left;"><img class="alignnone wp-image-21678" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/06/Capture.1509.png" alt="Capture.1509" width="1092" height="119" /></p>
<p style="text-align: left;">Design tab provides an environment for designing a report. Data you want to place on the report is represented by fields that you put in sections of the report. In the Design tab you can also do formatting or specify sorting order and grouping.</p>
<p style="text-align: left;">Design tab basic sections:</p>
<ul style="text-align: left;">
<li style="text-align: justify;">Report Header</li>
<li style="text-align: justify;">Page Header</li>
<li style="text-align: justify;">Details</li>
<li style="text-align: justify;">Report Footer</li>
<li style="text-align: justify;">Page Footer</li>
</ul>
<p style="text-align: left;">Click here to find more about Sections</p>
<p style="text-align: left;">Field Explorer is used to insert, modify or delete fields from the report. Database Fields folder consist of a list of database tables and columns you can retrieve data from. If you're not connected to the database, right-click on Database Fields folder and select Database Expert. In the Database Expert dialog box select connection to the database or create a new one. Select tables you want to use and click OK. Expand the Database Fields folder to see all available objects. To put the field on the report drag it and drop field frame on the report or select a field and use Insert Field button from the Field Explorer toolbar.</p>
<p style="text-align: left;"><img class=" wp-image-21679 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/06/Capture.1510.png" alt="Capture.1510" width="332" height="875" /></p>
<p style="text-align: left;">You can switch from the Field Explorer tab to Report Explorer tab to manage sections of the report. To add Special Fields like page number, print date or comments expand Special Fields folder in the Field Expert tab. From the list of special fields choose the one you want to use and drag-and-drop it in the section where you want to place it.</p>
<p style="text-align: left;">To insert Text object select Insert Text Object from the Toolbar. Draw the text object frame in the section you want to place it. Fill the frame with a text. You can also put a picture on the report. To do this click Insert picture button from the Toolbar, browse for the picture you want to use and open it. Place the picture frame in a particular section.</p>
<p style="text-align: left;">To preview the report before printing it, use Print Preview on the Toolbar. Report preview will be generated. You can also preview the report in <a href="https://tekslate.com/tutorials/html-tutorials/" target="_blank" rel="noopener">HTML format</a>. To do this, click the HTML Preview button.</p>
<h3 style="text-align: left;"><span style="font-size: 12pt;">Benefits of Using Crystal Reports</span></h3>
<ul style="text-align: left;">
<li style="text-align: justify;"><strong>Flexible and customized report</strong> &minus; You can quickly create highly formatted, pixel-perfect reports using SAP Crystal Reports with high-level design interface and efficient workflows.</li>
<li style="text-align: justify;"><strong>Powerful report delivery options</strong> &minus; You can deliver personalized reports to your business end-users in their preferred language and format.</li>
<li style="text-align: justify;"><strong>Data source connectivity</strong> &minus; You can connect to information sources directly. Data sources include Native, ODBC, OLE DB, and JDBC connectivity to relational, OLAP, web services, XML, enterprise data sources, and salesforce.com.</li>
<li style="text-align: justify;"><strong>Expanded support for Excel</strong> &minus; You can take full advantage of the Excel file format by allowing more data to be exported to a single worksheet, without spanning multiple worksheets.</li>
<li style="text-align: justify;"><strong>Windows operating system compatibility</strong> &minus; SAP Crystal Reports software 2013 is certified compatible with Microsoft Windows 7.</li>
<li style="text-align: justify;"><strong>Mobile compatibility</strong> &minus; You can also open interactive reports through your mobile devices.</li>
<li style="text-align: justify;"><strong>SAP Crystal Reports, Adobe Flash and HTML 5 integration</strong> &minus; It enables SAP Crystal Reports developers to produce powerful "mash-ups" pulling data from various sources.</li>
<li style="text-align: justify;"><strong>Competitors</strong> &minus; SAP Crystal Reports competes with several products in the Microsoft markets like <a href="https://tekslate.com/ssrs-training/" target="_blank" rel="noopener">SQL Server Reporting Services&nbsp;</a>(SSRS), XtraReports, ActiveReports, and List &amp; Label.</li>
</ul>
<h3 style="text-align: left;"><span style="font-size: 12pt;">Advantages of &nbsp;Crystal Report</span></h3>
<ul>
<li style="text-align: left;">Rapid report development since the designer interface would ease the coding work programmer.</li>
<li style="text-align: left;">Can extend it to complicated reports with interactive charts and enhance the understanding of the business model.</li>
<li style="text-align: left;">Expose a report object model, can interact with other controls on the ASp.NET webform</li>
<li style="text-align: left;">can programmatically export the reports into widely used formats like pdf,.doc,.xls.html and .rtf</li>
</ul>80:T60cc,<p style="text-align: justify;">Following are some of the most frequently asked Automation Anywhere interview questions in the interview, here are the answers for them.</p>
<p><span style="color: #000000; font-size: 14px;">In this article, we will cover the following:</span></p>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#automation-anywhere-interview-questions"><span style="font-size: 14px;">Automation Anywhere Interview Questions</span></a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#rpa-automation-anywhere-interview-questions"><span style="font-size: 14px;">RPA&nbsp; Automation Anywhere Interview Questions</span></a></span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; border-style: solid; height: 175.75px;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 51.75px; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid;">
<td style="width: 98.3496%; height: 51.75px;">
<h3 style="text-align: center;"><strong>Most Frequently Asked Automation Anywhere Interview Questions&nbsp;</strong></h3>
</td>
</tr>
<tr style="height: 124px;">
<td style="width: 98.3496%; height: 124px;">
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#control-room">What is Control Room?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#how-to-copy-excel-cell">How to copy an Excel cell and move it to the next cell in your record?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#managed-web-control">What is Manage Web Control?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#components-of-automation-anywhere-architecture">What are the components of Automation Anywhere Architecture?</a></span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="#significant-factors">What are the significant factors to consider while planning Automation Anywhere?</a></span></li>
</ul>
</td>
</tr>
</tbody>
</table>
<h2><span style="color: #236fa1; font-size: 24px;"><a id="automation-anywhere-interview-questions"></a>Automation Anywhere Interview Questions</span></h2>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q1) What Can I Do With Automation Anywhere?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans:</strong> Automation Anywhere can automate any repetitive tasks on your computer or the Internet.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Automation Anywhere comes with a number of sample tasks that you can run to become familiar with what Automation Anywhere can do. To run a sample task, in the Folders list, choose Sample Tasks. Under Task List, highlight a task, and choose Run. (To view the commands contained in a task, highlight the task and choose Edit.)</span></p>
<ul>
<li><span style="font-weight: 400;">Automation Anywhere speeds your workflow by automating many complex tasks &ndash; for example:</span></li>
<li><span style="font-weight: 400;">Use Automation Anywhere to automate time-consuming business processes: check inventory, re-order supplies, generate reports, enable fast data entry and formatting, etc.</span></li>
<li>Automate Web tasks. For example: logging into websites, searching, submitting forms, updating records, managing ERP Web front-ends, etc.</li>
<li>Automation Anywhere is ideal for automating complex IT tasks: website monitoring, website testing, repetitive system administration tasks, etc.</li>
<li>Use Automation Anywhere to automate data transfers and import or export data between applications or from files.</li>
<li>Automate routine backups and file management tasks.</li>
<li>Automate software testing and routine Web development testing tasks.</li>
<li>Use Automation Anywhere to automate job scheduling.</li>
<li>Automation Anywhere is ideal for batch data processing.</li>
<li>Automate FTP tasks.</li>
<li>With a Premier or Enterprise license, you can easily share tasks by converting them to standalone .exe files. For example, businesses and IT managers can generate .exes for common software configuration and management tasks, such as installing software changes, etc.</li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="control-room"></a>Q2) What is Control Room?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Control Room is Server Component in AA. This component is to hold the entire information in the tools.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">The control room is an operation and authentication of all clients within the client environment. It is controlled all the users and monitoring tasks based on the control room operation.</span></p>
<p><span style="font-weight: 400;">We can easy to controlled users, testers and high-level people within the organization.</span></p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;"><strong>Control Room Options:</strong></span></p>
<ul>
<li style="font-weight: 400;"><span style="font-weight: 400;">Dashboard</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Repository Manager</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Operation Control Room</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Audit Trail</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Task Scheduler</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Security</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Client</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">Credential Manager</span></li>
<li style="font-weight: 400;"><span style="font-weight: 400;">AppManagement</span></li>
</ul>
<table style="border-collapse: collapse; width: 100%; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid; height: 70px;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 70px;">
<td style="width: 98.3496%; height: 70px; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of RPA Automation Anywhere? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="RPA Automation Anywhere Training" href="https://tekslate.com/automation-anywhere-training" target="_blank"><strong>RPA Automation Anywhere Training</strong></a></span> to become Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="how-to-copy-excel-cell"></a>Q3) How to Copy an Excel Cell and Move it to the Next Cell in Your Record?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>When you highlight the cell and use Ctrl + C to copy a cell in Excel, it copies an extra ENTER keystroke along with the data in the cell. To copy only the cell in the Excel file, use the keystrokes: </span></p>
<p><span style="font-weight: 400;">[F2][HOME][SHIFT DOWN][END][SHIFT UP][CTRL DOWN]c[CTRL UP].</span></p>
<p><span style="font-weight: 400;">The above keystrokes will copy the data in the cell.</span></p>
<p><span style="font-weight: 400;">Now, if you want to move the cursor to the next cell after copying the current cell, use the following keystrokes:</span> <span style="font-weight: 400;">ENTER to move one row down in the same column</span></p>
<p><span style="font-weight: 400;">TAB to move to the next cell to the RIGHT in the same row</span></p>
<p><span style="font-weight: 400;">Shift + ENTER ( [SHIFT DOWN][ENTER][SHIFT UP] ) to move one row up in the same column</span> <span style="font-weight: 400;">&nbsp;&nbsp;&nbsp; </span><span style="font-weight: 400;">Shift + TAB ( [SHIFT DOWN][TAB][SHIFT UP] ) to move to the next cell to the LEFT in the same row</span></p>
<p><span style="font-weight: 400;">To skip a cell, you need to use the corresponding key twice. For example, to move RIGHT to alternate cells, you must enter [TAB][TAB]</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q4) How to Paste Data into your Application and Move to the Next Item?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Most applications support the keyboard shortcut Ctrl + V to paste data that has been copied to the clipboard. To paste the data using the keyboard, you need to ensure that the focus is at the correct place, e.g., the correct cell in a table, or the correct control in a browser page, etc. You can then perform the Ctrl + V keystroke. To simulate Ctrl + V in Automation Anywhere, you need to write it as </span></p>
<p><span style="font-weight: 400;">[CTRL DOWN]v[CTRL UP].</span></p>
<p><span style="font-weight: 400;">The above series of keystrokes will paste the data into your application.</span></p>
<p><span style="font-weight: 400;">The following examples illustrate how to move to the next record/cell in your application using the keyboard:</span></p>
<p><span style="font-weight: 400;">Use the TAB key to move from a highlighted link to the next link in an Internet Explorer Web page</span></p>
<p><span style="font-weight: 400;">Use the [RIGHT ARROW] to move to the next cell in the same row in a Microsoft Word table.</span></p>
<p><span style="font-weight: 400;">Some applications also support using the Spacebar to move to the next control or button.</span></p>
<table style="border-collapse: collapse; width: 100%; background-color: #ecf0f1; border-color: #ced4d9; border-style: solid; height: 66px;" border="1px" cellpadding="5">
<tbody>
<tr style="height: 66px;">
<td style="width: 98.3496%; text-align: center; height: 66px;"><em>Go through these <span style="color: #236fa1;"><a style="color: #236fa1;" title="Automation Anywhere Examples" href="https://tekslate.com/automation-anywhere-examples" target="_blank" rel="noopener"><strong>Automation Anywhere Examples</strong></a></span> to learn Automation Anywhere end to end!</em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q5) How to Create Timestamps for your files using Automation Anywhere System Variables?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans:&nbsp;</strong></span><span style="font-weight: 400;"><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://en.wikipedia.org/wiki/Automation" target="_blank" rel="nofollow">Automation</a></span> Anywhere provides the following system variables that you can use to append timestamps:</span></p>
<ul>
<li><span style="font-weight: 400;">Year</span></li>
<li><span style="font-weight: 400;">Month</span></li>
<li><span style="font-weight: 400;">Day</span></li>
<li><span style="font-weight: 400;">Hour</span></li>
<li><span style="font-weight: 400;">Minute</span></li>
<li><span style="font-weight: 400;">Second</span></li>
<li><span style="font-weight: 400;">Date </span></li>
</ul>
<p>You can combine these variables to create a timestamp of your own design.</p>
<p><span style="text-decoration: underline;"><strong>Examples:</strong></span></p>
<p><span style="font-weight: 400;">To append Year, Month, and Day at the end of ABC, you can write:</span></p>
<p><span style="font-weight: 400;">&nbsp;&nbsp;&nbsp;</span><span style="font-weight: 400;">ABC$Year$$Month$$Day$.</span></p>
<p><span style="font-weight: 400;">To create a complete timestamp with date and time, you can write:</span></p>
<p><span style="font-weight: 400;">&nbsp;&nbsp;&nbsp;</span><span style="font-weight: 400;">ABC$Year$$Month$$Day$$Hour$$Minute$$Second$.</span></p>
<p><span style="font-weight: 400;">You can also include text characters between the variables, e.g.,</span></p>
<p><span style="font-weight: 400;">&nbsp;&nbsp;&nbsp;</span><span style="font-weight: 400;">ABC$Year$-$Month$-$Day$.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">You can configure your own format for the Date variable. Choose Tools &gt; Variable Manager &gt; System Variable &gt; Date. If you use the Date variable to append a date to filenames, be sure there are no slashes (/) in your date format, since filenames in Windows may not use the / character.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q6) What is the Recommended way to open an Application as Part of a Task?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>When you record a task, you might double-click the icon of an application on the desktop or go to Start</span></p>
<ul>
<li style="text-align: justify;"><span style="font-weight: 400;">Programs and click the application's icon. It is very likely that the location of these icons will change, resulting in an error when the task runs. However, to prevent these errors, we recommend that you follow the following recommendations:</span></li>
<li style="text-align: justify;"><span style="font-weight: 400;">Open the task in the Task Editor.</span></li>
<li><span style="font-weight: 400;">Select the actions that involve going to menu items and clicking. They may involve several mouse moves and mouse clicks.</span></li>
</ul>
<p><span style="text-decoration: underline;"><strong>Delete these actions:</strong></span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Replace them with single-line commands that you create by double-clicking the Open Program/File command and specifying the path to the application you want to open. </span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">The Open Program/File dialog includes a text box where you can type parameters that Automation Anywhere will pass to the application.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">The task will now open your application, no matter where the icon is located.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q7) Explain Different Recorders in AA?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>Recorders are of three types</span></p>
<table style="border-collapse: collapse; width: 100%; border-style: solid; margin-left: auto; margin-right: auto;" border="1" cellpadding="5">
<tbody>
<tr style="height: 35px;">
<td style="width: 144px; height: 35px;">Smart Recorder</td>
<td style="width: 393px; height: 35px;">All object cloning</td>
</tr>
<tr style="height: 35px;">
<td style="width: 144px; height: 35px;">Screen Recorder</td>
<td style="width: 393px; height: 35px;">Capture window objects -simple tasks for processes that involve mouse clicks and keyboard operations.</td>
</tr>
<tr style="height: 35px;">
<td style="width: 144px; height: 35px;">Web Recorder</td>
<td style="width: 393px; height: 35px;">Capture Web Project</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;"><span style="color: #236fa1; font-size: 24px;"><strong><a id="rpa-automation-anywhere-interview-questions"></a>RPA Automation Anywhere Interview Questions</strong></span></h2>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong><a id="managed-web-control"></a>Q8) What is Manage Web Control?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>To capture image links, radio buttons, text boxes, check boxes and other web control Automation Anywhere Web Recorder -&gt; Manage Web Controls allows capture of web controls and assign them variables.</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q9) Difference Between Managing Windows/Web controls and Object Cloning?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>The manage Windows Controls command allows you to work with <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://learn.microsoft.com/en-us/windows/win32/controls/window-controls" target="_blank" rel="nofollow">Windows controls</a></span> like checkboxes and radio buttons. With this command, you can find out if the radio button or check box is checked or not. Automation Anywhere supports only standard Windows checkboxes and radio buttons.</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Object Cloning command to recognized</span></p>
<p style="text-align: justify;"><span style="font-weight: 400;">Objects and a variety of their properties, including Name, Type, Path, and Value</span></p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q10) What is Image Recognition in Terms of AA?</strong></span></h3>
<p style="text-align: justify;"><span style="font-weight: 400;"><strong>Ans: </strong>Image Recognition is another feature of the Visualize Technology available in Automation Anywhere Enterprise. Using the Visualize Technology, Image Recognition allows the recognition and comparison of images from files or windows.</span></p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q11) How to lock, Shutdown and Restart The Machine Using AA?</strong> </span></h3>
<p><strong>Ans:&nbsp;</strong><span style="text-decoration: underline;"><strong>Lock the computer</strong></span></p>
<ol>
<li><span style="font-weight: 400;"> In Automation Anywhere Client, open the Task Editor. To open an existing task, select the task in the Task List, and click Edit. To create a new task, click New, or choose Tools &gt; Task Editor.</span></li>
<li><span style="font-weight: 400;"> In the Task Editor, in the Commands list, double-click System. A submenu appears.</span></li>
<li><span style="font-weight: 400;"> Double-click Lock Computer. The System dialog appears. Note the green symbol indicating that the Shutdown command can help save energy and spare the environment.</span></li>
<li><span style="font-weight: 400;"> Click Save.</span></li>
</ol>
<p><span style="text-decoration: underline;"><strong>Shut down the computer</strong></span></p>
<ol>
<li><span style="font-weight: 400;"> In Automation Anywhere Client, open the Task Editor. To open an existing task, select the task in the Task List, and click Edit. To create a new task, click New, or choose Tools &gt; Task Editor.</span></li>
<li><span style="font-weight: 400;"> In the Task Editor, in the Commands list, double-click System. A submenu appears.</span></li>
<li><span style="font-weight: 400;"> Double-click Shutdown. The System dialog appears. Note the green symbol, indicating that the Shutdown command can help save energy and spare the environment.</span></li>
<li><span style="font-weight: 400;"> Click Save. </span></li>
</ol>
<p><span style="text-decoration: underline;"><strong>Restart the computer</strong></span></p>
<ol>
<li><span style="font-weight: 400;"> In Automation Anywhere Client, open the Task Editor. To open an existing task, select the task in the Task List, and click Edit. To create a new task, click New, or choose Tools &gt; Task Editor.</span></li>
<li><span style="font-weight: 400;"> In the Task Editor, in the Commands list, double-click System. A submenu appears.</span></li>
<li><span style="font-weight: 400;"> Double-click Restart.</span></li>
<li><span style="font-weight: 400;"> Click Save. Note: Always put System commands last in tasks, since actions entered after the System command will not be executed.</span></li>
</ol>
<p style="text-align: justify;"><em><strong>Tip</strong></em><span style="font-weight: 400;"><em><strong>:</strong></em> You can have Automation Anywhere Client perform an auto-login, so that when your computer restarts, Automation Anywhere Client will enter your username and password.</span></p>
<p style="text-align: right;"><span style="color: #000000; font-size: 14px;">Checkout:<strong> </strong>[<strong> <span style="color: #236fa1;"><a style="color: #236fa1;" title="Robotic Process Automation (RPA) Tutorial" href="https://tekslate.com/tutorials-rpa-tutorials" target="_blank"><em>Robotic Process Automation (RPA) Tutorial</em></a></span> </strong>]</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="components-of-automation-anywhere-architecture"></a>Q12) What are the Components of Automation Anywhere Architecture?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong>The architecture of the automation anywhere tool revolves around 2 components which are the </span><span style="font-weight: 400;">Control room and the client. </span></p>
<p><span style="font-weight: 400;">In the client, the task can be created (script) and the same can be uploaded in the control room.</span></p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q13) What are the Important options to make it easy of using the Automation Anywhere Task editor's filter?</strong></span></h3>
<p><span style="color: #000000;"><strong><span style="font-size: 14px;">Ans:</span></strong></span></p>
<table style="border-collapse: collapse; width: 100%; height: 37px; margin-left: auto; margin-right: auto;" border="1">
<tbody>
<tr style="height: 35px;">
<td style="width: 148px; height: 35px;">Group By Windows</td>
<td style="width: 448px; height: 35px;">Group all your actions by Windows for easy editing</td>
</tr>
<tr style="height: 35px;">
<td style="width: 148px; height: 35px;">Mouse moves</td>
<td style="width: 448px; height: 35px;">Display or hide all mouse moves and actions from the editor</td>
</tr>
<tr style="height: 35px;">
<td style="width: 148px; height: 35px;">Keystrokes</td>
<td style="width: 448px; height: 35px;">Display or hide all keystrokes actions from the editor</td>
</tr>
<tr style="height: 35px;">
<td style="width: 148px; height: 35px;">Mouse clicks</td>
<td style="width: 448px; height: 35px;">Display or hide all mouse clicks actions from the editor</td>
</tr>
<tr style="height: 35px;">
<td style="width: 148px; height: 35px;">Delay</td>
<td style="width: 448px; height: 35px;">Display or hide all delayed actions from the editor</td>
</tr>
<tr style="height: 35px;">
<td style="width: 148px; height: 35px;">Others</td>
<td style="width: 448px; height: 35px;">Display or hide all commands from the editor that are not mouse moves, keystrokes, mouse clicks, or delays</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q14) What are the Typical steps Involved in Automation Anywhere process?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span>Selecting or choosing the testing tools like Automation Anywhere, and Blue Prism is the primary thing. After that, the next step is defining the automation scope followed by the phases of planning, designing as well as development. Testing execution is the next step and maintenance is the final step. It is crucial to follow steps while defining the sequence thus eliminating confusion.</p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong><a id="significant-factors"></a>Q15) What are the Significant factors to Consider while planning Automation Anywhere?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span>The first thing before considering anything is to pay attention and select the <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://www.growmeorganic.com/best-workflow-automation-software/" target="_blank">automation tool</a></span> that is beneficial. It also requires paying attention to the framework in the case where it is present. Identifying the test deliverables is the other factor to consider. Also, other factors such as project timelines, execution, etc. must be taken care of during the planning phase.</p>
<h3><span style="font-size: 18px; color: #e67e23;"><strong>Q16) What are the Primary Reasons for Considering Automation Anywhere Instead of Manual Testing?</strong></span></h3>
<p><span style="font-weight: 400;"><strong>Ans: </strong></span>The primary issue is manual testing requires a lot of additional resources as well as more time consumption. Also exists some errors due to inaccuracy in cases of large projects with time boundaries. It&rsquo;s not a wise option for choosing manual testing at instances of complex documentation levels as it can degrade the performance of the resources. Even the resources performing testing or the learners taking automation anywhere training or <span style="color: #236fa1;"><a style="color: #236fa1;" title="Blue Prism Training" href="https://tekslate.com/blue-prism-training" target="_blank">Blue Prism training in Bangalore</a></span> may lose interest in achieving the same task again and again in a short span of time.</p>81:T10b1,<h2><span style="color: #000000;">Groovy Interview Questions And Answers</span></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Are The Dependencies For Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">As well as Java 1.4 and the Groovy jar we also depend at runtime on the ASM library.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Mention what relational operators is used for in Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Relational operators allows you to compare between objects, to check whether the two objects are different or same or if one is less than, greater than or equal to others.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Mention what relational operators is used for in Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Relational operators allows you to compare between objects, to check whether the two objects are different or same or if one is less than, greater than or equal to others.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what does the JsonSlurper class indicates?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The JsonSlurper is a class that parses JSON text or reader content into Groovy data structures (objects) such as lists, maps, and primitive types like double, Boolean, string and Integer.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what is ExpandoMetaClass in Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">ExpandoMetaClass is used to add methods, properties, static methods and constructors. Expandoclass does not inherited by default; you have to call ExpandoMetaClass.enableGlobally().</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain how you can include a groovy script in another groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You can include a groovy script with another groovy by using the following code. When put this code at the top of the script it will bring in the contents of a groovy file.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain What Is Expandometaclass In Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">ExpandoMetaClass is used to add methods, properties, static methods and constructors. Expandoclass does not inherited by default; you have to call ExpandoMetaClass.enableGlobally().</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is Grails?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Grails is an open source web application framework that uses the Groovy and Java as programming language, this framework use another frameworks like Spring, Hibernate, SiteMesh and have and embebed H2 database, Tomcat server and ORM(GORM). this framework follow some design patters as Model View Controller(MVC), Convention Over Configuration(CoC), Don't repeat yourself(DRY) and runs over the Java Virtual Machine(JVM).</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain What Is Groovysh?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Groovysh is a command line application that enables an easy access to evaluate Groovy expressions, define classes and run experiments.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How Can I Turn On Logging For Hibernate In Order To See Sql Statements, Input Parameters And Output Results?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Edit your Config.groovy file. Find the line with:</p>
<p style="padding-left: 30px; text-align: justify;">hibernate = "off" and replace it with: hibernate.SQL="trace,stdout" hibernate.type="trace,stdout"</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is Are The Closures In Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A closure in Groovy is an open, anonymous, block of code that can take arguments, return a value and be assigned to a variable.</p>82:T1b3c,<h2><span style="color: #e67e23; font-size: 24px;"><strong>How to Create an Item:</strong> </span></h2>
<p><strong>Creating an Item</strong>: As the first step in creating the item go to the Inventory responsibility and in that master items screen.</p>
<p>The navigation is&nbsp;<strong>Items -&gt;Master Items</strong>. The given below is the Master items window. <strong>&nbsp;</strong></p>
<p><strong>Note:</strong> Before you got the master items screen you will ask for the choose organization screen then&nbsp;you get this screen. Here we choose the &ldquo;V1&rdquo; so, the items was set to V1 by default as the master&nbsp;organization. If we want we can assign this item to any other child organizations see the process in&nbsp;the coming steps.</p>
<p><img class="aligncenter wp-image-2390" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide722-460x345.png" alt="Slide72" width="676" height="507" /></p>
<p>Enter all the fields like item, description, Long Description such fields as per the&nbsp;requirement. After go to the Tools menu and in that go with Copy From option in that as&nbsp;we shown in the below figure. Then we get the Copy from window.</p>
<p><img class="aligncenter wp-image-2392" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide732-460x345.png" alt="Slide73" width="663" height="497" /></p>
<p><img class="aligncenter wp-image-2395" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide742-460x345.png" alt="Slide74" width="419" height="314" /></p>
<p>Enter the Template name from the list which we want to assign to the current item&nbsp;BAGS and go with the Apply after that Done. Then the template was copied to the&nbsp;current item. Then go with the Organization Assignment option as we round in the given&nbsp;below figure then the view of the window will be changed as below.</p>
<p><img class="aligncenter wp-image-2413" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide752-460x345.png" alt="Slide75" width="675" height="506" /></p>
<p>Assign the item to the child organizations what ever you want. Then go with the save&nbsp;button then the item was created successfully. Now we have to set the price list for the&nbsp;item then only we can view the item in the sales order like that. Now go with the Order Management responsibility.</p>
<p>The navigation for the price list setup is&nbsp;<strong>Pricing -&gt;Price Lists -&gt;Price List Setup</strong>. Then you get the Advanced Pricing window.</p>
<p><strong>Note:</strong> There are different price lists &ldquo;Corporate&rdquo; is default when we are creating the sales order so,&nbsp;we are adding our item to the &ldquo;Corporate&rdquo; price list. If we want we can create new price list as per&nbsp;the requirements.&nbsp;After getting the Pricelist window then go with F11 query mode gets the price list&nbsp;what ever you want and add the item and enter all the mandatory fields such as&nbsp;Product Context, Product Attribute, Product Value(Item Name), price, to it after that go&nbsp;with save button. Then the item was successfully added to the price list.</p>
<p><img class="aligncenter wp-image-2417" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide762-460x345.png" alt="Slide76" width="727" height="545" /></p>
<p>Enter all the details correctly before saving. Here in the form the rate of the item is&nbsp;described as value in that field we have to enter the rate of the item.</p>
<p><img class="aligncenter wp-image-2418" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide772-460x345.png" alt="Slide77" width="633" height="475" /></p>
<p>Now at this stage the item was created and added to the price list was successful but&nbsp;the on hand quantity of the particular item is ZERO (0). That means we can&rsquo;t book the&nbsp;orders on that item. To increase the on hand quantity of any particular item is given&nbsp;below. We have to go with the Inventory responsibility and the navigation is&nbsp;Transactions  Miscellaneous Transaction. Then you will ask for the organization&nbsp;then select the child organization which we have selected for the item created above.&nbsp;Then we get the window as below.</p>
<p><img class="aligncenter wp-image-2442" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide781-460x345.png" alt="Slide78" width="424" height="318" /></p>
<p>Enter the mandatory fields and then go with the transaction lines. Then we get the&nbsp;window given below. Enter the item name, sub inventory, Amount and quantity as per&nbsp;the requirement. Here we entered 120 as ex.</p>
<p><img class="aligncenter wp-image-2443" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide791-460x345.png" alt="Slide79" width="753" height="564" /></p>
<p>When we enter the tab position to the amount then we get the Operations&nbsp;Accounting window given below. Select the appropriate option from the list of options.&nbsp;Here we selected the Cash as per our Ex.</p>
<p><img class="aligncenter wp-image-2445" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide801-460x345.png" alt="Slide80" width="457" height="343" /></p>
<p>After entering the amount field then go with the save button. Then the items quantity&nbsp;will be increased. Now we can go with the orders now. To check the on-hand-quantity of any item we have to go with the Inventory&nbsp;responsibility and the navigation is On-Hand, Availability  On-Hand Quantity. Then&nbsp;we get the Query Material window we have to enter the item name which we want to&nbsp;check the quantity and go with the find button below the screen.</p>
<p><img class="aligncenter wp-image-2446" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide814-460x345.png" alt="Slide81" width="667" height="500" /></p>
<p>After that we get other window in that we get the details of the item on-hand and other.</p>
<p><img class="aligncenter wp-image-2447" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide822-460x345.png" alt="Slide82" width="762" height="571" /></p>
<p>Here there is the Availability button when we go with that we get the same details in the short window.</p>
<p>&nbsp;</p>
<p><strong>Check out our Related Courses</strong></p>
<ul>
<li><a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a></li>
<li><a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a></li>
<li><a href="https://tekslate.com/oracle-apex-training/">Oracle Apex&nbsp; Training In Hyderabad</a></li>
<li><a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a></li>
</ul>83:T87b,<h2 style="text-align: justify;">Subversion SVN Interview Questions And Answers</h2>
<p style="text-align: justify;"><strong>What is SVN?&nbsp;</strong></p>
<p style="padding-left: 30px; text-align: justify;">SVN or Subversion is an open source control system; it is used to trace all the changes made to your source code or files.</p>
<div class="views-field-title" style="text-align: justify;"><strong><span class="field-content">What is the function of Revert in subversion?&nbsp;</span></strong></div>
<div class="views-field-body" style="text-align: justify;">
<div class="field-content">
<p style="padding-left: 30px;">Revert function will remove your local changes and reload the latest version from the repository.</p>
<strong>What does the result codes G and R in svn indicates?</strong>
<p style="padding-left: 30px;">The result codes G and R in svn indicates</p>
<ul>
<li><strong>G code:</strong>&nbsp;Changes on the repo were automatically merged into the working copy.</li>
<li><strong>R code:</strong>&nbsp;This code indicates that item has been replaced in your working copy. This means the file was programmed or scheduled for deletion, and a new file with the same name was scheduled for addition in its place.</li>
</ul>
<strong>What all things should be stored in SVN repository?</strong>
<ul>
<li>Source Code</li>
<li>MySQL Queries</li>
<li>Database Updates</li>
<li>Project regarding important files</li>
<li>Product Documents</li>
<li>Minutes of Metting and Imp Email</li>
</ul>
<strong>What is the best practices for SVN?</strong>
<ul>
<li>Work from your own local work-space</li>
<li>Commit small autonomous changes</li>
<li>Use comment</li>
<li>Validate the files you are committing, you actually changed</li>
<li>Take Update before commit to the Repo.</li>
</ul>
<strong>&nbsp;How to resolve a conflicts in SVN ?</strong>
<p style="padding-left: 30px;">To resolve a conflict do one of three things: Merge the conflicted text by hand (by examining and editing the conflict markers within the file). Copy one of the temporary files on top of the working file. Run svn revert FILENAME to throw away all of the local changes.</p>
&nbsp;</div>
</div>84:T2606,<p><a title="Microsoft SharePoint InfoPath" href="https://tekslate.com/sharepoint-training/">Microsoft InfoPath</a> 2010 helps you to design rich form solutions, even if you are a new InfoPath user. Automation and simplified workflow helps you more quickly and easily start to build simple forms. Then, design and layout improvements such as the ribbon and the new Backstage window help make it easier to find the tools to help you create attractive and effective forms, which then helps make it easier for people to fill out the forms. InfoPath 2010 also integrates more deeply with SharePoint, and provides increased feature and control support for browser forms. This helps make it easier to use the Web to gather and keep information. InfoPath 2010 auto-generates simple forms from SharePoint lists and other data sources, providing predefined page and section layout styles, design tools and Quick Rules&nbsp;logic tools. For advanced forms, easy steps enable you to add fields and custom logic. You can also add features such as dynamic sections and data lookup. Finished forms are published with just one click.</p>
<p>We are going to create a&nbsp;<strong>simple form using InfoPath 2010</strong>&nbsp;and&nbsp;<strong>publish the form to a SharePoint 2010 library</strong>&nbsp;and&nbsp;<strong>open the form using Web Browser</strong> &nbsp;</p>
<p><strong>1. Open InfoPath 2010 Designer and Click on File | New | Select Blank Form | Click on Design Form</strong></p>
<p><img class="alignnone wp-image-3988" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2013-460x223.png" alt="20" width="521" height="252" /> &nbsp;</p>
<p><strong>2.&nbsp; Blank Form Template in InfoPath 2010 is created. Now I want to insert tables</strong></p>
<p><img class="alignnone wp-image-3990" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2118-460x261.png" alt="21" width="498" height="282" /></p>
<p>&nbsp; <strong>3. Click on Insert tab and select the table format which you want</strong> &nbsp;</p>
<p><img class="alignnone wp-image-3991" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2214-460x129.png" alt="22" width="446" height="125" /></p>
<p><strong>4. Adding control to InfoPath 2010 Forms</strong> <strong>To add controls to your form, click on HOME tab and go where it says Controls</strong></p>
<p><img class="alignnone wp-image-3992" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2313-460x204.png" alt="23" width="474" height="210" /></p>
<p><strong>5. If you want to add InfoPath form 2010 controls similar to InfoPath form 2007, just click on the control pane</strong></p>
<p>&nbsp; <img class="alignnone wp-image-3993" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2411-460x162.png" alt="24" width="500" height="175" /></p>
<p><strong>6. Now your control pane is will look like InfoPath 2007 format.</strong></p>
<p><img class="alignnone wp-image-3994" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2511-460x421.png" alt="25" width="408" height="373" /></p>
<p><strong>7. Let&rsquo;s go and add controls to our new InfoPath 2010 forms.&nbsp;</strong> <strong>I added four input text fields. To go to properties of the field, just double click and name the properties.</strong></p>
<p><img class="alignnone wp-image-3995" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2611-460x189.png" alt="26" width="437" height="179" /></p>
<p><strong>Properties of the Fields in InfoPath 2010 forms</strong></p>
<p><img class="alignnone wp-image-3996" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2711-460x289.png" alt="27" width="539" height="338" /></p>
<ol start="8">
<li>Now the form is ready and let&rsquo;s goes and publish this to SharePoint 2010 Form library. Data | Form Options</li>
</ol>
<p>&nbsp; <img class="alignnone wp-image-3997" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2811-460x158.png" alt="28" width="562" height="193" /> &nbsp;</p>
<p><strong>9. InfoPath 2010 Submit Form Options:</strong></p>
<p><strong>If you want to submit the form to SharePoint Document Library, put a check in Allow users to Submit this form</strong> <strong>Other options are &ldquo;Show the submit button in both the ribbon and the info tab in the InfoPath filter</strong></p>
<p>&nbsp; <img class="alignnone wp-image-3998" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2911.png" alt="29" width="489" height="563" /></p>
<table style="border-collapse: collapse; width: 100.012%; height: 61.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 61.0374px;">
<td style="width: 98.4238%; text-align: center; height: 61.0374px;">Want to acquire industry skills and gain complete knowledge of SharePoint? Enroll in Instructor-Led live <span style="color: #236fa1;"><em><strong><a style="color: #236fa1;" href="https://tekslate.com/sharepoint-training/" target="_blank">SharePoint Training</a></strong></em></span> to become Job Ready!</td>
</tr>
</tbody>
</table>
<pre style="text-align: center;"><em><strong>&nbsp;</strong></em></pre>
<ol>
<li>If your satisfy with the entire all the options, click Ok. This will give you a message saying &ldquo;You must select a data connection for Submitting data to a SharePoint document library. To create a new data connection, click ADD&rdquo;</li>
</ol>
<p>Let&rsquo;s go and click Add to create new data connection to SharePoint 2010 Document Library</p>
<p><img class="alignnone wp-image-3999" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3011-460x86.png" alt="30" width="702" height="131" /></p>
<ol>
<li>Data Connection Wizard: This wizard helps you to specify a data connection for submitting the form to a document library on SharePoint site. The form will be submitted with the file name specified below I already have created a Form Library in SharePoint 2010.&nbsp; If you don&rsquo;t have the link for the Form Library go to your SharePoint site and create a Form Library.</li>
</ol>
<p>In File Name, I selected as name and the form will be submitted with the file name specified below</p>
<p><strong>&nbsp;</strong> <img class="alignnone wp-image-4000" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3113-460x319.png" alt="31" width="529" height="367" /></p>
<p>To insert File Name : Click on Fx Icon</p>
<p><img class="alignnone wp-image-4019" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3213-460x314.png" alt="32" width="516" height="351" /></p>
<ol start="2">
<li>Enter a name for this data connection and click on Finish and Ok for next Window</li>
<li>Now the data connection to document library is completed and now we can publish the form to SharePoint 2010 To publish the form,&nbsp; go to File | Publish and | SharePoint Server |</li>
</ol>
<p>Publish form to a SharePoint Library - Create or update a form library form on SharePoint - Users can access this form Online</p>
<p><img class="alignnone wp-image-4023" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3312-460x332.png" alt="33" width="468" height="337" /></p>
<ol start="4">
<li>Publishing Wizard will come up to publish the form to SharePoint Document Library.&nbsp; In&nbsp; here the wizard wants you to enter the location of your SharePoint or InfoPath Form Services site. Enter the site name which you want to publish the form and the <strong>Click Next</strong><strong> </strong>&nbsp;</li>
</ol>
<p>Enable this form to be filled out by using browser if you want user to fill the form online.&nbsp; Also we are publishing this form to a document library</p>
<p><img class="alignnone wp-image-4032" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3411-460x348.png" alt="34" width="480" height="362" /></p>
<ol start="6">
<li>What do you want to do? - Create a new form library or Update the form template in an existing from library.</li>
</ol>
<p>Since I already have a form library created, I am going to update my form template in an existing form library</p>
<p><strong>&nbsp;</strong> <img class="alignnone wp-image-4047" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3510-460x349.png" alt="35" width="505" height="382" /> &nbsp;</p>
<ol start="7">
<li>The files listed below will be available as columns in SharePoint sites and Outlook Folder.&nbsp; Go head and select the fields which you want to capture.</li>
</ol>
<p><img class="alignnone wp-image-4062" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3610-460x347.png" alt="36" width="517" height="389" /></p>
<ol start="8">
<li>Click next and publish the InfoPath form to SharePoint 2010 Library</li>
<li>Form is published to SharePoint and click on open in&nbsp;form in the Browser</li>
<li>InfoPath Form opens in browser and it&rsquo;s ready to be filled and submit to form library.</li>
</ol>
<p>&nbsp; <img class="alignnone wp-image-4110" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3712-460x259.png" alt="37" width="548" height="307" /></p>
<p>Form filed information are captured in Form Library in SharePoint 2010</p>
<p><img class="alignnone wp-image-4128" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3811-460x89.png" alt="38" width="486" height="94" /></p>
<p>&nbsp;</p>85:T5419,<p>Feature Stapling allows you to create a feature and then associate it with any site definition without ever touching the site definition files themselves. Your feature will be executed when the site is being provisioned. <strong>Feature Stapling</strong>&nbsp;is achieved through the creation of another feature that defines the association of your regular Feature and the site definition you want to &ldquo;staple&rdquo; it too. In other words, you need to create two Features to achieve a complete Feature Stapling implementation. <strong>Lifecycle of Stapling Feature</strong> <img class="alignnone size-full wp-image-3911" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/270.png" alt="2" width="376" height="508" /> &nbsp; As per the above figure, step 3 &amp; 4 is your stapling feature trying to modify elements from the site definition (i.e. out of the box lists / list view web parts and Step 6 is when the actual lists from the site definition are getting created. Feature Stapling&nbsp;&nbsp;is the great way if the site definition is already in use (and sites have been created). Feature Stapling has two features. A&nbsp;"Stapler"&nbsp;feature which staples another feature to the site definition and the"Staplee"&nbsp;feature which will be stapled. For Example suppose you want to apply a custom Theme to all of the "Publishing site" site definitions. This can be solved by creating a feature which will apply the Custom theme to the site and it can be associated with the publishing site's site definition. Or Suppose if you want to activate a custom list to all the Team sites , this can also be solved creating a feature which on activating when you create a team site the custom list gets created. How to Create Feature stapler.</p>
<ol>
<li>First we need to create the Features (Staplee) which we want install on creation of site (publishing or team site etc.).&nbsp;How to create feature.</li>
<li>Create a Feature Stapler as below &lt;?xml version="1.0" encoding="utf-8" ?&gt;</li>
</ol>
<p>&lt;Feature&nbsp;xmlns="<strong>http://schemas.microsoft.com/sharepoint/</strong>"&nbsp;Id="<strong>C384D136-79A8-48BD-AF73-C630547F4D8E</strong>"&nbsp;Title="<strong>ExampleStapler</strong>"&nbsp;Description="<strong>This feature staples the&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; other feature to the Team Site definition.</strong>"&nbsp;Scope="<strong>Farm</strong>"&nbsp;Hidden="<strong>False</strong>"Version="<strong>1.0.0.0</strong>" /&gt; &nbsp;</p>
<ol start="3">
<li>Create an element xml which is nothing but where feature association takes place.In order to add element.xml we need to create a module in Visual studio 2010 and then add the element.xml</li>
</ol>
<p>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="utf-8"&nbsp;?&gt; &lt;Elements&nbsp;xmlns="http://schemas.microsoft.com/sharepoint/"&gt; &lt;FeatureSiteTemplateAssociation&nbsp;Id="b8f334a0-1ffe-420d-b6e2-54a9faa6ba95"TemplateName="STS#0"&nbsp;/&gt; &lt;FeatureSiteTemplateAssociation&nbsp;Id="07cb8bd4-7004-4021-8355-48d17de287e5"TemplateName="STS#0"&nbsp;/&gt; &lt;FeatureSiteTemplateAssociation&nbsp;Id="90C924A7-32F7-4C19-BD4C-AF49EF0563A9"TemplateName="STS#0"&nbsp;/&gt; &lt;/Elements&gt; The FeatureSiteTemplateAssociationID element maps feature(The Features which we want to install on creation of Site) GUIDs to site definitions. Feature-stapling won't affect any sites which have already been created from a site definition, only subsequent sites. The only way to do this is to activate your features individually on the site. So Once you deploy Feature Stapler to web application level and then you create a team Site the associated (Stappled)&nbsp; features will get activated. &nbsp;</p>
<h2><span style="color: #000000;">Feature Activation Dependencies used in SharePoint Features</span></h2>
<p>Feature Activation Dependency allows to make Features dependent on each other. So if FeatureB has activation dependency on FeatureA, then FeatureB can only be activated if FeatureA is activated. If this is not the case it will prompt you with a message to activate FeatureA first. A sample Feature element tag is given below: &lt;Feature&nbsp;Id="GUID"&nbsp;Title="Feature Title" Description="Feature Description" Version="1.0.0.0" Scope="Site" Hidden="false"&gt; &lt;ActivationDependencies&gt; &lt;ActivationDependency&nbsp;FeatureId="GUID" /&gt; &lt;/ActivationDependencies&gt; &lt;/Feature&gt; If the dependent feature is hidden (to make a Feature hidden, set the Feature element's "Hidden" attribute to "False"), it will be activated automatically when the dependee feature is activated. For example&nbsp;if FeatureB has activation dependency on FeatureA and FeatureA is hidden, then FeatureA will be activated automatically when FeatureB is activated. Otherwise we need to activate the FeatureA manually before activating the FeatureB. Following are some important points which needs to be considered when dealing with feature activation dependencies: A visible Feature can have dependency on hidden Feature, but a hidden Feature cannot have dependency on visible Feature. It doesn't support circular dependencies (FeatureA depends on FeatureB and&nbsp;FeatureB depends on FeatureA). It has limited support for dependency chains. For example, WSS 3.0/MOSS 2007&nbsp;supports more than one level in activation dependencies if a visible Feature depends on a second visible Feature that in turn depends on a hidden Feature. But it&nbsp;does not support more than one level in activation dependencies if the last Feature is visible&mdash;that is if a visible Feature depends on a second visible Feature that in turn depends on a third visible Feature.&gt; If the dependent Feature is not activated, activation of the dependee Feature will fail. But if dependent Feature is hidden, then it will be automatically activated when the dependee Feature is activated. Cross-scope activation dependencies are not supported if following conditions are satisfied: If the dependent Feature is at a more restrictive scope. For example, a site collection scoped Feature cannot have an activation dependency on a web site scoped Feature. If the dependent Feature is not visible. For example, a web site scoped feature cannot be dependent on a site collection scoped Feature that is not visible in the user interface.</p>
<pre style="text-align: center;"><em><strong>Interested in mastering &nbsp;SharePoint&nbsp;? Learn more about <a href="https://tekslate.com/sharepoint-training/" target="_blank" rel="noopener">SharePoint Tutorial</a> in this blog post.</strong></em></pre>
<p><strong>ActivationDependency Element (Feature)</strong> Represents a Feature on which activation of the current Feature depends. &lt;ActivationDependency FeatureDescription = string FeatureId = Guid FeatureTitle = string MinimumVersion = string SolutionId = Guid SolutionName = string SolutionTitle = string SolutionUrl = string&gt; &lt;/ActivationDependency&gt; &nbsp; <strong>Attributes</strong></p>
<table style="height: 326px;" width="732">
<tbody>
<tr>
<td>Attribute</td>
<td>Description</td>
</tr>
<tr>
<td><strong>FeatureDescription</strong></td>
<td>Optional&nbsp;<strong>string</strong>. The description of the Feature dependency.</td>
</tr>
<tr>
<td><strong>FeatureId</strong></td>
<td>Required&nbsp;<strong>Guid</strong>. The ID of the Feature dependency.</td>
</tr>
<tr>
<td><strong>FeatureTitle</strong></td>
<td>Optional&nbsp;<strong>string</strong>. The title of the Feature dependency.</td>
</tr>
<tr>
<td><strong>MinimumVersion</strong></td>
<td>Optional&nbsp;<strong>string</strong>. The minimum version of the Feature dependency. This attribute must use the pattern&nbsp;<em>n</em>.<em>n</em>.<em>n</em>.<em>n</em>, where each occurrence of&nbsp;<em>n</em>&nbsp;is a numeric value.</td>
</tr>
<tr>
<td><strong>SolutionId</strong></td>
<td>Optional&nbsp;<strong>Guid</strong>. The ID of the solution dependency.</td>
</tr>
<tr>
<td><strong>SolutionName</strong></td>
<td>Optional&nbsp;<strong>string</strong>. The name of the solution dependency.</td>
</tr>
<tr>
<td><strong>SolutionTitle</strong></td>
<td>Optional&nbsp;<strong>string</strong>. The title of the solution dependency.</td>
</tr>
<tr>
<td><strong>SolutionUrl</strong></td>
<td>Optional&nbsp;<strong>string</strong>. The URL of the solution dependency.</td>
</tr>
</tbody>
</table>
<h2><span style="color: #000000;"> Learning the Basics of Events in SharePoint Foundation 2010</span></h2>
<p>An&nbsp;<em>event receiver</em>&nbsp;in Microsoft SharePoint Foundation 2010 is simply a method that is called when a triggering action occurs on a specified SharePoint object. Triggering events include actions such as adding, updating, deleting, moving, checking in, and checking out. SharePoint objects that listen for events&mdash;that is,&nbsp;<em>event receiver hosts</em>&mdash;include objects such as site collections, sites, lists, and workflows. Events are valuable tools for SharePoint developers. When a user performs an action that affects a SharePoint site, you can trap that action and respond to it with custom code. For example, if a project manager needs to be alerted when new documents or files are added to a given document library, you could write event receiver code to send an e-mail notification to the project manager, and then bind that code to the item-addition action on the document library. SharePoint Foundation 2010 provides enormous flexibility for detecting and responding to SharePoint events.</p>
<table width="873">
<tbody>
<tr>
<td>&nbsp;<strong>Note:</strong></td>
</tr>
<tr>
<td>Microsoft Visual Studio 2010 now provides a SharePoint Event Receiver project template that automatically performs many of the tasks that are described in this article. To provide full descriptions of the actions that occur in the entire event pipeline, we do not use the Visual Studio 2010 Event Receiver project template. However, we do provide a brief summary of using Visual Studio 2010 to create event receivers, and we provide examples that use the template.</td>
</tr>
</tbody>
</table>
<p>Events were first introduced in Windows SharePoint Services 2.0 but initially were supported only on document libraries. SharePoint events then were referred to as&nbsp;<em>event sinks</em>. In Windows SharePoint Services 3.0, the SharePoint events infrastructure took its current form, using managed event receivers. Event receivers improved on event sinks in several ways. They are easier to use; they have more event types; and they are supported on lists, content types, workflows, and sites. In SharePoint Foundation 2010, new list and web events were introduced; additionally, site collections can now act as event hosts, After events can now be synchronous, and event cancellation and impersonation has improved.</p>
<h4>How SharePoint Events Work: All You Need to Know in One Paragraph</h4>
<p>A SharePoint event receiver is bound to a SharePoint object&mdash;the event host&mdash;and responds to a user action by triggering event receiver code. You compile your event receiver code into a managed assembly&mdash;that is, a .dll file that is deployed to the global assembly cache.</p>
<h4>Where Can I Use Event Receivers?</h4>
<p>If you want to add behaviors to the operations that happen in SharePoint, you can use event receivers to trigger your custom code whenever a certain operation takes place. Table 1 lists the various operations on which you can plug your custom code. &nbsp;</p>
<h3>Table 1. Operations available to event receivers</h3>
<p>&nbsp;</p>
<table style="height: 571px;" width="770">
<tbody>
<tr>
<td><strong>Object</strong></td>
<td>Operations</td>
</tr>
<tr>
<td><strong>Site collection</strong></td>
<td>
<ul>
<li>Deletion</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Web</strong></td>
<td>
<ul>
<li>Creation</li>
<li>URL modification</li>
<li>Deletion</li>
</ul>
</td>
</tr>
<tr>
<td><strong>List</strong></td>
<td>
<ul>
<li>Creation</li>
<li>Deletion</li>
<li>Received an e-mail message</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Field</strong></td>
<td>
<ul>
<li>Creation</li>
<li>Update</li>
<li>Deletion</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Item</strong></td>
<td>
<ul>
<li>Creation</li>
<li>Update</li>
<li>Deletion</li>
<li>Check in</li>
<li>Check out</li>
<li>File movement</li>
<li>File conversion</li>
<li>Adding attachment</li>
<li>Deleting attaching</li>
</ul>
</td>
</tr>
<tr>
<td><strong>Workflow</strong></td>
<td>
<ul>
<li>Start</li>
<li>Completed</li>
<li>Postponed</li>
</ul>
</td>
</tr>
</tbody>
</table>
<h4>What Are Event Receivers?</h4>
<p>An event receiver is a piece of managed code that responds to SharePoint events when specific triggering actions occur on a SharePoint object. Triggering actions include activities such as adding, updating, deleting, moving, checking in, and checking out. To create an event receiver, you inherit from one of the event receiver base classes. SharePoint provides five event receiver base classes. (See Table 2 in the following section.) Note that each of the base classes supports only specified event hosts and events. You must select the correct event receiver base class for the host type you want to support. After you write your event receivers in your event receiver class, you must compile the receiver into a managed assembly and then place it in the global assembly cache (GAC). Finally, you must bind the event receivers to a suitable event host. Later in this article, we discuss event binding and the different methods with which you can bind events.</p>
<h4>What Are Event Hosts?</h4>
<p>Event hosts are common SharePoint objects that expect to receive events&mdash;in other words, objects whose event receivers "listen" for SharePoint events. These SharePoint event host object types include instances of common objects such as SharePoint site collections, sites, and lists. Each event host type has a specific set of event receiver base types from which it can inherit. Table 2 lists the event receiver base classes as well as the event host types that support each receiver, along with the events they support. &nbsp;</p>
<h3>Table 2. Event receiver base classes and supported events</h3>
<table style="height: 1213px;" width="702">
<tbody>
<tr>
<td><strong>Event receiver base class</strong></td>
<td>Available event host types</td>
<td>Supported events</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spwebeventreceiver.aspx"><strong>SPWebEventReceiver</strong></a></td>
<td>
<ul>
<li>SPSite</li>
<li>SPWeb</li>
<li>SiteDeleting</li>
<li>SiteDeleted</li>
<li>WebAdding</li>
<li>WebProvisioned</li>
<li>WebDeleting</li>
<li>WebDeleted</li>
<li>WebMoving</li>
<li>WebMoved</li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splisteventreceiver.aspx"><strong>SPListEventReceiver</strong></a><strong>&nbsp;</strong><strong>(lists)</strong></td>
<td>
<ul>
<li>SPSite</li>
<li>SPWeb</li>
<li>ListAdding</li>
<li>ListAdded</li>
<li>ListDeleting</li>
<li>ListDeleted</li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><strong>SPListEventReceiver</strong>&nbsp;(fields)</td>
<td>
<ul>
<li>SPSite</li>
<li>SPWeb</li>
<li>SPList</li>
<li>SPContentType</li>
<li>FieldAdding</li>
<li>FieldAdded</li>
<li>FieldDeleting</li>
<li>FieldDeleted</li>
<li>FieldUpdating</li>
<li>FieldUpdated</li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.aspx"><strong>SPItemEventReceiver</strong></a></td>
<td>
<ul>
<li>SPSite</li>
<li>SPWeb</li>
<li>SPList</li>
<li>SPContentType</li>
<li>ItemAdding</li>
<li>ItemAdded</li>
<li>ItemDeleting</li>
<li>ItemDeleted</li>
<li>ItemUpdating</li>
<li>ItemUpdated</li>
<li>ItemFileConverted</li>
<li>ItemFileMoving</li>
<li>ItemFileMoved</li>
<li>ItemCheckingIn</li>
<li>ItemCheckedIn</li>
<li>ItemCheckingOut</li>
<li>ItemCheckedOut</li>
<li>ItemAttachmentAdding</li>
<li>ItemAttachmentAdded</li>
<li>ItemAttachmentDeleting</li>
<li>ItemAttachmentDeleted</li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spemaileventreceiver.aspx"><strong>SPEmailEventReceiver</strong></a></td>
<td>
<ul>
<li>SPSite</li>
<li>SPWeb</li>
<li>SPList</li>
<li>EmailReceived</li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflow.spworkfloweventreceiver.aspx"><strong>SPWorkflowEventReceiver</strong></a></td>
<td>
<ul>
<li>SPSite</li>
<li>SPWeb</li>
<li>SPList</li>
<li>SPContentType</li>
<li>WorkflowStarting</li>
<li>WorkflowStarted</li>
<li>WorkflowCompleted</li>
<li>WorkflowPostponed</li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h4>Key Concepts in the SharePoint Event Model</h4>
<p>In addition to the fundamental pieces of the event model&mdash;event receivers, event hosts, and the events themselves&mdash;the following are key concepts in the landscape of the SharePoint event model. <strong>Before Events</strong> A Before event occurs before the currently requested operation happens. For example, the&nbsp;<strong>ItemAdding</strong>&nbsp;event is a Before event that is raised before an item is added to a SharePoint list. Looked at another way, Before events are raised when an action occurs before SharePoint writes to the content database. This provides an opportunity for an event receiver to perform tasks before data is committed to a database. A good example of the use of Before events is performing data validation, because Before events fire prior to commitment of data. You can also use Before (or synchronous) events to cancel user actions&mdash;for example, if data validation fails. Event receiver code that is triggered by a Before event executes in the same thread as the code that is executing the user action that triggered it. For this reason, Before events are always synchronous. You can identify Before events because their member names end with the "-ing" suffix&mdash;<strong>ItemAdding</strong>,&nbsp;<strong>ListAdding</strong>, and so forth. <strong>After Events</strong> An After event is raised after the currently requested operation happens. For example, the&nbsp;<strong>ItemAdded</strong>&nbsp;event is an After event that is raised after an item has been added to a SharePoint list. After events trigger event receivers that execute after user actions are committed to the content database; they invoke code that runs after the content database has been modified. This allows you to execute logic that occurs after a user has completed a specific action. After events can execute either synchronously or asynchronously. If the After event is synchronous, it executes in the same thread in which the triggering action occurs. However, if the After event is asynchronous, it executes in a separate thread. You can identify After events because their member names end with the "-ed" suffix&mdash;<strong>ItemDeleted</strong>,&nbsp;<strong>WebProvisioned</strong>, and so forth. <strong>Synchronous Events</strong> A synchronous event is executed in the same thread in which the triggering action is occurring. For example, when the user adds an item from the SharePoint user interface, the event is fully executed before returning to the user and showing that the item was added. All Before events are synchronous events. <strong>Asynchronous Events</strong> An asynchronous event occurs at a later time than the action that triggered it, and it executes on a thread that is different from the one in which the triggering action is running. For example, when a user adds an item to a document library by using the SharePoint user interface, the event starts to execute before returning control to the user; however, there is no guarantee that the event receiver will finish executing before we show the user that the item has been added.</p>
<h4>The SharePoint Events Pipeline</h4>
<p>Figure 1 illustrates how SharePoint events occur with respect to synchronization and sequencing. <strong>Figure 1. SharePoint events pipeline</strong> &nbsp; <img class="alignnone wp-image-3914" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/359-460x217.png" alt="3" width="483" height="227" /> Notice the following details:</p>
<ul>
<li>Synchronous event receivers are called in sequential order based on the sequence number specified during event binding. This applies to both Before and After synchronous events.</li>
<li>Asynchronous After event receiver threads are initiated in sequential order based on the sequence number. However, there is no guarantee that they will finish in that same order.</li>
<li>An asynchronous After event can start at any time after its associated user action is performed. It may start before, at the same time as, or after the Web request is completed.</li>
</ul>
<p>After a user initiates an action in the SharePoint user interface, and before SharePoint Foundation executes the user action, the synchronous Before events are raised. If there are multiple synchronous Before events, they are raised in the order specified by their sequence number. Similarly, synchronous After events are raised after SharePoint Foundation executes the user action. These, too, are raised in the order specified by sequence number. As you can see, all synchronous events are processed in the same thread as that in which the user action occurs.</p>86:T11b2,<h2><span style="color: #000000;">Getting start with a Silver light application using VS2010&nbsp;</span></h2>
<p><strong>Step 1: </strong>Open Visual Studio 2010 and create a new Silverlight Application <img class="alignnone wp-image-3648" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3710-460x292.png" alt="37" width="555" height="351" /> &nbsp; Uncheck the checkbox [ ] &ldquo;Host the Silverlight application in a new Web site&rdquo;. We don&rsquo;t need to host Silverlight in a separate web app since SharePoint will be the host. <img class="alignnone wp-image-3649" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/389.png" alt="38" width="565" height="455" /> &nbsp; <strong>Step 2:</strong> You can add the following code at <sup>MainPage.xaml</sup> for testing if you are new with Silverlight &nbsp; <img class="alignnone wp-image-3650" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/399-460x158.png" alt="39" width="656" height="225" /> &nbsp; Build the Application and your Silverlight Application is ready at this stage <strong>Step 3: </strong>So, Develop your Silverlight application as per as your requirement. For Example: I developed a application like below. Let&rsquo;s imagine this application is ready to deploy <img class="alignnone wp-image-3651" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/409-460x259.png" alt="40" width="624" height="350" /> &nbsp; &nbsp;</p>
<h3>Create a Empty SharePoint Project to deploy in SharePoint</h3>
<p><strong>Step 4: </strong>To Deploy Application in SharePoint Create Empty SharePoint Project (Run As Administrator) <img class="alignnone wp-image-3652" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4113.png" alt="41" width="644" height="403" /></p>
<ol>
<li>Leave the sandboxed solution checked and click ok (Pop-up will ask you to choose to deploy as a sandboxed solution or a farm solution.)</li>
<li>Set SharePoint Site URL where you want to deploy</li>
</ol>
<p><img class="alignnone wp-image-3653" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4211.png" alt="42" width="616" height="561" /> &nbsp;</p>
<ol>
<li>Add a new Module to the project</li>
</ol>
<p><img class="alignnone wp-image-3654" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4311.png" alt="43" width="607" height="386" /></p>
<ol>
<li>Open the Elements.xml file and Edit the file to include the xap file that will be generated from the Silverlight application</li>
</ol>
<pre style="text-align: center;"><em><strong>Interested in mastering <a href="https://tekslate.com/sharepoint-training/" target="_blank" rel="noopener">SharePoint Training</a>? Enroll now for FREE demo on SharePoint Training.</strong></em></pre>
<p><img class="alignnone wp-image-3655" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/449-460x276.png" alt="44" width="628" height="377" /> &nbsp;</p>
<ol>
<li>Now your application is ready to be deployed. Right click the SharePoint project and select Set as Startup Project and Deploy Solution.</li>
</ol>
<h3>Add Silverlight Web Part in SharePoint Site</h3>
<p><strong>Step 5: </strong>On the SharePoint site click the edit icon then the insert tab, select Web Part, and choose the Silverlight Web Part in the Media and Content category &nbsp; <img class="alignnone wp-image-3656" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4510.png" alt="45" width="650" height="314" /> Click Add and in the Silverlight Web Part dialog enter the value from the Url field in the Elements.xml file. <img class="alignnone wp-image-3657" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4611.png" alt="46" width="688" height="309" /> &nbsp; Configure Web Part to adjust size.The problem is the default size for the Silverlight Web Part is 400x300 but the application is bigger than 300. <img class="alignnone wp-image-3658" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4710-460x311.png" alt="47" width="624" height="420" /> &nbsp; Now Your Silverlight application Deployment Done! <img class="alignnone wp-image-3659" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/488-460x335.png" alt="48" width="574" height="417" /></p>
<p>&nbsp;</p>87:T2bff,<p>In this task, you create a Visual Web Part project in Microsoft Visual Studio 2010.</p>
<ol>
<li>Start Visual Studio 2010, click <strong>File</strong>, point to <strong>New</strong>, and then click <strong>Project</strong>.</li>
<li>Navigate to the <strong>Visual C#</strong> node in the <strong>Installed Templates</strong> section, click <strong>SharePoint</strong>, and then click <strong>2010</strong>.</li>
<li>Select the <strong>Visual Web Part</strong> project template (see Figure 1), provide a name (such as, <strong>SampleWebPart</strong>), a location for your project, and then click <strong>OK</strong></li>
</ol>
<p>&nbsp; <strong>Figure 1. Select the Visual Web Part project type</strong> <img class="alignnone wp-image-3600" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/930.png" alt="9" width="487" height="494" /></p>
<ol>
<li>In the<strong> local site do you want to use for debugging</strong> dropdown, select the site to use (such as <strong>http://localhost/sites/SampleWebSite</strong>). Also select the <strong>Deploy as a farm solution</strong> option and then click <strong>Finish</strong>.Note that after the project is created, Solution Explorer contains the default Visual Web Part named <strong>VisualWebPart1</strong> (see Figure 2). Also see in Solution Explorer the presence of the <strong>Features</strong> and <strong>Package</strong> nodes. A feature organizes your application in a way that SharePoint Foundation understands. Features can be deployed to SharePoint Foundation at the site or Web level. The package contains features and other assets used when you deploy solutions to SharePoint Foundation.</li>
</ol>
<p>. <strong>Figure 2: The SampleWebPart project in the Solution Explorer</strong> <img class="alignnone wp-image-3601" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1024.png" alt="10" width="419" height="468" /> &nbsp;</p>
<h2>Add a Tree View Control to the Web Part</h2>
<p>In this task, you add a Tree View control to the design surface of the Web Part. The Tree View control displays a hierarchical view of lists and Sub Webs.</p>
<ol>
<li>In Solution Explorer, expand the <strong>VisualWebPart1</strong> node, right-click the <strong>VisualWebPart1UserControl.ascx</strong> file, and then click <strong>View Designer</strong>. This action opens a view to drag-and-drop controls from the toolbox onto the Web Part designer surface.</li>
<li>From the Toolbox on the left side of the screen, click the <strong>Navigation</strong> section, and then drag a <strong>TreeView</strong> control onto the design surface. If you do not see the Toolbox on the left side of the screen, on the <strong>View</strong> menu, click <strong>Toolbox</strong>.</li>
<li>Select the TreeView control and in the Properties panel in the lower-right corner of the Visual Studio screen, type the name <strong>siteStructure</strong> in the <strong>ID</strong> field.</li>
</ol>
<p>&nbsp;</p>
<h2>Add Code to the Project</h2>
<p>In this task, you add Microsoft Visual C# code to the project that iterates through all lists and SubWebs in the SharePoint site, and adds them to the TreeView control.</p>
<ol>
<li>In Solution Explorer, expand the <strong>VisualWebPart1UserControl.ascx</strong> node, right-click the <strong>VisualWebPart1UserControl.ascx.cs</strong> node, and then click <strong>View Code</strong>.</li>
<li>Next, substitute the following C# code for the code in the code screen.</li>
</ol>
<p>using System; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using Microsoft.SharePoint; using Microsoft.SharePoint.Utilities; using System.Web; namespace BonnevilleTestBed.Bonneville { public partial class BonnevilleUserControl : UserControl { protected void Page_Load(object sender, EventArgs e) { SPWeb thisWeb = null; TreeNode node; thisWeb = SPContext.Current.Web; //Add the Web's title as the display text for the tree node, and add the URL as the NavigateUri. node = new TreeNode(thisWeb.Title, null, null, thisWeb.Url, "_self"); //The Visual Web Part has a treeview control called siteStructure. siteStructure.Nodes.Add(node); //Get a reference to the current node, so child nodes can be added in the correct position. TreeNode parentNode = node; //Iterate through the Lists collection of the Web. foreach (SPList list in thisWeb.Lists) { if (!list.Hidden) { node = new TreeNode(list.Title, null, null, list.DefaultViewUrl, "_self"); parentNode.ChildNodes.Add(node); } } foreach (SPWeb childWeb in thisWeb.Webs) { //Call our own helper function for adding each child Web to the tree. addWebs(childWeb, parentNode); childWeb.Dispose(); } siteStructure.CollapseAll(); } void addWebs(SPWeb web, TreeNode parentNode) { TreeNode node; node = new TreeNode(web.Title, null, null, web.Url, "_self"); parentNode.ChildNodes.Add(node); parentNode = node; foreach (SPList list in web.Lists) { if (!list.Hidden) { node = new TreeNode(list.Title, null, null, list.DefaultViewUrl, "_self"); parentNode.ChildNodes.Add(node); } } foreach (SPWeb childWeb in web.Webs) { //Call the addWebs() function from itself (i.e. recursively) //to add all child Webs until there are no more to add. addWebs(childWeb, parentNode); childWeb.Dispose(); } } } }</p>
<pre style="text-align: center;"><strong>Learn the core features of <a href="https://tekslate.com/sharepoint-training/" target="_blank" rel="noopener">SharePoint</a>&nbsp;and become master with our expertise tutorials.</strong></pre>
<h2>SharePoint Web Part life cycle</h2>
<p>Life Cycle of SharePoint Webparts:</p>
<ol>
<li>Protected override void OnInit(EventArgs e)</li>
</ol>
<p><strong>OnInit</strong> &ndash; Configuration values set using WebBrowsable properties and those in web part task pane are loaded into the web part.</p>
<ol start="2">
<li>Protected override void OnLoad(EventArgs e)</li>
</ol>
<p><strong>OnLoad</strong> User Generated Event &ndash; for e.g. button click on the web part.</p>
<ol start="3">
<li>Protected override void CreateChildControls ()</li>
</ol>
<p><strong>CreateChildControls</strong> &ndash; All the controls specified are created and added to controls collection. When the page is being rendered for the first time the method generally occurs after the OnLoad() event. In case of postback, it is called before the OnLoad() event. We can make use of EnsureChildControls() - It checks to see if the CreateChildControls method has yet been called, and if it has not, calls it.</p>
<ol start="4">
<li>Protected override void LoadViewState(object savedState) //Only at Postback</li>
</ol>
<p><strong>LoadViewState</strong> &ndash; The view state of the web part is populated over here.</p>
<ol start="5">
<li>protected override void OnPreRender(EventArgs e)</li>
</ol>
<p><strong>OnPreRender</strong> &ndash; Here we can change any of the web part properties before the control output is drawn.</p>
<ol start="6">
<li>protected override void Render(System.Web.UI.HtmlTextWriter writer)</li>
</ol>
<p><strong>RenderContents</strong> &ndash; Html Output is generated.</p>
<ol start="7">
<li>protected override void OnUnload(EventArgs e)8. public override void Dispose()</li>
</ol>
<p><strong>Create a SharePoint 2010 Web Part that is meaningful</strong>&nbsp;and that utilizes the following features:</p>
<ul>
<li>User Controls</li>
<li>Code Behind</li>
<li>Custom Web Part Properties</li>
<li>Custom Editor Part(s) Properties</li>
<li>Accessing SharePoint Data within the Web Part</li>
</ul>
<p>The Web Part I&rsquo;ll be demoing here doesn&rsquo;t do much of anything other than show you how to accomplish all the above features giving you the power to adapt the code so you can make a meaningful Web part for your own specific needs. Let&rsquo;s begin: This walkthrough provides the steps for creating a basic custom Web Part that can be added to your site pages. It is a simple Web Part that enables the user to define a custom message that is displayed inside the Web Part. This Web Part derives from the Microsoft ASP.NET Web Part class, which is the recommended practice for Microsoft SharePoint Foundation. Prerequisites ASP.NET &amp; SharePoint development tools in Microsoft Visual Studio 2010 Using visual studio we can develop two types of web parts will discuss in this module</p>
<h2>Build and Deploy the Web Part</h2>
<p>In this task, you build and deploy the Web Part project. Build and deploy the project by using one of the following options:</p>
<ul>
<li>When debugging the SharePoint solution, use the F5 key to build and deploy your solution. By doing this, the debug experience includes steps such as help for creating a Web Part Page and resetting Internet Information Services (IIS).</li>
<li>Alternately, you can build and deploy your solution by clicking the <strong>Build</strong> menu, selecting <strong>Build Solution</strong>, verifying that the solution builds without any errors, and then selecting <strong>Deploy Solution</strong>.</li>
<li>After successful deployment of Web Parts , you need to follow the below steps to use the web part in SharePoint environment.</li>
</ul>
<p>&nbsp; <strong>Create a Web Parts Page</strong> In this task, you create a Web Parts page to contain the Web Part, unless one has already been created for you.</p>
<ol>
<li>If you clicked F5 to debug your application, by default, the page where you create a Web part page is displayed. Otherwise, open the SharePoint site, click <strong>Site Actions</strong>, click <strong>View All Site Content</strong>, click <strong>Create</strong>, scroll and select the <strong>Web Part Page</strong> option.</li>
<li>In the Web Part Page screen, provide the information requested about that particular Web Parts page. For example, provide a name (<strong>SampleWebPartPage</strong>) and layout template for the page.</li>
<li>In the <strong>Document Library</strong> dropdown, select <strong>Site Pages</strong>, and then click <strong>Create</strong>. SharePoint creates and displays your Web Parts page.</li>
</ol>
<p><strong>Figure 3: A sample Web Part page</strong> <img class="alignnone wp-image-3604" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1125-460x233.png" alt="11" width="587" height="296" /> <strong>&nbsp;Add the Web Part to the Web Parts Page</strong> In this task, you add the Web Part to the Web Parts page and test the solution.</p>
<ol>
<li>in On the Web Parts page, click into the <strong>Add a Web Part</strong> text in the zone where you want the Web Part displayed.</li>
<li>In the <strong>Categories</strong> list, click <strong>Custom</strong>. In the <strong>Web Parts</strong> box, click <strong>VisualWebPart1</strong>.</li>
<li>In the <strong>About the Web Part</strong> box at the top of the page, click <strong>Add</strong>. The Web Part is added to the zone that you selected as shown in Figure 4. Note that the lists and SubWebs are displayed a hierarchical view.</li>
</ol>
<p><strong>Figure 4. The Web Part after being added to the zone in the Web Part page</strong> <img class="alignnone wp-image-3605" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1225.png" alt="12" width="306" height="431" /></p>88:T1147,<h3>To Create a Web Part</h3>
<ol>
<li>Start <a href="https://tekslate.com/sharepoint-training/">Microsoft Visual Studio</a> 2010.</li>
<li>On the File menu, point to New, and then click Project. If Visual Studio is set to use Visual Basic development settings, on the File menu, click New Project.</li>
<li>In the New Project dialog box, in the Installed Templates pane, expand the SharePoint node under the programming language that you want to use, and then select 2010.</li>
<li>In the Templates pane, select Empty SharePoint Project.</li>
<li>Type DisplayMessage as the project name, and then click OK.</li>
<li>In the SharePoint Customization Wizard, select Deploy as a sandboxed solution, and then click Finish.</li>
<li>In Solution Explorer, click the DisplayMessage project.</li>
<li>On the Project menu, click Add New Item.</li>
<li>In the Add New Item dialog box, select the Web Part template, type DisplayMessageWebPart as the Name, and then click Add.</li>
</ol>
<p>&nbsp; <strong>Adding a Web Part Property</strong> After adding the new Web Part, add a property that can be personalized for the Web Part. The Web Part property determines the text that is rendered inside the Web Part. This is personalized based on the individual user.</p>
<table style="height: 45px;" width="699">
<tbody>
<tr>
<td>For more information about customization and personalization, see <a href="http://msdn.microsoft.com/en-us/library/ms178182.aspx">Web Parts Personalization</a>.</td>
</tr>
</tbody>
</table>
<p>For Web Parts based on the <a href="http://msdn.microsoft.com/en-us/library/e0s9t4ck.aspx">ASP.NET Web Parts Pages</a> base class, the tags that are used for the customizable properties are named differently than Web Parts that are based on the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.webpart.aspx">WebPart</a> base class. The following list describes each of those properties:</p>
<ul>
<li>The <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webbrowsableattribute.aspx">WebBrowsableAttribute</a> attribute ensures that your custom property renders in the editing tool pane in SharePoint Foundation.</li>
<li>The <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webdescriptionattribute.aspx">WebDescriptionAttribute</a> attribute displays a tooltip to help guide users when they are editing your custom property.</li>
<li>The <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.webdisplaynameattribute.aspx">WebDisplayNameAttribute</a> attribute shows a display name for your custom property.</li>
<li>The <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.personalizableattribute.aspx">PersonalizableAttribute</a> attribute determines whether changes to your custom property affect all users or only individual users.</li>
</ul>
<h3>To create the Web Part property</h3>
<p>1. In the DisplayMessageWebPart file, copy and paste the following code to create a basic customizable property. private string customMessage = "Hello, world!"; public string DisplayMessage { get { return customMessage; } set { customMessage = value; } } 2. Add the following tags above the public declaration to allow changes on a per-user basis. [WebBrowsable(true), WebDescription("Displays a custom message"), WebDisplayName("Display Message"), Personalizable(PersonalizationScope.User)] Now you have created a personalizable Web Part property.</p>
<pre style="text-align: center;"><em><strong>Interested in mastering <a href="https://tekslate.com/sharepoint-training/" target="_blank" rel="noopener">SharePoint Training</a>? Enroll now for FREE demo on SharePoint Training.</strong></em></pre>
<p><strong>Overriding the CreateChildControls Method</strong> Next, you must add functionality to your Web Part. By overriding the CreateChildControls method, you can tell the Web Part what operations to perform when the page is visited. In this example, the Web Part renders the user-defined text.</p>
<h3>To override the CreateChildControls method</h3>
<ul>
<li>In the DisplayMessageWebPart file, paste the following code to override the CreateChildControls methods.</li>
</ul>
<p>protected override void CreateChildControls() { base.CreateChildControls(); LiteralControl message = new LiteralControl(); message.Text = DisplayMessage; Controls.Add(message); }</p>89:T2817,<p>To specify a content type to include in a custom site definition configuration, you first create the content type as a separate Feature, and then you reference that Feature in some Collaborative Application Markup Language (CAML) markup to the site definition configuration in the Onet.xml file of the site definition. Then, when a user creates a new site of that type, the content type is included by default in the site&rsquo;s content type collection.</p>
<table style="height: 77px;" width="717">
<tbody>
<tr>
<td>Modifying the Onet.xml file for any of the built-in site types of SharePoint Foundation is not supported, so you can use the following procedure only on custom site types. For more information about creating custom site definition configurations, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms454677.aspx">How to: Create a Custom Site Definition and Configuration</a>.</td>
</tr>
</tbody>
</table>
<h3>&nbsp;</h3>
<h3>To specify a content type in a site definition configuration</h3>
<ol>
<li>Create the content type as a separate Feature.</li>
</ol>
<p>For more information, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx">Using Features in SharePoint Foundation</a>.</p>
<ol start="2">
<li>Reference that Feature in the<strong>Configuration</strong>&nbsp;element (in the Onet.xml file) that defines your custom site type:
<ol>
<li>Open the Onet.xml file in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\SiteTemplates\<em>site_type</em>\XML, where<em>site_type</em>&nbsp;is name of the custom site definition.</li>
<li>In the<strong>Configuration</strong>&nbsp;element, add a reference to the content type Feature in either the&nbsp;<strong>SiteFeatures</strong>&nbsp;or<strong>WebFeatures</strong>&nbsp; You identify the Feature by its GUID. The following is an example.</li>
</ol>
</li>
</ol>
<p><strong>XML:</strong> &lt;SiteFeatures&gt; &lt;Feature ID="00BFEA71-1C5E-4A24-B310-BA51C3EB7A57" /&gt; &lt;Feature ID="695B6570-ACDC-4A8E-8545-26EA7FC1D162" /&gt; &lt;/SiteFeatures&gt; &lt;WebFeatures&gt; &lt;Feature ID="00BFEA71-4EA5-48D4-A4AD-7EA5C011ABE5" /&gt; &lt;Feature ID="00BFEA71-E717-4E80-DEAF-D0C71B360101" /&gt; &lt;/WebFeatures&gt; For more information about the difference between these two elements, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms469685.aspx">SiteFeatures Element (Site)</a>and&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms467789.aspx">WebFeatures Element (Site)</a>. <strong>Adding Content Types to an Existing Site</strong> You can add content types to a site by using either declarative XML or the SharePoint Foundation object model. Declarative XML uses the&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx">Content Type Definition Schema</a>&nbsp;to define content types. Content type definitions are declared in the element manifest file of a Feature, and the content types are added to a site when the Feature is activated. When you use the SharePoint Foundation object model, you must subclass the&nbsp;<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfeaturereceiver.aspx">SPFeatureReceiver</a>&nbsp;class. Place the code that creates your content types and adds them to the site in the&nbsp;<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfeaturereceiver.featureactivated.aspx">FeatureActivated</a>&nbsp;method. Typically, declarative XML is easier to write. However, declarative XML generally offers less flexibility than the object model, which has access to the capabilities of the entire Microsoft .NET Framework and can be debugged at run time. Both approaches are supported by templates that are provided with SharePoint development tools in Microsoft Visual Studio 2010.</p>
<h3>To add a content type by using declarative XML</h3>
<ol>
<li>Create a Feature.</li>
</ol>
<p>For more information, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms460318.aspx">Using Features in SharePoint Foundation</a>.</p>
<ol start="2">
<li>Add an element manifest file to the Feature.</li>
<li>Add an<a href="http://msdn.microsoft.com/en-us/library/aa543482.aspx">Elements</a>&nbsp;element as the root XML element in the element manifest.</li>
<li>Add a<a href="http://msdn.microsoft.com/en-us/library/aa544268.aspx">ContentType</a>&nbsp;element as the child of the&nbsp;<strong>Elements</strong></li>
</ol>
<table style="height: 34px;" width="674">
<tbody>
<tr>
<td>The value that you use for the&nbsp;<strong>ID</strong>&nbsp;attribute has a very specific format. For more information, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/aa543822.aspx">Content Type IDs</a>.</td>
</tr>
</tbody>
</table>
<ol start="5">
<li>Add the column references that you want. For more information, see<a href="http://msdn.microsoft.com/en-us/library/aa543526.aspx">How to: Reference a Column in a Content Type</a>.</li>
<li>Add a<a href="http://msdn.microsoft.com/en-us/library/aa543733.aspx">DocumentTemplate</a>&nbsp;definition as desired.</li>
</ol>
<table style="height: 54px;" width="695">
<tbody>
<tr>
<td>The file that is referenced by the&nbsp;<strong>DocumentTemplate</strong>&nbsp;element must already exist on the site or must be included with the Feature. For more information, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms441170.aspx">How to: Provision a File</a>.</td>
</tr>
</tbody>
</table>
<ol start="7">
<li>Complete the content type definition as desired. For more information, see<a href="http://msdn.microsoft.com/en-us/library/ms463449.aspx">Content Type Definitions</a>.</li>
</ol>
<h3>Example 1</h3>
<p>The following example is the element manifest for a Feature. When the Feature is activated, the element manifest is used to create a site column and add it to the site column collection on the current site. Then the manifest is used to create a site content type and add it to the content type collection on the current site. &nbsp; <strong>XML:</strong> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;Elements xmlns="http://schemas.microsoft.com/sharepoint/"&gt; &lt;!-- Create a site column. --&gt; &lt;Field ID="{060E50AC-E9C1-4D3C-B1F9-DE0BCAC300F6}" Name="Amount" DisplayName="Amount" Type="Currency" Decimals="2" Min="0" Required="FALSE" Group="Financial Columns" /&gt; &lt;!-- Create a site content type that uses the column. --&gt; &lt;!-- Parent ContentType: Document (0x0101) --&gt; &lt;ContentType ID="0x0101000728167cd9c94899925ba69c4af6743e" Name="Financial Document" Group="Financial Content Types" Description="Base financial content type" Version="0"&gt; &lt;FieldRefs&gt; &lt;FieldRef ID="{060E50AC-E9C1-4D3C-B1F9-DE0BCAC300F6}" Name="Amount" DisplayName="Amount" Required="FALSE"/&gt; &lt;/FieldRefs&gt; &lt;/ContentType&gt; &lt;/Elements&gt;</p>
<pre><em><strong>Learn the core features of <a href="https://tekslate.com/sharepoint-training/" target="_blank" rel="noopener">SharePoint</a>&nbsp;and become master with our expertise tutorials.</strong></em></pre>
<h3>To add a content type by using server code</h3>
<ol>
<li>Create a feature receiver class that inherits from the<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfeaturereceiver.aspx">SPFeatureReceiver</a></li>
<li>In the<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfeaturereceiver.featureactivated.aspx">FeatureActivated</a>&nbsp;method, use the&nbsp;<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.contenttypes.aspx">ContentTypes</a>&nbsp;property to access the content type collection for the site.&nbsp;This property returns an&nbsp;<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttypecollection.aspx">SPContentTypeCollection</a>&nbsp;object.</li>
</ol>
<ol start="3">
<li>Create an<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontenttype.aspx">SPContentType</a>&nbsp; For more information, see&nbsp;<a href="http://msdn.microsoft.com/en-us/library/ms460224.aspx">Creating Content Types</a>.</li>
</ol>
<h3>Example 2</h3>
<p>The following example shows the implementation of the&nbsp;<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfeaturereceiver.featureactivated.aspx">FeatureActivated</a>&nbsp;method in a subclass of the<a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfeaturereceiver.aspx">SPFeatureReceiver</a>&nbsp;class. When the Feature is activated, code in the&nbsp;<strong>FeatureActivated</strong>&nbsp;method creates a site column and adds it to the site column collection on the current site. Then the code creates a content type that inherits from the Document content type and adds it to the content type collection on the current site. &nbsp; public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite siteCollection = (SPSite)properties.Feature.Parent; SPWeb site = siteCollection.OpenWeb(); /* Create a site column. */ string amountFieldName = site.Fields.Add("Amount", SPFieldType.Currency, false); SPFieldCurrency amountField = (SPFieldCurrency)site.Fields.GetFieldByInternalName(amountFieldName); amountField.Group = "Financial Columns"; amountField.DisplayFormat = SPNumberFormatTypes.TwoDecimals; amountField.MinimumValue = 0; amountField.Update(); /* Create a site content type that uses the column. */ // Get a content type to be the parent of a new Financial Document content type. SPContentType documentCType = site.AvailableContentTypes[SPBuiltInContentTypeId.Document]; // Create the Financial Document content type. SPContentType financialDocumentCType = new SPContentType(documentCType, site.ContentTypes, "Financial Document"); site.ContentTypes.Add(financialDocumentCType); // Note: A content type is not initialized until after it is added. financialDocumentCType = site.ContentTypes[financialDocumentCType.Id]; financialDocumentCType.Group = "Financial Content Types"; // Add the Amount column. Child content types inherit the column. SPFieldLink amountFieldRef = new SPFieldLink(amountField); financialDocumentCType.FieldLinks.Add(amountFieldRef); // Commit changes. financialDocumentCType.Update(); site.Dispose(); siteCollection.Dispose(); }</p>
<p>&nbsp;</p>8a:T51d8,<p>A Service is an application component representing either an application's desire to perform a&nbsp;longer-running operation while not interacting with the user or to supply functionality for other&nbsp;applications to use. Each service class must have a corresponding &lt;service&gt; declaration in its package's&nbsp;AndroidManifest.xml. Services can be started with Context.startService() and Context.bindService(). Note that services, like other application objects, run in the main thread of their hosting process. This&nbsp;means that, if your service is going to do any CPU intensive (such as MP3 playback) or blocking (such as&nbsp;networking) operations, it should spawn its own thread in which to do that work. More information on&nbsp;this can be found in Processes and Threads. The IntentService class is available as a standard&nbsp;implementation of Service that has its own thread where it schedules its work to be done. &nbsp;</p>
<ol>
<li>What is a Service?</li>
<li>Service Lifecycle</li>
<li>Permissions</li>
<li>Process Lifecycle</li>
<li>Local Service Sample</li>
<li>Remote Messenger Service Sample</li>
</ol>
<p><strong>&nbsp;</strong> <strong>What is a Service?</strong> Most confusion about the Service class actually revolves around what it is <em>not</em>:</p>
<ul>
<li>A Service is <strong>not </strong>a separate process. The Service object itself does not imply it is running in its&nbsp;own process; unless otherwise specified, it runs in the same process as the application it is part of.</li>
</ul>
<ul>
<li>A Service is <strong>not </strong>a thread. It is not a means itself to do work off of the main thread (to avoid&nbsp;Application Not Responding errors).&nbsp;Thus a Service itself is actually very simple, providing two main features:</li>
</ul>
<ul>
<li>A facility for the application to tell the system <em>about </em>something it wants to be doing in the&nbsp;background (even when the user is not directly interacting with the application). This corresponds&nbsp;to calls to Context.startService(), which ask the system to schedule work for the service, to be run&nbsp;until the service or someone else explicitly stop it.</li>
</ul>
<ul>
<li>A facility for an application to expose some of its functionality to other applications. This&nbsp;corresponds to calls to Context.bindService(), which allows a long-standing connection to be&nbsp;made to the service in order to interact with it.</li>
</ul>
<p>When a Service component is actually created, for either of these reasons, all that the system actually&nbsp;does is instantiate the component and call its onCreate() and any other appropriate callbacks on the main&nbsp;thread. It is up to the Service to implement these with the appropriate behavior, such as creating a&nbsp;secondary thread in which it does its work. Note that because Service itself is so simple, you can make your interaction with it as simple or&nbsp;complicated as you want: from treating it as a local Java object that you make direct method calls on (as&nbsp;illustrated by Local Service Sample), to providing a full remoteable interface using AIDL. <strong>&nbsp;</strong> <strong>Service Lifecycle</strong> There are two reasons that a service can be run by the system. If someone calls&nbsp;Context.startService() then the system will retrieve the service (creating it and calling its onCreate()&nbsp;method if needed) and then call its onStartCommand(Intent, int, int) method with the arguments supplied&nbsp;by the client. The service will at this point continue running until Context.stopService() or stopSelf() is&nbsp;called. Note that multiple calls to Context.startService() do not nest (though they do result in multiple&nbsp;corresponding calls to onStartCommand()), so no matter how many times it is started a service will be&nbsp;stopped once Context.stopService() or stopSelf() is called; however, services can use their stopSelf(int)&nbsp;method to ensure the service is not stopped until started intents have been processed. For started services, there are two additional major modes of operation they can decide to run in,&nbsp;depending on the value they return from onStartCommand(): START_STICKY is used for services that&nbsp;are explicitly started and stopped as needed, while START_NOT_STICKY or&nbsp;START_REDELIVER_INTENT are used for services that should only remain running while processing&nbsp;any commands sent to them. See the linked documentation for more detail on the semantics. Clients can also use Context.bindService() to obtain a persistent connection to a service. This&nbsp;likewise creates the service if it is not already running (calling onCreate() while doing so), but does not&nbsp;call onStartCommand(). The client will receive the IBinder object that the service returns from its&nbsp;onBind(Intent) method, allowing the client to then make calls back to the service. The service will remain&nbsp;running as long as the connection is established (whether or not the client retains a reference on the&nbsp;service's IBinder). Usually the IBinder returned is for a complex interface that has been written in aidl.&nbsp;A service can be both started and have connections bound to it. In such a case, the system will keep the&nbsp;service running as long as either it is started <em>or </em>there are one or more connections to it with the&nbsp;Context.BIND_AUTO_CREATE flag. Once neither of these situations hold, the service's onDestroy()&nbsp;method is called and the service is effectively terminated. All cleanup (stopping threads, unregistering&nbsp;receivers) should be complete upon returning from onDestroy(). <strong>&nbsp;</strong> <strong>Permissions</strong> Global access to a service can be enforced when it is declared in its manifest's &lt;service&gt; tag. By doing so,&nbsp;other applications will need to declare a corresponding &lt;uses-permission&gt; element in their own manifest&nbsp;to be able to start, stop, or bind to the service.&nbsp;In addition, a service can protect individual IPC calls into it with permissions, by calling the&nbsp;checkCallingPermission(String) method before executing the implementation of that call. <strong>&nbsp;</strong> <strong>Process Lifecycle</strong> The Android system will attempt to keep the process hosting a service around as long as the service has&nbsp;been started or has clients bound to it. When running low on memory and needing to kill existing&nbsp;processes, the priority of a process hosting the service will be the higher of the following possibilities:</p>
<ul>
<li>If the service is currently executing code in its onCreate(), onStartCommand(), or onDestroy()&nbsp;methods, then the hosting process will be a foreground process to ensure this code can execute&nbsp;without being killed.</li>
</ul>
<ul>
<li>If the service has been started, then its hosting process is considered to be less important than any&nbsp;processes that are currently visible to the user on-screen, but more important than any process not&nbsp;visible. Because only a few processes are generally visible to the user, this means that the service&nbsp;should not be killed except in extreme low memory conditions.</li>
</ul>
<ul>
<li>If there are clients bound to the service, then the service's hosting process is never less important&nbsp;than the most important client. That is, if one of its clients is visible to the user, then the service&nbsp;itself is considered to be visible.</li>
</ul>
<ul>
<li>A started service can use the startForeground(int, Notification) API to put the service in a&nbsp;foreground state, where the system considers it to be something the user is actively aware of and&nbsp;thus not a candidate for killing when low on memory. (It is still theoretically possible for the&nbsp;service to be killed under extreme memory pressure from the current foreground application, but&nbsp;in practice this should not be a concern.)</li>
</ul>
<p>Note this means that most of the time your service is running, it may be killed by the system if it is under&nbsp;heavy memory pressure. If this happens, the system will later try to restart the service. An important&nbsp;consequence of this is that if you implement onStartCommand() to schedule work to be done&nbsp;asynchronously or in another thread, then you may want to use START_FLAG_REDELIVERY to have&nbsp;the system re-deliver an Intent for you so that it does not get lost if your service is killed while processing&nbsp;it. Other application components running in the same process as the service (such as an Activity) can, of&nbsp;course, increase the importance of the overall process beyond just the importance of the service itself. <strong>&nbsp;</strong> <strong>Local Service Sample</strong> One of the most common uses of a Service is as a secondary component running alongside other parts of&nbsp;an application, in the same process as the rest of the components. All components of an .apk run in the&nbsp;same process unless explicitly stated otherwise, so this is a typical situation. When used in this way, by assuming the components are in the same process, you can greatly simplify the&nbsp;interaction between them: clients of the service can simply cast the IBinder they receive from it to a&nbsp;concrete class published by the service. An example of this use of a Service is shown here. First is the Service itself, publishing a custom class&nbsp;when bound: public class LocalService extends Service { private NotificationManager mNM; // Unique Identification Number for the Notification. // We use it on Notification start, and to cancel it. private int NOTIFICATION = R.string.local_service_started; public class LocalBinder extends Binder { LocalService getService() { return LocalService.this; } } @Override public void onCreate() { mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); // Display a notification about us starting. We put an icon in the status bar. showNotification(); } @Override public int onStartCommand(Intent intent, int flags, int startId) { Log.i("LocalService", "Received start id " + startId + ": " + intent); // We want this service to continue running until it is explicitly // stopped, so return sticky. return START_STICKY; } @Override public void onDestroy() { // Cancel the persistent notification. mNM.cancel(NOTIFICATION); // Tell the user we stopped. Toast.makeText(this, R.string.local_service_stopped, Toast.LENGTH_SHORT).show(); } @Override public IBinder onBind(Intent intent) { return mBinder; } // This is the object that receives interactions from clients. See // RemoteService for a more complete example. private final IBinder mBinder = new LocalBinder(); /** * Show a notification while this service is running. */ private void showNotification() { // In this sample, we'll use the same text for the ticker and the expanded notification CharSequence text = getText(R.string.local_service_started); // Set the icon, scrolling text and timestamp Notification notification = new Notification(R.drawable.stat_sample, text, System.currentTimeMillis()); // The PendingIntent to launch our activity if the user selects this notification PendingIntent contentIntent = PendingIntent.getActivity(this, 0, new Intent(this, LocalServiceActivities.Controller.class), 0); // Set the info for the views that show in the notification panel. notification.setLatestEventInfo(this, getText(R.string.local_service_label), text, contentIntent); // Send the notification. mNM.notify(NOTIFICATION, notification); } } With that done, one can now write client code that directly accesses the running service, such as: private LocalService mBoundService; private ServiceConnection mConnection = new ServiceConnection() { public void onServiceConnected(ComponentName className, IBinder service) { // This is called when the connection with the service has been // established, giving us the service object we can use to // interact with the service. Because we have bound to a explicit // service that we know is running in our own process, we can // cast its IBinder to a concrete class and directly access it. mBoundService = ((LocalService.LocalBinder)service).getService(); // Tell the user about this for our demo. Toast.makeText(Binding.this, R.string.local_service_connected, Toast.LENGTH_SHORT).show(); } public void onServiceDisconnected(ComponentName className) { // This is called when the connection with the service has been // unexpectedly disconnected -- that is, its process crashed. // Because it is running in our same process, we should never // see this happen. mBoundService = null; Toast.makeText(Binding.this, R.string.local_service_disconnected, Toast.LENGTH_SHORT).show(); } }; void doBindService() { // Establish a connection with the service. We use an explicit // class name because we want a specific service implementation that // we know will be running in our own process (and thus won't be // supporting component replacement by other applications). bindService(new Intent(Binding.this, LocalService.class), mConnection, Context.BIND_AUTO_CREATE); mIsBound = true; } void doUnbindService() { if (mIsBound) { // Detach our existing connection. unbindService(mConnection); mIsBound = false; } } @Override protected void onDestroy() { super.onDestroy(); doUnbindService(); } <strong>&nbsp;</strong> <strong>Remote Messenger Service Sample</strong> If you need to be able to write a Service that can perform complicated communication with clients in&nbsp;remote processes (beyond simply the use of Context.startService to send commands to it), then you can&nbsp;use the Messenger class instead of writing full AIDL files. An example of a Service that uses Messenger as its client interface is shown here. First is the Service&nbsp;itself, publishing a Messenger to an internal Handler when bound: public class MessengerService extends Service { /** For showing and hiding our notification. */ NotificationManager mNM; /** Keeps track of all current registered clients. */ ArrayList&lt;Messenger&gt; mClients = new ArrayList&lt;Messenger&gt;(); /** Holds last value set by a client. */ int mValue = 0; /** * Command to the service to register a client, receiving callbacks * from the service. The Message's replyTo field must be a Messenger of * the client where callbacks should be sent. */ static final int MSG_REGISTER_CLIENT = 1; static final int MSG_UNREGISTER_CLIENT = 2; static final int MSG_SET_VALUE = 3; class IncomingHandler extends Handler { @Override public void handleMessage(Message msg) { switch (msg.what) { case MSG_REGISTER_CLIENT: mClients.add(msg.replyTo); break; case MSG_UNREGISTER_CLIENT: mClients.remove(msg.replyTo); break; case MSG_SET_VALUE: mValue = msg.arg1; for (int i=mClients.size()-1; i&gt;=0; i--) { try { mClients.get(i).send(Message.obtain(null, MSG_SET_VALUE, mValue, 0)); } catch (RemoteException e) { // The client is dead. Remove it from the list; // we are going through the list from back to front // so this is safe to do inside the loop. mClients.remove(i); } } break; default: super.handleMessage(msg); } } } /** * Target we publish for clients to send messages to IncomingHandler. */ final Messenger mMessenger = new Messenger(new IncomingHandler()); @Override public void onCreate() { mNM = (NotificationManager)getSystemService(NOTIFICATION_SERVICE); // Display a notification about us starting. showNotification(); } @Override public void onDestroy() { // Cancel the persistent notification. mNM.cancel(R.string.remote_service_started); // Tell the user we stopped. Toast.makeText(this, R.string.remote_service_stopped, Toast.LENGTH_SHORT).show(); } /** * When binding to the service, we return an interface to our messenger * for sending messages to the service. */ @Override public IBinder onBind(Intent intent) { return mMessenger.getBinder(); } /** * Show a notification while this service is running. */ private void showNotification() { // In this sample, we'll use the same text for the ticker and the expanded notification CharSequence text = getText(R.string.remote_service_started); // Set the icon, scrolling text and timestamp Notification notification = new Notification(R.drawable.stat_sample, text, System.currentTimeMillis()); // The PendingIntent to launch our activity if the user selects this notification PendingIntent contentIntent = PendingIntent.getActivity(this, 0, new Intent(this, Controller.class), 0); // Set the info for the views that show in the notification panel. notification.setLatestEventInfo(this, getText(R.string.remote_service_label), text, contentIntent); // Send the notification. // We use a string id because it is a unique number. We use it later to cancel. mNM.notify(R.string.remote_service_started, notification); } } If we want to make this service run in a remote process (instead of the standard one for its .apk), we can&nbsp;use android:process in its manifest tag to specify one: &lt;service android:name=".app.MessengerService" android:process=":remote" /&gt; Note that the name "remote" chosen here is arbitrary, and you can use other names if you want additional processes. The ':' prefix appends the name to your package's standard process name. With that done, clients can now bind to the service and send messages to it. Note that this allows clients to register with it to receive messages back as well: /** Messenger for communicating with service. */ Messenger mService = null; /** Flag indicating whether we have called bind on the service. */ boolean mIsBound; /** Some text view we are using to show state information. */ TextView mCallbackText; /** * Handler of incoming messages from service. */ class IncomingHandler extends Handler { @Override public void handleMessage(Message msg) { switch (msg.what) { case MessengerService.MSG_SET_VALUE: mCallbackText.setText("Received from service: " + msg.arg1); break; default: super.handleMessage(msg); } } } /** * Target we publish for clients to send messages to IncomingHandler. */ final Messenger mMessenger = new Messenger(new IncomingHandler()); /** * Class for interacting with the main interface of the service. */ private ServiceConnection mConnection = new ServiceConnection() { public void onServiceConnected(ComponentName className, IBinder service) { // This is called when the connection with the service has been // established, giving us the service object we can use to // interact with the service. We are communicating with our // service through an IDL interface, so get a client-side // representation of that from the raw service object. mService = new Messenger(service); mCallbackText.setText("Attached."); // We want to monitor the service for as long as we are // connected to it. try { Message msg = Message.obtain(null, MessengerService.MSG_REGISTER_CLIENT); msg.replyTo = mMessenger; mService.send(msg); // Give it some value as an example. msg = Message.obtain(null, MessengerService.MSG_SET_VALUE, this.hashCode(), 0); mService.send(msg); } catch (RemoteException e) { // In this case the service has crashed before we could even // do anything with it; we can count on soon being // disconnected (and then reconnected if it can be restarted) // so there is no need to do anything here. } // As part of the sample, tell the user what happened. Toast.makeText(Binding.this, R.string.remote_service_connected, Toast.LENGTH_SHORT).show(); } public void onServiceDisconnected(ComponentName className) { // This is called when the connection with the service has been // unexpectedly disconnected -- that is, its process crashed. mService = null; mCallbackText.setText("Disconnected."); // As part of the sample, tell the user what happened. Toast.makeText(Binding.this, R.string.remote_service_disconnected, Toast.LENGTH_SHORT).show(); } }; void doBindService() { // Establish a connection with the service. We use an explicit // class name because there is no reason to be able to let other // applications replace our component. bindService(new Intent(Binding.this, MessengerService.class), mConnection, Context.BIND_AUTO_CREATE); mIsBound = true; mCallbackText.setText("Binding."); } void doUnbindService() { if (mIsBound) { // If we have received the service, and hence registered with // it, then now is the time to unregister. if (mService != null) { try { Message msg = Message.obtain(null, MessengerService.MSG_UNREGISTER_CLIENT); msg.replyTo = mMessenger; mService.send(msg); } catch (RemoteException e) { // There is nothing special we need to do if the service // has crashed. } } // Detach our existing connection. unbindService(mConnection); mIsBound = false; mCallbackText.setText("Unbinding."); } } <strong>Check Out Our Related Courses</strong> <a href="https://tekslate.com/tutorials/android/">Android Tutorials</a> <a href="https://tekslate.com/interview-questions-on-android/">Top 50 Android Interview Questions</a> <a href="https://tekslate.com/android-development-training/">Android Training In Houston</a></p>8b:T5beb,<h2 style="text-align: justify;"><span style="color: #000000;">VISUALFORCE Pages part-2</span></h2>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Visualforce Senarion 7:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">The following visualforce code will automatically prompts to the "My Contacts" once we&nbsp;click on Contacts tab.</span> <span style="color: #000000;"> Override the following Visual force page with the Contacts tab</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Visualforce Code:</strong></span></h3>
<pre>&lt;apex:pagetabStyle="Contact_Relationship__c" &gt;
 &lt;script type="text/javascript"&gt;
 window.onload = function() {
 parent.document.location.href = "/a07?fcf=00B900000031bax";
}
&lt;/script&gt;
 &lt;/apex:page&gt; ID of the &ldquo;My Contacts&rdquo; list view</pre>
<p style="text-align: justify;"><img class="aligncenter wp-image-3173" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/508-460x166.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="417" height="150" /></p>
<p style="text-align: justify;"><strong>Visualforce Senarion 8:</strong></p>
<p style="text-align: justify;">Create the visualforce page with the following code.</p>
<p style="text-align: justify;">Note: EnablingSectionsonPicklistValues</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Visualforce Code:</strong></span></h3>
<pre style="padding-left: 30px;">&lt;apex:page standardController="Account" extensions="SelectPicklist"
 showHeader="true" sidebar="true"&gt;
 &lt;apex:form &gt;
 &lt;apex:pageBlock title="Page Details"&gt;
 &lt;apex:pageBlockSection &gt;
 &lt;apex:selectList label="Year of Passing" value="{!YearValue}" size="1"
 multiselect="false" &gt;
 &lt;apex:actionSupport event="onchange" action="{!Picklist}"/&gt;
 &lt;apex:actionStatus startText="Applying value........"&gt;
 &lt;/apex:actionStatus&gt;
 &lt;apex:selectOptions value="{!Yearlist}"/&gt;
&lt;/apex:selectList&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;/apex:pageBlock&gt;
 &lt;apex:outputPanel id="pd" rendered="{!YearValue1}"&gt;
 &lt;apex:pageBlock title="2010 Hiding Details"&gt;
 &lt;apex:pageBlockSection &gt;
 &lt;apex:pageBlockSectionItem &gt;
 &lt;apex:outputLabel value="Account Name"&gt;
 &lt;/apex:outputLabel&gt;
 &lt;apex:inputField value="{!Account.Name}"/&gt;
 &lt;/apex:pageBlockSectionItem&gt;
 &lt;apex:pageBlockSectionItem &gt;
 &lt;apex:outputLabel value="Account Industry"&gt;
 &lt;/apex:outputLabel&gt;
 &lt;apex:inputField value="{!Account.Industry}"/&gt;
 &lt;/apex:pageBlockSectionItem&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:outputPanel&gt;
 &lt;apex:outputPanel rendered="{!YearValue2}"&gt;
 &lt;apex:pageBlock title="2011 Hiding Details"&gt;
 &lt;apex:pageBlockSection &gt;
 &lt;apex:pageBlockSectionItem &gt;
 &lt;apex:outputLabel value="Account Phone"&gt;
 &lt;/apex:outputLabel&gt;
 &lt;apex:inputField value="{!Account.Phone}"/&gt;
 &lt;/apex:pageBlockSectionItem&gt;
 &lt;apex:pageBlockSectionItem &gt;
 &lt;apex:outputLabel value="Account Type"&gt;
 &lt;/apex:outputLabel&gt;
 &lt;apex:inputField value="{!Account.Type}"/&gt;
 &lt;/apex:pageBlockSectionItem&gt;
 &lt;apex:pageBlockSectionItem &gt;
 &lt;apex:outputLabel value="Account Description"&gt;
 &lt;/apex:outputLabel&gt;
 &lt;apex:inputField value="{!Account.Description}"/&gt;
 &lt;/apex:pageBlockSectionItem&gt;
 &lt;apex:pageBlockSectionItem &gt;
 &lt;apex:outputLabel value="Account Rating"&gt;
 &lt;/apex:outputLabel&gt;
 &lt;apex:inputField value="{!Account.Rating}"/&gt;
 &lt;/apex:pageBlockSectionItem&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:outputPanel&gt;
 &lt;/apex:form&gt;
&lt;/apex:page&gt;</pre>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Select Packlist class Code:</strong></span></h3>
<pre style="padding-left: 30px;">public class SelectPicklist {
 public SelectPicklist(ApexPages.StandardController controller) {
 }
 public String YearValue{set;get;}
 public Boolean YearValue1{set;get;}
 public Boolean YearValue2{set;get;}
 public List&lt;SelectOption&gt; getYearlist () {
 List&lt;SelectOption&gt; options = new List&lt;SelectOption&gt;();
 options.add(new SelectOption('','--None--'));
 options.add(new SelectOption('1','2010'));
 options.add(new SelectOption('2','2011'));
 return options;
 }
 public void Picklist(){
 if(YearValue=='1')
 YearValue1 = true;
 else
 YearValue2 = True;
 }
 }</pre>
<p style="text-align: justify;">Create the button called &ldquo;Hiding Sections&rdquo; and override &ldquo;Enabling Sectionson&nbsp;Picklist Values&rdquo; <a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">visualforce page</a></p>
<pre><em><strong>Aspired to become an Salesforce? Explore the post to discover the know-hows on <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Online Training</a>.</strong></em></pre>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Button Creation:</strong></span></h3>
<p style="text-align: justify;"><img class="aligncenter wp-image-3174" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5112-460x203.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="434" height="191" /></p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3175" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/528-460x111.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="429" height="103" /></p>
<p style="text-align: justify;">Once we click on &ldquo;Hiding Sections&rdquo; button, it will prompt to the following window have&nbsp;the field called &ldquo;Year of Passing&rdquo;, and values are 2010 and 2011</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3176" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/536-460x73.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="472" height="74" /></p>
<p style="text-align: justify;">Once we select 2010 from the above picklist, then &ldquo;2010 Hiding Details&rdquo; section will be populated automatically</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3180" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/556-460x142.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="496" height="152" /></p>
<p style="text-align: justify;"><strong>Visualforce Scenario 9:</strong></p>
<p style="text-align: justify;">Create the Visualforce page with following code</p>
<pre>&lt;apex:page Controller="InterviewOne_controller" sidebar="false"&gt;
 &lt;apex:form &gt;
 &lt;apex:sectionHeader title="Interview One" /&gt;
 &lt;apex:pageBlock title="All Accounts" tabStyle="Interview_One__tab"&gt;
 &lt;apex:pageBlockTable value="{!listAccounts}" var="a"&gt;
 &lt;apex:column headerValue="Account Name" value="{!a.name}"/&gt;
 &lt;apex:column headerValue="Billing State/Province"
 value="{!a.BillingState}"/&gt;
 &lt;apex:column headerValue="Phone" value="{!a.Phone}"/&gt;
 &lt;apex:column headerValue="Website" value="{!a.Website}"/&gt;
 &lt;/apex:pageBlockTable&gt;
 &lt;/apex:pageBlock&gt;
&lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Interview one_Controller class</strong></span></h3>
<pre style="padding-left: 30px;">public class InterviewOne_controller{
 public list&lt;Account&gt; listAccounts{get;set;}
 public InterviewOne_controller(){
 list&lt;Account&gt;=new list&lt;Account&gt;();
 listAccounts = [select name,BillingState ,phone,Website from Account];
 }
 }</pre>
<p style="text-align: justify;">Create the Visualforce tab called &ldquo; +6: &ldquo;and override the above visualforce&nbsp;with this tab</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3182" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/566-460x243.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="461" height="243" /></p>
<p style="text-align: justify;">Once we click on the &ldquo;Interview One&rdquo; tab, then all the accounts will be populated in a table&nbsp;format which are not clickable.</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3183" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/576-460x159.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="533" height="183" /></p>
<p style="text-align: justify;"><strong>Visualforce Scenario 10:</strong></p>
<p style="text-align: justify;">Create the Visualforce page with following code</p>
<pre>&lt;apex:page controller="InterviewTwo_controller" sidebar="false"&gt;
 &lt;apex:form &gt;
 &lt;apex:sectionHeader title="Interview Two" /&gt;
 &lt;apex:pageBlock mode="edit"&gt;
 &lt;apex:pageBlockSection title="Search" &gt;
 &lt;apex:inputText label="Search" value="{!searchString }"/&gt;
 &lt;apex:commandButton value="Search" action="{!displayAccounts}"/&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;apex:pageBlockSection title="Results" rendered="{!showmsg==true}"&gt;
 &lt;apex:pageMessages rendered="{!showmsg}" &gt;
 &lt;/apex:pageMessages&gt; &lt;br/&gt;
 &lt;apex:pageBlockTable value="{!listAccounts}" var="a"
 headerClass="headerclass" &gt;
 &lt;apex:column headerValue="Account Name" value="{!a.name}"/&gt;
 &lt;apex:column headerValue="Billing State/Province"
 value="{!a.BillingState}"/&gt;
 &lt;apex:column headerValue="Phone" value="{!a.Phone}"/&gt;
 &lt;apex:column headerValue="Website" value="{!a.Website}"/&gt;
&lt;/apex:pageBlockTable&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;apex:pageBlockSection title="Results" rendered="{!showmsg==false}"&gt;
 &lt;apex:pageBlockTable value="{!listAccounts}" var="a"&gt;
 &lt;apex:column headerValue="Account Name" value="{!a.name}"/&gt;
 &lt;apex:column headerValue="Billing State/Province"
 value="{!a.BillingState}"/&gt;
 &lt;apex:column headerValue="Phone" value="{!a.Phone}"/&gt;
 &lt;apex:column headerValue="Website" value="{!a.Website}"/&gt;
 &lt;/apex:pageBlockTable&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Interview two_Controller class</strong></span></h3>
<pre style="padding-left: 30px;">public class InterviewTwo_controller{
 public list&lt;Account&gt; listAccounts{get;set;}
 public string searchString {get;set;}
 public boolean showmsg{get;set;}
 public InterviewTwo_controller(){
 listAccounts=new list&lt;Account&gt;();
 showmsg=false;
 }
 public pagereference displayAccounts(){
 String AccountQuery = 'select id, name,BillingState,Phone,Website from Account';
 if(searchString != '' &amp;&amp; searchString != null)
 AccountQuery = AccountQuery + ' where name LIKE \'%' + searchString+'%\' ';
 listAccounts=database.query(AccountQuery);
 if(listAccounts.size()&gt;0 &amp;&amp; listAccounts!=null)
 showmsg=false;
 else{
 ApexPages.Message errMsg = new ApexPages.Message(ApexPages.Severity.Warni
 ng,'No Accounts Found');
 ApexPages.addMessage(errMsg);
 showmsg=true;
 }
 return null;
 }</pre>
<p style="text-align: justify;">Create the Visualforce tab called &ldquo; +6 /6&ldquo;and override the above visualforce&nbsp;with this tab</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3184" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/586-460x326.png" alt="Learn Salesforce Online Training" width="444" height="314" /></p>
<p style="text-align: justify;">Click on the &ldquo;Interview Two&rdquo; tab</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3185" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/596-460x96.png" alt="Learn Salesforce Online Training" width="435" height="90" /></p>
<p style="text-align: justify;">Enter the string &ldquo;Osmania&rdquo; in Search box and click on the &ldquo;Search&rdquo; button, then all the&nbsp;accounts started with the Osmania will be automatically populated in the &ldquo;Results&rdquo;&nbsp;section</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3186" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/606-460x113.png" alt="Learn Salesforce Online Training" width="464" height="113" /></p>
<p style="text-align: justify;"><strong>Visualforce Scenario 11:</strong></p>
<p style="text-align: justify;">Create the Visualforce page with following code</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong> VisualForce Code</strong></span></h3>
<pre style="padding-left: 30px;">&lt;apex:page controller="showSelectdAccounts" sidebar="false"&gt;
 &lt;apex:form &gt;
 &lt;apex:sectionHeader title="Interview Three"/&gt;
 &lt;apex:pageblock &gt;
 &lt;apex:pageblockButtons &gt;
 &lt;apex:outputPanel &gt;
 &lt;apex:CommandButton value="Show Selected Accounts" status="status"
 action="{!ShowSelected}" rerender="spblock" /&gt;
 &lt;/apex:outputPanel&gt;
 &lt;apex:actionStatus startText="Please Wait..." id="status" /&gt;
 &lt;/apex:pageblockButtons&gt;
 &lt;span &gt;&lt;b&gt; All Accounts &lt;/b&gt; &lt;/span&gt;
 &lt;span style="padding-left:550px;"&gt;&lt;b&gt; Selected Accounts &lt;/b&gt;&lt;/span&gt;
 &lt;apex:pageblockSection columns="2"&gt;
 &lt;apex:pageblockTable value="{!lstWrapper}" var="Ewrap"&gt;
 &lt;apex:Column headervalue="Selected"&gt;
 &lt;apex:inputCheckbox value="{!Ewrap.selected}"/&gt;
 &lt;/apex:Column&gt;
 &lt;apex:Column headervalue="Account Name"&gt;
 &lt;apex:outputfield value="{!Ewrap.Acc.name}"/&gt;
 &lt;/apex:Column&gt;
 &lt;apex:Column headervalue="Phone"&gt;
 &lt;apex:outputfield value="{!Ewrap.Acc.phone}"/&gt;
 &lt;/apex:Column&gt;
 &lt;/apex:pageblockTable&gt;
 &lt;apex:pageblockTable value="{!selectedAcc}" var="EAcc" id="spblock" &gt;
 &lt;apex:Column headervalue="Account Name"&gt;
 &lt;apex:outputfield value="{!EAcc.name}"/&gt;
 &lt;/apex:Column&gt;
 &lt;apex:Column headervalue="Phone"&gt;
 &lt;apex:outputfield value="{!EAcc.phone}"/&gt;
 &lt;/apex:Column&gt;
 &lt;/apex:pageblockTable&gt;
 &lt;/apex:pageblockSection&gt;
 &lt;/apex:pageblock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong> Show Selected Accounts Class:</strong></span></h3>
<pre style="padding-left: 30px;">public with sharing class showSelectdAccounts {
 public list&lt;Account&gt; lstAcc{get;set;}
 public list&lt;Account&gt; selectedAcc{get;set;}
 public list&lt;wrapper&gt; lstWrapper{get;set;}
 public boolean noAcc{get;set;}
 public showSelectdAccounts(){
 lstWrapper = new list&lt;Wrapper&gt;();
 noAcc = false;
 lstAcc = [select id,name,phone from Account];
 wrapper objwrap;
 for(Account objA:lstAcc){
 objwrap = new Wrapper();
 objwrap.Acc = objA;
 lstWrapper.add(objwrap);
 }
 }
 public void ShowSelected(){
 selectedAcc = new list&lt;Account&gt;();
 selectedAcc.clear();
 for(Wrapper objWrap:lstWrapper){
 if(objWrap.selected){
 noAcc = true;
 selectedAcc.add(objWrap.Acc);
 }
 }
 if(!noAcc){
 system.debug('8888888'+noacc);
 ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,'No
 Account Selected'));
 }
 }
 public class wrapper{
 public boolean selected{get;set;}
 public Account Acc{get;set;}
 }
 }</pre>
<p style="text-align: justify;">Create the Visualforce tab called &ldquo; +6/&ldquo;and override the above visualforce&nbsp;with this tab</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3187" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/6110-460x309.png" alt="Learn Salesforce Online Training" width="476" height="319" /></p>
<p style="text-align: justify;">Click on &ldquo;Interview Three&rdquo; tab</p>
<p>[gallery ids="3193"]</p>
<p style="text-align: justify;">Check the checkbox in the selected column and click on &ldquo;Show Selected Accounts&rdquo;&nbsp;button, then those selected accounts will be automatically populated in the &ldquo;Selected&nbsp;Accounts&rdquo; section</p>
<p style="text-align: justify;"><img class="wp-image-3194 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/646-460x145.png" alt="64" width="456" height="143" /></p>
<p style="text-align: justify;"><strong>Visualforce Scenario 12:</strong></p>
<p style="text-align: justify;">Create the Visualforce page with following code</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Visual Force Code:</strong></span></p>
<pre style="padding-left: 30px;">&lt;apex:page controller="InterviewFourClass" sidebar="false"&gt;
 &lt;apex:form &gt;
 &lt;apex:sectionHeader title="Interview Four"/&gt;
 &lt;apex:pageblock tabstyle="Contract" title="Accounts with Contacts"&gt;
 &lt;apex:pagemessages /&gt;
 &lt;apex:repeat value="{!lstAcc}" var="EAcc" &gt;
 &lt;apex:pageblockSection title="{!EAcc.name}" columns="1"&gt;
 &lt;apex:pageblockTable value="{!EAcc.Contacts}" var="Econ"
 columnswidth="25%,25%,25%,25%"&gt;
 &lt;apex:column headerValue="First Name"&gt;
 &lt;apex:outputText value="{!Econ.firstname}" /&gt;
 &lt;/apex:Column&gt;
 &lt;apex:column headerValue="Last Name"&gt;
 &lt;apex:outputText value="{!Econ.lastname}" /&gt;
 &lt;/apex:Column&gt;
 &lt;apex:column headerValue="Phone Name"&gt;
 &lt;apex:outputText value="{!Econ.phone}" /&gt;
 &lt;/apex:Column&gt;
 &lt;apex:column headerValue="Email"&gt;
 &lt;apex:outputText value="{!Econ.Email}" /&gt;
 &lt;/apex:Column&gt;
 &lt;/apex:pageblockTable&gt;
 &lt;/apex:pageblockSection&gt;
 &lt;/apex:repeat&gt;
 &lt;/apex:pageblock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Interview FourClass:</strong></span></h3>
<pre style="padding-left: 30px;">public with sharing class InterviewFourClass {
 public list&lt;Account&gt; lstAcc{get;set;}
 public InterviewFourClass(){
 lstAcc = new list&lt;Account&gt;();
 lstAcc = [select id,name,(select id,lastname,phone,firstname,email from Contacts),p
 hone from Account];
 ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,'this pa
 ge was created ONLY one Query'));
}
 }</pre>
<p style="text-align: justify;">Create the Visualforce tab called &ldquo; +6 &ldquo;and override the above visualforce&nbsp;with this tab</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3197" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/656-460x298.png" alt="Learn Salesforce Online Training" width="442" height="286" /></p>
<p style="text-align: justify;">Click on &ldquo;Interview Four&rdquo; tab and which gives the list of accounts and all the contacts&nbsp;that are associated with that account.</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3198" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/666-460x159.png" alt="Learn Salesforce Online Training" width="536" height="184" /></p>
<p style="text-align: justify;"><strong>Visualforce Scenario 13:</strong></p>
<p style="text-align: justify;">Create the Visualforce page with following code</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Visual Force Code:</strong></span></h3>
<pre style="padding-left: 30px;">&lt;apex:page controller="InterviewFifthClass" sidebar="false" &gt;
 &lt;apex:form &gt;
 &lt;apex:pageBlock &gt;
 &lt;apex:pageMessages /&gt;
 &lt;apex:sectionHeader title="Interview Five"/&gt;
 &lt;apex:pageBlock title="All Accounts"&gt;
 &lt;apex:pageBlockTable value="{!lstacc}" var="l" &gt;
 &lt;apex:column headerValue="AccountName" &gt;
 &lt;apex:commandLink value="{!l.name}" action="{!click}"/&gt;
 &lt;/apex:column&gt;
 &lt;apex:column headerValue="Billing State/Province"
 value="{!l.BillingState}"&gt;
 &lt;/apex:column&gt;
 &lt;apex:column headerValue="phone" value="{!l.phone}"&gt;
 &lt;/apex:column&gt;
 &lt;apex:column headerValue="website" value="{!l.website}"&gt;
 &lt;/apex:column&gt;
 &lt;/apex:pageBlockTable&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;
 InterviewFifthClass Code:
 public with sharing class InterviewFifthClass {
 public pagereference click() {
 ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,'you clic
 ked on Name...'));
 return null;
 }
 public InterviewFifthClass (){
 lstacc = [select id, name, BillingState,phone,website from account];
 ApexPages.addMessage(new ApexPages.message(ApexPages.severity.INFO,'Sele
 ct an Account by Clicking its Name.'));
 }
 public List&lt;account&gt; lstacc { get; set;
}
}</pre>
<p style="text-align: justify;">Create the Visualforce tab called &ldquo; +6 +&ldquo;and override the above visualforce&nbsp;with this tab</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3199" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/676-460x295.png" alt="Learn Salesforce Online" width="389" height="249" /></p>
<p style="text-align: justify;">Once we click on the &ldquo;Interview five&rdquo; tab, then all the accounts will be populated in a table&nbsp;format which are we can clickable.</p>
<p style="text-align: justify;"><img class="aligncenter wp-image-3200" title="Learn Salesforce Online-VISUALFORCE Pages part-2" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/686-460x126.png" alt="Learn Salesforce Online-VISUALFORCE Pages part-2" width="428" height="117" /></p>
<h3 style="text-align: justify;">For in-depth understanding of Salesforce click on</h3>
<ul>
<li style="text-align: justify;"><a href="https://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in Salesforce</a></li>
<li style="text-align: justify;"><a href="https://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in Salesforce</a></li>
<li style="text-align: justify;"><a href="https://tekslate.com/salesforce-crm-introduction-apex/" target="_blank" rel="noopener">Introduction to Apex</a></li>
<li style="text-align: justify;"><a href="https://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li style="text-align: justify;"><a href="https://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="https://tekslate.com/salesforce-developer-training/">Salesforce Developer Training In Hyderabad</a></li>
</ul>8c:Tc38e,<h2><span style="color: #000000;">Tags used to Create VISUALFORCE Pages</span></h2>
<p><strong>1). &lt;Apex:Page&gt;:</strong> This is a very important tag of a VF. This says that a single VF page&nbsp;and all the components must be wrapped inside this single page. Attributes of &lt;apex: page&gt; tag are:</p>
<ul>
<li><strong><strong>Action:</strong></strong></li>
</ul>
<p>This invokes when this page is requested by the server, here we must use a&nbsp;expression language to reference an action method in APEX Action= {! do action}&nbsp;<strong>---&gt;</strong><strong>&nbsp;</strong>&nbsp;Must be defined in APEX class. <strong>EX:-</strong>&nbsp;&nbsp;action= {! int} or action= {!redir}&nbsp;<strong>---&gt;</strong><strong>&nbsp;</strong>re directions the page to new page referred&nbsp;<strong>---&gt;</strong>&nbsp;Initializes</p>
<ul>
<li>&nbsp;<strong>Controller:</strong></li>
</ul>
<p>It&rsquo;s a string type and the name given here must be implemented in an&nbsp;Apex class, controller means an custom controller, this cannot be used if we use standard&nbsp;controller. &lt;apex: page Controller="class name implemented in APEX"&gt;</p>
<ul>
<li><strong>Extension: </strong></li>
</ul>
<p>This is used to extend the custom controllers we can have any extension&nbsp;for an custom controller, this is used to add extra functionality. &lt;apex: page controller: &ldquo;string" extension="string"&gt;</p>
<ul>
<li><strong>ID:</strong></li>
</ul>
<p>It&rsquo;s a string, gives an identification for tag, we can specify any name, but it should&nbsp;not be a duplicate, it&rsquo;s generally used to refer this page by other components in the page.</p>
<ul>
<li><strong>Record setvar: </strong></li>
</ul>
<p>it&rsquo;s a string; this attribute indicates that the page users a set of records oriented by a standard controller only. Used to handle multiple records, this attribute converts a controller to a list controller.</p>
<ul>
<li><strong>Render As:</strong></li>
</ul>
<p>it&rsquo;s a string the name of any supported content converter, we can change&nbsp;the display in to a 'PDF' or another type currently it&rsquo;s only a 'PDF' format. &lt;apex: page render as='PDF'&gt; displays a page in a pdf format</p>
<ul>
<li><strong>Renderd: </strong></li>
</ul>
<p>it's a Boolean type, related to the displaying of a page by default it&rsquo;s a&nbsp;'TRUE', if we keep it false the page will not be displayed.</p>
<ul>
<li><strong>Setup:</strong></li>
</ul>
<p>it's a Boolean type; it specifies whether the page should implement standard&nbsp;salesforce.com setup if its true.It will not implement by default if its "FALSE"</p>
<ul>
<li><strong>Show header:</strong></li>
</ul>
<p>it's a Boolean type, displays or hides the salesforce header if true or false&nbsp;respectively.</p>
<ul>
<li><strong>Sidebar: </strong></li>
</ul>
<p>it's a Boolean type, displays or hides the sidebar of standard salesforce site.</p>
<ul>
<li><strong>standard controller:</strong></li>
</ul>
<p>it's the sales force object that's used to control the behaviour of&nbsp;this page, this attribute cannot be specified if custom controller is used. &lt;apex: page standard controller="Account"&gt;</p>
<ul>
<li><strong>Standard style sheets:</strong></li>
</ul>
<p>it's a Boolean type; it decides whether the standard salesforce&nbsp;style sheets are added to the generated page header if the showheader attribute is set false, if it&rsquo;s set true the standard style sheets are by default, added to the generated page header. The other important tags are tab style title, help URL &amp; help title. <strong> <strong>2).Apex.form:</strong></strong> A section of a VF page that allows users to enter o/p and then submit it&nbsp;with an &lt;apex: command Button&gt; or &lt;apex :command link&gt; The body of the form determines the data that is displayed and the way it is&nbsp;processed. <strong>Attributes of this tag are:</strong></p>
<ul>
<li><strong>Accept:</strong>it's a string type, the text to display as a tooltip when the user's mouse pointer&nbsp;hovers over this component.</li>
<li><strong>Accept charset:&nbsp;</strong>Its a string type, it&rsquo;s a comma separated list of characters encoding that a&nbsp;server processing this form can handle.</li>
<li><strong>Dir:&nbsp;</strong>it&rsquo;s a string type, it specifies the directions such as RTL &amp; LTR (Right to left or left&nbsp;to right), that should display the components in the form of a VF page(position).</li>
</ul>
<p>Onclick, anddblclick, onkeydown, on keypress, onkeyup, onmousedown, onmouseout,&nbsp;onmousemove, onmouseup, onreset, onsubmit These are the general attributes must be used within the form tag, all related when&nbsp;we use JAVASCRIPT in our design, when this JAVASCRIPT should be invoked either on one click, double click, onkeydown, press, up, down, move.............. On-reset and on submit are important, here the JavaScript is invoked when an event such as reset/submit occurs, if the user clicks on reset/submit buttons. <strong>3).&lt;apex:pageblock&gt;:</strong> it's an area of a page that uses styles similar to the appearance of a&nbsp;salesforce detail page, without any default content. In detail page we can see only the components in 2 column's here we can&nbsp;make it to any number of columns using page Block section. And we can create instances&nbsp;rather than full names of objects i.e. &lt;apex:pageblock value="{!account}" var="AC"&gt; &lt;/apex:pageBlock&gt; <strong>Attributes are:</strong></p>
<ul>
<li><strong><strong>Dir:</strong></strong>Direction of display 'RTL/LTR'</li>
<li><strong><strong>helptitle:&nbsp;</strong></strong>it's a string type, the text in title will be displayed when a user hovers the&nbsp;mouse over the help link for the pageblock. We must use this in relation with helpURL&nbsp;helpURL</li>
</ul>
<p>it's a string type, the URL of a webpage that provides help for the page block. Here also we can perform the same actions which can be performed using the form tag, the Java script enabled tag attributes are like the following. Onclick, onclick, onkeydown, onkeypress, onkeyup........... <strong>4).&lt;apex.facetname&gt;:</strong> This is an tag which is used to mention the column name of the&nbsp;column and this will overrides the attributer properties of the &lt;apex:pageblock&gt; section&nbsp;like JavaScript enabled attributes, title, help text, help URL,....... And the column component can be added in both ways i.es the header and footer.</p>
<ul>
<li><strong><strong>footer:&nbsp;</strong></strong>The components that appear at the bottom of the page block.</li>
<li><strong><strong>Header:&nbsp;</strong></strong>The components that appear as a header of the page block.</li>
</ul>
<p><strong>5).apex:PageBlock section</strong> This tag can be used to create sections within a page block&nbsp;to categorize different fields into different sections. It&rsquo;s similar to adding a section by using a edit page layout assignment. These sections spans of two cells. One for the field label, and another for its&nbsp;value. Each component found in the body of an &lt;apex: pageblock section&gt; is placed into&nbsp;the next cell in a row until the no. of columns is reached.&nbsp;To add fields, and objects to this &lt;apex: pageblock section&gt; we use&nbsp;&lt;apex:inputfield&gt; or &lt;apex:outputfield&gt; component each of these component automatically displays with the field's associated label. <strong><strong>Attributes</strong></strong></p>
<ul>
<li><strong><strong>Clooapsible:</strong></strong>&nbsp;it's a Boolean type, it specifies whether the page block section can be&nbsp;expanded and collapsed by a user, by default its "TRUE"</li>
<li><strong><strong>Columns:&nbsp;</strong></strong>it's an integer type, it specifies the no. of columns that can be included in a&nbsp;single row of a pageblock section, a single column can span two cells-one for field&nbsp;label, and another for its value.</li>
<li><strong><strong>Dir:</strong></strong>&nbsp;Direction RTL or LTR</li>
<li><strong><strong>Showhader:</strong></strong>It's a Boolean type variable, value that specifies whether the page block&nbsp;section title is displayed, if it's true.</li>
</ul>
<p><strong>6). apex:pageblocksection item</strong> A single piece of data in an &lt;apex: pageblocksection&gt; that takes keep up one&nbsp;column in one row. An &lt;apex:pageBlocksection Item&gt; component can include up to two child components,&nbsp;If no content is specified, the content spans both cells of the column.&nbsp;If two child components are specified , the content of the first is rendered&nbsp;in left, "label" cells of the column, while the content of the second is rendered in the&nbsp;right , "data' cell of the column. <strong>EX:-&nbsp;</strong>&nbsp;if we include an &lt;apex:outputfield&gt; or an &lt;apex:inputfield&gt;component in an&nbsp;&lt;apex:pageblockitem&gt;, these components do not display with their label or custom help&nbsp;text as they do when they are children of an &lt;apex:pageblockitem&gt;&nbsp;And these components cannot be rendered, rerender the child components instead. <strong><strong>Attributes :&nbsp;</strong></strong>(DIr, helptext,ID)</p>
<ul>
<li><strong><strong>Labelstyle:</strong></strong>&nbsp;Its a string type, these style used to display the content of the left &ldquo;label" cell&nbsp;of the page block section column and uses all JavaScript enabled tags (discussed above)</li>
</ul>
<p><strong>7). &lt;Apex:pageblock buttons&gt;:</strong> A set of buttons that are styled like standard salesforce buttons the component must be a&nbsp;child component of an &lt;apex: pageblock&gt; This tag creates buttons and places them in the page block title area and footer area. Here we can specify the location of the button's in a section it can be either&nbsp;"Top/Bottom"&nbsp;Attributtes: Dir, <strong><strong>Location:&nbsp;</strong></strong>it's the area of the page block where the buttons should be rendered.Possible&nbsp;values are "top/bottom" or "both". This can be overridden when we use facet&nbsp;(header/footer)&nbsp;By default it's set to both. <strong>8).apex:command button:</strong> A button that is rendered as an HTML o/p element with the type attribute set to "submit" , "rest" or "image" depending on the &lt;apex: command button&gt; tags specified values The button executes an action the child of an &lt;apex: form&gt; component <strong>EX</strong>:&lt;apex:commandbutton action="{!save}" value="save" id="the button"/&gt; <strong><strong>Attributes:</strong></strong></p>
<ul>
<li><strong><strong>Accesskey:</strong></strong>&nbsp;it's a string type, it's a keyboard accesskey that puts the command button in&nbsp;focus. action: Apex page. Action this can be invoked by AJAX request to the server uses&nbsp;merger-field syntax to reference the method. Action="{! save}" references save method written in controller. If action is not&nbsp;specified, the page simply refreshes.</li>
<li><strong><strong>Dir:ID:Disabled</strong></strong></li>
<li><strong><strong>images:</strong></strong>&nbsp;it's a string type, the absolute or relative URL of image displayed as this button,&nbsp;if specified; the type of the generated HTML input element is set to "image"&nbsp;Supports all Java script enabled attributes.</li>
<li><strong><strong>Rerender:&nbsp;</strong></strong>its Boolean type, value that specifies whether the component is rendered on&nbsp;the page. If not specified, by default its true.</li>
<li><strong><strong>Timeout:</strong></strong>&nbsp;it&rsquo;s an integer type, the amount of time (in milliseconds) before an AJAX&nbsp;update request should time out.</li>
<li><strong>Value:</strong>it&rsquo;s an object type, text displayed on the Command Button as its label.</li>
</ul>
<p><strong>9). &lt;apex: message&gt;:</strong></p>
<p style="padding-left: 30px;">This tag can be used to display custom error messages on a VF&nbsp;page.</p>
<p style="padding-left: 30px;">If this is not mentioned then the errors can be displayed only in debug log;</p>
<p><strong>10). &lt;apex:messages&gt;:</strong></p>
<p style="padding-left: 30px;">All messages that were generated for all components on the current page.(standard&nbsp;salesforce style error messages) Default name is "error"</p>
<p><strong>11).&lt;apex:pagemessage&gt;:</strong></p>
<p style="padding-left: 30px;">This component should be used for presenting custom messages in the page using the&nbsp;<a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">salesforce</a> pattern for errors, warnings and other type of messages for a given severity.</p>
<p><strong><strong>Attributes are:</strong></strong></p>
<ul>
<li><strong><strong>Detail:</strong></strong>it's a string type, the detailed description of the errors information.</li>
<li><strong><strong>Severity:</strong></strong>it's a string type, values supported by this are &lsquo;confirm&rsquo;, 'info', warning', 'error'.We can display the severity of the error messages generated.</li>
<li><strong><strong>Strength:</strong></strong>it's an integer type, it&rsquo;s the strength of the message, this controls the visibility&nbsp;and size of icon displayed next to the message.&nbsp;Use 0 for no image, or 1-3 (highest strength, largest icon)</li>
<li><strong><strong>Summary:</strong></strong>&nbsp;it's a string type, the summary message.</li>
</ul>
<p><strong>12).&lt;apex:page messages&gt;:</strong> This component displays all messages that were generated for all components on the&nbsp;current page, presented using the SF styling. <strong><strong>Attributes:</strong></strong></p>
<ul>
<li><strong><strong>Escape:</strong></strong>its Boolean type, A Boolean value whether, sensitive HTML, and XML&nbsp;characters should be escaped in the HTML old generated by this component.</li>
<li><strong><strong>show details:</strong></strong>It's a Boolean type, specifies whether it displays the detail position of the&nbsp;messages, by default its<strong>&nbsp;</strong><strong>false.</strong></li>
</ul>
<p><strong>13).&lt;Apex:Detail&gt;</strong></p>
<p style="padding-left: 30px;">This is a self sustained tag, this is a very powerful tag, this displays details page of a&nbsp;particular object. This component includes attributes for including or excluding the associated related lists,&nbsp;related lists hover links, and title bar that appear in the standard SF API.</p>
<p><strong>Attributes</strong></p>
<ul>
<li><strong>Inline Edit</strong>:&nbsp;It's a Boolean type, controls whether the component supports inline editing&nbsp;or not</li>
<li><strong>Related list:&nbsp;</strong>It's Boolean type, which specifies whether the related lists are included in&nbsp;the rendered component.</li>
<li><strong>Related list Hover:&nbsp;</strong>It's a Boolean type that specifies whether the related list hover links&nbsp;are included in the rendered component. Enable Related List Hover Links: Selected under setup/Customize /user interface.</li>
<li><strong>ID:</strong>&nbsp;It's a string type, indentifies that allows the detail component to be referenced by&nbsp;other component in the page.</li>
<li><strong>Rendered</strong><strong>:&nbsp;</strong>It's a Boolean value that specifies whether the component is rendered on the&nbsp;page, by default its true.</li>
<li><strong>Render:&nbsp;</strong>It's an object type, the ID of one or more components that redrawn when the&nbsp;result of an AJAX updates requested returns to the client. ***This will only works if inline Edit or show chatter are set to true.</li>
</ul>
<p><strong>14).&lt;Apex:panel Bar&gt;:</strong> This tag creates a panel bar on a VF page which can&nbsp;accommodate multiple panels. ***This can include up to 1, 0000 &gt;apex: panel Bar Item&gt; tags. This tag creates a pannel bar on a VF page which can accommodate multiple panels.&nbsp;Attributes:</p>
<ul>
<li><strong>Height:</strong>&nbsp;It's a string type, the height of the pannel bar when expanded, expressed either&nbsp;as a percentage of the available vertical space height="50" or height "200 px"s</li>
<li><strong>Switch type:&nbsp;</strong>It's a string type, the implementation method for switching between Pannel&nbsp;Bar Items. The possible values include; "client", "server" and ajax . The value; it's an object type the ID of the Pannel Bar is displayed.</li>
<li><strong>Var:</strong>&nbsp;It's a string type, the name of the variable that represents one element in the&nbsp;collection of data specified by the item attribute. We can then use this variable to display&nbsp;the element. Itself in the body of the Pannel Bar. Component tag.</li>
<li><strong>Width:&nbsp;</strong>Controls the width of the pannel bar, expressed either in percentages of the&nbsp;available horizontal space or as a number of pixels. If not specified default is ="100%".</li>
</ul>
<p><strong>15). &lt;apex:pannel baritem&gt;:</strong></p>
<p style="padding-left: 30px;">It's a section of &lt;apex: Pannel Bar &gt; That can expand or retract when a user clicks the&nbsp;section header, when expanded the header and the content of the &lt;apex: Panel Bar Item&gt;&nbsp;is displayed, when retracted, only the header of the &lt;apex: Panel Bar Item&gt; displays.</p>
<p><strong>Attributes</strong></p>
<ul>
<li><strong>Expanded:</strong>&nbsp;It's a Boolean type, that specifies whether the content of this : Panel Bar Item&nbsp;is displayed.</li>
<li><strong>Labelstyle :&nbsp;</strong>It's a string type, the text displayed as the header of the Panel Bar Item&nbsp;component.</li>
<li><strong>Onenter:&nbsp;</strong>It's a string type, JavaScript invoked when the Panel Bar Item is not selected&nbsp;and the user clicks on the component to select it.</li>
<li><strong>Onleave:&nbsp;</strong>It's a string type, JavaScript invoked when the user selects a different Panel Bar&nbsp;Item.</li>
</ul>
<p><strong>16).&lt;&nbsp;Apex:TabPanel&gt;:</strong> A page area that displays as a set of tabs. When is a user clicks a tab header, the tabs&nbsp;associated content displays binding the content of others tabs. Creates a Panel, which can accommodate multiple tabs. <strong>Attributes are</strong> <strong>Active tab Classes</strong> It's a string type its a style classes used to display a tab header in the&nbsp;tab panel when it is selected, used primarily to designate, which css styles are applied&nbsp;when using an external css style sheet. An HTML style name which controls the look and feel of the tab that is currently&nbsp;selected. <strong>Inactive Tab Class :&nbsp;</strong>Controls the look and feel of inactive tabs. <strong>Selected Tab:&nbsp;</strong>Name of the tab that should be first selected on displayed to the user when&nbsp;the page is first open . it will be the default tab when the page loads. Header Alignment: Left/Right. And we can adjust the spacing b/w tabs through header&nbsp;spacing. <strong>17).&lt;Apex:Tab&gt;:&nbsp;</strong> This component must be a child of an &lt;apex: tab panel&gt; <strong>Attributes are:</strong></p>
<ul>
<li><strong>id:&nbsp;</strong>It's a string type, an identifier that allows the tab component to be referenced by other&nbsp;component in the page.</li>
<li><strong>Immediate:&nbsp;</strong>It's a Boolean type, specifies whether the action associated with this&nbsp;component happen's immediately, without processing any validation rules associated&nbsp;with the fields on the page. If set to true, the action happen's immediately and validation rules are skipped, by default it's false. and support s all Java enabled tags such as onclick, on doubleclicks....</li>
</ul>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on Salesforce? Explore the blog post on <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce training and certification</a> to become a pro in Salesforce.</strong></em></pre>
<p><strong>Output Tags:</strong> 18) &lt;Apex: Output field value = "{!-----}"/&gt; 19) &lt;Apex: Output label value = "{! }"/&gt; 20) &lt;Apex: Output label value = "{! }"/&gt; 21) &lt;Apex: Output text value = "www.google.com" &gt; &lt;Apex: Output link&gt; To displays views: 22) &lt;Apex: List view value ="Standard/custom object"/&gt; 23) &lt;Apex: enhanced list type ="Standard/custom object"/&gt; 24) &lt; Apex: Sectioned header&gt;: A tittle bar for a page. In a standard salesforce.com page the title bar is a colored header&nbsp;displayed directly under. <strong>Attributes are :&nbsp;</strong>the tab bar.</p>
<ul>
<li><strong>Description:</strong>&nbsp;It's a string type, description text for the page that displays just under the&nbsp;colored title bar.</li>
<li><strong>Printer:</strong>&nbsp;It's a string type, the URL is printable view.</li>
<li><strong>Subtitle:</strong>&nbsp;The text displayed just under the main title in the colored title bar.</li>
</ul>
<p><strong>25). &lt;apex: Selected Checkboxes&gt;</strong> These are elements, displayed in a table. <strong>Attributes are</strong></p>
<ul>
<li><strong>access key:</strong>&nbsp;It's a string type, the keyboard access key that puts check boxes component in&nbsp;focus<strong>.</strong></li>
<li><strong>layout:&nbsp;</strong>It's a string type, the method for which check boxes should be displayed in the&nbsp;table&nbsp;value</li>
</ul>
<p>Possible values are: "Lines direction". Check boxes are horizontal "page direction"&nbsp;placed vertically. By default its value is "line direction" <strong>26). &lt;apex:selectlist&gt;:</strong> A list of options that allows users to select only one value or&nbsp;multiple values at a time, depending on the value of its multiselect attribute. <strong>Attributes are:&nbsp;</strong></p>
<ul>
<li><strong>Multiselect:</strong>&nbsp;It's a Boolean type, specifies whether the user's can select only one or more&nbsp;items from a list.</li>
<li><strong>tabindes:</strong>It's a string type, the order in which this select list component is selected&nbsp;compared to other page components when a user presses the tab key repeatedly. The value is an integer from 0-32767.</li>
</ul>
<p><strong>27). &lt;apex:select option&gt;</strong> The values are provided from &lt;apex: selected checkboxes &gt; or &lt;apex: Select List&gt; or&nbsp;&lt;apex : select radio&gt; component. It must be a child of one of the above component. The no. of checkboxes/Radio buttons/List values that are declared in logic (method apex)&nbsp;in the controller part. <strong>---&gt;</strong>&nbsp;Uses attributes discussed above. <strong>29). &lt;apex:selection&gt;:same as &lt;apex:selection&gt;</strong> Only we have 3 attributes: id, render, value <strong>30). &lt;apex:select radion&gt;</strong> A set of related radio button input elements, displayed in a table, unlike checkboxes, only&nbsp;one radio button can ever be selected at a time. Tags used to invoke Java script using AJAX request (A synchronous Java script and&nbsp;XML).&nbsp;And the tags are</p>
<h3><span style="color: #000000;"><strong>1).&lt;apex:action function&gt;</strong></span></h3>
<p>A component that provides support for invoking controller action method directly&nbsp;from&nbsp;JavaScript code using an AJAX request. An &lt;apex: action function&gt; it must be a child of&nbsp;&lt;apex: from&gt;. <strong>difference:&nbsp;</strong>&lt;apex: action support&gt;, supports invoking controllers action method from&nbsp;other VF components. (referenced by other components)&nbsp;&lt;apex: action function&gt; defines New JavaScript function which can then be called from&nbsp;within a block of JavaScript code. (within JavaScript )&gt;. <strong>Attributes are</strong></p>
<ul>
<li><strong>Action:&nbsp;</strong>This is Apex Pages. Action, type, the action method invoked when the action&nbsp;Function is called by a JavaScript event elsewhere in the page markup. We use merge&nbsp;field syntax to reference the method. If an action is not specified, the page simply refreshes.</li>
<li><strong>Name:&nbsp;</strong>It's a string type, the name of the JavaScript function, that when invoked yes,&nbsp;elsewhere in the page Markup, causes the method specified by the action attribute to&nbsp;execute. When the action method components specified by the rerender attributes will be&nbsp;refreshed.</li>
<li><strong>Render:</strong>&nbsp;It's an object type, the ID of one or more components that are redrawn when the&nbsp;result of the action method returns to the client.</li>
<li><strong>Status:</strong>The component which are redrawn when-separated lists of ID's, or a merge filed&nbsp;expression for a list or collection of ID's (These are displayed after the execution of the&nbsp;method).</li>
</ul>
<p>Render&nbsp;<strong>---&gt;</strong>before execution Render&nbsp;<strong>---&gt;</strong>&nbsp;after execution} &agrave; component displayed [1]  It's a string, the ID of an associated component that displays the status of an&nbsp;AJAX: update request. <strong>Timeout:&nbsp;</strong>It&rsquo;s an integer type, the amount of time (in milliseconds) before an AJAX&nbsp;update request should time out. <strong>Immediate</strong> A Boolean value that specifies whether the action associated with this&nbsp;component should happen immediately, w/o passing any validation rule associated with&nbsp;the fields on the page, if set to true. (Validations are skipped) by default its false. <strong>OnceComplete:</strong>It&rsquo;s a string type, this provides us with a name of the JavaScript file&nbsp;invoked when an event occurs. When AJAX request is processed.</p>
<h3><span style="color: #000000;"><strong>2).&lt;apex:action poller&gt;</strong></span></h3>
<p>It does a partial page refreshment based on time interval. The&nbsp;times sends an AJAX update request to the server according to a time interval that we&nbsp;specified. (don't use this with enhanced listing)&nbsp;&lt;apex :action poller&gt; is ever re-rendered as the request of another action, it resets itself. It should be within the &lt;apex: action region&gt;. <strong>Attributes are</strong></p>
<ul>
<li><strong>Action:&nbsp;A</strong>pexPage. Action, invoked by the periodic AJAX update request from the&nbsp;component, can use merge field syntax to reference a method.</li>
<li><strong>Action:</strong>&nbsp;"{!increment counter}" reference the incrementcounter () method in the&nbsp;controller. If action is not mentioned the page simply refreshes.</li>
<li><strong>Interval:&nbsp;</strong>Time interval between AJAX update request, in seconds here the updation can&nbsp;be done for multiple fields at a time. This can be written in action logic.</li>
</ul>
<h3><span style="color: #000000;"><strong>3).&lt;Apex:action region&gt;</strong></span></h3>
<p>This tag helps us to create a set of components which can be displayed whenever some&nbsp;Ajax up date is performed on a VF page. An area of a VF page that demonstrates which components should be processed by the&nbsp;Force.com server. Only the components inside &lt;apex: action region&gt; are processed by the server during an&nbsp;AJAX request. But it doesn't define the area (s) of the pages (s),( rendered) when the&nbsp;request completes . To controls the behavior, use the rerender attribute on an &lt;apex: action support&gt; &lt;Apex: action Poller &gt; &lt;Apex: Command Button&gt; &lt;apex: Command Link&gt; &lt;apex: tab &lt;apex: tab Pannel&gt;. <strong>Attributes are</strong> <strong>ID:</strong> It's a string type, it indentifies that allows the component to be referenced by other&nbsp;component in the page. <strong>Render region only</strong> It's a Boolean type, a Boolean value that specifies whether AJAXinvoked&nbsp;behaviour outside of the action region should be displayed when the action&nbsp;region is processed, if true.&nbsp;By default it&rsquo;s set to TRUE</p>
<h3><span style="color: #000000;"><strong>4).&lt;apex:Status Action&gt;:</strong></span></h3>
<p>A component that displays the status of AJAX update&nbsp;request. An AJAX request can either be in progress or complete. Message can be anything like inserting, updating completed, done -----etc. <strong>Attributes:&nbsp;</strong>It's a string type, the status text displayed at the start if AJAX request. the&nbsp;message to be displayed once the action is invoked or before the action is completed.</p>
<ul>
<li><strong>for:</strong>This is a string type, the ID of an action region component for which the status&nbsp;indicator is displaying status.</li>
<li><strong>id:</strong>allows the action status components to be referenced by other components in the&nbsp;page.</li>
<li><strong>Stop Text:</strong>The status text displayed when an AJAX request completes.</li>
</ul>
<h3><span style="color: #000000;"><strong>5).&lt;apex:action support&gt;:</strong></span></h3>
<p>A component that adds AJAX support to another component, allowing the component to&nbsp;be refreshed asynchronously by the server when a particular event occurs, such as button&nbsp;click or mouse over. <strong>Attributes are:&nbsp;</strong>(creates a set of components displayed whenever some update is&nbsp;performed on VF pages).</p>
<ul>
<li><strong>event:</strong>It's a string type, this is an JavaScript event that generates the AJAX request&nbsp;possible values are ("on blur", on change", "on click", "on bl click", "on focus", "on key&nbsp;down", "on key press'---------)</li>
<li><strong>focus:</strong>The id of the component that is in focus after the AJAX request completes.</li>
<li><strong>status:</strong>It's a string type, the ID of an associated component. That displays the status if&nbsp;AJAX update request.</li>
</ul>
<p><strong>Visual force scenarios:</strong> <strong>Visual force Page Scenario 1:</strong> Create the Visualforce page called &ldquo;Opportunity View&rdquo;with the following code and&nbsp;override with the &ldquo;New&rdquo; button on Opportunity Object.Result would be like once we&nbsp;click on the Opportunity tab and click on &ldquo;New&rdquo; button</p>
<pre style="padding-left: 30px;">&lt;apex:pagestandardController="Opportunity" sidebar="false" showHeader="true"&gt;
 &lt;apex:form&gt;
 &lt;apex:pageBlock title="Opportunity Detail"&gt;
 &lt;apex:pageBlockButtons&gt;
 &lt;apex:commandButton value="Save The Opportunity" action="{!Save}"/&gt;
 &lt;/apex:pageBlockButtons&gt;
 &lt;apex:pageBlockSection title="Opportunity Information 1" columns="2"
 collapsible="false"&gt;
 &lt;apex:inputField value="{!Opportunity.Name}"/&gt;
 &lt;apex:inputField value="{!Opportunity.Active__c}" required="true"/&gt;
 &lt;apex:inputField value="{!Opportunity.DeliveryInstallationStatus__c}"/&gt;
 &lt;apex:inputField value="{!Opportunity.TrackingNumber__c}"/&gt;
 &lt;apex:inputField value="{!Opportunity.CloseDate}"/&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;apex:pageBlockSection title="Opportunity Information 2" columns="2"
 collapsible="true"&gt;
 &lt;apex:inputField value="{!Opportunity.Description}"/&gt;
 &lt;apex:inputField value="{!Opportunity.LeadSource}"/&gt;
 &lt;apex:inputField value="{!Opportunity.NextStep}"/&gt;
 &lt;apex:inputFieldvalue="{!Opportunity.Type}"/&gt;
 &lt;apex:inputField value="{!Opportunity.StageName}"/&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<p><img class="aligncenter wp-image-3121" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/229-460x147.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="461" height="146" /> <img class="aligncenter wp-image-3122" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2112-460x169.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="464" height="170" /> Now click on the Opportunity tab and click on &ldquo;New&rdquo; button <img class="aligncenter wp-image-3123" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/237-460x156.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="469" height="158" /> <strong>Visualforce Page Scenario 2:</strong> <span style="color: #000000;"><strong>Write a visualforcepage to view the Account Related list as Tabs</strong></span></p>
<pre style="padding-left: 30px;">&lt;apex:pagestandardController="Account" showHeader="true" tabStyle="account"&gt;
 &lt;style&gt;
 activeTab {background-color: #236FBD; color:white;background-image:none}
 inactiveTab { background-color: lightgrey; color:black;background-image:none}&lt;/style&gt;
 &lt;apex:tabPanelswitchType="client" selectedTab="tabdetails"
 id="AccountTabPanel" tabClass="activeTab" inactiveTabClass="inactiveTab"&gt;
 &lt;apex:tab label="Details" name="AccDetails" id="tabdetails"&gt;
 &lt;apex:detailrelatedList="false" title="true"/&gt;
 &lt;/apex:tab&gt;
 &lt;apex:tablabel="Contacts" name="Contacts" id="tabContact"&gt;
 &lt;apex:relatedList subject="{!account}" list="contacts" /&gt;
 &lt;/apex:tab&gt;
 &lt;apex:tablabel="Opportunities" name="Opportunities" id="tabOpp"&gt;
 &lt;apex:relatedList subject="{!account}" list="opportunities" /&gt;
 &lt;/apex:tab&gt;
 &lt;apex:tablabel="Open Activities" name="OpenActivities" id="tabOpenAct"&gt;
 &lt;apex:relatedList subject="{!account}" list="OpenActivities" /&gt;
 &lt;/apex:tab&gt;
 &lt;apex:tab label="Notes and Attachments" name="NotesAndAttachments"
 id="tabNoteAtt"&gt;
 &lt;apex:relatedList subject="{!account}" list="NotesAndAttachments" /&gt;
 &lt;/apex:tab&gt;
 &lt;/apex:tabPanel&gt;
 &lt;/apex:page&gt;</pre>
<p>Create the button called &ldquo;Tabbed Account&rdquo; on the Account object. While creating button,&nbsp;select &ldquo;OnClick Java Script&rdquo; as the Content Source and write the following code <strong>parent.window.location.replace ("/apex/RelatedListAsTabsDisplay?id={!Account.Id}");</strong> <strong>Note:&nbsp;</strong>RelatedListAsTabsDisplay <strong>--&gt;</strong> Visualforce Page Nam&gt; <img class="aligncenter wp-image-3124" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/247-460x68.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="484" height="71" /> Once we click on &ldquo;Tabbed Button&rdquo;, we will get the following screen.</p>
<ul>
<li>Click on Details tab<strong>&nbsp;--&gt;t</strong>o open Detail page</li>
<li>Click on Contacts tab<strong>&nbsp;--&gt;t</strong>to open the Contacts related list and</li>
</ul>
<p>same for Opportunities, Open Activities and&nbsp;Notes and Attachments <img class="aligncenter wp-image-3125" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/257-460x78.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="516" height="86" /> &nbsp; <strong>Explanation:</strong> In the 1st step starts with pagetag, here it includes&nbsp;standardController=&rdquo;ACCOUNT&rdquo;, and the header will be enabled, and tab style will be of account.</p>
<ul>
<li>&lt;Style&gt; is used to include STYLE SHEETS, here we used them to disply the&nbsp;ACTIVE AND INACTIVE tabs. ACTIVE is: BLUE COLRED And INACTIVE: Grey in color.</li>
<li>We are taking a tab panel which consists of all the tabs of account</li>
<li>SwitchType: The implementation method for switching between tabs specifies the&nbsp;general operation is between CLIENT and Server.</li>
<li>SELECTED TAB:The name of the default selected tab when the page loads. &lt;apex:tab&gt; defines the tab name, label and id.</li>
<li>&lt;apex;detail/&gt; this is a self sustained tag gives the detail page of each account tab&nbsp;selected and the attribute RELATED list can be a Boolean one.</li>
<li>&lt;apex:related list&gt; in this we used SUBJECT and LIST.</li>
</ul>
<p>The attribute Subject specifies the parent record from which the data or the related&nbsp;list has to be mentioned in your case it&rsquo;s ACCOUNT. LIST: name of the child that should be appeared on the tab CHILDS of account.. <strong>Note:&nbsp;</strong>Redirecting the visualforcepage to the listviewpage using single tag.</p>
<pre><strong>&lt;apex:page action="{!URLFOR($Action.Account.List,$ObjectType.Account)}"/&gt;</strong></pre>
<p><strong>Visualforce Scenario 3:</strong> The followingvisualforce page displays the Contacts for particular account in a separate&nbsp;window as the table (format is standard salesforce page) Page Name=&rdquo;ContactsForAccount&rdquo;</p>
<pre>&lt;apex:pagestandardController="Account"&gt;
 &lt;apex:pageBlock title="Hello {!$User.FirstName} {!$User.LastName}!"&gt;
 We are viewing the Contacts for this &lt;b&gt;{!account.name}&lt;/b&gt; Account.
 &lt;/apex:pageBlock&gt;
 &lt;apex:pageBlock title="Contacts"&gt;
 &lt;apex:pageBlockTable value="{!account.Contacts}" var="con"&gt;
 &lt;apex:column value="{!con.Name}"/&gt;
 &lt;apex:column value="{!con.Lastname}"/&gt;
 &lt;apex:column value="{!con.Phone}"/&gt;
 &lt;apex:column value="{!con.Title}"/&gt;
 &lt;/apex:pageBlockTable&gt;
 &lt;/apex:pageBlock&gt;
&lt;/apex:page&gt;</pre>
<p>Create the button called &ldquo;ContactsForAccount&rdquo; on Account Object and override above&nbsp;visualforce page with this button. <img class="aligncenter wp-image-3127" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/267-460x220.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="501" height="239" /> <img class="aligncenter wp-image-3128" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/277-460x102.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="527" height="116" /> <img class="aligncenter wp-image-3129" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/287-460x103.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="533" height="119" /> &nbsp; <strong>Explination:</strong></p>
<ul>
<li>Starting tag for a visualforcepage is &lt;apex:page&gt; and this follows standard object&nbsp;ACCOUNT.</li>
<li>Forming a new page block which gives the user name and Account holder name.</li>
<li>Forming a new page block with title as CONTACTS.</li>
<li>And then retrieving the contact fields using account and the field label are shown&nbsp;as column headers.</li>
</ul>
<p><strong>Visualforce Scenario 4:</strong> Create the Visualforce page with the following code. This is the example for custom&nbsp;controller.</p>
<pre style="padding-left: 30px;">Page Name=&rdquo;PageReference&rdquo;
 &lt;apex:page controller="MyCustomController" tabStyle="Account"&gt;
 &lt;apex:form&gt;
 &lt;apex:pageBlock title="Account Detail"&gt;
 &lt;apex:pageblockSection title="Account Information" &gt;
 &lt;apex:inputField value="{!account.Name}"/&gt;
 &lt;apex:inputField value="{!account.Phone}"/&gt;
 &lt;apex:inputField value="{!account.Industry}"/&gt;
 &lt;apex:inputField value="{!account.Rating}"/&gt;
 &lt;apex:inputField value="{!account.Website}"/&gt;
 &lt;apex:inputField value="{!account.Active__c}"/&gt;
 &lt;/apex:pageblockSection&gt;
 &lt;apex:pageblockSection title="Account Detail" &gt;
 &lt;apex:inputField value="{!account.BillingCity}"/&gt;
 &lt;apex:inputField value="{!account.BillingCountry}"/&gt;
 &lt;apex:inputField value="{!account.Description}"/&gt;
 &lt;apex:inputField value="{!account.Fax}"/&gt;
 &lt;apex:inputField value="{!account.ShippingCity}"/&gt;
 &lt;apex:inputField value="{!account.ShippingCountry}"/&gt;
 &lt;apex:inputField value="{!account.AnnualRevenue}"/&gt;
 &lt;/apex:pageblockSection&gt;
 &lt;apex:pageBlockButtons&gt;
 &lt;apex:commandButton action="{!saveMethod}" value="Save the Page"/&gt;
 &lt;/apex:pageBlockButtons&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<p><strong>My Custom Controller Class:</strong></p>
<pre>public class MyCustomController{
 Public Account acc;
 public MyCustomController(){
acc = [select id,Name,Phone,Industry,Website,Active__c,Rating,BillingCity,Description,Fax,
 ShippingCity,AnnualRevenue,BillingCountry,ShippingCountry from Account&nbsp;where
 id=:ApexPages.currentPage().getParameters().get('Id')];
 }
 public Account getAccount() {
 return acc;
 }
 public PageReference saveMethod() {
 update acc;
 PageReference pageRef = new ApexPages.StandardController(acc).view();
 return pageRef;
 }
 }</pre>
<p>Create the &ldquo;Detail Page Link&rdquo; with the name &ldquo;PageReference&rdquo; on Account Object. While&nbsp;creating select &ldquo;Execute JavaScript&rdquo; as the behavior and &ldquo;onClick JavaScript&rdquo; as the&nbsp;Content Source <strong>parent.window.location.replace("/apex/PageReference?id={!Account.id}");</strong> <img class="aligncenter wp-image-3133" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/297-460x143.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="542" height="168" /> Add the PageReference link to the Account Layout <img class="aligncenter wp-image-3134" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/307-460x54.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="463" height="54" /> <img class="aligncenter wp-image-3135" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3110-460x166.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="417" height="150" /> Update the field values then click on &ldquo;Save the Page&rdquo; button in the above window,we&nbsp;will get the Standard Account detail page <strong>Visualforce Senarion 5:</strong></p>
<pre style="padding-left: 30px;">Create the Visualforce page with the following code. This is the example for custom&nbsp;controller.
 Page Name=&rdquo;WithoutPageReference&rdquo;
 &lt;apex:page controller="MySecondController" tabStyle="Opportunity"&gt;
 &lt;apex:form&gt;
 &lt;apex:pageBlock title="Opportunity Detail"&gt;
 &lt;apex:pageBlockButtons&gt;
 &lt;apex:commandButton value="Save The Opportunity" action="{!saveMethod}"/&gt;
 &lt;/apex:pageBlockButtons&gt;
 &lt;apex:pageBlockSection title="Opportunity Information" columns="2"
 collapsible="false"&gt;
 &lt;apex:inputField value="{!Opportunity .Name}"/&gt;
 &lt;apex:inputField value="{!Opportunity .DeliveryInstallationStatus__c}"/&gt;
 &lt;apex:inputField value="{!Opportunity .TrackingNumber__c}"/&gt;
 &lt;apex:inputField value="{!Opportunity .CloseDate}"/&gt;
 &lt;/apex:pageBlockSection&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<p><strong>My second Controller class:</strong></p>
<pre style="padding-left: 30px;">public class MySecondController {
 Public Opportunity opp;
 public MySecondController(){
 opp= [select id,Name,DeliveryInstallationStatus__c,TrackingNumber__c,CloseDate fr
 om Opportunity where id=:ApexPages.currentPage().getParameters().get('Id')];
 }
 public Opportunity getOpportunity () {
 return opp;
 }
 public PageReference SaveMethod() {
 update opp;
 return null;
 }
 }</pre>
<p>Create the &ldquo;Detail Page Link&rdquo; with the name &ldquo;WithoutPageReference&rdquo; on Opportunity&nbsp;Object. While creating select &ldquo;Execute JavaScript&rdquo; as the behavior and &ldquo;onClick&nbsp;JavaScript&rdquo; as the Content Source&nbsp;Follow the java script to call a visualforce page <strong>parent.window.location.replace("/apex/WithoutPageReference?id={!Opportinuty}.id}");</strong> <img class="aligncenter wp-image-3143" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/366-460x144.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="490" height="152" /> Go to Opportunity detail page and click on the WithoutPageRef link <img class="aligncenter wp-image-3144" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/378-460x63.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="446" height="61" /> Update the field values in the following window and click on &ldquo;Save The Opportunity&rdquo;&nbsp;button, then values will be updated but redirects to the same page but not to the&nbsp;opportunity detail page <img class="aligncenter wp-image-3145" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/387-460x88.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="432" height="82" /> <strong>Visualforce Senarion 6:</strong> Before we have written trigger saying that when the Contact is created by checking&nbsp;Contact Relationship checkbox, then Contact Relationship will be created for that contact&nbsp;automatically. Create the visualforce page with the following code. Create the button called "Create&nbsp;Multiple Contact Relationship "on Account object and once we click on this button on&nbsp;account detail page, then Contacts will be populated which don't have Contact&nbsp;Relationships. <strong>Visualforce Code:</strong></p>
<h3><span style="color: #000000;"><strong>Page Name="ContactRelationShips"</strong></span></h3>
<pre style="padding-left: 30px;">&lt;apex:pagestandardController="Account" extensions="MultipleContactRelationships"
 sidebar="false" showHeader="false"&gt;
 &lt;apex:form&gt;
 &lt;apex:pageBlock&gt;
 &lt;apex:sectionHeader title="Contacts" /&gt;
 &lt;center&gt;
 &lt;apex:commandButton value="Create Contact Relationship"/&gt;
 &lt;/center&gt;
 &lt;apex:pageBlockTable value="{!Conres}" var="CR" cellPadding="40"&gt;
 &lt;apex:columnheaderValue="Action" &gt;
 &lt;apex:facet name="header"&gt;Action&lt;/apex:facet&gt;
&lt;apex:inputCheckbox&gt;
 &lt;/apex:inputCheckbox&gt;
 &lt;/apex:column&gt;
 &lt;apex:column&gt;
 &lt;apex:facet name="header"&gt;Contact Name&lt;/apex:facet&gt;
 &lt;apex:outputText value="{!CR.Name}" /&gt;
 &lt;/apex:column&gt;
 &lt;apex:column&gt;
 &lt;apex:facet name="header"&gt;Title&lt;/apex:facet&gt;
 &lt;apex:outputText value="{!CR.Title}" /&gt;
 &lt;/apex:column&gt;
 &lt;apex:column&gt;
 &lt;apex:facet name="header"&gt;Email&lt;/apex:facet&gt;
 &lt;apex:outputText value="{!CR.Email}" /&gt;
 &lt;/apex:column&gt;
 &lt;apex:column&gt;
 &lt;apex:facet name="header"&gt;Phone&lt;/apex:facet&gt;
 &lt;apex:outputText value="{!CR.Phone}" /&gt;
 &lt;/apex:column&gt;
 &lt;/apex:pageBlockTable&gt;
 &lt;/apex:pageBlock&gt;
 &lt;/apex:form&gt;
 &lt;/apex:page&gt;</pre>
<h3><span style="color: #000000;"><strong>MultipleContactRelationships Class:</strong></span></h3>
<pre style="padding-left: 30px;">public with sharing class MultipleContactRelationships {
 public MultipleContactRelationships(ApexPages.StandardController controller) {
 }
 public List&lt;Contact&gt; ContactList{get;set;}
 Public List&lt;Contact&gt;getConres()
 {
 Contact c = new Contact();
 ContactList=[select id, Name,Title,Email,Phone from Contact where Accountid=:ApexPa
 ges.currentPage().getParameters().get('id') and Contact_Relationship__c=true ];
 system.debug('********'+ ContactList);
 return ContactList;
}
}</pre>
<p><strong>Button Creation:</strong> Create the button called "Create Multiple Contact Relationship" on Account Object with&nbsp;the following Java Script <strong>Parent.window.location.replace("/apex/ContactRelationShips?id={!Account.id}");</strong> <img class="aligncenter wp-image-3146" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/397-460x143.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="484" height="150" /> <img class="aligncenter wp-image-3148" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/407-460x125.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="493" height="133" /> The following window will come when we click on "Create Multiple Contact&nbsp;Relationship" on the above window <img class="aligncenter wp-image-3149" title="Salesforce Training-Tags used to Create VISUALFORCE Pages" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4111-460x57.png" alt="Salesforce Training-Tags used to Create VISUALFORCE Pages" width="438" height="54" /></p>
<h3><strong>For indepth understandingng on Salesforce click on</strong></h3>
<ul>
<li><a href="https://tekslate.com/tutorials/salesforce-crm/" target="_blank" rel="noopener">Salesforce Tutorials</a></li>
<li><a href="https://tekslate.com/salesforce-interview-questions-answers" target="_blank" rel="noopener">SalesForce Interview Questions &amp; Answers</a></li>
<li><a href="https://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in SalesForce</a></li>
<li><a href="https://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in SalesForce</a></li>
<li><a href="https://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li><a href="https://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="https://tekslate.com/salesforce-wave-analytics-training/">Salesforce Wave Analytics Training In San Jose</a></li>
</ul>8d:T89f,<h2><strong><span style="color: #000000;">Introduction to VisualForce in Salesforce:</span></strong></h2>
<p><a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">Salesforce.com </a>has created a comprehensive platform for building on demand applications .like other sophisticated application developer's platform's the&nbsp;force.com platform offer's separate tools for defining.</p>
<ul>
<li>The structure of data&nbsp;<strong>---&gt;</strong> DATA MODEL</li>
<li>The rules that detail how the data can be manipulated BUSINESS&nbsp;LOGIC</li>
<li>The layout that specifies how data should be displayed THE USER&nbsp;INTERFACE</li>
</ul>
<p>This splitting up application development tools based on the above is known as MVC&nbsp;(<a href="https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller" target="_blank" rel="noopener">Model View Control</a>) application development pattern.</p>
<ul>
<li>Model&nbsp;<strong>---&gt;</strong> data model</li>
<li>View &nbsp;<strong>---&gt;</strong> user interface</li>
<li>Controller &nbsp;<strong>---&gt;</strong> Business logic</li>
</ul>
<p>While the tools for building the data model and business logic for applications are&nbsp;powerful solutions that run natively on force.com platform servers, the existing tool's for&nbsp;defining user interface's have certain limitations.</p>
<pre style="padding-left: 30px;"><em><strong>Enthusiastic about exploring the skill set of Salesforce?Then, have a look at the <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Training Online</a> to gather additional knowledge.</strong></em></pre>
<h3><span style="color: #000000;"><strong>The Limitations are Page Layouts:</strong></span></h3>
<p>It&rsquo;s a point and click tool that allows applications developer to organic&nbsp;fields, buttons and related lists on record detail pages, doesn't provide much flexibility in&nbsp;how sets of information can be displayed. <strong>Like</strong> Field must always appear above related lists</p>
<ul>
<li>Button's must appear below the fields (above)</li>
<li>And S.Control's and custom link's can only be placed in particular areas</li>
</ul>8e:T1020,<h2><span style="color: #000000;"><strong>Apex Scheduler in Salesforce</strong></span></h2>
<p>Apex scheduler is helpful to invoke apex classes to run at specific times, first implenent&nbsp;the &ldquo;schedulable&rdquo; interface for the class, then specify the schedule using either the&nbsp;schedule apex page in the salesforce user interfaces, or the system schedule method. <strong>Note</strong>:-&nbsp;<a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">Salesforce </a>only adds the process to the queue at the scheduled time actual&nbsp;execution may be delayed based on service availability. We can only have 25 classes scheduled at one time we can evaluate current by&nbsp;viewing the scheduled jobs page. Go to the following path to view the scheduled jobs. Your Name<strong>&nbsp;---&gt;&nbsp;</strong>Setup<strong>&nbsp;---&gt;&nbsp;</strong>Administration setup<strong>&nbsp;---&gt;&nbsp;</strong>Monitoring<strong>&nbsp;---&gt;&nbsp;</strong>Schedule Jobs</p>
<pre style="text-align: center;"><em><strong>Aspired to become an Salesforce? Explore the post to discover the know-hows on <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Training Manual</a>.</strong></em></pre>
<h3><span style="color: #000000;"><strong>Implementing the Schedulable Interface:-</strong></span></h3>
<p>To schedule an apex class to run at regular intervals, first write an apex class that implements the interface schedulable (<a href="https://tekslate.com/salesforce-interview-questions-answers" target="_blank" rel="noopener">Salesforce Provided</a>) The Schedulable interface contains one method that must be implemented &ldquo;execute&rdquo;</p>
<pre><strong>EX:-&nbsp;</strong>Global void execute (Schedulable Context sc) {
 }</pre>
<p>The following example implements the schedulable interface for a class called helloworld <strong>EX:-&nbsp;</strong></p>
<pre style="padding-left: 30px;">Global class schedule helloworld implements schedulable { global void execute
 (schedulable context sc)
 {
 Helloworld hw = new helloworld ( ) ;
 }
 }</pre>
<p><strong>To schedulable jobs using the apex scheduler:-</strong> Click your Name &rarr; setup Apex classes</p>
<ul>
<li>Click on schedule apex button</li>
<li>Specify the name of a class that we want to schedule</li>
<li>Specify the how often the apex class is run.</li>
</ul>
<p style="padding-left: 60px;">For Weekly &rarr; Specify one or more days of the week the job is to run ( such as Monday&nbsp;and Wednesday )</p>
<p style="padding-left: 60px;">For Monthly &rarr; Specify either the date the job is to run or the day ( such as second&nbsp;Saturday of every month) Specify the start and end dates for the apex scheduled class. If we specify a single day the&nbsp;job only runs once.</p>
<ul>
<li>Specify a preferred start time. The exact time the job starts depends on what jobs are in the queue at that time.</li>
<li>Click &ldquo;Save&rdquo; button.</li>
</ul>
<p>Standard Apex Schedular with Account Creation Class :</p>
<pre style="padding-left: 30px;">global class CreateAccountSchedule implements Schedulable
 {
 global void execute(SchedulableContext SC)
 {
 Account_Creation ac = new Account_Creation();
 ac.Create_Account('Osmania University', '9052');
 }
 }</pre>
<h3>For indepth understanding of Salesforce click on</h3>
<ul>
<li><a href="https://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in Salesforce</a></li>
<li><a href="https://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in Salesforce</a></li>
<li><a href="https://tekslate.com/salesforce-crm-introduction-apex/" target="_blank" rel="noopener">Introduction to Apex</a></li>
<li><a href="https://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li><a href="https://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="https://tekslate.com/salesforce-wave-analytics-training/">Salesforce Wave Analytics Training In Chicago</a></li>
</ul>8f:T1453,<h2><span style="color: #000000;"><strong>Understanding Testing in Apex:</strong></span></h2>
<p style="text-align: justify;">Testing is the key to successful long term development and is a critical component of the&nbsp;development process. And testing is key to the success of application particularly if&nbsp;application to be deployed to customers.</p>
<p style="text-align: justify;">If we validate that application works as expected, that there are no unexpected behaviors,&nbsp;then application will run for longtime.</p>
<p style="text-align: justify;">There are two ways of testing an application.</p>
<ul>
<li style="text-align: justify;">One is through the<a href="https://tekslate.com/salesforce-interview-questions-answers" target="_blank" rel="noopener"> salesforce </a>user interfaces (testing with a single record)</li>
<li style="text-align: justify;">The other way is to test for build functionality i.e testing with bulk records by&nbsp;using apex data loader up to 200 records can be passed through code.</li>
<li style="text-align: justify;">Before we can deploy code or package into production, the following must be&nbsp;true.</li>
</ul>
<pre style="text-align: center;"><em><strong>Check out the top <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce</a> Interview Questions now!</strong></em></pre>
<p style="text-align: justify;">&rarr; 75 % of apex code must be covered by unit tests. All of those tests must&nbsp;complete successfully. &rarr; When deploying to a production organization we need to have 75% of apex&nbsp;code covered by tests.</p>
<p style="text-align: justify;"><strong>Note:&nbsp;</strong>&nbsp;Our focus should not be on the percentage of code that is covered instead we&nbsp;make sure that every use of application is covered including positive and negative cases,&nbsp;as well as bulk and single record. This should lead to 75% or more of code being covered by unit test.</p>
<p><strong>Note:&nbsp;</strong></p>
<ul>
<li style="text-align: justify;">Calls to system debug are not counted as part of <a href="https://tekslate.com/batch-apex-salesforce/" target="_blank" rel="noopener">apex </a>code coverage.</li>
<li style="text-align: justify;">When we deploying apex code from one sandbox to another sandbox then we no&nbsp;need of any <a href="https://tekslate.com/tutorials/oracle-apex/" target="_blank" rel="noopener">apex code </a>coverage, i.e no need to write any test classes.</li>
<li style="text-align: justify;">When we deploying apex code from one sandbox to production organization then we&nbsp;need to have at least 75% of code coverage, i.e we need to write test classes with&nbsp;minimum code coverage of 75%</li>
</ul>
<h3><span style="color: #000000;"><strong>What to Test In Apex:</strong></span></h3>
<p style="text-align: justify;"><a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">Salesforce.com </a>recommends the following components need to&nbsp;test.</p>
<ul>
<li style="text-align: justify;">Single records</li>
<li style="text-align: justify;">Bulk records</li>
<li style="text-align: justify;">Positive scenarios</li>
<li style="text-align: justify;">Negative scenarios</li>
<li style="text-align: justify;">Restricted user</li>
</ul>
<p><strong>1. Single Records:</strong></p>
<p style="padding-left: 30px; text-align: justify;">This includes testing to verify that a single record produces the correct, expected result</p>
<p><strong>2. Bulk Records:-</strong></p>
<p style="padding-left: 30px; text-align: justify;">Any apex code, whether a triggers, a class or on extension may be used for 1 to 200&nbsp;records we must test not only the single record case, but the bulk cases as well.</p>
<p><strong>3. Positive scenarios:-</strong></p>
<p style="padding-left: 30px; text-align: justify;">This type of component testing expect a system to save a record without error.</p>
<p><strong>4. Negative scenarios:-</strong></p>
<p style="padding-left: 30px; text-align: justify;">This type of component testing expect a system to give error.</p>
<p><strong>5. Restricted User:-</strong></p>
<p style="padding-left: 30px; text-align: justify;">Test whether a user with restricted access to the objects used in code sees the expected&nbsp;behavior, i.e whether they can run the code or receive error messages.</p>
<p><strong>For indepth understanding of Salesforce click on</strong></p>
<ul>
<li><a href="https://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in Salesforce</a></li>
<li><a href="https://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in Salesforce</a></li>
<li><a href="https://tekslate.com/salesforce-crm-introduction-apex/" target="_blank" rel="noopener">Introduction to Apex</a></li>
<li><a href="https://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li><a href="https://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="https://tekslate.com/salesforce-wave-analytics-training/">Salesforce Wave Analytics Training In Bangalore</a></li>
</ul>90:T6ef,<h2><span style="color: #000000;"><strong>Governors Limit in Salesforce</strong></span></h2>
<p>Because apex runs in a <a href="https://en.wikipedia.org/wiki/Multitenancy" target="_blank" rel="noopener">multitenant</a> environment. The apex runtime engine strictly&nbsp;enforce a number of limits its that runaway apex. These limits are called Governor&nbsp;limits. If some apex code ever exceeds a limit, the associated governor issues a runtime&nbsp;exception that can not be handled. <img class="aligncenter wp-image-2968 size-full" title="Salesforce Online Training-Governors Limits" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/178.png" alt="Salesforce Online Training" width="406" height="326" /> Shared Database Metadata &rarr; The data which is .xml format. If we create anything like fields objects then these data will be stored as metadata&nbsp;(.xml format) into the database.</p>
<pre style="text-align: center;"><em><strong>Aspired to become an Salesforce? Explore the post to discover the know-hows on <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Online Training</a>.</strong></em></pre>
<p><strong>The Limits are:</strong></p>
<ul>
<li>Total number of SOQL queries issued &rarr; 100</li>
<li>Total number of records retrieved by SOQL Queries &rarr; 50,000</li>
<li>Total number of SOSL queries issued &rarr; 20</li>
<li>Total number of records retrieved by single SOSL query &rarr; 200</li>
<li>Total number of DML statements issued &rarr; 150</li>
<li>Total heap size &rarr; 6 MB</li>
<li>Total number of methods with the future annotation allowed per apex &rarr; 10</li>
<li>Total number of classes that can be scheduled concurrently &rarr; 25</li>
</ul>
<p>&nbsp;</p>91:T1b01,<h3><span style="color: #000000;"><strong>Triggers:-</strong></span></h3>
<ul>
<li>Apex can be in invoked through the use of triggers.</li>
</ul>
<ul>
<li>A Trigger are functional actions which gets fired on particular events.</li>
</ul>
<p>That is Data can flow into Data.com at any time. Triggers will happen before records entering into the database and while going out of the database. <strong>Note:-</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Each event is the firing Point. *onclick *Submit * A Trigger is Apex code that execute before or after the following types of operations.</p>
<ul>
<li>Insert</li>
<li>Update *Delete</li>
<li>Undelete</li>
</ul>
<p>We can have a trigger run before an Object's records are inserted into the database, after records have been deleted, or even after a record is restored from the Recycle BIN. * Triggers can be divided into two types.</p>
<ul>
<li>Before triggers can be used to update or validate record values before they are saved to the DataBase.</li>
<li>After triggers can be used to access field values that are set by the database, and to affect changes in other records.</li>
</ul>
<p><strong>Events:- </strong><strong>&nbsp;</strong>Each event is the firing point events are formation of</p>
<table style="height: 71px;" width="788">
<tbody>
<tr>
<td width="132">Before Insert</td>
<td width="170">Before Update</td>
<td width="155">Before delete</td>
<td width="142">After Undelete</td>
</tr>
<tr>
<td width="132">After insert</td>
<td width="170">After Update</td>
<td width="155">After Delete</td>
<td width="142">&nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<pre style="text-align: center;"><em><strong>These core tutorials will help you to learn the fundamentals of Salesforce. For an in-depth understanding and gain 
practical experience, &nbsp;explore <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Online Salesforce&nbsp;Training</a>.</strong></em></pre>
<p><strong> Note:- </strong>*Before insert Trigger are used mainly for validation rules. Before insert &agrave;Data screening <strong>---&gt;</strong>Data Insert *After insert triggers are used mainly for WorkFlow Rules.</p>
<h3><span style="color: #000000;"><strong>Trigger Syntax:- </strong></span></h3>
<p>To define a Trigger, use the following syntax</p>
<pre style="padding-left: 30px;">Trigger TriggerName on ObjectName(trigger-events) {
Code Block;
}</pre>
<p>Where trigger-events can be comma- separated list of one or more of the following events.</p>
<ul>
<li>Before Insert</li>
<li>After insert</li>
<li>After Update</li>
<li>Before Update</li>
<li>Before delete</li>
<li>After Delete</li>
<li>After Undelete</li>
</ul>
<p><strong>EX:- &nbsp;</strong>The following code defines a trigger for the before insert and before update events on the Account object.</p>
<pre>Trigger Account _Trigger on Account (before insert, Before Update) {
------
-----
}</pre>
<p>All triggers define implicit variables that allow&nbsp;developers to access run time context. These variables are contained in the&nbsp;system.Trigger class.</p>
<ul>
<li><strong>Trigger.New:-</strong> Trigger.new returns a list of&nbsp;the new records of the Sobjects which we are going to insert into the database.&nbsp; This SObject list is only available in insert and Update triggers,&nbsp;and the records can only be modified in before triggers.</li>
<li><strong>Trigger.old:-</strong> Trigger.old returns a list of old&nbsp;records of the Sobjects from the database. Note:- This Sobject list is only available in update and delete triggers.</li>
<li><strong>Trigger.NewMap:-</strong> Trigger newMap returns&nbsp;a map of IDs to the new records of the Sobjects. Note:- This map is only available in before update, After insert, and after&nbsp;update triggers.</li>
<li><strong>Trigger.OldMap:-</strong> Trigger.OldMap returns a&nbsp;map of ids to the old records of the SObjects.</li>
<li><strong>Trigger.isAfter:-</strong> Trigger.isAfter context&nbsp;variable return true if this trigger was fired after all the records we saved.</li>
<li><strong>Trigger.isBefore:-</strong> This context variable&nbsp;returns true if trigger was fired before any record was saved.</li>
<li><strong>Trigger.is Insert:-</strong> This context variable&nbsp;returns true if the trigger was fired due to an insert operation.</li>
<li><strong>Trigger .is Update:</strong>- This context variable&nbsp;returns true if the trigger was fired due to an update operation.</li>
<li><strong>Trigger .is Delete: -</strong> This context variable returns true if trigger was fired&nbsp;due to a delete operation.</li>
<li><strong>Trigger is Undelete:-</strong> This context variable returns true if trigger was fired&nbsp;ofte a record is recovered from the recycle bin</li>
</ul>
<p><strong>Note:-</strong>Trigger are object specific</p>
<h3><strong>&nbsp;<span style="color: #000000;">Context variable Consideration:-</span></strong></h3>
<ul>
<li>Trigger.new and trigger.old cannot be used in apex DML operations.</li>
<li>We can use on object to change its own field values using trigger.new, but only in before triggers. In all after triggers, triggers.new is not saved so runtime exception is thrown.</li>
<li>Trigger.old is always read-only. &middot; We can not delete trigger.new.</li>
<li>Before insert ==&gt; Trigger.new allowed.</li>
<li>In after insert triggers ==&gt; Trigger.new not allowed.</li>
<li>Trigger.new is not available in before delete triggers.</li>
<li>Trigger.old is not available after undelete triggers.</li>
</ul>
<h3><span style="color: #000000;"><strong>Bulk Triggers:-</strong></span></h3>
<p>All triggers are bulk triggers by default and can process multiple records at a time. We should always plan on processing, more than one record at a time. When we are uploading bulk records using the data loader, then also triggers will fire for all records at a time.</p>
<h3><strong>For indepth understandingng on Salesforce click on</strong></h3>
<ul>
<li><a href="https://tekslate.com/tutorials/salesforce-crm/" target="_blank" rel="noopener">Salesforce Tutorials</a></li>
<li><a href="https://tekslate.com/salesforce-interview-questions-answers" target="_blank" rel="noopener">SalesForce Interview Questions &amp; Answers</a></li>
<li><a href="https://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in SalesForce</a></li>
<li><a href="https://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in SalesForce</a></li>
<li><a href="https://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li><a href="https://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="https://tekslate.com/salesforce-lightning-training/">Salesforce Lightning Training In Dallas</a></li>
</ul>92:Td9b,<h2><span style="color: #000000;"><strong>Sample Relationship Queries in Salesforce</strong></span></h2>
<h3><span style="color: #000000;"><strong>Updating Child - parent Relationship for standard objects:</strong></span></h3>
<pre>list&lt;Contact&gt; c=&ldquo;Select LastName, Account.Name From Contact where name like '%red%'&ldquo;;
for(Contact ct : c)
{
ct.Account.Industry='Banking'; ct.account.Rating = 'Hot'; update c.account;
}</pre>
<h3><span style="color: #000000;"><strong>&nbsp;Updating parent - Child Relationship for standard objects:</strong></span></h3>
<pre style="padding-left: 30px;">List&lt;Account&gt; a = &ldquo;Select Name,(Select FirstName,LastName from Account.Contacts) From Account where Name='Account1'&ldquo;;
System.debug('The Account Records are' +a);
for(Account acc1:a)
{
for(Contact c:acc1.Contacts)
{
c.FirstName='Anil';
c.lastName='Reddy';
update c;
System.debug ('The Updated Contacts are' +c);
}
}</pre>
<h3><span style="color: #000000;"><strong>Fetching Child - Parent Relationship for Custom objects:</strong></span></h3>
<pre>Patient__C pt = &ldquo;select name , medical__r.name from patient__C where id='a0190000002wRdn'&ldquo;;
System.debug('Patient Records '+ pt);
System.debug('Doctor Records '+pt.medical__R.Name);
list&lt;patient__C&gt; pt = &ldquo;select name , Medical__r.name from patient__C where name like 'sath%'&ldquo;;
System.debug('Patient Records '+ pt); for(patient__c pt1 :pt)
{
system.debug('medical Records Are ' + pt1) ;
}</pre>
<pre style="text-align: center; padding-left: 30px;"><em><strong>Aspired to become an Salesforce? Explore the post to discover the know-hows on <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Training and Architecture</a>.</strong></em></pre>
<h3><span style="color: #000000;"><strong>Updating Child - parent Relationship for Custom objects:</strong></span></h3>
<pre>Patient__C pt = &ldquo;select name , medical__r.name from patient__C where id='a0190000002wRdn'&ldquo;;
System.debug('Patient Records '+ pt); pt.medical__r.med_quantity__C = 66; update pt.medical__r;
System.debug('Medical Name '+pt.medical__r.Name); System.debug('Medical quantity '+pt.medical__r.med_quantity__C);</pre>
<h3><strong>&nbsp;</strong><span style="color: #000000;"><strong>For Multiple Records:</strong></span></h3>
<pre style="padding-left: 30px;">list&lt;patient__C&gt; pt = &ldquo;select name , Medical__r.name, medical__r.med_quantity__C from patient__C where name = 'sateesh'&ldquo;;
System.debug('Patient Records '+ pt); for(patient__c pt1 :pt)
{
pt1.medical__r.med_quantity__C = 99; update pt1.medical__r;
system.debug('medical Records Are ' + pt1) ;
}</pre>
<h3><span style="color: #000000;"><strong>&nbsp;Fetching parent - Child Relationship for Custom objects:</strong></span></h3>
<pre style="padding-left: 30px;">Medical__c t=&ldquo;Select Name,(Select Name from patients__r) From Medical__c
where id='a0290000005FUJq'&ldquo;;
System.debug('XXXXXXXXXXXX'+t);
System.debug('DDDDDDDDDDDDDD'+t.patients__r);
for(medical_ _c s:t.patients__r)
{
System.debug(s.Name);
}</pre>
<h3><span style="color: #000000;"><strong>For Mulitiple Records:-</strong></span></h3>
<pre style="padding-left: 30px;">List&lt;Training__c&gt; t=&ldquo;Select Name,(Select Name, Student_fee__c from Students__r) From Training__c &ldquo;;
for(Training__c t1:t)
{
System.debug(t1.Name);
}
for(List&lt;Student_ _c s:t1.students_ _r)
{
System.debug('AAAAAAAAAA'+s);
}</pre>
<p>&nbsp;</p>93:T1458,<h2><span style="color: #000000;">Standard formats of Relationship Queries in Salesforce</span></h2>
<h3><span style="color: #000000;"><strong>Standard Formats of Queries:-</strong></span></h3>
<pre style="padding-left: 30px;">Child obj name variable = &ldquo;select child obj field1, parent obj name.parent obj field1, parent obj name.parent obj field2 from child obj name where condition&rdquo;;
System.debug (&lsquo;child obj records are&rsquo;+variable);
System.debug (&lsquo;&rsquo; parent obj field1+variable .parent obj name.parent obj field1);
System.debug (&lsquo;parent obj field2+variable.parent obj name.parent objfield2);</pre>
<h3><span style="color: #000000;"><strong>Fetching single record form child - parent for standard objects:</strong></span></h3>
<pre style="padding-left: 30px;">List&lt;Child obj name&gt; variable = &ldquo;select child obj field1, parent obj name.parent obj field1, parent obj name.parent obj field2 from child obj name where condition&rdquo;;
System.debug (&lsquo;child obj records are&rsquo;+variable);
For (child obj name variable1: variable)
{
System.debug (&lsquo;&rsquo; parent obj field1+variable1 .parent obj name.parent obj field1);
System.debug (&lsquo;parent obj field2+variable1.parent obj name.parent objfield2);
}</pre>
<h3><span style="color: #000000;"><strong>Fetching Multiple record form child - parent for standard objects:</strong></span></h3>
<pre style="padding-left: 30px;">List&lt;Child obj name&gt; variable = &ldquo;select child obj field1, parent obj name.parent obj field1, parent obj name.parent obj field2 from child obj name where condition&rdquo;;
System.debug (&lsquo;child obj records are&rsquo;+variable);
For (child obj name variable1: variable)
{
Variable1.parent obj name.parent obj field1=&rsquo;&hellip;&hellip;&hellip;&hellip;..&rsquo;
Variable1.parent obj name.parent obj field2=&rsquo;&hellip;&hellip;&hellip;&hellip;&hellip;&rsquo;
Update variable1.parent obj name;
System.debug (&lsquo;&rsquo; parent obj field1+variable1 .parent obj name.parent obj field1);
System.debug (&lsquo;parent obj field2+variable1.parent obj name.parent objfield2);</pre>
<h3><span style="color: #000000;"><strong>Updating Multiple record form child - parent for standard objects</strong></span></h3>
<pre style="padding-left: 30px;">List&lt;Parent obj name&gt; variable= &ldquo;select fieldname1 (select field1, field2 from parent obj name.childs obj)from parent obj name where condition&rdquo;;
System.debug (&lsquo;parent obj records&rsquo;+variable1);
For (parent obj name variable1: variable)
{
For (child obj name variable2:variable1.child plural obj name)
{
System.debug (&lsquo;child obj field1&rsquo;+variable2);
System.debug (&lsquo;child obj field2&rsquo;+variable2);
}
}</pre>
<pre style="padding-left: 90px;"><em><strong>Enthusiastic about exploring the skill set of Salesforce? Then, have a look at the <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Training Online</a> to gather additional knowledge.</strong></em></pre>
<h3><span style="color: #000000;"><strong>Fetching Multiple record form Parent - child for standard objects:</strong></span></h3>
<pre style="padding-left: 30px;">List&lt;Parent obj name&gt; variable= &ldquo;select fieldname1 (select child obj field1, child obj field2 from parent obj name.child plural obj) from parent obj name where condition&rdquo;;
System.debug (&lsquo;parent obj records&rsquo;+variable1);
For (parent obj name variable1: variable)
{
For (child obj name variable2:variable1.child plural obj name)
{
Variable2.child obj field1='&hellip;&hellip;&hellip;.';
Variable2.child obj field2='&hellip;&hellip;&hellip;.';
update variable2;
System.debug (&lsquo;child obj field1&rsquo;+variable2);
System.debug (&lsquo;child obj field2&rsquo;+variable2);
}
}</pre>
<h3><span style="color: #000000;"><strong>&nbsp;Updating Multiple record form Parent - child for standard objects:</strong></span></h3>
<pre style="padding-left: 30px;">list&lt;parent obj API name&gt; variable=&ldquo;select parent obj field1 ,(select child obj field1,child obj field2
from parent obj API name.child plural obj name__r) from parent object API name where condition);
System.debug (' parent object records'+variable); for (parent obj API name variable1:variable)
{
For(child obj singular name__c variable2:variable1.child plural obj name__r)
{
Variable2.field1 API name='&hellip;&hellip;&hellip;..'; Variable2.field2 API name='&hellip;&hellip;&hellip;.'; update variable2;
System.debug ('field1'+variable2);
System.debug ('field2'+variable2);
}
}</pre>
<h3><span style="color: #000000;"><strong>Updating Multiple record form Parent - child for custom objects:</strong></span></h3>
<pre style="padding-left: 30px;">list&lt;child obj API name&gt; variable=&ldquo;select child obj field1,parent obj name __r.field1 from child obj API
name where condition&rdquo;; system.debug ('child obj records are'+variable);
for( child obj API name variable1:variable)
{
Variable1.parent obj singular name__r.field1 API name='&hellip;&hellip;.'; update variable1.parent obj singular name__r;
system.debug('parent obj records'+variable1.parent obj singular name__r.field1 API name);
}</pre>94:T26e1,<h2><span style="color: #000000;"><strong>SOQL and SOSL Difference in Salesforce</strong></span></h2>
<p>The following table describes about the SOQL and SOSL difference</p>
<table style="width: 631px; height: 578px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>SOQL</td>
<td>SOSL</td>
</tr>
<tr>
<td>
<p style="margin-left: .25in;">1. SOQL (Salesforce object Query Language) retrieves The records from the database by using &ldquo;SELECT&rdquo; keyword</p>
&nbsp;
<p style="margin-left: .25in;">2. By using SOQL,we can know in which objects or fields the data resides</p>
&nbsp;
<p style="margin-left: .25in;">3. We can retrieve data from single object or from multiple objects that are related to each other</p>
&nbsp; 4. We can query on only one table</td>
<td>
<p style="margin-left: .25in;">1. SOSL(sales force object search language) retrieves the records from the data base by using &ldquo;FIND&rdquo; key word</p>
&nbsp;
<p style="margin-left: .25in;">2. By using SQSL,we don&rsquo;t know in which object or field the data resides</p>
&nbsp;
<p style="margin-left: .25in;">3. We can retrieve multiple objects and field values efficiently when the objects may or may not be related to each other</p>
&nbsp; 4. We can query an multiple tables.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><span style="color: #000000;"><strong>SOQL Query Examples:-</strong></span></h3>
<p>-A SOQL query is enclosed between square brackets the following query retrieves an subjects (a record from the database) that has the name field value equal to &ldquo;Osmania University&rdquo; <strong>Account a = "select Id name FROM account where name = 'Osmania University' "</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Return type&nbsp;&nbsp;&nbsp;&nbsp; Query (Applicable for only one record) <strong>Note:- </strong>In the above the &ldquo;a&rdquo; variable stores the ID ,Name of all accounts with name=&rsquo;Osmania University&rsquo; <strong>Note:- </strong><a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">SOQL </a>Statement evaluate to a list of SObjects single SObjects or an integer for count method queries. <strong>LIst of SObject</strong> <strong>&agrave;</strong><strong> List &lt; Position_c Position = "select name from position_c shwre type_c='part time'";</strong> <strong>Single sumbject</strong><strong>: Postion_c p="select name from position_c where id='xxxxx'"</strong> <strong>Integer</strong><strong>: Integer i="select countc,from position_c where c type_c='part time'"</strong> <strong>SOQL Bindings</strong><strong>:-</strong>Square bracketed queries support binding to <a href="https://tekslate.com/tutorials/salesforce-crm/" target="_blank" rel="noopener">Apex</a> variable <strong>String jobtype='Full Time';</strong> <strong>List&lt;position_c&gt; S="select name from position_c where type_c=:job type;"</strong></p>
<pre><em><strong>Enthusiastic about exploring the skill set of Salesforce? Then, have a look at the blog post to gather additional knowledge on <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Training and Certification</a>.</strong></em></pre>
<h3><span style="color: #000000;"><strong>SOSL Queries</strong></span></h3>
<p>SOSL&agrave; sales force object search language</p>
<ul>
<li>SOSL statements evaluate to a list of lists of SObjects where each list contains the search results for a particular sobject type</li>
</ul>
<ul>
<li>SOSL queries are only supported in Apex classes and anonymous blocks.</li>
<li>We cannot use a SOSL query in a trigger</li>
</ul>
<p><strong>The folloing exapmle that searches all fields across all account and contact objects.</strong> <strong>Ex:- LIst&lt;List&lt;Sobject&gt;&gt; searchist="Find 'Text*' IN ALL FIELDS RETURNING Account, Contact Systerm.debug(Serachlist);"</strong> This query will search the account and contact records that field values starts with test in all fileds.</p>
<ul>
<li>The following example returns a list of accounts, contacts, opportunities and leads that begin with the phrase map.</li>
</ul>
<p><strong>LIst&lt;List&lt;Sobject&gt;&gt; searchist=[Find 'map*' IN ALL FIELDS RETURNG Account(ID, Name),contact,opportunity,Lead];</strong> <strong>System.debug(searchist);</strong> <strong>Account(ID, Name)--&gt; this means it returns the account records with ID, name values</strong> <strong>Note</strong><strong>:-&nbsp;&nbsp; </strong>If a SOSL query does not return any records for a specified SObject type, the search results include an empty list for that SObject <strong>Updated Operation:</strong> The update DML operation modifies one or more existing SObject records, DML (update) statement syntax Update SObject; Update Subject[ ]; The following example describes us about an updating an account field through an existing contact that has also been modified here two update statements are required // use a SOQL Query to access data for a contact <strong>Contact C=[SELECT Account.Name FROM contact where Last Name ='Anil' LIMIT 1];</strong> <strong>C.Account.Name='Capital info Solutions';</strong> <strong>C.Lastname='sateesh';</strong> <strong>---&gt;</strong>The above two statements says that change in fields for both contact and its associated account <strong>Upadate C:</strong>--&gt;<strong> updates the contact.</strong> <strong>Update C.Account: </strong>--&gt; <strong>Update the Account.</strong> <strong>System.Debug(c);</strong> <strong>System.debug(c.Account.Name);</strong></p>
<ul>
<li>The following example updating account fields through the API</li>
</ul>
<p><strong>Access a="select name,Rating,Industry FROM Account Where id='xxxxx';"</strong> /*This query retrieves the Name, Rating, Industry fields values of one particular account*/ <strong>a.Name='Osmania University';</strong> <strong>a.Rating='Hot';</strong> <strong>a.Industry='Electrical';</strong> <strong>Update a;</strong> <strong>System debug(a)</strong> <strong>Note:- Account a ="select name; Phone FROM Account where id='xxxx';"</strong> <strong>System.debug(a.Industry)</strong> No compilation error, but it gives run time error like SObject row was retrieved via SOQL without querying the requested filed.</p>
<h3><span style="color: #000000;"><strong>Delete Operation:-</strong></span></h3>
<p><strong>&nbsp;</strong>The delete DML operation deletes one or more existing SObject records, such as individual accounts or contacts, from organization&rsquo;s data. The DML (Delete) statement syntax is <strong>Delete SObject;</strong> <strong>Delete SObject[];</strong> The following example is to delete the account record through the API //First get the account record which we want to delete <strong>Account a =" select ID from account where name='Osmania University' LIMIT 1;"</strong> <strong>Delete a;</strong>* The DML Operation deletes the above record.*/</p>
<ul>
<li>Deleting a record places it in the recycle bin from where we can restore it. Records in the Recycle bin are temporarily stored for 15 days before they are permanently deleted.</li>
</ul>
<ul>
<li>To restore just use the undelete DML statement .Notice that we used the ALL ROWS keywords in the SOQL query to be able to retrieve the delete record.</li>
</ul>
<p><strong>Account a =" select name FROM account where name='Osmania University' ALL Rows;"</strong> <strong>UnDelete a;</strong> <strong>Note:-</strong> <strong>Comments:-</strong>: - Comments are lines of text that we add to code to describe what it does comments are not executable code. It&rsquo;s a good practice to <a href="https://en.wikipedia.org/wiki/Source-code_annotation" target="_blank" rel="noopener">annotate code</a> with comments as necessary. Apex has two forms of comments</p>
<ol>
<li>The first uses the // token to mark everything on the same line.</li>
</ol>
<ol start="2">
<li>The second encloses a block of text, possibly across Multiple lines between the /* and */ tokes</li>
</ol>
<p>The following example describes only the debug statement runs: System.debug (&lsquo;capital info solutions &lsquo;); //This comment is ignored. /* Hi All, All the Best From capital info solutions */</p>
<h3><span style="color: #000000;"><strong>Case Sensitivity:-</strong></span></h3>
<ul>
<li>Apex is case insensitive this means that all apex code, including method names class names, variable names and keywords, can be written without regard to case</li>
</ul>
<p><strong>EX:- Integer Myvar;</strong> <strong>IntegER MYVAR;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---&gt;</strong>both are equivalent statements The following statements print out today&rsquo;s date using the System today method when we execute them in the Developer Console. <strong>System.debug(System.today());</strong> <strong>System.debug(System.Today());</strong> <strong>System.debug(System.TOday());</strong> <strong>Note-</strong> A good practice is for class names to start with an uppercase letter and method names to start with a lowercase letter.</p>
<h3><strong>For indepth understanding on Salesforce click on</strong></h3>
<ul>
<li><a href="https://tekslate.com/tutorials/salesforce-crm/" target="_blank" rel="noopener">Salesforce Tutorials</a></li>
<li><a href="https://tekslate.com/salesforce-interview-questions-answers" target="_blank" rel="noopener">SalesForce Interview Questions &amp; Answers</a></li>
<li><a href="https://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in SalesForce</a></li>
<li><a href="https://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in SalesForce</a></li>
<li><a href="https://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li><a href="https://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="https://tekslate.com/salesforce-training/">Salesforce Training In Dallas</a></li>
</ul>95:Te7b,<h2><span style="color: #000000;"><strong>Apex Data Manipulation Language(DML) Operations in Salesforce</strong></span></h2>
<p><strong>&nbsp;</strong>Use Data Manipulation Language (DML) Operations to insert, update, delete, and restore data in a database.We can execute DML Operations using two different forms.</p>
<ol>
<li>Apex DML Statement, Such as</li>
</ol>
<p><strong>Insert SObject();</strong></p>
<ol start="2">
<li>Apex DML database methods, such as</li>
</ol>
<p><strong>Database.saversult() result=Data Insert(SObject());</strong> <strong>---&gt;</strong>The following example that inserts a new invoice statement by calling insert and if we&nbsp;execute in the 'Developer console" that creates a record into the database. <strong>Invoice_Statements_c Inv=new Invoice_statement_c(Description)c='capital info solutions');</strong><strong> </strong>Insert Inv&nbsp;<strong>---&gt;</strong>&nbsp;Inserting the invoice using DML. <strong>Note:-&nbsp;</strong>After the invoice statement is inserted the sobject variable inv will contain the ID&nbsp;of the new invoice statement. * The following example shows the creating records through API for Account object&nbsp;using Insert DML Operation.</p>
<pre>Account a=new Account();
 a.Name='Osmania University';
 a.Phone='9052-----';
 a.Email-c='capitalinfosol@gmail.com',
 a.Billingcity='Hyderabad';</pre>
<p><strong> <strong>Insert a;---&gt;&nbsp;</strong></strong>this means assigning the field values to account record</p>
<pre style="padding-left: 30px;"><em><strong>Enthusiastic about exploring the skill set of Salesforce? Then, have a look at the<a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener"> Salesforce Training</a>&nbsp;together additional knowledge.</strong></em></pre>
<p><strong>DML Operation used for inserting a record----&gt; </strong><strong>The</strong> following example shows the creating a contact through API using DML operation&nbsp;(Insert)</p>
<pre>Contact C= new contact();
 C.last name='Anil';
 C.Account id='XXX'</pre>
<p>Override any account id here //This means assigning account to a contact</p>
<pre>Insert C;
 Systerm.debug(C)</pre>
<p>Note:-&nbsp;For custom Objects;</p>
<pre>Customer_c C=new customer_c();
 C.Name='Anil';
 C.partner_c='xxxx';</pre>
<p>API Name of lookup filed or MD field <strong>Insert c;</strong> Customer__c is child object and partner__c is parent object <strong>Note:&nbsp;</strong>while inserting the object records the following notes</p>
<ul>
<li>Certain SObjects cannot be created to insert an object record because the &rdquo;create&rdquo; permission of the object must be set to true</li>
<li>We must supply a non-null value for all required fields</li>
<li>The &ldquo;insert&rdquo; statement automatically sets the ID value of all new subjects records</li>
<li>We can pass a maximum of 10,000 SObject records by using a single insert method.</li>
</ul>
<h3>For indepth understanding of Salesforce click on</h3>
<ul>
<li><a href="https://tekslate.com/annotations-apex/" target="_blank" rel="noopener">Annotations in Salesforce</a></li>
<li><a href="https://tekslate.com/loops-salesforce-apex/" target="_blank" rel="noopener">Loops in Salesforce</a></li>
<li><a href="https://tekslate.com/salesforce-crm-introduction-apex/" target="_blank" rel="noopener">Introduction to Apex</a></li>
<li><a href="https://tekslate.com/apex-data-manipulation-dml-operations/" target="_blank" rel="noopener">Apex Data Manipulation</a></li>
<li><a href="https://tekslate.com/salesforce-creating-apex-class/" target="_blank" rel="noopener">Creating Apex Classes</a></li>
<li><a href="https://tekslate.com/salesforce-training/">Salesforce Training In Houston</a></li>
</ul>96:T2ab7,<h2><span style="font-size: 24px; color: #e67e23;">Apex Data types&nbsp;</span></h2>
<p>In Apex all variables and expressions have a data type they are two types of data&nbsp;types</p>
<ul>
<li>Primitive Data types</li>
<li>sObject Types</li>
</ul>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="primitive-data-types"></a>Primitive Data types</strong></span></h3>
<p>A primitive data type such as an Integer, Double, Long, Date, Date Time, String, ID, or Boolean.</p>
<ul>
<li>All Primitive data types are passed by value, not by reference.</li>
<li>All Apex variables, whether they are class member Variables or member variables, are&nbsp;initialized to null. Make sure that we initialize variables to appropriate values before&nbsp;using them.</li>
</ul>
<p><strong><em>Ex:</em> </strong>Initialize a Boolean Variable to False.</p>
<p>Apex Primitive data types include. <strong>Boolean:&nbsp;</strong>A value that can only be assigned true, false, or null.</p>
<p><strong><em>Ex:</em> </strong>Boolean is Active=True;</p>
<p><em><strong>Date:</strong></em> value that indicates a particular day. Date values contain no information about&nbsp;time. Date values must always be created with a system static method.</p>
<p><em><strong>Ex</strong>:</em> Date myDate= Date.new instance(2012, 05 , 28);</p>
<p><em><strong>O/P:</strong></em> is 2012-05-28 00:00:00</p>
<p><em><strong>Time and Date Time:&nbsp;</strong></em></p>
<ul>
<li>These are data types associated with dates and times along with the Date data type.</li>
<li>The time data types store times (hours, minutes, seconds and milliseconds).</li>
<li>The Date data types store dates (Year month and day).</li>
<li>The Date Time data type stores both dates and times.</li>
<li>Each of these classes has a new instance method with which we can construct particular date and time values.</li>
</ul>
<p><em><strong>EX:</strong></em>&nbsp;Time mytime= newInstance(18,30,2,20);</p>
<p><strong><em>O/P:</em>&nbsp;</strong>is 18:30:02</p>
<ul>
<li>We can also create dates and times from the current clock.</li>
</ul>
<p>Date myDatetime = Datetime.now(); Date today= Date.today();</p>
<ul>
<li>The date and time classes also have instance methods for converting from one format to&nbsp;another.</li>
</ul>
<p><strong><em>EX: </em></strong>Time t= Datetime.now().time();.</p>
<p><strong>---&gt;</strong> Finally we can also manipulate the values by using a range of instance methods.</p>
<p><em><strong>EX:</strong></em>&nbsp;Date myToday = Date.today(0; Date myNext30 = myToday.addDays(30) We will get something like this as the output. 2012-05-28 00:00:00 2012-06-29 00:00:00 <strong>Integer, Long, Double and Decimal:&nbsp;</strong>To store numeric values in variables, declare variables with one of the numeric data types. Integer, Long Double and Decimal.</p>
<p><strong>Integer:</strong>&nbsp;A 32-bit number that doesn't include a decimal point. Integers have a&nbsp;minimum value of -2, 147,483,648 and a maximum value of 2,147,483,647.</p>
<p><strong><em>EX:</em>-</strong> Interger i=1;</p>
<p><strong><em>Long:</em>&nbsp;</strong>A 64-bit number that doesn't include a decimal point longs have a minimum value of -263 and a maximum value of 263-1;</p>
<p><strong><em>EX:</em>&nbsp;</strong>Long l= 2147483648L;</p>
<p><strong><em>Double:</em>&nbsp;</strong>A 64-bit number that doesn't include a decimal point long has a minimum value of -263 and a maximum value of 263-1;</p>
<p><strong><em>EX:</em>&nbsp;</strong>Long l= 2147483648L;</p>
<p><strong><em>Decimal:</em>&nbsp;</strong>A number that includes a decimal point. A Decimal is an arbitrary precision number. Currency fields are automatically assigned the type decimal.</p>
<p><strong><em>EX:</em></strong>&nbsp;Decimal dec=19.23;</p>
<p><strong><em>Note:</em></strong> We can use the value of the static method to cast a string to a numeric type. For&nbsp;example, the following creates an Integer from string &lsquo;10&rsquo; and then adds 20 to it.</p>
<p><strong><em>EX: </em></strong>Integer CountMe= Omteger.Valueof('10') +20;</p>
<h4><strong><em><span style="font-size: 18px;">Null Variables</span>: </em></strong></h4>
<p>If we declare a variable and don't initialize it with a value, it will be&nbsp;null. Null means the absence of a value. We can also assign null to any variable declared&nbsp;with a primitive type. Both of these statements result in a variable set to null;</p>
<p>Boolean x=null;</p>
<p>Decimal d;</p>
<p><em><strong>String:</strong></em> Strings are set of characters and are enclosed in single quotes. They store text values such as a name or an address.</p>
<p><strong><em>EX:</em></strong>&nbsp;String myvariable= ' Capital info Solutions';</p>
<p>We can also create strings from the values of other types, such as dates, by using the string static method value of().</p>
<p><strong>EX:-</strong> Date myDate= Date today(); *** String mystring= String value of (myDate); The o/p of above example should be today's date 2012-05-29</p>
<table style="border-collapse: collapse; width: 100%; height: 70px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.4956%; text-align: left;"><em>At TekSlate, we offer resources that help you in learning various IT courses. We avail both written material and demo video tutorials. To gain in-depth knowledge and be on par with &nbsp;practical experience, then explore<strong>&nbsp;<span style="color: #236fa1;"><a style="color: #236fa1;" title="SalesForce Training" href="https://tekslate.com/salesforce-training/" target="_blank">Salesforce Online Training</a></span></strong></em></td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 22px;"><strong><a id="sobject-types"></a>sObject Types</strong></span></h3>
<p>A sObject, can be a generic SObject or be a specific SObjects, such as an Account, Contact, or MYcustom__c.</p>
<ul>
<li>sObjects (short for "Salesforce Objects") are standard or custom objects that store record data in the Force.com database.</li>
<li>There is also an SObject data type in Apex that is the Programmatic representation of these SObjects and their data in code.</li>
<li>Developers refer to SObjects and their fields by their API names.</li>
</ul>
<pre><em><strong>EX:</strong></em>&nbsp;Account a= new Account ();
MyCustomObject__c co= new MYCusomobject__c ();
API name of Custom Object.</pre>
<p>The following example creates an invoice statement with some initial values for the description__c Fields and assigns it to variables of type Invoice-Statement__c, which is an SObject type also.</p>
<p><strong><em>EX:</em></strong>&nbsp;Invoice-statment__c inv- new Invoice-statement__c(Description__c= 'Test Invoice',&nbsp;Status__c='pending')</p>
<p>sObject Variables are initialized to null but can be assigned a valid object reference with the new operator.</p>
<p><strong><em>EX: </em></strong>&nbsp;Account a = new Account();Account a= new Account&nbsp;(Name='Osmania University'), billingcity= 'Hyderabad'); <strong>(Or)</strong> Account a= new Account (); a.name='Osmania University'; a.BillingCity= 'Hyderabad';</p>
<h4><strong><span style="font-size: 18px;"><em>Accessing SObject Fields:</em></span>&nbsp;</strong></h4>
<p>SObject fields can be accessed or changed with simple dot notation.</p>
<p><strong><em>EX: </em></strong>Account a = new Account (); a.Name='Capital Info solutions'; Access the account name field and assign it 'Capital Info solutions'.</p>
<p>System-generated fields, such as Created by or last modified by cannot be modified. If we try, the Apex runtime engine generates an error. Additionally, formula fields and values for other fields that are read-only for the context user cannot be changed.</p>
<p><strong><em>Ex:</em></strong>&nbsp;Contact c=New Contact(); c.count of __c='4': Formula filed (This statement gives an error)</p>
<p><em><strong>Accessing SObject Fields Through Relationships</strong>:</em> Sobject records represent relationships to other words with two fields an ID and an address that points to a representation of the associated sObject.</p>
<p><strong><em>EX:</em></strong> The contact sObject has both an AccountID field type ID and an Account field of type accounts that point to the associated sObject record itself.</p>
<p>The ID field can be used to change the account with which the contact is associated, while the Sobject reference field can be used to access data from the account.</p>
<p>The following Apex code shows how an account and contact can be associated with one other, and then how the contact can be used to modify a file on the Account.</p>
<p><strong><em>EX:</em></strong> Account a=new account (Name ='Osmania University') Insert a;</p>
<p>Inserting the record automatically assigns a value to its ID field</p>
<p><strong><em>EX:</em></strong> Contact c= new contact (Last name='Anil Reddy') C. Account ID=a.ID The new contact now points to the new account. Insert C;</p>
<h4><strong><span style="font-size: 18px;"><em>Anonymous Blocks:</em></span>&nbsp;</strong></h4>
<p>An anonymous block is Apex code that does not get stored in the metadata, but that can be compiled and executed using the developer console.</p>
<p>*We can use Anonymous Blocks to quickly evaluate Apex on the fly such as in the developer console.</p>
<p><strong>Note:&nbsp;</strong></p>
<ol>
<li>Can include user-defined methods and exceptions.</li>
<li>User-defined methods cannot include the keyword "static"</li>
<li>We do not have to manually commit any database changes</li>
<li>Unlike classes and triggers, anonymous blocks execute as the current user and can fail to compile if the code violates the user's object and file level permissions.</li>
</ol>
<ul>
<li>The developer console is a collection of tools we can use to analyze and troubleshoot applications in the salesforce organization.</li>
<li>It&rsquo;s a separate window composed of a set of related tools that allows us to access source code and review how it executes.</li>
<li>Access the developer console by clicking</li>
</ul>
<p>Your Name <strong>---&gt;</strong>&nbsp;Developer console <strong>---&gt;</strong>Click on "click here to enter Apex code" and give the apex code and Click on the &ldquo;Execute" button&nbsp;<strong>---&gt;&nbsp;</strong>Select the particular Operation&nbsp;<strong>---&gt;&nbsp;</strong>Click on "Open Raw Log" button&nbsp;<strong>---&gt;&nbsp;</strong> Check the result in the USER-DEBUG statement</p>
<p><strong><em>EX:</em></strong>&nbsp;</p>
<p>1. Integer i=10; System debug (i);</p>
<p>2. Integer i=10; Integer J=20; System debug (The sum of two numbers'+ (i+j));</p>
<p><strong>For Concatenating two strings</strong><strong> </strong></p>
<p>3. String S1='Anil'; String s2='sateesh'; System. debug (&lsquo;names are&rsquo;(s1+s2));</p>
<p>4. Account a =new Account (); a.name ='Capital Info solutions '; System.debug (a name);</p>97:T298a,<h2 style="text-align: justify;"><span style="color: #000000;">Access Modifiers And OOPS Concepts</span></h2>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Access Modifiers:</strong></span></h3>
<p style="text-align: justify;">Apex allows us to use the following modifiers</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Privat</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This is the default, and means that the method or variable is accessible only&nbsp;within the Apex class in which it is defined. If we do not specify an access modifier, the&nbsp;method or variable is private.</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Protected</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This means that the method or variable is visible to any inner classes in the&nbsp;defining Apex class. We can only use this access modifier for instance methods and&nbsp;member variables. Note that it is strictly more permissive than the default (private)&nbsp;setting, just like Java.</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Public</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This means the method or variable can be used by any Apex in this application&nbsp;or namespace.</p>
<p style="text-align: justify;"><strong>Note:&nbsp;</strong>In Apex, the public access modifier is not the same as it is in Java. This was done&nbsp;to discourage joining applications, to keep the code for each application separate. In&nbsp;<a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">Apex</a>, if we want to make something public like it is in Java, we need to use the global&nbsp;access modifier.</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Global</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This means the method or variable can be used by any Apex code that has&nbsp;access to the class, not just the Apex code in the same application. This access modifier&nbsp;should be used for any method that needs to be referenced outside of the application,&nbsp;either in the SOAP API or by other Apex code. If we declare a method or variable as&nbsp;global, we must also declare the class that contains it as global.</p>
<p style="text-align: justify;"><strong>Note:</strong>We recommend using the global access modifier rarely, if at all. Cross-application&nbsp;dependencies are difficult to maintain.</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Keyword use are</strong></span></h3>
<p style="text-align: justify;"><strong>With Sharing:&nbsp;</strong>Use the with sharing keywords when declaring a class to enforce&nbsp;the sharing rules that apply to the current user.</p>
<p style="text-align: justify;"><strong>Without Sharing:&nbsp;</strong>Use the without sharing keywords when declaring a class to&nbsp;ensure that the sharing rules for the current user are notenforced.</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Interface</strong></span></p>
<p style="text-align: justify;">An interface is like a class in which none of the methods have been&nbsp;implemented&mdash;the method signatures are there, but the body of each method is empty. To&nbsp;use an interface, another class must implement it by providing a body for all of the&nbsp;methods contained in the interface.</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Abstract</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The abstract definition modifier declares that this class contains abstract&nbsp;methods, that is, methods that only have their signature declared and no body defined.</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Extends</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Inheritance concept</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Final</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Final variables can only be assigned a value once, either when we declare a&nbsp;variable or in initialization code</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Virtual</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The virtual definition modifier declares that this class allows extension and&nbsp;overrides.</p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>This</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">There are two different ways of using the this keyword.&nbsp;We can use the this keyword in dot notation, without parenthesis, to represent the current&nbsp;instance of the class in which it appears. Use this form of the this keyword to access&nbsp;instance variables and methods. For example:</p>
<pre>Public class myTestThis {
 string s;
 {
 this.s = 'TestString';
 }
 }</pre>
<p style="text-align: justify;">In the above example, the class myTestThis declares an instance variable s. The initialization code populates the variable using the this keyword. Or we can use the this keyword to do constructor chaining, that is, in one constructor, call another constructor. In this format, use the this keyword with parentheses.</p>
<p style="text-align: justify;">For example:</p>
<pre>public class testThis {
 // First constructor for the class. It requires a string parameter.
 public testThis(string s2) {
 }
 // Second constructor for the class. It does not require a parameter.
 // This constructor calls the first constructor using the this keyword.
 public testThis() {
this('None');
 }
 }</pre>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Super</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The super keyword.can be used by classes that are extended from virtual or&nbsp;abstract classes. By using super, we can override constructors and methods from the&nbsp;parent class.&nbsp;The following are special types of keywords that aren't reserved words and can be used as&nbsp;identifiers.</p>
<p style="text-align: justify;"><strong>Count:&nbsp;</strong>count() returns the number of rows that match the filtering conditions and&nbsp;count() returns the number of rows that match the filtering conditions&nbsp;and have a non-null value for . This syntax is newer than COUNT() and&nbsp;is available in API version 18.0 and later.</p>
<pre><em><strong>Enthusiastic about exploring the skill set of Salesforce?Then, have a look at the <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Training Online</a> to gather additional knowledge.</strong></em></pre>
<h2 style="text-align: justify;"><span style="color: #000000;"><strong>OOPS Concepts </strong></span></h2>
<p style="text-align: justify;">Apex supports the following OOPS concepts given below</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Inheritance</strong></span></h3>
<p style="padding-left: 30px; text-align: justify;">Acquiring the properties of parents by children is what we call as. We can make use of the same principle under object oriented language and&nbsp;consume the members of one class under multiple classes by establishing Parent-Child&nbsp;relationship between classes. This basically provides us  </p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Polymorphism</strong></span></h3>
<p style="padding-left: 30px; text-align: justify;">Changing the behavior of entities depending upon input they receive is&nbsp;known as Polymorphism. This can be implemented in object oriented language using&nbsp;different approaches like</p>
<ul style="text-align: justify;">
<li>Overloading: It is a feature that allows us to define multiple behaviours to a&nbsp;method</li>
<li>Overriding: To override parent classes method under child class first in the&nbsp;parent class the method must be declared as 'Virtual'. Then only child classes can&nbsp;override the method using  modifier.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Abstraction</strong></span></h3>
<p style="padding-left: 30px; text-align: justify;">This is all about Hiding the complexity of a program and providing with a&nbsp;set of interface to consume the functionalities. Functions and Methods are examples for&nbsp;Abstraction we never know the logic behind them, what we are is only how to consume&nbsp;them.</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Encapsulation</strong></span></h3>
<p style="padding-left: 30px; text-align: justify;">Encapsulation is an <a href="https://en.wikipedia.org/wiki/Object-oriented_programming" target="_blank" rel="noopener">Object Oriented Programming </a>concept that binds&nbsp;together the data and functions that manipulate the data, and that keeps both safe from&nbsp;outside interference and misuse. Data encapsulation led to the important OOP concept of</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Data Hiding</strong></span></h3>
<p style="padding-left: 30px; text-align: justify;">It is all about hiding the code to secure the contents of a program. To hide the&nbsp;code we enclose the members of a program under a container or wrapper known as class.</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Class</strong></span></h3>
<p style="padding-left: 30px; text-align: justify;">A wrapper or container class is a class, a data structure, or an abstract data type&nbsp;whose instances are collections of other objects. In Apex and Visual force this type of&nbsp;class can be extremely useful</p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Method</strong></span></h3>
<p style="padding-left: 30px; text-align: justify;">A function or Method in general referred as Subprogram is a named block of&nbsp;code which can be reused, when and where is called its get executed&nbsp;It is also an action that has to be performed&nbsp;A method can be either value returning or non value returning, use *- to tell the method non value returning and if it value returning specify the type (primitive or&nbsp;Sobject data type) of value it was returning using   keyword.</p>
<p style="text-align: justify;"><strong>Some Other key words are</strong></p>
<p style="text-align: justify;"><strong>-&nbsp;</strong>Excludes,first,includes,last,order,after,before</p>98:T2f12,<p>This chapter&nbsp;outlines&nbsp;different <strong>Architecture</strong>&nbsp;options available&nbsp;with Oracle <strong>WebLogic Server</strong>. It is very important to make yourself familiar with terminology specially tiers (<strong>Web</strong>, <strong>Presentation</strong> and <strong>Object</strong>). <strong>Architecture</strong> &ndash; It defines how various tiers of an application (<strong>Web</strong>, <strong>Presentation</strong> <strong>and Object</strong>) are deployed on one or more clusters. <strong>Tier</strong> - Represents logical divisions of an Application&rsquo;s service.</p>
<ol>
<li><strong>Web Tier</strong> &gt; provides static content (<strong>HTML</strong> pages)</li>
<li><strong>Presentation Tier</strong> &gt; provides dynamic content (<strong>Servlets</strong> or <strong>JSP</strong>)</li>
</ol>
<ul>
<li><strong>Object Tier</strong> &gt; provides java objects (<strong>EJB</strong> or <strong>RMI</strong> classes) and associated business logic.</li>
</ul>
<p><strong>Web Client:</strong></p>
<ul>
<li>A Web client interacts with WLS via HTTP using Servlets/JSPs.</li>
<li>Types of Web clients include:
<ul>
<li>Browser</li>
</ul>
</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2268" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1110.png" alt="11" width="413" height="139" /> &nbsp; <strong>Client Application:</strong></p>
<ul>
<li>A client application interacts with WLS through JRMP/T3, IIOP and COM.</li>
<li>Types of Clients include:
<ul>
<li>Standalone Java applications</li>
<li>Applets within a browser</li>
<li><img class="alignnone wp-image-2269" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1210.png" alt="12" width="380" height="142" /></li>
</ul>
</li>
</ul>
<p>&nbsp; <strong>Proxy Server:</strong> Forwards requests to other machines</p>
<ul>
<li>Can be used as a level of indirection and security</li>
<li>Can be used to load balance a system</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2270" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/136.png" alt="13" width="394" height="250" /> In computer networks, a proxy server is a server (a computer system or an application program) that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a different server. The proxy server evaluates the request according to its filtering rules. For example, it may filter traffic by IP address or protocol. If the request is validated by the filter, the proxy provides the resource by connecting to the relevant server and requesting the service on behalf of the client. A proxy server may optionally alter the client's request or the server's response, and sometimes it may serve the request without contacting the specified server. In this case, it 'caches' responses from the remote server, and returns subsequent requests for the same content directly. A proxy server that passes requests and replies unmodified is usually called a gateway or sometimes tunneling proxy. A proxy server can be placed in the user's local computer or at various points between the user and the destination servers on the Internet. A reverse proxy is (usually) an Internet-facing proxy used as a front-end to control and protect access to a server on a private network, commonly also performing tasks such as load-balancing, authentication, decryption or caching. A proxy server has a large variety of potential purposes, including:</p>
<ul>
<li>To keep machines behind it anonymous (mainly for security).</li>
<li>To speed up access to resources (using caching). Web proxies are commonly used to cache web pages from a web server.</li>
<li>To apply access policy to network services or content, e.g. to block undesired sites.</li>
<li>To log / audit usage, i.e. to provide company employee Internet usage reporting.</li>
<li>To bypass security/ parental controls.</li>
<li>To scan transmitted content for malware before delivery.</li>
<li>To scan outbound content, e.g., for data leak protection.</li>
<li>To circumvent regional restrictions.</li>
</ul>
<p>&nbsp; <strong>Firewall</strong></p>
<ul>
<li>Provide filtering, authorization, and authentication services</li>
<li>Help keep out hackers</li>
<li>Map port requests</li>
<li>Can act as proxy servers</li>
</ul>
<p>Can decrease back end network activity &nbsp; <img class="alignnone wp-image-2271" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/145.png" alt="14" width="347" height="203" /> A firewall is a part of a computer system or network that is designed to block unauthorized access while permitting authorized communications. It is a device or set of devices that is configured to permit or deny network transmissions based upon a set of rules and other criteria. Firewalls can be implemented in either hardware or software, or a combination of both. Firewalls are frequently used to prevent unauthorized Internet users from accessing private networks connected to the Internet, especially intranets. All messages entering or leaving the intranet pass through the firewall, which inspects each message and blocks those that do not meet the specified security criteria. There are several types of firewall techniques:</p>
<ul>
<li><em>Packet filter:</em> Packet filtering inspects each packet passing through the network and accepts or rejects it based on user-defined rules. Although difficult to configure, it is fairly effective and mostly transparent to its users. It is susceptible to IP spoofing.</li>
<li><em>Application gateway:</em> Applies security mechanisms to specific applications, such as FTP and Telnet servers. This is very effective, but can impose performance degradation.</li>
<li><em>Circuit-level gateway:</em> Applies security mechanisms when a TCP or UDP connection is established. Once the connection has been made, packets can flow between the hosts without further checking.</li>
<li><em>Proxy server:</em> Intercepts all messages entering and leaving the network. The proxy server effectively hides the true network addresses.</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2272" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/155-460x210.png" alt="15" width="437" height="198" /> <strong>An Application Server Configuration</strong> <img class="alignnone wp-image-2273" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/165-460x221.png" alt="16" width="458" height="220" /> <strong>Definition: Domain</strong></p>
<ul>
<li>A domain is a logically-related group of WebLogic Server resources that you manage as a unit.</li>
<li>A domain provides one point of administration.</li>
<li>A WebLogic Server domain can logically separate:
<ul>
<li>Development, test, and production applications</li>
<li>Organizational divisions</li>
</ul>
</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2274" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/175.png" alt="17" width="401" height="391" /> A domain is the basic administration unit for WebLogic Server instances. A domain consists of one or more WebLogic Server instances (and their associated resources) that you manage with a single Administration Server. You can define multiple domains based on different system administrators' responsibilities, application boundaries, or geographical locations of servers. Conversely, you can use a single domain to centralize all WebLogic Server administration activities. &nbsp; <strong>Why Use Domains?</strong></p>
<ul>
<li>A domain is an administration features that:
<ul>
<li>Is transparent to applications</li>
<li>Can be configured and administered, for technical or business reasons, even after applications are developed or in production</li>
</ul>
</li>
</ul>
<ul>
<li>WebLogic Server domains can be used to separate:
<ul>
<li>Development, test and production applications</li>
<li>Administration and operational responsibilities</li>
<li>Organizational or business divisions</li>
</ul>
</li>
</ul>
<p>&nbsp; <strong>Definition: Server</strong></p>
<ul>
<li>A server is an instance of weblogic which is executing in a JVM.</li>
<li>A server:
<ul>
<li>Runs on a designated WLS machine</li>
<li>Has a dedicated amount of RAM</li>
<li>Is multi-threaded</li>
</ul>
</li>
</ul>
<p><img class="alignnone wp-image-2275" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/185.png" alt="18" width="377" height="309" /> <strong>Definition: Administration Server</strong></p>
<ul>
<li>An administration (admin) server is the central point of control for a domain.</li>
<li>An admin server:
<ul>
<li>Stores the configuration information and logs for a domain</li>
<li>Runs the WebLogic administration console</li>
</ul>
</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2276" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/195.png" alt="19" width="365" height="281" /> The Administration Server operates as the central control entity for the configuration of the entire domain. It maintains the domain&rsquo;s configuration documents and distributes changes in the configuration documents to Managed Servers. You can also use the Administration Server as a central location from which to monitor all resources in a domain. &nbsp; <strong>Definition: Managed Server</strong></p>
<ul>
<li>A managed server is any server in a domain that is not the admin server.</li>
<li>A managed server:
<ul>
<li>Contacts the admin server for configuration information</li>
<li>Runs business applications in a production environment</li>
</ul>
</li>
</ul>
<p><img class="alignnone wp-image-2277" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/205.png" alt="20" width="339" height="294" /> &nbsp; <strong>Definition: Machine</strong> A machine is a computer that hosts WebLogic Server(s). A machine: &ndash; Runs a supported operating system platform &ndash; Can host multiple WebLogic Server Instances <img class="alignnone wp-image-2278" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/218.png" alt="21" width="310" height="265" /> <strong>Definition: Cluster</strong></p>
<ul>
<li>A cluster is a logical group of WLS servers.</li>
<li>WebLogic clusters provide automatic:
<ul>
<li>Fault tolerance</li>
<li>High Availability</li>
<li>Load-balancing</li>
</ul>
</li>
<li>A cluster is transparent to a client.</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/225.png" alt="22" width="314" height="298" /> &nbsp; A WebLogic Server cluster consists of multiple WebLogic Server instances running simultaneously and working together to provide increased scalability and reliability. A cluster appears to clients to be a single WebLogic Server instance. The server instances that constitute a cluster can run on the same machine, or be located on different machines. You can increase a cluster&rsquo;s capacity by adding additional server instances to the cluster on an existing machine, or you can add machines to the cluster to host the incremental server instances. &nbsp; <strong>Summary:</strong></p>
<ul>
<li>Terms used to discuss Web architectures</li>
<li>Terms used to describe WebLogic Server features</li>
</ul>
<p><strong>Check out our Related Courses</strong> <a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a> <a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a> <a href="https://tekslate.com/oracle-taleo-training/">Oracle Taleo Training In Hyderabad</a> <a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a></p>99:T441b,<p>At the end of this chapter you will be able to:</p>
<ul>
<li><strong>Overview of the Domain Template Builder</strong></li>
<li><strong>Creating Domain Templates by using the Template Builder</strong></li>
<li><strong>Creating Domain Templates by using the Pack &amp; Unpack Commands</strong></li>
<li><strong>Create and Start Managed Servers Remotely</strong></li>
</ul>
<p>&nbsp; <strong>Overview of the Domain Template Builder</strong> You can create WebLogic domains by using domain and extension templates that contain the key attributes and files required for building or extending a domain. You can create templates by using the Domain Template Builder, a stand-alone Java application that guides you through the process of creating custom domain and extension templates. After you create your domain and add new resources and applications to it, you can use the Domain Template Builder to create a custom domain template. You can also use the Domain Template Builder to customize an existing template. For example, you may want to remove applications or add SQL scripts for additional databases. To do so, select the existing domain or template as the source for your new custom template. When your custom domain templates are complete, you can start using them to create domains by using the Configuration Wizard, WLST Offline, or the unpack command. &nbsp; <strong>Overview of Creating Domain Templates by Using the Domain Template Builder</strong> To create a custom domain template by using the Domain Template Builder, select the domain or domain template from which you want to create your new domain template. You then have the option of modifying the following:</p>
<ul>
<li>Basic template information</li>
<li>Application and domain directory contents</li>
<li>SQL scripts for database configuration</li>
<li>Administration server and user configuration</li>
<li>Basic security configuration, such as creating users, groups, and global roles and their assignments</li>
<li>Start menu entries (Windows only)</li>
<li>Customized scripts and variables</li>
</ul>
<p>&nbsp; <strong>Starting the Domain Template Builder</strong> This section describes how to start the Domain Template Builder. Note: The Domain Template Builder can be used only in graphical mode. You can create templates from the command line by using the pack command. For more information, see Creating Templates and Domains Using the Pack and Unpack Commands. To start the Domain Template Builder on a Windows machine, do one of the following: &nbsp; <strong>From the Start menu, choose</strong> Start &gt; Programs &gt; Oracle WebLogic &gt; WebLogic Server &gt; Tools &gt; Domain Template Builder. &nbsp; <strong>From a command prompt window:</strong></p>
<ol>
<li>Go to the common\bin subdirectory of the product installation directory.</li>
<li>Run the config_builder command.</li>
</ol>
<p>To start the Domain Template Builder on a UNIX machine, do the following: Note: The console attached to the machine on which you are running the Domain Template Builder must support Java-based GUIs.</p>
<ol>
<li>Open a command shell.</li>
<li>Go to the common/bin subdirectory of the product installation directory.</li>
<li>Run the following script: sh config_builder.sh.</li>
</ol>
<p>&nbsp; <strong>Creating Domain Templates by Using the Domain Template Builder:</strong> <img class="alignnone wp-image-2340" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/544.png" alt="54" width="504" height="363" /> <strong>Create a New Template:</strong> The Create a New Template window is displayed when you start the Domain Template Builder as described in Starting the Domain Template Builder. Select Create a Domain Template and click Next. Then Select a Template Domain Source window is displayed. <img class="alignnone wp-image-2341" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/554.png" alt="55" width="481" height="346" /> <strong>Select a Template Domain Source</strong> The Select a Template Domain Source window prompts you to choose the domain or domain template from which you want to create a domain template. Click Next. The Describe the Template window is displayed. <img class="alignnone wp-image-2342" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/564.png" alt="56" width="476" height="342" /> <strong>Describe the Template:</strong> The Describe the Template window prompts you to provide a description for the template. <img class="alignnone wp-image-2343" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/574.png" alt="57" width="462" height="333" /> <strong>Add or Omit Applications</strong> The Add or Omit Applications window is displayed only if applications are included in the template or domain selected in Select a Template Domain Source. <img class="alignnone wp-image-2344" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/584.png" alt="58" width="511" height="368" /> <strong>Add SQL Scripts</strong> You can add your own SQL scripts to the new template, so that the scripts are available when you create a domain based on the template. <img class="alignnone wp-image-2345" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/594.png" alt="59" width="477" height="343" /> <strong>Configure the Administration Server:</strong> In every domain, one server must be designated as the administration server: the central point from which the whole domain is managed. You can access the administrator server by using the URL protocol://listen-address: listen-port. The protocol can be any of the following: t3, t3s, http, https. &nbsp; <strong>Configure Administrator Username and Password:</strong> When you create a domain template, the administrator username and password from the original domain or template are included in your new template. You can modify this username and password if required. <img class="alignnone wp-image-2347" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/604.png" alt="60" width="448" height="369" /> <strong>Configure Users, Groups, and Global Roles</strong> The Configure Users, Groups and Global Roles window is displayed in the Domain Template Builder in the following circumstances:</p>
<ul>
<li>You are creating a domain template and you selected the option to configure users, groups, and global roles in the <em>Configure Administrator Username and Password</em></li>
</ul>
<ul>
<li>You are creating an extension template and you selected Yes in the Security <em>Configurations Option</em></li>
</ul>
<p><img class="alignnone wp-image-2348" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/617.png" alt="61" width="495" height="319" /> <strong>Assign Users to Groups: </strong> <img class="alignnone wp-image-2350" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/624.png" alt="62" width="497" height="357" /> <strong>Assign Groups to Groups: </strong> <img class="alignnone wp-image-2352" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/634.png" alt="63" width="500" height="360" /> <img class="alignnone wp-image-2353" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/644.png" alt="64" width="500" height="360" /> <strong>Specify Start Menu Entries: </strong> <img class="alignnone wp-image-2356" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/654.png" alt="65" width="485" height="349" /> <strong>Prepare Scripts and Files with Replacement Variables</strong> Click Next. The Review the Domain Template window is displayed. <img class="alignnone wp-image-2357" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/664.png" alt="66" width="474" height="341" /> <strong>Review the Domain Template</strong> The Review WebLogic Domain Template window allows you to review the settings for the new template before it is created. <img class="alignnone wp-image-2359" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/674.png" alt="67" width="456" height="328" /> <strong>Create a Template</strong> The Create a Template window prompts you to specify the name and directory for the domain template, and launch the process that creates it. After verifying the information displayed in the window, click Create. Click done in the Creating Template window. &nbsp; <strong>Using the pack and unpack Commands</strong> The pack and unpack commands provide a simple, one-step method for creating domains and templates from the command line. You cannot, however, use these commands to customize the contents of your domain or template in the same way as the other tools. The pack and unpack commands are available in the \common\bin subdirectory of the product installation directory. <em>Note: In addition to the pack and unpack commands, you can use the Configuration Wizard, Domain Template Builder, or WebLogic Scripting Tool to create domains and templates.</em> You can create the following types of templates by using the pack command, and then use them to create templates by using the unpack command: <em>Domain template:</em> This type of template defines the full set of resources within a domain, including infrastructure components, applications, services, security options, and general environment and operating system options. You can use a domain template as the basis for new domains. <em>Managed server template:</em> This type of template defines the subset of resources within a domain that are required to create a managed server domain directory on a remote machine. You can create a managed server template by using the pack command, with the -managed=true option. Subsequently, when you use the managed server template with the unpack command; the managed server domain directory that is created contains sufficient bootstrap information to start the managed server on the remote machine. &nbsp; <strong>Pack Command:</strong> The pack command provides an alternative method for creating a template from the command line in one simple step. Although the pack command does not allow you to customize the contents of your template in the same way as the Domain Template Builder, it helps you do the following tasks quickly: The pack command creates a template archive (.jar) file that contains a snapshot of either an entire domain or a subset of a domain. You can use a template that contains a subset of a domain to create a managed server domain directory hierarchy on a remote machine. <em>Syntax:</em> <em>pack -domain=domain -template=template -template_name=&ldquo;template_name&rdquo; </em> <em>[-template_author=&ldquo;author&rdquo;][-template_desc=&ldquo;description&rdquo;] </em> <em>[-managed={true|false}][-log=log_file] [-log_priority=log_priority]</em> <em>Example:</em> To create a template based on an existing domain named mydomain that is located in the C:\bea\user_projects\domains directory, run the following command: <em>pack -domain=C:\bea\user_projects\domains\mydomain </em> <em>-template=C:\bea\user_templates\mydomain.jar -template_name="My WebLogic </em> <em>Domain"</em> A template file named mydomain.jar is created in the C:\bea\user_templates directory. The name of the template is My WebLogic Domain. &nbsp; <strong>Unpack Command:</strong> The unpack command provides a one-step method for creating a domain quickly from an existing template by using the default settings defined in the template. When creating a domain, unpack does not provide the same customization options as the Configuration Wizard or WLST. If, however, you use the unpack command with a domain template, you can do the following: Change the password for the default administrative user defined in the template. By using unpack, you can also create a managed server domain directory based on a managed server template created with the pack command. The managed server uses the settings defined for the administration server; so you cannot change the JDK or the start mode, add administrative users, or change the administrator password. <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note: You cannot use unpack to extend an existing domain.</em> When you use the unpack command with a domain template, it creates a domain containing all of the application and resource files defined in the template. It also creates necessary start scripts, and certain security and configuration files.When you use the unpack command with a managed server template, it creates a managed server domain directory that includes the following:</p>
<ul>
<li>A customized start script for each managed server in the domain</li>
<li>xml file (based on the config.xml in the template)</li>
<li>properties file</li>
<li>dat file</li>
</ul>
<p><em>Syntax:</em> <em>unpack -template=template -domain=domain [-user_name=username] </em> <em>[-password=password] [-app_dir=application_directory] </em> <em>[-java_home=java_home_directory] [-server_start_mode={dev|prod}] </em> <em>[-log=log_file] [-log_priority=log_priority]</em> <em>Example</em> <em>To create a domain named mydomain.jar in the C:\bea\user_templates directory, by using the my_new_domain template in the C:\bea\user_projects\domains directory, run the following command:</em> <em>unpack -template=C:\bea\user_templates\mydomain.jar </em> <em>-domain=C:\bea\user_projects\domains\my_new_domain</em> <em>&nbsp;</em> <strong>How Do I Create and Start a Managed Server on a Remote Machine?</strong> In some domains, you may want to run a managed server on a machine that is remote from the administration server for the domain. You can do this by performing the following steps: &nbsp;</p>
<ul>
<li>Create a managed server template by using the pack command. A managed server template, by default, contains only those files that are necessary for creating a managed server on a remote machine.</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>Create a managed server domain directory by copying and unpacking the managed server template on a remote machine.</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>Start the managed server on the remote machine.</li>
</ul>
<p>&nbsp; <strong>How Do I Create a Managed Server Template</strong> You create a managed server template by executing the pack command on an existing domain that includes the definition of one or more managed servers and contains managed server definitions in the config.xml file.</p>
<ol>
<li>From the command line on the local machine (that is, the machine that contains the</li>
</ol>
<p>administration server and the definition of managed servers), navigate to the BEA_HOME\wlserver_10.0\common\bin directory.</p>
<ol start="2">
<li>Run the following command:</li>
</ol>
<p>pack -managed=true -domain=domain -template=template.jar -template_name="template_name" For example, the following command creates a managed server template named mydomain_managed.jar from a domain named mydomain. pack -managed=true -domain=C:\bea\user_projects\domains\mydomain -template=C:\bea\user_templates\mydomain_managed.jar -template_name="My Managed Server Domain" <strong>How Do I Create a Managed Server on a Remote Machine:</strong></p>
<ol>
<li>Install WebLogic Server on the machines on which you want to host managed servers for the domain.</li>
</ol>
<p>Note: All WebLogic Server instances within a domain must run the same version of the WebLogic Server software.</p>
<ol start="2">
<li>Establish a session with the remote machine. You may use any valid method, such as telnet, to do so.</li>
</ol>
<p>Note: The IP address and port number of the remote machine must match the definition of the managed servers specified in the managed server template.</p>
<ol start="3">
<li>Copy the managed server template to the remote machine.</li>
</ol>
<ol start="4">
<li>On the remote machine, navigate to the WL_HOME\common\bin directory (WL_HOME is the product directory in which installed WebLogic Server is installed).</li>
</ol>
<ol start="5">
<li>Run the following command: unpack -domain=domain -template=template.jar</li>
</ol>
<p>In this command: &ndash; domain is the full or relative path of the domain to be created. &ndash; template.jar is the full or relative path of the managed server template that you copied to the machine in step 3. For example, the following command creates a domain named myManagedDomain. unpack -domain=C:\bea\user_projects\domains\myManagedDomain -template=C:\bea\user_templates\mydomain_managed.jar &nbsp; <strong>Summary:</strong></p>
<ul>
<li><strong>Overview of the Domain Template Builder</strong></li>
<li><strong>Creating Domain Templates by using the Template Builder</strong></li>
<li><strong>Creating Domain Templates by using the Pack &amp; Unpack Commands</strong></li>
<li><strong>Create and Start Managed Servers Remotely</strong></li>
</ul>
<p>&nbsp; <strong>Check out our Related Courses</strong></p>
<p><a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a></p>
<p><a href="https://tekslate.com/oracle-apex-training/">Oracle Apex Training In Houston</a></p>
<p><a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a> &nbsp; &nbsp; &nbsp;</p>9a:T97c5,<p style="text-align: justify;"><span style="color: #000000;">At the end of this tutorial you will be able to:</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;"><strong>Start and Stop the Administration Server </strong></span></li>
<li><span style="color: #000000;"><strong>Start and Stop Managed Servers </strong></span></li>
<li><span style="color: #000000;"><strong>Configure the Managed Servers and Machines</strong></span></li>
<li><span style="color: #000000;"><strong>Describe Managed Server Independence</strong></span></li>
<li><span style="color: #000000;"><strong>Understanding Server Life Cycle and WLS Exit Codes</strong></span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>&nbsp;</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Introduction and Roadmap</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">This document describes how you manage BEA WebLogic Server&reg; startup, shutdown, and server life cycle. It also describes WebLogic features that you help prevent and recover from server failure.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Starting and Stopping Servers</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">WebLogic Server provides several ways to start and stop server instances. The method that you choose depends on whether you prefer using the Administration Console or a command-line interface, and on whether you are using Node Manager to manage the server&rsquo;s life cycle.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">No matter how you start a server, the result passes a set of configuration options to initialize a Java Virtual Machine (JVM). The server instance runs within the JVM, and the JVM can host only one server instance.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Starting Servers: Before You Begin:</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Meet version requirements</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Create a domain</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Provide user credentials</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Set up Node Manager</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Configure Managed Server connections to the Administration Server</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Specify Java startup options</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Starting an Administration Server:</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;"><strong>Starting an Administration Server with a Startup Script</strong></span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">You can start an Administration Server with a default startup script or create your own. To start an Administration Server with the WebLogic Server-included startup script:</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">Change to the directory in which you located the domain.</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">By default, this directory is BEA_HOME\user_projects\domains\DOMAIN_NAME, where DOMAIN_NAME is the root directory of the domain. (The name of this directory is the name of the domain.)</span></p>
<ol style="text-align: justify;" start="2">
<li><span style="color: #000000;">Run one of the following scripts:</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">&ndash; bin/startWebLogic.cmd (Windows)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">- bin\startWebLogic.sh (UNIX and Windows)</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>The startWebLogic script does the following:</em></span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">Sets environment variables by invoking DOMAIN_NAME\bin\setDomainEnv.cmd (setDomainEnv.sh on UNIX).</span></li>
<li><span style="color: #000000;">Invokes the java weblogic.Server command, which starts a JVM that is configured to run a WebLogic Server instance</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">When the server completes its startup process, it writes the following message to standard out (which, by default, is the command window):</span></p>
<p style="text-align: justify;"><span style="color: #000000;">&lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000360&gt; &lt;Server started in RUNNING mode&gt;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>2) Starting an Administration Server from the </strong><strong>Windows Start Menu</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">When you create an Administration Server on a Windows computer, the Configuration Wizard creates a shortcut on the Start Menu for starting the server (User Projects&rarr;DOMAIN_NAME&rarr;Start Admin Server for WebLogic Domain).</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>3) Starting an Admin Server with the java weblogic.Server Command</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">The weblogic.Server class is the main class for a WebLogic Server instance. You start a server instance by directly invoking weblogic.Server in a Java command.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run WL_HOME/server/bin/setWLSEnv.sh then run java weblogic.Server with the following Options if it is required</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>&ndash;Xms256m &ndash;Xmx512m</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.Name=%SERVER_NAME% -Dplatform.home=C:\bea\weblogic91</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.management.username=%WLS_USER%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.management.password=%WLS_PW%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.management.server=%ADMIN_URL%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.ProductionModeEnabled=%STARTMODE%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Note: Oracle recommends using java weblogic.Server primarily for initial development but not as a standard mechanism for starting production systems for the following reasons:</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">java weblogic.Server will not function if you select a product directory outside of the BEA home directory.</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">When executing java weblogic.Server, patches will not be recognized by the WebLogic Server runs time.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>4) Starting an Administration Server Using WLST and Node Manager</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Node Manager is a utility for remote control of WebLogic Server instances. Using Node Manager, you can control and monitor Managed Servers and also, start, stop, and restart Administration Servers.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">You can access these Node Manager features using the WebLogic Scripting Tool commands and scripts. If you use the nmStart command with WLST connected to a Node Manager, Node Manager supports monitoring, stopping, and restarting the Administration Server.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>5) Starting an Admin Server Using WLST without Node Manager</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">The WLST startServer command starts the Administration Server without using Node Manager. The server runs in a separate process from WLST; exiting WLST does not shut down the server. See Starting an Administration Server Without Node Manager in WebLogic Scripting Tool.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>For example,</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>wls:offline/&gt;startServer('AdminServer','mydomain','t3://localhost:7001','weblogic','weblogic','c:/bea/user_projects/domains/mydomain','true','60000','false')</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Starting Managed Servers:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>1) Starting Managed Servers with a Startup Script</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">If you use one of the Configuration Wizard templates that WebLogic Server provides, your domain directory includes a start script named startManagedWebLogic that you can use to start Managed Servers. You can use this script to start all the Managed Servers in a cluster.</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">Start the domain&rsquo;s Administration Server.</span></li>
</ol>
<ol style="text-align: justify;" start="2">
<li><span style="color: #000000;">In a shell (command prompt) on the computer that hosts the Managed Server, change to the directory that contains the startManagedWebLogic script:</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">DOMAIN_NAME\bin\startManagedWebLogic.cmd (Windows)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">DOMAIN_NAME/bin/startManagedWebLogic.sh (UNIX)</span></p>
<ol style="text-align: justify;" start="3">
<li><span style="color: #000000;">Enter one of the following commands:</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">&ndash; startManagedWebLogic.cmd managed_server_name admin_url (Windows)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">&ndash; startManagedWebLogic.sh managed_server_name admin_url (UNIX)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Ex: startManagedWebLogic.cmd ms1 http://localhost:7001</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>The startManagedWebLogic script does the following:</em></span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">Calls the startWebLogic script, which sets the environment variables by invoking</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">WL_HOME\user_projects\domains\DOMAIN_NAME\bin\setDomainEnv.cmd</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(setDomainEnv.sh on UNIX).</span></p>
<ol style="text-align: justify;" start="2">
<li><span style="color: #000000;">Invokes the java weblogic.Server command, which starts a JVM that is configured to run a WebLogic Server instance. When the server successfully completes its startup process, it writes the following message to standard out (which, by default, is the command window):</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">&lt;Notice&gt; &lt;WebLogicServer&gt; &lt;000360&gt; &lt;Server started in RUNNING mode&gt;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>2) Starting Managed Servers from the Administration Console</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone wp-image-2371" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/684-460x264.png" alt="68" width="457" height="262" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>3) Starting Managed Servers and Clusters with WLST and Node Manager</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Invoke WLST by entering: java weblogic.WLST</span></li>
<li><span style="color: #000000;">The WLST prompt appears. wls:/(offline)&gt;</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Use the WLST startServer command to start the Administration Server.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">startServer([adminServerName], [domainName], [url], [username], [password],[domainDir], [block], [timeout], [serverLog], [systemProperties], [jvmArgs] [spaceAsJvmArgsDelimiter])</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">For example,</span></li>
<li><span style="color: #000000;"><em>wls:offline/&gt;startServer('AdminServer','mydomain','t3://localhost:7001','weblogic','weblogic','c:/bea/user_projects/domains/mydomain','true','60000','false')</em></span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">To start a Managed Server, enter the following command:</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">start('managedServerName','Server') where managedServerName is the name of the server.</span></li>
</ul>
<ul style="text-align: justify;">
<li style="list-style-type: none;">
<ul>
<li><span style="color: #000000;"><em>For example, start('managed1','Server')</em></span></li>
</ul>
</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">&ndash; To start a cluster, enter the following command:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">start('clusterName', 'Cluster') where clusterName is the name of the cluster.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>For example:&nbsp; start('mycluster', 'Cluster')</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>4) Starting Managed Servers with the java weblogic.Server Command</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">The weblogic.Server class is the main class for a WebLogic Server instance. You start a server instance by directly invoking weblogic.Server in a Java command.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run WL_HOME/server/bin/setWLSEnv.sh then run java weblogic.Server with the following Options if it is required</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>&ndash;Xms256m &ndash;Xmx512m</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.Name=%SERVER_NAME% -Dplatform.home=C:\bea\weblogic91</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.management.username=%WLS_USER%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.management.password=%WLS_PW%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.management.server=%ADMIN_URL%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Dweblogic.ProductionModeEnabled=%STARTMODE%</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>-Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Shutting Down Instances of WebLogic Server</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Shutting Down Servers with a Stop Script</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>For an Administration Server, invoke:</em></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">DOMAIN_NAME\bin\stopWeblogic.cmd username password admin_url (Windows)</span></li>
<li><span style="color: #000000;">DOMAIN_NAME/bin/stopWeblogic.sh username password admin_url (UNIX)</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><em>For Managed Servers, invoke:</em></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">DOMAIN_NAME\bin\stopManagedWeblogic.cmd managed_server_name admin_url username password (Windows)</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">DOMAIN_NAME/bin/stopManagedWeblogic.sh managed_server_name admin_url username password (UNIX)</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><em>Note: On the command line, specify parameters in the order shown. User credentials come before the ADMIN_URL with stopWebLogic.cmd and after the ADMIN_URL with stopManagedWebLogic.cmd.</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>&nbsp;</em><em>&nbsp;</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Killing the JVM</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Each WebLogic Server instance runs in its own JVM. If you are unable to shut down a server instance using the methods described in the previous sections, you can use an operating system command to kill the JVM.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Caution: If you kill the JVM, the server immediately stops all processing. Any session data is lost. If you kill the JVM for an Administration Server while the server is writing to the config.xml file, you can corrupt the config.xml file.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>Some common ways to kill the JVM are as follows:</em></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">If the shell in which you start the server is still open, you can type Ctrl-C.</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">On a Windows computer, you can use the Task Manager to kill a JVM.</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">On a UNIX computer, you can use the ps command to list all running processes. Then you can use the kill command to kill the JVM.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>&nbsp;</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Configuring a Domain</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">After installing, configure a WLS domain on which to develop and deploy applications.</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">When you create a domain, you define a collection of resources, such as:</span>
<ul>
<li><span style="color: #000000;">Managed servers</span></li>
<li><span style="color: #000000;">Clusters</span></li>
<li><span style="color: #000000;">Database connections</span></li>
<li><span style="color: #000000;">Security services</span></li>
<li><span style="color: #000000;">J2EE applications</span></li>
</ul>
</li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Use the Configuration Wizard to create and configure WLS domains.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>&nbsp;</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Configuring Managed Servers</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">We can configure the Managed Server in three ways:</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Through Domain Configuration Wizard</span></li>
<li><span style="color: #000000;">Through Admin Console</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone wp-image-2372" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/694-460x236.png" alt="69" width="469" height="239" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Configuring Machines</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">We can configure the Machines in three ways:</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Domain Configuration Wizard</span></li>
<li><span style="color: #000000;">Admin Console</span></li>
<li><span style="color: #000000;">WLST</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone wp-image-2373" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/703-460x156.png" alt="70" width="466" height="157" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Creating a Boot Identity File</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Create a file called boot.properties located in the domain&rsquo;s root directory containing 2 lines:</span>
<ul>
<li><span style="color: #000000;">username=username</span></li>
<li><span style="color: #000000;">password=password</span></li>
</ul>
</li>
<li><span style="color: #000000;">First time you start the server, the server reads the Boot Identity file and overwrites it with an encrypted version of the username and password.</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Thereafter, the server will remember your identity for the subsequent startup cycles.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Running Multiple WLS Instances:</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">You can run multiple instances of WLS using different configurations on the same physical machine at the same time by:</span>
<ul>
<li><span style="color: #000000;">Assigning multiple IP address to a machine (multihoming) and defining each server to use a unique IP address</span></li>
</ul>
</li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">or by:</span>
<ul>
<li><span style="color: #000000;">Specifying the same IP address but using different listen ports</span></li>
</ul>
</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Multihoming</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">A multihomed machine:</span>
<ul>
<li><span style="color: #000000;">Is a machine with multiple IP addresses</span></li>
<li><span style="color: #000000;">Can run a different WLS instance bound to each IP address</span></li>
<li><span style="color: #000000;">Can be used to configure a cluster on a single machine</span></li>
</ul>
</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>What Happens if the Administration Server Fails?</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">The failure of an Administration Server does not affect the operation of Managed Servers in the domain, but it does prevent you from changing the domain&rsquo;s configuration. If an Administration Server fails because of hardware or software failure on its host machine, other server instances on the same machine may be similarly affected. However, the failure of an Administration Server itself does not interrupt the operation of Managed Servers in the domain.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">If an Administration Server for a domain becomes unavailable while the server instances it manages&mdash;clustered or otherwise&mdash;are up and running, those Managed Servers continue to run. Periodically, the Managed Servers attempt to reconnect to the Administration Server. If the domain contains clustered server instances, the load balancing and failover capabilities supported by the domain configuration remain available, even if the Administration Server fails.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">You can start a Managed Server even if the Administration Server is not running. In this case, the Managed Server uses a local copy of the domain&rsquo;s configuration files for its starting configuration and then periodically attempts to connect with the Administration Server. When it does connect, it synchronizes its configuration state with that of the Administration Server.</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">The administration server:</span>
<ul>
<li><span style="color: #000000;">Can go down without affecting the operation of managed servers</span></li>
<li><span style="color: #000000;">Can be restarted while managed servers are still running</span></li>
</ul>
</li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">When an administration server goes down:</span>
<ul>
<li><span style="color: #000000;">Domain log entries are lost while it is down</span></li>
<li><span style="color: #000000;">Managed servers can start in independent mode</span></li>
<li><span style="color: #000000;">The administration console and management tools are unavailable</span></li>
</ul>
</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Managed Server Independence&hellip;</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">By default, managed servers can function independently of the administration server.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Configure Managed Server Independence Mode from the Console</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><em>Server -&gt; Configuration -&gt; Tuning -&gt; Advanced Option:</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone wp-image-2376" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/717-460x192.png" alt="71" width="454" height="189" /></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">If the administration server is unavailable at boot time, managed servers search for:</span>
<ul>
<li><span style="color: #000000;">xml</span></li>
<li><span style="color: #000000;">data</span></li>
<li><span style="color: #000000;">properties(optional)</span></li>
</ul>
</li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Each managed server looks in its local config directory for config.xml - a replica of the domain&rsquo;s config.xml</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Administration Server Backup</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">WLS allows the creation of a backup of the server as follows:</span>
<ul>
<li><span style="color: #000000;">Install (if necessary) WLS on backup machine</span></li>
<li><span style="color: #000000;">Copy application files to backup machine</span></li>
<li><span style="color: #000000;">Copy configuration files to backup machine</span></li>
<li><span style="color: #000000;">Restart Administration server on new machine</span></li>
</ul>
</li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">The new Administration server will contact managed servers and inform them that it is running on a new IP address.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>&nbsp;</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>WebLogic Server Exit Codes</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">When a server instance stops, it issues an exit code. The value of the exit code provides information about the conditions under which the server process ended. When a server instance under Node Manager Control exits, Node Manager uses the exit code to determine whether or not to restart the server instance. Other high-availability agents can use the server-exit code or scripts to determine what, if any action, to take after a server instance exits. Server exit codes are defined in the following table..</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Exit Code Value</strong> - Less than 0</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Meaning:</strong> A negative value indicates that the server instance failed during a state transition, and did not terminate in a stable condition. Example: If a Start in Standby command is issued for a server instance whose configuration is invalid, the server instance fails in the transitional STARTING state, and does not achieve the STANDBY state.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Restart Recommendation: </strong>Do not attempt to restart the server. Diagnose the problem that caused the server process to exit.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Exit Code Value</strong> - 0</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Meaning: </strong>Indicates that the server process terminated normally, as a result of a shutdown command, either graceful or forced.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Restart Recommendation: </strong>None.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Exit Code Value</strong>: Greater than 0</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Meaning: </strong>A positive value indicates that the server instance stopped itself after determining that one or more of its subsystems were unstable. Example: A server instance detects an out of memory condition or stuck threads, and shuts itself down.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Restart Recommendation: </strong>The server instance can be restarted.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>&nbsp;</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Understanding Server Life Cycle</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">The series of states through which a WebLogic Server instance can transition is called the server life cycle. At any time, a WebLogic Server instance is in a particular operating state. Commands&mdash;such as start, stop, and suspend&mdash;cause specific changes to the operational state of a server instance.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Diagram of the Server Life Cycle</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Figure 5-1 illustrates the server life cycle and the relationships between states and life cycle commands.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone wp-image-2378" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/724-460x392.png" alt="72" width="465" height="395" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Getting and Using Server State</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">WebLogic Server displays and stores information about the current state of a server instance, and state transitions that have occurred since the server instance started up. This information is useful to administrators who:</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Monitor the availability of server instances and the applications they host</span></li>
<li><span style="color: #000000;">Perform day-to-day operations tasks, including startup and shutdown procedures</span></li>
<li><span style="color: #000000;">Diagnose problems with application services</span></li>
<li><span style="color: #000000;">Plan corrective actions, such as migration of services, when a server instance fails or crashes.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Get server state as follows:</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Administration Console&mdash;Multiple pages display state information:</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">On the Summary of Servers page (Environment&rarr;Servers), the Servers table displays the current state of each server instance in the current domain.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The SERVER_NAME&rarr;Monitoring page displays the state of the currently running server instance, and the date and time it entered the state.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Diagnostics&rarr;Log Files, includes timestamped messages for state transitions that have occurred since the server instance was last started.</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Programmatically&mdash;Use the getState() method on the server&rsquo;s weblogic.management.runtime.ServerRuntimeMBean. For example, to monitor the progress of a long-running graceful shutdown process, issue a getstate inquiry on a separate thread.</span></li>
</ul>
<ul style="text-align: justify;">
<li><span style="color: #000000;">WebLogic Scripting Tool</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Understanding </strong><strong>Server States in the Server Life Cycle</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">These sections describe each state in the WebLogic Server life cycle.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>SHUTDOWN State</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">In the SHUTDOWN state, a WebLogic Server instance is configured but inactive.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">A server instance enters the SHUTDOWN state as result of a Shutdown or Force Shutdown command. Also, a server instance can kill itself when it detects, as a result of self-health monitoring, that it has become unstable. Only a server instance with its Auto Kill If Failed attribute is true will kill itself when it detects that it is failed.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">You can transition a server instance in the SHUTDOWN state to the STARTING state with the Start, Start in Admin, or Start in Standby commands.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>STARTING State</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">During the STARTING state, a WebLogic Server instance transitions from SHUTDOWN to STANDBY, as a result of a Start, Start in Admin, or Start in Standby command.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">In the STARTING state, a server instance cannot accept any client or administrative requests.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The server instance obtains its configuration data:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">An Administration Server retrieves domain configuration data, including the domain security configuration, from its config directory.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">A Managed Server contacts the Administration Server for its configuration and security data. If the Managed Server is configured for SSL communications, it uses its own certificate files, key files, and other SSL-related files and contacts the Administration Server for the remaining configuration and security data.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Note: If the Managed Server cannot contact its Administration Server, by default, it starts up in Managed Server Independence mode, using its locally cached copy of the domain config directory.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>STANDBY</strong><strong> State</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">A server instance in STANDBY does not process any request&mdash;its regular Listen Port is closed. The Administration Port is open, and accepts life cycle commands that transition the server instance to either the RUNNING or the SHUTDOWN state. Other Administration requests are not accepted.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Starting a server instance in standby is a method of keeping it available as a &ldquo;hot&rdquo; backup, a useful capability in high-availability environments.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The only life cycle command that causes a server instance to enter the STANDBY state and remain in that state is the Start in Standby command. A server instance transitions through the STANDBY state when you issue a Start or a Start in Admin command.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Summary:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">In this Chapter we discussed:</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;"><strong>Start and Stop the Administration Server </strong></span></li>
<li><span style="color: #000000;"><strong>Start and Stop Managed Servers </strong></span></li>
<li><span style="color: #000000;"><strong>Configure the Managed Servers and Machines</strong></span></li>
<li><span style="color: #000000;"><strong>Describe Managed Server Independence</strong></span></li>
<li><span style="color: #000000;"><strong>Understanding Server Life Cycle and WLS Exit Codes</strong></span></li>
</ul>
<p><strong>Check out our Related Courses</strong> <a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a> <a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a> <a href="https://tekslate.com/oracle-apex-training/">Oracle Apex Training In Bangalore</a> <a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a></p>
<p style="text-align: justify;">&nbsp;</p>9b:T4200,<p>At the end of this chapter you will be able to:</p>
<ul>
<li><strong>Overview of the Administration Console</strong>
<ul>
<li><strong>Uses of the Admin Console</strong></li>
<li><strong>Elements of the Admin Console</strong></li>
<li><strong>Dynamic and Non-Dynamic Changes</strong></li>
</ul>
</li>
<li><strong>Overview of the WLST (Command Line Interface)</strong>
<ul>
<li><strong>Modes of Operation</strong></li>
<li><strong>Steps for using WLST</strong></li>
</ul>
</li>
</ul>
<p>An Administration Server must be running when you use the system administration tools to manage a domain. The following tools are discussed in this chapter:</p>
<ul>
<li>System Administration Console</li>
<li>Command-Line Interface(WLST)</li>
</ul>
<p><strong>&nbsp;</strong> <strong>Overview of the Administration Console</strong> The Administration Console is a Web browser-based, graphical user interface that you use to manage a WebLogic Server domain. A WebLogic Server domain is a logically related group of WebLogic Server resources that you manage as a unit. A domain includes one or more WebLogic Servers and may also include WebLogic Server clusters. Clusters are groups of WebLogic. Servers&rsquo; instances that work together to provide scalability and high-availability for applications. &nbsp; <strong>Use the Administration Console to:</strong></p>
<ul>
<li>Configure, start, and stop WebLogic Server instances</li>
<li>Configure WebLogic Server clusters</li>
<li>Configure WebLogic Server services, such as DB connectivity (JDBC) and messaging (JMS).</li>
<li>Configure security parameters, including managing users, groups, and roles</li>
<li>Configure and deploy your applications</li>
<li>Monitor server and application performance</li>
<li>View server and domain log files</li>
<li>View application deployment descriptors</li>
<li>Edit selected run-time application deployment descriptor elements</li>
</ul>
<p>&nbsp; <strong>To start the Administration Console:</strong></p>
<ol>
<li>Start an Administration Server.</li>
<li>Open one of the supported Web browsers to the following URL:</li>
</ol>
<p><strong>http://hostname:port/console&nbsp;<img class="alignnone size-full wp-image-2401" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/734.png" alt="73" width="236" height="28" /></strong> &nbsp; <strong>https://hostname:secureport/console<img class="alignnone size-full wp-image-2402" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/744.png" alt="74" width="184" height="28" /></strong> <em>hostname := name or IP address of the administration server</em> <em>port := port number the administration server is listening on</em> <em>secureport := SSL port number the administration server is listening on</em> Example URLs: <em>http://localhost:7001/console</em> <em>http://adminDNSName:7001/console</em> <em>https://127.0.0.1:7002/console</em> When the login page appears, enter the user name and the password you used to start the Administration Server. <img class="alignnone wp-image-2403" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/754-460x147.png" alt="75" width="448" height="142" /> <img class="alignnone wp-image-2404" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/764-460x288.png" alt="76" width="481" height="300" /> <strong>Elements of the Administration Console</strong> The Administration Console user interface includes the following panels. &nbsp; <strong>1) Change Center</strong> This is the starting point for using the Administration Console to make changes in WebLogic Server. <img class="alignnone wp-image-2405" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/774.png" alt="77" width="162" height="196" /> &nbsp; <strong>2) Domain Structure</strong> <strong>&nbsp;</strong>This panel contains a tree structure you can use to navigate to pages in the Administration Console. Select any of the nodes in the Domain Structure tree to view that page. Click a + (plus) icon in the Domain Structure to expand a node and a - (minus) icon to collapse the node. <img class="alignnone wp-image-2406" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/784.png" alt="78" width="187" height="193" /> <strong>3) How do I...</strong> This panel includes links to online help tasks that are relevant to the current Console page. <img class="alignnone wp-image-2407" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/794.png" alt="79" width="201" height="149" /> <strong>4) Tool Bar</strong> The tool bar at the top of the Console includes the following elements: <img class="alignnone size-full wp-image-2408" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/804.png" alt="80" width="454" height="44" /> <em>Welcome message:</em> Indicates user name which you have logged into the Console. <em>Connected to: </em>&nbsp;The IP address and port you used to connect to the Console. <em>Home: </em>&nbsp;A link to the top page of the Console. <em>Log Out: </em>&nbsp;Click to log out of the Console. <em>Preferences: </em>&nbsp;A link to a page where you can change some Console behavior. <em>Help: </em>A link to the Administration Console Online Help. <em>AskBea: </em>&nbsp;A Link to Support Team. &nbsp; <strong>5) Breadcrumb Navigation</strong> A series of links that show the path you have taken through the Administration Console&rsquo;s pages. You can click on any of the links to return to a previously-visited page. Ex: Home&nbsp;&gt; Summary of Servers&nbsp;&gt; examplesServer &nbsp; <strong>6) System Status</strong> The System Status panel reports on the number of information, error, and warning messages that have been logged. You can view these messages in the server log files, which you can access from the Administration Console at <strong>Diagnostics &gt; Log Files.</strong> <strong>&nbsp;</strong> <strong>7) Advanced Options in Console</strong></p>
<ul>
<li>The Weblogic Server Administration Console hides options which are not frequently used.</li>
</ul>
<p><img class="alignnone wp-image-2410" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/817-460x54.png" alt="81" width="403" height="47" /></p>
<ul>
<li>To display the Advanced Options section, click the &ldquo;Advanced&rdquo; link.</li>
<li>If you do not want to see the Advanced Options on the console display, click the &ldquo;Advanced&rdquo; link one more time.</li>
</ul>
<p>&nbsp; <strong>Dynamic and Non-Dynamic Changes</strong> &nbsp; Some changes you make in the Administration Console take place immediately when you activate them. Other changes require you to restart the server or module affected by the change. These latter changes are called non-dynamic changes. Non-dynamic changes are indicated in the Administration Console with this warning icon. &nbsp; <strong>Using the Change Center</strong> &nbsp; The Change Center provides a way to lock a domain configuration so you can make changes to the configuration while preventing other accounts from making changes during your edit session. &nbsp; The domain configuration locking feature is always enabled in production domains. It can be enabled or disabled in development domains. It is disabled by default when you create a new development domain. &nbsp; To change a production domain&rsquo;s configuration, you must:</p>
<ol>
<li>Locate the Change Center in the upper left of the Administration Console screen.</li>
<li>Click the Lock &amp; Edit button to lock the configuration edit hierarchy for the domain.</li>
<li>Make the changes you desire on the relevant page of the Console. Click Save on each page where you make a change.</li>
<li>When you have finished making all the desired changes, click Activate Changes in the Change Center.</li>
</ol>
<p>&nbsp; &nbsp; <strong>Undoing Changes</strong><strong>&nbsp;</strong> You can revert any pending (saved, but not yet activated) changes by clicking Undo All Changes in the Change Center. You can revert any individual change by going to the appropriate page in the Administration Console and restoring the attribute to its previous value. &nbsp; &nbsp; <strong>Releasing the Configuration Lock</strong><strong>&nbsp;</strong> You release the configuration lock as follows:</p>
<ul>
<li>Before you make changes, click Release Configuration in the Change Center to release the lock explicitly.</li>
<li>After you save changes, click Activate Changes or Undo All Changes in the Change Center to release the lock implicitly.</li>
</ul>
<p>Stopping the Administration Server does not release the configuration lock. When the Administration Server starts again, the configuration lock is in the same state it was in when the Administration Server was shut down, and any pending changes are preserved. <strong>&nbsp;</strong> <strong>Enabling the Administration Console</strong> By default, the Administration Console is enabled. If you disable it, you can re-enable it using the WebLogic Scripting Tool (WLST). Start the Administration Server, then invoke WLST and use the following commands: <em>connect("username","password")</em> <em>edit()</em> <em>startEdit()</em> <em>cmo.setConsoleEnabled(true)</em> <em>save()</em> <em>activate()</em> <em>The following attribute(s) have been changed on MBeans which require server </em> <em>re-start.</em> <em>MBean Changed : com.bea:Name=mydomain,Type=Domain Attributes changed : </em> <em>ConsoleEnabled</em> <em>Activation completed</em> <em>disconnect()</em> <em>exit()</em> &nbsp; <strong>The Command Line Interface (WLST)</strong> The WebLogic Scripting Tool (WLST) is a command-line scripting environment that you can use to create, manage, and monitor WebLogic Server domains. It is based on the Java scripting interpreter, Jython. In addition to supporting standard Jython features such as local variables, conditional variables, and flow control statements, WLST provides a set of scripting functions (commands) that are specific to WebLogic Server.</p>
<ul>
<li>Command-line tools are useful:
<ul>
<li>For automating administration using scripts</li>
<li>As an alternative to the Administration Console</li>
</ul>
</li>
<li>WLST provides a command-line interface that:
<ul>
<li>Configures WLS instances and domains</li>
<li>Manages and persists WLS configuration changes</li>
</ul>
</li>
</ul>
<ul>
<li>WLST includes the capabilities of:
<ul>
<li>Admin (deprecated in 9.X)</li>
<li>Deployer</li>
<li>wlconfig Ant tasks</li>
<li>Configuration wizard (silent mode, deprecated in 9.X)</li>
</ul>
</li>
</ul>
<p><strong>&nbsp;</strong> <strong>Using WLST Online or Offline</strong> You can use WLST as the command-line equivalent to the WebLogic Server Administration Console (WLST online) or as the command-line equivalent to the Configuration Wizard (WLST offline). &nbsp; <strong>Using WLST Online</strong> You can use WLST to connect to a running Administration Server and manage the configuration of an active domain, view performance data about resources in the domain, or manage security data (such as adding or removing users). You can also use WLST to connect to Managed Servers, but you cannot modify configuration data from Managed Servers. &nbsp; <strong>Using WLST Offline</strong> Without connecting to a running WebLogic Server instance, you can use WLST to create domain templates, create a new domain based on existing templates, or extend an existing, inactive domain. You cannot use WLST offline to view performance data about resources in a domain or modify security data (such as adding or removing users). &nbsp; <strong>Modes of Operation</strong></p>
<ul>
<li>Interactive
<ul>
<li>When you enter a command in the WLST console and view the response immediately</li>
</ul>
</li>
<li>Script
<ul>
<li>When you create a text file, with .py extension, that contains a series of WLST commands</li>
</ul>
</li>
<li>Embedded
<ul>
<li>When you instantiate an instance of the WLST interpreter in your Java code and use it to run WLST commands</li>
</ul>
</li>
</ul>
<p>&nbsp; <strong>Main Steps for using WLST</strong></p>
<ul>
<li>1) Setting environment</li>
<li>2) Invoking WLST</li>
<li>3) Requirement for entering WLST commands</li>
<li>4) Running Scripts</li>
<li>5) Importing WLST as a Jython Module</li>
<li>6) Exiting WLST</li>
</ul>
<p>&nbsp; <strong>1) Setting Up Your Environment</strong></p>
<ul>
<li>Add WebLogic Server classes to the CLASSPATH environment variable and WL_HOME\server\bin to the PATH environment variable</li>
</ul>
<ul>
<li>You can use a WL_HOME\server\bin\setWLSEnv script to set both variables.</li>
<li>On Windows, a shortcut on the Start menu sets the environment variables and invokes WLST (Tools&rarr;WebLogic Scripting Tool).</li>
</ul>
<p>&nbsp; <strong>2) Invoking WLST</strong></p>
<ul>
<li>Connecting to WLS through SSL listen port
<ul>
<li>java -
<ul>
<li>security.SSL.ignoreHostnameVerification=true -</li>
<li>security.TrustKeyStore=DemoTrust weblogic.WLST</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>Not connecting to WLS through the SSL listen port</li>
</ul>
<p>&ndash; java weblogic.WLST &ndash; A welcome message and WLST prompt appears: <em>wls:/(offline)&gt;</em> &ndash; To Connect online:<em>connect('username','password','t3s://localhost:7012')</em> &ndash; To shut down a server: <em>shutdown('myserver','Server','false',1000)</em> &ndash; To exit WLST: <em>exit()</em> &nbsp; <strong>3) Requirement for Entering WLST commands</strong></p>
<ul>
<li>Case sensitive names and arguments of commands</li>
<li>Arguments enclosed in single or double quotes</li>
<li>Precede the quoted string by r while specifying backslash (\) in a string
<ul>
<li>Example: readTemplate(r'c:\mytemplate.jar')</li>
</ul>
</li>
<li>Invalid characters in object names while using WLST offline:
<ul>
<li>Period (.)</li>
<li>Forward slash (/)</li>
<li>Backward slash (\)</li>
</ul>
</li>
<li>Cannot access security information through WLST while updating a domain</li>
<li>Display help
<ul>
<li>Example: wls:/mydomain/serverConfig&gt; help(&lsquo;disconnect&rsquo;)</li>
</ul>
</li>
</ul>
<p>&nbsp; <strong>4) Running Scripts:</strong></p>
<ul>
<li>WLST incorporates two Jython functions that support running scripts:
<ul>
<li>java weblogic.WLST filePath.py, which invokes WLST and executes a script file in a single command,</li>
<li>execfile(&ldquo;filePath.py&rdquo;) which executes a script file after you invoke WLST.</li>
</ul>
</li>
</ul>
<p>&nbsp; <strong>5) Import WLST as a Jython Module</strong> Invoke WLST:&nbsp; c:\&gt;java weblogic.WLST wls:/offline&gt; Use the writeIniFile command to convert WLST definitions and method declarations to a .py file: wls:/offline&gt; writeIniFile("wl.py") Open a new command shell and invoke Jython directly by entering the following command: c:\&gt;java org.python.util.jython Import the WLST module into your Jython module using the Jython import command: &gt;&gt;&gt;import wl Now you can use WLST methods in the module. For example, to connect WLST to a server instance: wl.connect(&rsquo;username&rsquo;,&rsquo;password&rsquo;) &nbsp; <strong>6) Exiting WLST</strong> Exit WLST: wls:/mydomain/serverConfig&gt; exit() Exiting WebLogic Scripting Tool ... &nbsp; <strong>WLST Example</strong> <img class="alignnone wp-image-2414" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/825-460x286.png" alt="82" width="487" height="302" /> &nbsp; <strong>Some WLST Commands</strong> <img class="alignnone wp-image-2415" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/835-460x178.png" alt="83" width="489" height="189" /> <img class="alignnone wp-image-2416" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/845-460x234.png" alt="84" width="487" height="247" /> &nbsp; <strong>Summary:</strong> In this Chapter we discussed:</p>
<ul>
<li><strong>Overview of the Administration Console</strong>
<ul>
<li><strong>Uses of the Admin Console</strong></li>
<li><strong>Elements of the Admin Console</strong></li>
<li><strong>Dynamic and Non-Dynamic Changes</strong></li>
</ul>
</li>
<li><strong>Overview of the WLST (Command Line Interface)</strong>
<ul>
<li><strong>Modes of Operation</strong></li>
<li><strong>Steps for using WLST</strong></li>
</ul>
</li>
</ul>
<p><strong>Check out our Related Courses</strong> <a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a> <a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a> <a href="https://tekslate.com/oracle-apex-training/">Oracle Apex Training In Bangalore</a> <a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a> &nbsp;</p>9c:T12b2,<p>You are going to learn about:</p>
<ul>
<li><strong>Network Addressing Features</strong></li>
<li><strong>Configuring the Network Channels</strong></li>
<li><strong>Examples of the Network Channels</strong></li>
</ul>
<p><strong>Network Addressing Features&hellip;</strong></p>
<ul>
<li>Adds flexibility to networking configuration:
<ul>
<li>multiple NICs for a single WLS server</li>
<li>specific NIC&rsquo;s or multiple port numbers on a NIC for specific WLS servers</li>
<li>multiple IP addresses can be used with each server</li>
<li>a single IP address can be used with multiple ports</li>
<li>configure the cluster multicast port number independently of the port numbers used by cluster members</li>
<li>multiple SSL configurations on one server</li>
<li>administration traffic only port</li>
</ul>
</li>
</ul>
<p>interoperability with previous WLS versions <img class="alignnone wp-image-2487" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1132-460x116.png" alt="113" width="416" height="104" /> <strong>Network Channels</strong></p>
<ul>
<li>define a set of basic attributes of a network connection to WLS.</li>
<li>can assign multiple channels to a single server (segment network traffic).</li>
<li>can prioritize internal (non-URL) connections.</li>
</ul>
<ul>
<li>can separate incoming client traffic from internal server to server traffic in a domain.</li>
<li>&ldquo;default&rdquo; channel gets automatically generated when a server is created.</li>
</ul>
<p>&nbsp; <strong>Configuring Network Channels</strong> Navigate to <strong>Environment </strong><strong>&agrave; Servers </strong><strong>&agrave; Server_Name </strong><strong>&agrave; Protocols </strong><strong>&agrave; Channels</strong>. &nbsp; Click on New to create Network Channel <img class="alignnone wp-image-2488" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1142.png" alt="114" width="479" height="259" /> In the Network Channel table, specify the following properties: <em>&nbsp;Name: &nbsp;Protocol</em> <img class="alignnone wp-image-2489" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1152.png" alt="115" width="256" height="256" /> In the Create a new Network Channel page, specify the following properties: <em>Listen Address</em> <em>Listen Port</em> <em>External Listen Address</em> <em>External Listen Port</em> <img class="alignnone wp-image-2493" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1162.png" alt="116" width="276" height="250" /> <img class="alignnone wp-image-2494" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1172.png" alt="117" width="408" height="189" /> &nbsp; <strong>Using Channels Example 1: Multiple NICs per server</strong> <img class="alignnone size-full wp-image-2495" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1182.png" alt="118" width="335" height="163" /></p>
<ul>
<li>Each server has 2 NICs</li>
<li>Each NIC has one channel, hence there are 2 channels per server</li>
<li>Types of channels
<ul>
<li>StandardChannel
<ul>
<li>enables HTTP</li>
<li>disables other protocols</li>
</ul>
</li>
<li>SecureChannel
<ul>
<li>enables HTTPS</li>
<li>disables other protocols</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><img class="alignnone size-full wp-image-2496" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1191.png" alt="119" width="330" height="181" /> &nbsp; <strong>Using Channels Example 2: Separate Internal and External traffic:</strong></p>
<ul>
<li>AppChannel is common between servers
<ul>
<li>used for internal communications</li>
<li>OutgoingEnabled attribute is enabled</li>
</ul>
</li>
<li>ClientChannel is used for external access
<ul>
<li>clients can only connect to public IP address 192.168.1.500</li>
<li>OutgoingEnabled attribute is disabled</li>
</ul>
</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2497" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1201-460x157.png" alt="120" width="447" height="152" /> &nbsp; <strong>Summary:</strong></p>
<ul>
<li><strong>Network Addressing Features</strong></li>
<li><strong>Configuring the Network Channels</strong></li>
</ul>
<p><strong>Check out our Related Courses</strong> <a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a> <a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a> <a href="https://tekslate.com/oracle-goldengate-training/">Oracle Goldengate Training In Dallas</a> <a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a> &nbsp; &nbsp;</p>9d:T1f6e,<p>At the end of this chapter you will be able to:</p>
<ul>
<li><strong>Describe naming and directory services</strong></li>
<li><strong>Detail the high-level architecture of JNDI</strong></li>
<li><strong>Define basic terminology</strong></li>
<li><strong>View the JNDI tree in WebLogic Server</strong></li>
<li><strong>Use the Administration Console to deploy a startup or shutdown class</strong></li>
</ul>
<p><strong>&nbsp;</strong> <strong>What is JNDI?</strong> The Java Naming and Directory Interface (JNDI) is an API that supports accessing naming and directory services in Java programs. The purpose of a naming service is to associate names with objects and provide a way to access objects based on their names. Objects in a naming system can range from files in a file system and names located in Domain Name System (DNS) records, to Enterprise JavaBeans (EJB) components in an application server and user profiles in an LDAP (Lightweight Directory Access Protocol) directory. As its name implies, JNDI doesn't just deal with naming services. JNDI also encompasses directory services, which are a natural extension of naming services. The primary difference between the two is that a directory service allows the association of attributes with objects, such as an email address attribute for a user object, while a naming service does not. Thus, with a directory service, you can access the attributes of objects and search for objects based on their attributes. You can use JNDI to access directory services like LDAP and Novell Directory Services (NDS) directories.</p>
<ul>
<li>The Java Naming and Directory Interface is an API for accessing different naming and directory services uniformly.</li>
</ul>
<ul>
<li>This is a major step forward because:</li>
</ul>
<p>&ndash; Different services use vastly different naming schemes &ndash; Java applications will be able to navigate seamlessly across databases, files, directories, objects and networks &nbsp; <strong>Why JNDI?</strong></p>
<ul>
<li>In WebLogic Server, JNDI serves as a repository and lookup service for J2EE objects including:</li>
</ul>
<ul>
<li>EJB home stubs</li>
<li>JDBC DataSources</li>
<li>JMS connection factories, queues and topics</li>
<li>RMI stubs</li>
</ul>
<p>&nbsp; <strong>JNDI Structure &amp; Architecture</strong> <img class="alignnone wp-image-2502" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1212-460x235.png" alt="121" width="396" height="202" /> <strong>Naming Service</strong> A naming service provides a method for mapping identifiers to entities or objects: <em>Naming Service vocabulary:</em> <strong>Binding: </strong>Association of an atomic name and an object <em>Example: www.bea.com is bound to 209.10.217.38</em> <strong>Namespace: </strong>A set of unique names in a naming system <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example: www.bea.com/products</em> <img class="alignnone size-full wp-image-2503" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1222.png" alt="122" width="162" height="209" /> &nbsp; <strong>A JNDI Tree</strong> <img class="alignnone wp-image-2504" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1232-460x300.png" alt="123" width="415" height="270" /> <strong>Contexts and Subcontexts</strong> A naming service associates names with objects. An association between a name and an object is called a <em>binding</em>, and a set of such bindings is called a <em>context</em>. A name in a context can be bound to another context that uses the same naming conventions; the bound context is called a <em>subcontext</em>. For example, in a filesystem, a directory (such as <em>/temp</em>) is a context that contains bindings between filenames and objects that the system can use to manipulate the files (often called <em>file handles</em>). If a directory contains a binding for another directory (e.g., <em>/temp/javax</em>), the subdirectory is a subcontext.</p>
<ul>
<li>Subcontexts are referenced through dot delimiters (.)</li>
<li>Subcontexts must be created before objects are placed into them</li>
</ul>
<p>If the following context exists<em>: com.bea.examples</em> We cannot bind:<em> com.bea.examples.ejb.SomeObject</em> Without first creating:<em> com.bea.examples.ejb</em> &nbsp; <strong>JNDI for Administrators</strong></p>
<ul>
<li>An administrator needs to understand JNDI because it will be their job to:</li>
<li>verify objects are bound in the JNDI tree</li>
<li>set security on contexts within the JNDI tree</li>
</ul>
<p>&nbsp; <strong>Viewing the JNDI Tree</strong> <img class="alignnone wp-image-2505" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1242-460x298.png" alt="124" width="433" height="280" /> &nbsp; <strong>Listing JNDI Contents</strong></p>
<ul>
<li>WLST provides a command line utility for viewing JNDI bindings.</li>
<li>jndi() changes to the jndi tree and ls() lists the bindings</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2506" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1251-460x231.png" alt="125" width="472" height="236" /> &nbsp; <strong>Startup and Shutdown Classes</strong> You can use startup and shutdown classes to configure a WebLogic Server to perform tasks when you start or gracefully shut down the server. A startup class is a Java program that is automatically loaded and executed when a WebLogic Server is started or restarted. A shutdown class is a Java program that is automatically loaded and executed when the WebLogic Server is shut down either from the Administration Console or the weblogic.admin shutdown command. To use startup or shutdown classes, you must configure and assign them to servers or clusters. <em>You can use a startup class to:</em></p>
<ul>
<li>initialize objects in memory</li>
<li>reconstruct a JNDI tree</li>
<li>load critical values from the database</li>
<li>recover the system to the state that existed before shutdown</li>
</ul>
<p><em>You can use a shutdown class to:</em></p>
<ul>
<li>Shutdown classes are usually used to free resources obtained by startup classes.</li>
</ul>
<p>&nbsp; <strong>Defining Startup/Shutdown Classes</strong> <img class="alignnone wp-image-2507" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1261-460x558.png" alt="126" width="443" height="538" /> &nbsp; <strong>When Are Startup Classes Loaded?</strong></p>
<ul>
<li>By default, startup classes are loaded after the J2EE deployment units.</li>
</ul>
<ul>
<li>J2EE deployment units load in this order: JDBC, JMS, Connectors, EJBs, Web Applications.</li>
</ul>
<ul>
<li>If &ldquo;Run Before Application Deployments&rdquo; is checked, then startup class are loaded right before deploying JDBC Data Sources.</li>
</ul>
<p><img class="alignnone wp-image-2509" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1271-460x107.png" alt="127" width="448" height="103" /> &nbsp; <strong>Summary:</strong> In this chapter we discussed:</p>
<ul>
<li>What naming and directory services are</li>
<li>The high-level architecture of JNDI</li>
<li>Terminology used in naming and directory services</li>
<li>How to view the JNDI tree in WebLogic Server</li>
<li>How to deploy a startup or shutdown class via Administration Console</li>
<li>What startup and shutdown classes are and how they work</li>
<li>How to deploy a startup or shutdown class using the Administration Console</li>
</ul>
<p><strong>Check out our Related Courses</strong> <a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a> <a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a> <a href="https://tekslate.com/oracle-goldengate-training/">Oracle Goldengate Training In Houston</a> <a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a> &nbsp; &nbsp;</p>9e:Tbcc5,<p>At the end of this chapter you will be able to:</p>
<ul>
<li><strong>Describe the Web server capabilities of WebLogic Server </strong></li>
<li><strong>Describe the Enterprise Java Bean (EJB)</strong></li>
<li><strong>Describing the Enterprise Application Folder Structure</strong></li>
<li><strong>Deployments Plans and Side By Side Deployments</strong></li>
</ul>
<h3><span style="color: #e67e23;"><strong>&nbsp;</strong><strong>Web Servers:</strong></span></h3>
<p>Web servers are computers on the Internet that host websites, serving pages to viewers upon request. This service is referred to as web hosting. Every web server has a unique address so that other computers connected to the internet know where to find it on the vast network. The Internet Protocol (IP) address looks something like this: 127.0.0.1. This address maps to a more human friendly address, such as <a href="http://www.google.com" target="_blank">http://www.google.com</a></p>
<h3><span style="color: #e67e23;"><strong>The Client Server Architecture:</strong></span></h3>
<p>The Internet revolves around the client-server architecture. Your computer runs software called the client and it interacts with software known as the server located at a remote computer. The client is usually a browser such as Internet Explorer, Netscape Navigator or Mozilla. Browsers interact with the server using a set of instructions called protocols. These protocols help in the accurate transfer of data through requests from a browser and responses from the server. There are many protocols available on the Internet. The World Wide Web, which is a part of the Internet, brings all these protocols under one roof. You can, thus, use HTTP, FTP, Telnet, email etc. from one platform - your web browser.</p>
<p><em>Some common Internet protocols</em></p>
<ul>
<li><strong>HTTP (Hyper Text Transfer Protocol):</strong> used on the World Wide Web (WWW) for transferring web pages and files contained in web pages such as images.</li>
<li><strong>FTP (File Transfer Protocol):</strong> employed for transferring files from one machine to the other.</li>
<li><strong>SMTP (Simple Mail Transport Protocol):</strong> used for email.</li>
<li><strong>Telnet Protocol:</strong> Used to open telnet sessions.</li>
</ul>
<p>The web employs a connection-less protocol, which means that after every client-server interaction the connection between the two is lost Let us now examine the client-server inter-communication with two &nbsp;models.</p>
<p><em>Model #1 of the client-server architecture - Static HTML pages</em></p>
<p>The client (browser) requests for an HTML file stored on the remote machine through the server software. The server locates this file and passes it to the client. The client then displays this file on your machine. In this case, the HTML page is static. Static pages do not change until the developer modifies them.</p>
<p><img class="alignnone wp-image-2512" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1281.png" alt="128" width="359" height="245" /></p>
<p><em>Model #2 of the client-server architecture - Server side scripting technologies</em></p>
<p>The second case also involves dynamic response generated by the use of server side technologies. There are many server side technologies today.</p>
<p><em>Java Server Pages</em>: .jsp pages contain Java code.</p>
<p><em>Server Side Includes (SSI)</em>: Involves the embedding of small code snippets inside the HTML page. An SSI page typically has .shtml as its file extension. With these server technologies it has become easier to maintain Web pages especially helpful for a large web site.</p>
<p><img class="alignnone wp-image-2513" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1291.png" alt="129" width="351" height="237" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>The Role of Web Servers</strong></span></p>
<ul>
<li>Web servers are responsible for handling HTTP requests from clients.</li>
<li>Web servers typically return:</li>
<li>Static content (HTML pages, graphics, &hellip;)</li>
<li>Dynamic content (Servlet, JSPs, CGIs, &hellip;)</li>
</ul>
<p><span style="color: #e67e23;">&nbsp; <strong>A Typical Web Interaction</strong></span></p>
<p><img class="alignnone wp-image-2514" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1301-460x265.png" alt="130" width="398" height="228" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>MIME Types:</strong></span></p>
<ul>
<li>Multipurpose Internet Mail Extensions (MIME) is a protocol for identifying and encoding binary data.</li>
<li>All HTTP response data is encoded with a MIME content type.</li>
<li>Browsers interpret HTTP response data differently depending upon the MIME type of the data:
<ul>
<li>HTML pages are parsed and displayed</li>
<li>PDF documents can be sent to Adobe Acrobat</li>
<li>application code can be directly executed</li>
</ul>
</li>
</ul>
<p><span style="color: #e67e23;">&nbsp;<strong>HTTP </strong><strong>Status Code Definitions</strong></span></p>
<ul>
<li>HTTP status codes:
<ul>
<li>indicate to the client whether or not the request was successful</li>
<li>provide the client a reason for a failed request</li>
<li>used by clients to provide alternate behavior</li>
</ul>
</li>
</ul>
<p>Each Status-Code is described below, including a description of which method(s) it can follow and any Meta information required in the response.</p>
<p><em>1xx - Informational</em> &nbsp;</p>
<p>This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. There are no required headers for this class of status code. Since HTTP/1.0 did not define any 1xx status codes, servers MUST NOT send a 1xx response to an HTTP/1.0 client except under experimental conditions.</p>
<p>Ex: 100 &ndash; Continue, 101 - Switching Protocols &nbsp;</p>
<p><em>2xx - Successful</em> &nbsp;</p>
<p>This class of status code indicates that the client's request was successfully received, understood, and accepted.</p>
<p>Ex: 200 &ndash; Ok, 201 &ndash; Created &nbsp;</p>
<p><em>3xx &ndash; Redirection:</em> &nbsp;</p>
<p>This class of status code indicates that further action needs to be taken by the user agent in order to fulfill the request. The action required MAY be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD.</p>
<p>Ex: 301 - Moved Permanently, 302 &ndash; Found &nbsp;</p>
<p><em>4xx - Client Error:</em> &nbsp;</p>
<p>The 4xx class of status code is intended for cases in which the client seems to have erred.</p>
<p>Ex: 400 Bad Request, 401 Unauthorized, 404 Not Found &nbsp;</p>
<p><em>5xx - Server Error:</em></p>
<p>Response status codes beginning with the digit "5" indicate cases in which the server is aware that it has erred or is incapable of performing the request.</p>
<p>Ex: 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Static Content:</strong></span></p>
<ul>
<li>Static content documents are predefined on the server and do not change.</li>
<li>WebLogic Server can be used to serve static content</li>
<li>such as:
<ul>
<li>HTML documents</li>
<li>images</li>
<li>PDF documents</li>
</ul>
</li>
<li>WebLogic Server can serve static documents:
<ul>
<li>over standard HTTP</li>
<li>through SSL using HTTPS</li>
</ul>
</li>
</ul>
<p><span style="color: #e67e23;">&nbsp;<strong>Dynamic Content:</strong></span></p>
<ul>
<li>Dynamic content documents may change based on the client&rsquo;s request.</li>
<li>HTML documents can be created on the fly by using:
<ul>
<li>Servlets</li>
<li>JavaServer Pages (JSPs)</li>
<li>Common Gateway Interface (CGI) programs</li>
</ul>
</li>
</ul>
<h3><span style="color: #e67e23;">&nbsp;<strong>Web Applications</strong></span></h3>
<p><span style="color: #e67e23;"> <strong>&nbsp;</strong><strong>What Is a Web Application?</strong></span></p>
<p>A web application is any application that uses a web browser as a client. The application can be as simple as a message board or a guest sign-in book on a website, or as complex as a word processor or a spreadsheet. A Web Application is a group of server-side resources that create an interactive online application. &nbsp; Server-side resources include:</p>
<ul>
<li>Servlets (small server-side applications)</li>
<li>JavaServer Pages (dynamic content)</li>
<li>static documents (HTML, images)</li>
<li>Server-side classes</li>
<li>Client-side applets and beans</li>
</ul>
<p><span style="color: #e67e23;">&nbsp;<strong>Packaging Web Applications</strong> </span></p>
<p>You add web components to a J2EE application in a package called a&nbsp;<em>web application archive</em>&nbsp;(WAR), which is a JAR similar to the package used for Java class libraries. A WAR usually contains other resources besides web components, including: &nbsp;</p>
<ul>
<li>Server-side utility classes (database beans, shopping carts, and so on).</li>
<li>Static web resources (HTML, image, and sound files, and so on)</li>
<li>Client-side classes (applets and utility classes)</li>
</ul>
<p>&nbsp; A WAR has a specific hierarchical directory structure. The top-level directory of a WAR is the&nbsp;<em>document root</em>&nbsp;of the application. The document root is where JSP pages, client-side classes and archives, and static web resources are stored. The document root contains a subdirectory called&nbsp;WEB-INF, which contains the following files and directories: &nbsp;</p>
<ul>
<li>web.xml -&nbsp;the web application deployment descriptor</li>
<li>Tag library descriptor files (see&nbsp;<a href="http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPTags5.html#67903">Tag Library Descriptors</a>).</li>
<li>classes&nbsp;- a directory that contains server-side classes: servlet, utility classes, and JavaBeans components.</li>
<li>lib&nbsp;- a directory that contains JAR archives of libraries (tag libraries and any utility libraries called by server-side classes).</li>
</ul>
<p>&nbsp; You can also create application-specific subdirectories (that is , package directories) in either the document root or the&nbsp;WEB-INF/classes&nbsp;directory. Before deploying an application package and registering it with a WLS server. Follow these steps to package a Web App: &nbsp;</p>
<ol>
<li>Arrange resources in a prescribed directory structure</li>
<li>Develop web.xml Deployment Descriptor (or copy as required)</li>
<li>Develop weblogic.xml Deployment Descriptor (WLS-Specific)</li>
<li>Archive Web App into .war file using jar by using jar &ndash;cvf command</li>
<li>Deploy Web App onto WLS</li>
<li>Configure Web App with WLS Administration Console</li>
</ol>
<p><span style="color: #e67e23;"><strong>Web Application Structure</strong> </span></p>
<p>The structure of Web Applications is defined by the Servlet specification. A Web Application can be either: &nbsp;</p>
<ul>
<li>an archived file (.war file)</li>
<li>An expanded directory structure</li>
</ul>
<p><img class="alignnone wp-image-2515" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1311-460x164.png" alt="131" width="374" height="132" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Configuring Web Applications</strong><strong>&nbsp;</strong> </span></p>
<p>Web applications are configured through deployment descriptors web.xml and weblogic.xml which:</p>
<ul>
<li>Define run-time environment</li>
<li>Map URLs to Servlets and JSPs</li>
<li>Define application defaults such as welcome and error pages</li>
<li>Specify J2EE security constraints</li>
<li>Define work managers for applications</li>
<li>Set the context-root for the application</li>
</ul>
<p><span style="color: #e67e23;"><strong>The web.xml File</strong> </span></p>
<p>The web.xml file is a deployment descriptor for configuring:</p>
<ul>
<li>Servlets and JSP registration</li>
<li>Servlet initialization parameters</li>
<li>JSP tag libraries</li>
<li>MIME type mappings</li>
<li>Welcome file list</li>
<li>Error pages</li>
<li>Security constraints and roles</li>
<li>Resources</li>
<li>EJB references</li>
</ul>
<p><span style="color: #e67e23;"><strong>The weblogic.xml File</strong> </span></p>
<p>The weblogic.xml is a WebLogic Server specific deployment descriptor for configuring:</p>
<ul>
<li>JSP properties</li>
<li>JNDI mappings</li>
<li>Security role mappings</li>
<li>HTTP session parameters</li>
<li>Work managers</li>
<li>Context root</li>
<li>Virtual directory mappings</li>
<li>Logging parameters</li>
<li>Library modules</li>
</ul>
<p>Example of weblogic.xml deployment descriptor. <em>&lt;?xml version=&rsquo;1.0&rsquo; encoding=&rsquo;utf-8&rsquo;?&gt;</em> <em>&lt;weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90" </em> <em>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;</em> <em>&lt;/weblogic-web-app&gt;</em> <em>&nbsp;</em></p>
<p><span style="color: #e67e23;"> <strong>Web Application Archive:</strong></span></p>
<ul>
<li>Web Application archives (.war files)
<ul>
<li>are compressed files that contain directory structures that represent Web Applications</li>
<li>simplify the distribution and sharing of Web Applications across a network</li>
<li>can share common resources</li>
<li>can be combined into larger applications</li>
</ul>
</li>
<li>For ease of development and debugging Web Applications are not archived until the end of production.</li>
</ul>
<p>Web archives are created using the jar utility:</p>
<p><img class="alignnone wp-image-2516" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1321-460x272.png" alt="132" width="429" height="253" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>URLs and Web Apps</strong> </span></p>
<p>The URL used to reference a resource in a Web Application must include the name of the Web Application. Accessing a resource in a Web Application: <em><a href="http://hostnameport">http://hostname:port/MyWebApplication/resource</a></em> Where: <em>resource</em>: Static page, Servlet mapping, or JSP <em>MyWebApplication:</em> Name of the Web Application; not necessary if this is the default Web Application <em>Hostname: </em>Host name mapped to virtual host or hostname: port &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Virtual Directory Mappings:</strong> </span></p>
<p>Virtual directories:</p>
<ul>
<li>can be used to refer to physical directories</li>
<li>let you avoid the need to hard-code paths to physical directories</li>
<li>allow multiple Web applications to share common physical directories for specific requests such as images</li>
<li>decrease duplication of files across applications</li>
<li>are configured in weblogic.xml</li>
</ul>
<p><em>Virtual Directory Mapping Example</em> &lt;virtual-directory-mapping&gt; &lt;local-path&gt;c:/usr/gifs&lt;/local-path&gt; &lt;url-pattern&gt;/images/*&lt;/url-pattern&gt; &lt;url-pattern&gt;*.jpg&lt;/url-pattern&gt; &lt;/virtual-directory&gt; &lt;virtual-directory-mapping&gt; &lt;local-path&gt;c:/usr/common_jsps.jar&lt;/local-path&gt; &lt;url-pattern&gt;*.jsp&lt;/url-pattern&gt; &lt;/virtual-directory&gt; &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Archive vs. Expanded Directory:</strong></span></p>
<ul>
<li>Archive Web Applications if:
<ul>
<li>in production phase</li>
<li>deploying to several machines</li>
</ul>
</li>
<li>Do not archive Web Applications if:
<ul>
<li>in development/debugging phase</li>
<li>application will be updated frequently</li>
<li>deploying to a single machine (Administration server)</li>
</ul>
</li>
</ul>
<p><span style="color: #e67e23;"><strong>Enterprise JavaBeans</strong> </span></p>
<p>Enterprise JavaBeans (EJB) is a comprehensive technology that provides the infrastructure for building enterprise-level server-side distributed Java components. The EJB technology provides a distributed component architecture that integrates several enterprise-level requirements such as distribution, transactions, security, messaging, persistence, and connectivity to mainframes and Enterprise Resource Planning (ERP) systems. &nbsp;</p>
<p><span style="color: #e67e23;"><strong>EJB Architecture</strong> </span></p>
<p>Any distributed component technology should have the following requirements:</p>
<ol>
<li>There should be a mechanism to create the client-side and server-side proxy objects. A client-side proxy represents the server-side object on the client-side. As far as the client is concerned, the client-side proxy is equivalent to the server-side object. On the other hand, the purpose of the server-side proxy is to provide the basic infrastructure to receive client requests and delegate these request to the actual implementation object.</li>
</ol>
<ol start="2">
<li>We need to obtain a reference to client-side proxy object. In order to communicate with the server-side object, the client needs to obtain a reference to the proxy.</li>
</ol>
<ol start="3">
<li>There should be a way to inform the distributed component system that a specific component is no longer in use by the client.</li>
</ol>
<p>Enterprise JavaBeans&trade; (EJB) standardizes development and deployment of Java server components.</p>
<ul>
<li>The EJB specification defines relationships between:
<ul>
<li>the EJB and its container</li>
<li>the container and the application server</li>
<li>the container and the client</li>
</ul>
</li>
</ul>
<p><img class="alignnone wp-image-2517" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/137-460x259.png" alt="1" width="412" height="231" /> &nbsp;</p>
<p><em>Session Beans: Stateful and Stateless</em> Session beans can be either stateful or stateless. Stateful session beans maintain conversational state when used by a client. Conversational state is not written to a database but can store some state in private variables during one method call and a subsequent method call can rely on this state. Maintaining a conversational state allows a client to carry on a conversation with a bean. As each method on the bean is invoked, the state of the session bean may change and that change can affect subsequent method calls. Stateless session beans do not maintain any conversational state. Each method is completely independent and uses only data passed in its parameters. One can specify whether a bean is stateful or not in the bean's deployment descriptor.</p>
<p><em>Entity Beans: Container and Bean Managed Persistence</em> There are two types of entity beans and they are distinguished by how they manage persistence. Container-managed beans have their persistence automatically managed by the EJB container. This is a more sophisticated approach and here the bean developer does not implement the persistence logic. The developer relies on the deployment descriptor to specify attributes whose persistence should be managed by the container. The container knows how a bean instance's fields map to the database and automatically takes care of inserting, updating, and deleting the data associated with entities in the database. &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Deployment Descriptors:</strong>&nbsp;</span></p>
<p>Much of the information about how beans are managed at runtime is not supplied in the interfaces and classes mentioned above. There are some common primary services related with distributed systems apart from some specific services such as security, transactions, naming that are being handled automatically by EJB server. But still EJB server needs to know beforehand how to apply the primary services to each bean class at runtime. Deployment descriptors exactly do this all important task. &nbsp;</p>
<p><span style="color: #e67e23;"><strong>JAR Files:</strong>&nbsp;</span></p>
<p>Jar files are ZIP files that are used specifically for packaging Java classes that are ready to be used in some type of application. A Jar file containing one or more enterprise beans includes the bean classes, remote interfaces, home interfaces, and primary keys for each bean. It also contains one deployment descriptor. &nbsp;</p>
<p><span style="color: #e67e23;"><strong>EJB Application Directory Structure:</strong></span></p>
<ul>
<li>EJB components come packaged in JAR files.</li>
<li>EJBs are configured by modifying deployment descriptors.</li>
</ul>
<p>EJB administrator tasks include:</p>
<ul>
<li>configure and deploy</li>
<li>resolve JNDI and other infrastructure issues</li>
<li>monitor EJB caches and pools</li>
</ul>
<p><span style="color: #e67e23;"><strong>Types of EJBs</strong> </span></p>
<p>Enterprise JavaBeans server-side components come in two fundamentally different types: entity beans and session beans.</p>
<p><img class="alignnone wp-image-2518" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/219.png" alt="2" width="366" height="208" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>What Is an Enterprise Application?</strong></span></p>
<p>An enterprise application is a business application, obviously. As most people use the term, it is a&nbsp;<em>big</em>&nbsp;business application. In today&rsquo;s corporate environment, enterprise applications are complex, scalable, distributed, component-based, and mission-critical. They may be deployed on a variety of platforms across corporate networks, intranets, or the Internet. They are data-centric, user-friendly, and must meet stringent requirements for security, administration, and maintenance. In short, they are highly complex systems. Designing and developing such enterprise applications means satisfying hundreds or thousands of separate requirements. What&rsquo;s more, every development decision you make to satisfy each requirement affects many other requirements, often in ways that are difficult to understand or predict &mdash; and the failure to meet<em> any</em>&nbsp;of these requirements can mean the failure of the entire project! An enterprise application is a grouping of several resources into one deployable unit packaged in an .ear file. These resources include: &ndash; Web applications (.war) &ndash; EJB applications (.jar) &ndash; Java applications (.jar) &ndash; Resource adapters (.rar) &nbsp;</p>
<p><span style="color: #e67e23;"><strong>J2EE Enterprise Application</strong></span></p>
<p><img class="alignnone wp-image-2519" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/318-460x217.png" alt="3" width="436" height="205" /> &nbsp; &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Why Enterprise Applications?</strong> </span></p>
<p>Use enterprise applications to: &ndash; Avoid name space clashes &ndash; Declare application-wide security roles &ndash; Deploy an application as one unit &ndash; Share application-wide EJB resources &ndash; Configure local JDBC datasources &ndash; Configure local JMS resources &ndash; Configure local XML resources &nbsp;</p>
<p><span style="color: #e67e23;"><strong>EAR File Structure</strong> </span></p>
<p>An example directory structure of an enterprise application is shown below:</p>
<p><img class="alignnone wp-image-2520" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/420-460x148.png" alt="4" width="416" height="133" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Configuring WLS Specific Features</strong> &nbsp; </span></p>
<p>Configure Enterprise-wide WLS specific features with weblogic-application.xml deployment descriptor: &nbsp;</p>
<ul>
<li>XML parsers</li>
<li>XML entity mappings</li>
<li>JDBC datasources</li>
<li>JMS connection factories and destinations</li>
<li>Security realms</li>
</ul>
<p><span style="color: #e67e23;"><strong>&nbsp;</strong> <strong>WLS Application Class Loader</strong> </span></p>
<p>Each application receives its own class loader hierarchy with the system class loader as its parent.</p>
<p><img class="alignnone wp-image-2521" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/520-460x225.png" alt="5" width="382" height="186" /></p>
<p><span style="color: #e67e23;"><strong>EAR Class Libraries:</strong> <strong>&nbsp;</strong></span></p>
<ul>
<li>Extending the J2EE spec, BEA has added APP-INF/lib and APP-INF/classes to the standard J2EE ear file structure.</li>
<li>When the application is initialized, paths extracted are appended to the beginning of the application&rsquo;s CLASSPATH</li>
<li>Classes are added to the root classloader of the application.</li>
</ul>
<p><span style="color: #e67e23;">&nbsp;<strong>J2EE Library Support:</strong></span></p>
<ul>
<li>To make things easier, you can create a library of J2EE modules, package them into an Enterprise application (EAR) then deploy and register it with the application container.</li>
<li>Afterwards, other applications can use the modules as if they were packaged in their own EAR files.</li>
<li>This allows for more reusability between applications.</li>
</ul>
<p><span style="text-decoration: underline;"><strong>Deployment</strong></span> <strong>&nbsp;</strong></p>
<p><span style="color: #e67e23;"><strong>Deploying an application involves the following tasks:</strong></span></p>
<ul>
<li><em>Preparing -</em> Choosing whether to package the application as an archived file or keeping it in an exploded directory</li>
<li><em>Configuring &ndash;</em> Creating a deployment plan to maintain configuration changes without changing the deployment descriptors</li>
<li><em>Deploying &ndash;</em> Targeting and distributing the application to WebLogic servers in a domain</li>
</ul>
<p><span style="color: #e67e23;"><strong>Deployment Methods</strong> </span></p>
<p><em>WLS supports three deployment methods:</em> &ndash; Auto-deployment &ndash; console deployment &ndash; Command-line deployment &nbsp;</p>
<p><em>You can deploy:</em> &ndash; Enterprise applications &ndash; Web applications &ndash; Web Services &ndash; J2EE libraries &ndash; JDBC, JMS and Diagnostic Framework modules &ndash; EJB components &ndash; Resource adapters &ndash; Optional packages &ndash; Client application archives &nbsp;</p>
<p><em>Applications and EJBs can be deployed:</em> &ndash; in an archived file (.ear, .war, .jar) &ndash; Or in exploded (open) directory format <strong>&nbsp;</strong></p>
<p><span style="color: #e67e23;"><strong>Auto-Deployment &ndash; Copying Files</strong></span></p>
<p>If Production Mode is OFF:</p>
<ul>
<li>You can install an application simply by copying it (manually or using the console) to the &lsquo;autodeploy&rsquo; folder of the domain</li>
<li>The Administration Server monitors this folder for new, changed or removed applications</li>
<li>This configures, targets and deploys the application to the Administration server only</li>
</ul>
<p><em>Location of Applications Directory:</em> <em>%BEA_HOME%\user_projects\domains\domain_name\autodeploy</em> <strong>&nbsp;</strong></p>
<p><span style="color: #e67e23;"><strong>Development vs. Production Modes</strong></span></p>
<ul>
<li>An Administration server starts either using:
<ul>
<li>development mode, which turns auto-deployment on</li>
<li>production mode, which turns auto-deployment off</li>
</ul>
</li>
<li>The Administration server starts in the mode selected at domain creation time.</li>
<li>The mode is set for all WebLogic servers in a given domain.</li>
</ul>
<p><span style="color: #e67e23;">&nbsp; <strong>Production Mode Flag</strong></span></p>
<ul>
<li>When Production mode is disabled, applications can be dynamically deployed.</li>
<li>Application poller will be enabled in Development Mode.</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2522" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/618-460x183.png" alt="6" width="448" height="178" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Console Deployment Method&hellip;</strong></span></p>
<ul>
<li>Deploying with the console allows full administrator control:
<ul>
<li>Installation from a location of your choice</li>
<li>Manual configuration of application name</li>
<li>Targeting of application to individual servers and/or clusters</li>
<li>Configuring the application without targeting it</li>
<li>Activating deployment when desired</li>
</ul>
</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2524" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/718-460x221.png" alt="7" width="481" height="231" /></p>
<p><img class="alignnone wp-image-2525" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/818-460x251.png" alt="8" width="455" height="247" /></p>
<p>&nbsp;</p>
<p>&nbsp;<img class="alignnone wp-image-2527" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/918-460x170.png" alt="9" width="412" height="151" /></p>
<p><img class="alignnone wp-image-2528" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1013-460x302.png" alt="10" width="399" height="261" /></p>
<p>&nbsp;</p>
<p><img class="alignnone wp-image-2529" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1114.png" alt="11" width="386" height="211" /></p>
<h3><span style="color: #e67e23;">DD Editing</span></h3>
<p>Some deployment descriptor elements are editable via the console</p>
<p>&nbsp; <img class="alignnone wp-image-2532" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1214-460x274.png" alt="12" width="447" height="265" /></p>
<h3><span style="color: #e67e23;"><strong>Application Monitoring</strong></span></h3>
<p><img class="alignnone wp-image-2533" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/138-460x234.png" alt="13" width="458" height="232" /></p>
<h3><span style="color: #e67e23;"><strong>Application Testing</strong> </span></h3>
<p>You can test a deployed application using the administration console.</p>
<p><img class="alignnone wp-image-2534" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/146-460x173.png" alt="14" width="402" height="150" /></p>
<h3><span style="color: #e67e23;"><strong>Application Update and Delete&hellip;</strong></span></h3>
<ul>
<li>Using the console, applications can be updated (redeployed) after configuration or component changes, or deleted (undeployed).</li>
</ul>
<ul>
<li>All concurrent deployment activity is tracked by the Administration server in a series of tasks:
<ul>
<li>Task progress and outcome can be queried for each application</li>
<li>Reasons for failure are logged</li>
</ul>
</li>
</ul>
<p><img class="alignnone wp-image-2535" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/156-460x266.png" alt="15" width="404" height="233" />&nbsp; &nbsp;<img class="alignnone wp-image-2536" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/166-460x259.png" alt="16" width="454" height="254" />&nbsp; &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Command-Line Deployment:</strong> </span></p>
<p>Any function that can be done through the Weblogic admin console can be done through command-line equivalents. A simple example of this is redeploying an existing webapp.</p>
<p>Using weblogic.Deployer Utility</p>
<p>To use the weblogic.Deployer utility:</p>
<p>&nbsp; &nbsp;1. Set up your local environment so that WebLogic Server classes are in your system CLASSPATH and the JDK is available. You can use the setenv script located in your server's /bin directory to set the CLASSPATH.<br />&nbsp; &nbsp;2. Use the following command syntax:</p>
<p>&nbsp; &nbsp; % java weblogic.Deployer [options] [actions] [file(s)]</p>
<p style="line-height: 18.0pt; margin: 4.8pt 0in 6.0pt 0in;"><span style="color: black;">Here are the examples that can be seen by issuing the command<span class="apple-converted-space">&nbsp;</span></span></p>
<p style="line-height: 18.0pt; margin: 4.8pt 0in 6.0pt 0in;"><span style="color: black;"><strong>java Weblogic.deployer -examples</strong>:</span></p>
<table style="width: 1025px; height: 1329px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td style="width: 1021.05px;">
<div>
<pre><em>Deploy application on admin server:</em></pre>
<pre>&nbsp;</pre>
<pre>java weblogic.Deployer -adminurl url -username username -password password</pre>
<pre>-name myapp -deploy c:/myapps/myapp.ear</pre>
<div>
<pre><em>Deploy individual modules in application to different targets:</em></pre>
<pre>&nbsp;</pre>
<pre>java weblogic.Deployer -adminurl url -username username -password password</pre>
<pre>-name myapp -targets mywar@webserver,myjar@ejbserver -deploy</pre>
<pre>c:/myapps/myapp.ear</pre>
<pre>&nbsp;</pre>
<pre><em>Undeploy application from specified targets:</em></pre>
<pre>&nbsp;</pre>
<pre>java weblogic.Deployer -adminurl url -username username -password password</pre>
<pre>-name myapp -undeploy -targets server1,server2..</pre>
<pre>&nbsp;</pre>
<pre><em>Redeploy application on current targets:</em></pre>
<pre>&nbsp;</pre>
<pre>java weblogic.Deployer -adminurl url -username username -password password</pre>
<pre>-name myapp -redeploy</pre>
<pre>&nbsp;</pre>
<pre><em>Redeploy individual module in an application:</em></pre>
<pre>&nbsp;</pre>
<pre>java weblogic.Deployer -adminurl url -username username -password password</pre>
<pre>-name myapp -redeploy -targets moduleA@serverA,moduleA@serverB</pre>
<pre>&nbsp;</pre>
<pre><em>Partially redeploy, for example, to update a JSP in a exploded webapp:</em></pre>
<pre>&nbsp;</pre>
<pre>java weblogic.Deployer -adminurl url -username username -password password</pre>
<pre>-name myapp -redeploy mywar/index.jsp</pre>
<pre>&nbsp;</pre>
<pre>The path of JSP to be updated is relative to the root of the application. If a directory is specified the entire subtree is updated.</pre>
<pre>&nbsp;</pre>
<pre><em>Multiple servers sharing the same physical deployment:</em></pre>
<pre>&nbsp;</pre>
<pre>java weblogic.Deployer -adminurl url -username username -password password</pre>
<pre>-name myapp -targets server1,server2 -nostage -deploy c:/myapps/myapp.ear</pre>
<pre>&nbsp;</pre>
<pre> The -nostage option indicates that the application is available on all target servers at the same path and hence server should not copy files to the managed servers.</pre>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;<strong>Deploying Applications with WLST</strong></p>
<ul>
<li>WLST provides a number of deployment commands</li>
<li>You can use these commands to:
<ul>
<li>Deploy, undeploy, and redeploy applications and standalone modules to a WebLogic Server instance</li>
<li>Update an existing deployment plan</li>
<li>Start and stop a deployed application</li>
</ul>
</li>
</ul>
<p><strong>Deploying an Application with WLST:</strong></p>
<p><em>Deploy an application (deployapp.py):</em> <em>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</em></p>
<p><em>#</em> <em># WLST script for Deploying J2EE Application&nbsp; #</em> <em>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </em></p>
<p><em>#</em> <em># Connect to the server</em> <em>print &rsquo;Connecting to server&nbsp; .... &rsquo;</em> <em>connect(&rsquo;system&rsquo;,&rsquo;weblogic&rsquo;,&rsquo;t3://localhost:7001&rsquo;)</em></p>
<p><em>appname = "mbeanlister"</em> <em>applocation = "c:/domains/dizzyworld/apps/mbeanlister"</em></p>
<p><em># Start deploy</em> <em>print &rsquo;Deploying application &rsquo; + appname</em></p>
<p><em>deploy(appname, applocation, targets=&rsquo;myserver&rsquo;, </em> <em>planPath=&rsquo;c:/myapps/plan/plan.xml&rsquo;)</em></p>
<p><em>print &rsquo;Done Deploying the application &rsquo;+ appname</em> <em>exit()</em> <em>&nbsp;</em></p>
<p><span style="color: #e67e23;"><strong>What Is a Deployment Plan?</strong></span></p>
<ul>
<li>It is an optional XML document that resides outside an application archive.</li>
<li>It configures an application for deployment to a specific WLS environment.</li>
<li>It is created and owned by Administrators or developers for a particular environment.</li>
</ul>
<p><span style="color: #e67e23;"><strong>Advantages of Deployment Plan:</strong></span></p>
<ul>
<li>Works by setting/overriding deployment property values defined in application&rsquo;s WLS deployment descriptor.</li>
<li>Helps easily modify an application&rsquo;s WLS configuration for deployment into different multiple WLS environments without modifying the deployment descriptor files included in the application archive.</li>
<li>Enables an application to be deployed to multiple domains or to multiple target servers and clusters that have different configuration within the same domain.</li>
</ul>
<p><span style="color: #e67e23;"><strong>Configuring an Application for Multiple Deployment Environments</strong> </span></p>
<p><img class="alignnone wp-image-2538" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/176-460x282.png" alt="17" width="428" height="261" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Sample Deployment Plan</strong> </span></p>
<p>&lt;deployment-plan xmlns="http://www.bea.com/ns/weblogic/90"&gt; &lt;application-name&gt;sample_root&lt;/application-name&gt; &lt;variable-definition&gt; &lt;variable&gt; &lt;name&gt;SessionDescriptor_InvalidationIntervalSecs_11029744771850&lt;/name&gt; &lt;value&gt;80&lt;/value&gt; &lt;/variable&gt; &lt;variable&gt; &lt;name&gt;SessionDescriptor_TimeoutSecs_11029744772011&lt;/name&gt; &lt;value&gt;8000&lt;/value&gt; &lt;/variable&gt; &lt;/variable-definition&gt; &lt;module-override&gt; &lt;module-name&gt;jspExpressionEar.ear&lt;/module-name&gt; &lt;module-type&gt;ear&lt;/module-type&gt; &lt;module-descriptor external="false"&gt; &lt;root-element&gt;weblogic-application&lt;/root-element&gt; &lt;uri&gt;META-INF/weblogic-application.xml&lt;/uri&gt; &lt;/module-descriptor&gt; &lt;module-descriptor external="false"&gt; &lt;root-element&gt;application&lt;/root-element&gt; &lt;uri&gt;META-INF/application.xml&lt;/uri&gt; &lt;/module-descriptor&gt; &lt;/module-override&gt; &lt;module-override&gt; &lt;module-name&gt;jspExpressionWar&lt;/module-name&gt; &lt;module-type&gt;war&lt;/module-type&gt; &lt;module-descriptor external="false"&gt; &hellip; &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Creating a Deployment Plan</strong></span></p>
<ul>
<li>Tools for creating a deployment plan
<ul>
<li>PlanGenerator</li>
<li>Administration Console</li>
</ul>
</li>
<li>Goals for creating a deployment plan
<ul>
<li>To expose the external resource requirements of the application as variables in the deployment plan</li>
<li>To expose additional configurable properties, such as tuning parameters as variables in the deployment plan</li>
</ul>
</li>
</ul>
<p><span style="color: #e67e23;"><strong>WebLogic.PlanGenerator</strong></span></p>
<ul>
<li>Java-based deployment configuration tool.</li>
<li>It is primarily intended for developers who want to export portions of a WebLogic Server deployment configuration into an XML deployment plan.</li>
<li>Enables you to generate a basic WebLogic Server configuration for applications that have only J2EE deployment descriptors.</li>
</ul>
<p><em>Ex: java weblogic.PlanGenerator -all -plan D:\lab\work\plan\Plan.xml D:\lab\labs\Lab12\exercise\companyStoreAdmin.ear</em> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Using the Admin Console to Generate a Deployment Plan</strong></span></p>
<ul>
<li>Administration Console automatically generates or updates the deployment plan.</li>
<li>Generating a deployment plan using the Administration Console involves the following steps:
<ul>
<li>Preparing the deployment files</li>
<li>Installing the application archive</li>
<li>Saving configuration changes to a deployment plan</li>
</ul>
</li>
</ul>
<p><span style="color: #e67e23;">&nbsp;<strong>Using an Existing Deployment Plan to Configure an Application</strong></span></p>
<ol>
<li>Prepare application.</li>
<li>Place the existing deployment plan in the plan subdirectory of the application root.</li>
<li>Install the application.</li>
<li>Administration console validates deployment plan configuration against the target servers and clusters selected during installation.</li>
<li>Use Administration console or the weblogic.Deployer utility to identify the application and plan to use for deployment.</li>
</ol>
<p><span style="color: #e67e23;">&nbsp; <strong>Directory Structure for Easier Production Deployment</strong></span></p>
<p>This allows deployment configuration files to be located in a well-known location.</p>
<ul>
<li>The application directory structure separates generated configuration files from core application files.</li>
<li>This allows configuration files to be easily changed or replaced without disturbing the application itself.</li>
<li>Applications can be deployed simply by specifying the installation root.</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2539" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/186-460x96.png" alt="18" width="440" height="91" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Sanity Checking in Production without Disruption to Clients</strong></span></p>
<ul>
<li>Using Administration mode, administrators can deploy an application into a production environment without exposing the application to external clients.</li>
<li>Access to the application is restricted to a configured Administration channel.</li>
<li>A final (&ldquo;sanity&rdquo;) check can be performed on the application directly in the production environment without disruption to clients.</li>
</ul>
<p><span style="color: #e67e23;"><strong>Staged Deployment</strong> </span></p>
<p>Deployment can be configured per server or for each application as:</p>
<ul>
<li>staged (default)&mdash;files copied to preconfigured staging directory for preparation and activation</li>
<li>no-stage&mdash;files deployed from static location</li>
<li>external_stage&mdash;files copied by user or third-party tool prior to deployment</li>
</ul>
<p><img class="alignnone wp-image-2540" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/196-460x161.png" alt="19" width="451" height="158" /> &nbsp;</p>
<p><span style="color: #e67e23;"><strong>Side-by-Side Deployment</strong></span></p>
<ul>
<li>A revised version of a production application can be redeployed alongside the older version:
<ul>
<li>Without affecting the existing clients to the application</li>
<li>Without interrupting the availability of the application to the new client request</li>
</ul>
</li>
<li>WebLogic Server automatically manages client connections so that:
<ul>
<li>Existing clients continue to use the older application</li>
<li>New client requests are directed to the newer application</li>
</ul>
</li>
<li>The older version is undeployed after all current clients complete their work.</li>
</ul>
<ul>
<li>To support the production redeployment strategy, WebLogic Server now recognizes a unique version string entry in the Enterprise MANIFEST file.</li>
</ul>
<ul>
<li>When a redeployment operation is requested, WebLogic Server checks the version string to determine whether to deploy a new version of the application.</li>
</ul>
<ul>
<li>Side-by-Side deployment is performed automatically if:
<ul>
<li>An application supports production redeployment</li>
<li>Its deployment configuration is updated with changes to resource bindings</li>
</ul>
</li>
</ul>
<ul>
<li>This occurs even if no version string is specified in the application&rsquo;s manifest file.</li>
</ul>
<p><img class="alignnone wp-image-2541" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/206-460x186.png" alt="20" width="474" height="191" /> &nbsp;</p>
<p><span style="color: #e67e23;"> <strong>Advantages of Side-by-Side Deployment</strong></span></p>
<ol>
<li>Scheduling application downtime</li>
<li>Setting up redundant servers to host new application versions</li>
<li>Managing client access to multiple application versions manually</li>
<li>Retiring older versions of an application manually</li>
</ol>
<p><span style="color: #e67e23;">&nbsp;<strong>Requirements and Restrictions for Side-by-Side Deployment</strong></span></p>
<ol>
<li>A deployed application must specify a version number.</li>
<li>WLS can host a maximum of two different versions of an application at one time.</li>
<li>On redeploying a new version of an application the followings features cannot change:</li>
</ol>
<ul>
<li>Deployment targets</li>
<li>Security model</li>
<li>Persistent store settings</li>
</ul>
<p><strong>&nbsp;</strong> <em>Production redeployment is supported for:</em></p>
<ul>
<li>Stand-alone Web Application (WAR) modules.</li>
<li>Enterprise Applications (EARs) whose client access the application via a Web Application (HTTP)</li>
</ul>
<p><em>&nbsp;</em> <em>Production redeployment is not supported for:</em></p>
<ul>
<li>EJB or RAR modules</li>
<li>Stand-alone or embedded Web Service modules</li>
<li>Applications that use JTS drivers</li>
<li>Applications that obtain JDBC data sources via the DriverManager API instead of using the JNDI lookup</li>
<li>Applications that include EJB 1.1 container-managed persistence (CMP) EJBs</li>
</ul>
<p><span style="color: #e67e23;">&nbsp; <strong>Redeploying a New Application Version</strong></span></p>
<ol>
<li>Verify only one version of the application is currently deployed.</li>
<li>Verify the MANIFEST.MF files to ensure both applications have different versions.</li>
<li>Copy new version into a suitable directory.</li>
<li>Redeploy the new application version and specify updated deployment files.</li>
<li>Verify both versions are deployed and new requests are being sent to the new version.</li>
</ol>
<h3>&nbsp; <strong>Redeploy vs. Distribute</strong></h3>
<ul>
<li>Distributing is an alternative to deploying an application.
<ul>
<li>Distributing an application prepares it for deployment by copying its files to all target servers and validating it.</li>
<li>You can start a distributed application in Administration mode. Access to the application is then restricted to a configured Administration channel.</li>
</ul>
</li>
<li>Distributing a new version of the application makes it available for testing prior to being released for general consumption.</li>
<li>Redeploying a new version of an application will place the application immediately into use and will make it available to new client requests.</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-2542" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2110-460x230.png" alt="21" width="500" height="250" /></p>
<p><span style="color: #e67e23;"><strong>Distributing a New Application Version</strong></span></p>
<ol>
<li>Use the weblogic.Deployer &ndash;distribute command</li>
<li>Once the application is distributed, start the application in Administration mode</li>
<li>Test the application</li>
<li>When ready, start the application (without using &ndash; adminmode)</li>
<li>Optionally set a retirement timeout for the older version of the application.</li>
</ol>
<p>&nbsp; <strong>Summary:</strong> In this chapter we discussed:</p>
<ul>
<li><strong>Web &amp; EJB Applications and Deployment Structures</strong></li>
<li><strong>Deployment Plans</strong></li>
<li><strong>Deployment staging</strong></li>
<li><strong>Side-by-Side Deployment</strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
</ul>9f:T51d8,<ol>
<li><strong> Disk Space or Filesystem Utilisation Issues:-</strong></li>
</ol>
<p>You will see tickets/alerts/emails with the subject like the one below: <em>&ldquo;Filesystem Utilization for / is &gt; 95% current value = 97%&rdquo;</em></p>
<ol>
<li>Login to the server which has the issue.</li>
</ol>
<ol start="2">
<li>Run the following command:</li>
</ol>
<p>find / -type f -size +100000K It will list all the files whose sizes are in GBs.</p>
<ol start="3">
<li>a) If it is a live file (files which have the current timestamp or files that are currently getting written into.) then take a backup of the file to an alternate location and truncate the live file. Then gzip the backup file. cp hugefilename /tmp/hugefilename.yyyymmdd &gt; hugefilename gzip /tmp/hugefilename.yyyymmdd&nbsp;&nbsp;</li>
</ol>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; b) If it is not a live file, simply take a backup of it and gzip the backup.</p>
<p>Repeat the above steps for other huge files if there are any.</p>
<ol start="4">
<li>Check the disk space now.</li>
</ol>
<p>df &ndash;h</p>
<ol start="5">
<li>Update the ticket with your comments and inform the CSL about it.</li>
</ol>
<p>For Saba (Server): Usually disk space alert will be due to accumulation of .tmp and .rpt files under /sabaweb/temp folder which can be deleted. This will free up enough space and will usually bring the utilization to 30% or so from 95 or 100%. &nbsp;</p>
<p><strong>Special Case:</strong> In case of an open file, please bounce the jvm. Again for Saba, we cannot bounce the jvm as our current access is restricted to web layer only , So please inform the same to CSL and update the case accordingly.</p>
<p><em>Note:&nbsp; Please do NOT delete any file without prior intimation and permission from the client.</em> <strong>&nbsp;</strong></p>
<ol start="2">
<li><strong> Service Stopped/Not running Issues:-</strong></li>
</ol>
<p>You will see tickets/alerts/emails with subject like the one below: <em>&ldquo;KOORDSWBS01 - /opt/apache2/bin/httpd -f /opt/apache2/conf/httpd.conf_9001&rdquo;</em> <em>&ldquo;/opt/apache2/bin/httpd -f /opt/apache2/conf/httpd.conf_9001 -k start[-1]: Process has stopped&rdquo;</em></p>
<ol>
<li>Login to the server which has the issue.</li>
</ol>
<ol start="2">
<li>Run the following command to check if the service is really stopped.</li>
</ol>
<p>ps &ndash;ef | grep httpd</p>
<p>&nbsp;</p>
<ol start="3">
<li>a) If the service is not running start it. Run the following command to start httpd as in the case of above alert.</li>
</ol>
<p>root@koordswbs01 # /opt/apache2/bin/httpd -f /opt/apache2/conf/httpd.conf_9001 -k start</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;b) If the service is already running, update the ticket and inform the CSL.</p>
<ol start="4">
<li>Please verify that all the clients do not have the customized USI startup scripts in /etc/rc3.d folder as a convention.</li>
</ol>
<p>&nbsp; For Saba: We do not have access to Application server and for all such related issues please let the CSL know to update the client on the same. Please make sure that you are logging in with the right permissions. Note:&nbsp; i). We generally take care of the Web and App. Related services. ii). There might be other services for which we do not have access to. In such a case, inform the CSL to contact the respective team. iii). We might need to restart the App. or the Web Server after the other team restart their services. For example, we might need to restart the App. or the Web Server after the DBA restarts the Database Services. <strong>&nbsp;</strong></p>
<ol start="3">
<li><strong> High CPU and Memory Utilization Issues:-</strong></li>
</ol>
<p>You will see tickets/alerts/emails with subject like the one below: <em>&ldquo;KOORDSAPS01 - CPU utilization is &gt; 95% current value = 100%&rdquo;</em> <em>&nbsp;</em> <strong><em>OR</em></strong> <em>&nbsp;</em> <em>&ldquo;VILSUAAH01 - 15 minute load average&nbsp; is &gt;= 10.00 current value = 40.79&rdquo;</em></p>
<ol style="list-style-type: lower-alpha;">
<li>Login to the server which has the issue.</li>
</ol>
<ol style="list-style-type: lower-alpha;" start="2">
<li>Run the &ldquo;<em>top&rdquo; </em>command to see which process is consuming all the CPU.</li>
</ol>
<ul>
<li>If it is the &ldquo;j<em>ava&rdquo; </em>process which is consuming all the CPU, then it is most likely that the Application Server is consuming all the CPU. Hence restart the Application server.</li>
<li>If a process named &ldquo;s<em>ysedge&rdquo; </em>&nbsp;is consuming all the CPU, inform the CSL and ask them to&nbsp; contact the monitoring team to fix it.</li>
<li>If the process name is something like &ldquo;<em>bkbman&rdquo;</em>, it is most likely that the backup jobs are running on the server. Inform the CSLs and ask them to contact the Backup team to fix it.</li>
<li>If it is the <em>&ldquo;oracle&rdquo;</em> process which is consuming all the CPU, then inform the CSL and tell them to contact the DBAs.</li>
</ul>
<p>&nbsp; Note:&nbsp; i). We generally take care of the Web and App. Related services. ii). There might be other services for which we do not have access to. In such a case, inform the CSL to contact the respective team. iii). We might need to restart the App. or the Web Server after the other team restart their services. For example, we might need to restart the App. or the Web Server after the DBA restarts the Database Services. <strong>&nbsp;</strong></p>
<ol start="4">
<li><strong> Sysedge heartbeat not received issues.</strong></li>
</ol>
<p>You will see ticket/alerts/emails with subject like the one below: <em>&ldquo;VILSUAAH05 - Sysedge heartbeat not received for 15 minutes. The machine has lost trap connectivity to netcool, sysedge has crached, or the box is hung.&rdquo;</em> This generally happens if the monitoring agent is stopped or hung, the trap server IP is incorrect in the <strong>sysedge.cf</strong> file or the server has lost network connection. Generally this issue is handled by GEMC or the Monitoring team. In cases where we are expected to handle this issue:</p>
<p>1. Login to the server and check if sysedge is running.</p>
<p>ps &ndash;ef | grep sysedge</p>
<p>2. Check whether the trap server IP in the <strong>sysedge.cf</strong> is correct or not.</p>
<p>Note: Generally all servers in the same client environment will have the same trap server IP. For example, All the servers in the Kohler Environment will have the same trap server IP.</p>
<p>3. Check if there are any stale or hung mount points using df &ndash;h or df &ndash;k.</p>
<ol>
<li>i) If there are any stale or hung mount points then unmount and remount them.</li>
<li>ii) If there are any NFS mounts exported from another server, check whether both these servers are able to communicate to each other.</li>
</ol>
<p>4.If none of the above work out, inform the onshore team and the Client and get the box rebooted.</p>
<p>Note: Please do not reboot the box without informing the Client and the onshore team. &nbsp;</p>
<ol start="5">
<li><strong> Generate a Log File</strong></li>
</ol>
<p>Before contacting BEA Technical Support for help with cluster-related problems, collect diagnostic information. The most important information is a log file with multiple thread dumps from a Managed Server. The log file is especially important for diagnosing cluster freezes and deadlocks. Remember:&nbsp;<em>a log file that contains multiple thread dumps is a prerequisite for diagnosing your problem.</em></p>
<ol>
<li>Stop the server.</li>
</ol>
<ol>
<li>Remove or back up any log files you currently have. You should create a new log file each time you boot a server, rather than appending to an existing log file.</li>
</ol>
<ol>
<li>Start the server with this command, which turns on verbose garbage collection and redirects both the standard error and standard output to a log file:</li>
</ol>
<p><em>% java -ms64m -mx64m <strong>-verbose:gc</strong> -classpath $CLASSPATH -Dweblogic.domain=mydomain -Dweblogic.Name=clusterServer1 -Djava.security.policy==$WL_HOME/lib/weblogic.policy -Dweblogic.admin.host=192.168.0.101:7001 weblogic.Server <strong>&gt;&gt; logfile.txt</strong></em> &nbsp;</p>
<p>Redirecting&nbsp;<em>both</em>&nbsp;standard error and standard output places thread dump information in the proper context with server informational and error messages and provides a more useful log.</p>
<ol>
<li>Continue running the cluster until you have reproduced the problem.</li>
</ol>
<ol>
<li>If a server hangs, use&nbsp;kill -3&nbsp;or&nbsp;&lt;Ctrl&gt;-&lt;Break&gt;&nbsp;to create the necessary thread dumps to diagnose your problem. Make sure to do this several times on each server, spaced about 5-10 seconds apart, to help diagnose deadlocks.</li>
</ol>
<ol>
<li>Compress the log file using a Unix utility:</li>
</ol>
<p>% tar czf logfile.tar logfile.txt - or zip it using a Windows utility.</p>
<ol>
<li style="list-style-type: none;">
<ol>
<li><em>Attach</em>&nbsp;the compressed log file to an e-mail to your BEA Technical Support representative. Do not cut and paste the log file into the body of an e-mail.</li>
</ol>
</li>
</ol>
<ul>
<li>If the compressed log file is too large, you can use the BEA Customer Support FTP site.</li>
</ul>
<p>&nbsp; <strong>6) When Weblogic gives an out of memory error, check the following things:</strong></p>
<p>When Weblogic gives an out of memory error, check the following things:</p>
<p><strong>Weblogic admin: mydomain &gt; servers</strong></p>
<p><img class="alignnone wp-image-2698" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1116-460x261.png" alt="11" width="455" height="258" /> &nbsp;</p>
<p>Determine which server is lowest on memory.</p>
<p><strong>grep for errors in reedi:/usr/local/bea81/user_projects/mydomain2/mydomain2.log</strong></p>
<p>Look for out of memory errors or stuck thread errors.</p>
<p><strong>7) How do I get a thread dump from a hung java process?</strong></p>
<p>When we redeploy our web apps through a script, it occasionally hangs the admin server.</p>
<p>This is a bug that BEA fixed in SP3 but we have not applied.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div><em>kill -3 &lt;pid&gt;</em></div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; This will cause the process to write out the state of its threads to STDOUT, which we have directed to nohup.out.</p>
<p>The output from a hung admin server looks like this:</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>
<div><em>Full threads dump Java Hotspot(TM) Server VM (1.4.1_02-ea-b01 mixed mode):</em> &nbsp; <em>"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0xa0f490 nid=0x30 runnable [dc9ff000..dc9ffc24]</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.socket.PosixSocketMuxer.poll(Native Method)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:99)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - locked &lt;eab9e280&gt; (a java.lang.String)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)</em> &nbsp;
<div><em>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)</em> &nbsp; <em>"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" daemon prio=5 tid=0x749490 nid=0x2f waiting for monitor entry [dcaff000..dcaffc24]</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:90)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - waiting to lock &lt;eab9e280&gt; (a java.lang.String)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)</em> <em>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)</em></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>8) Weblogic startup error</strong></p>
<p>Just noticed this error in weblogic's stdout:</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>
<div>
<div><em>&lt;Nov 29, 2006 2:12:49 PM PST&gt; &lt;Warning&gt; &lt;HTTP&gt; &lt;BEA-101248&gt; &lt;[ptagis]: </em> <em>Deployment descriptor "web.xml" is malformed. Check against the DTD: </em> <em>org.xml.sax.SAXParseException: The content of element type "web-app" must </em> <em>match "(icon?,display-name?,description?,distributable?,context-param*,filter*</em> <em>filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,</em> <em>mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,</em> <em>resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,</em> <em>ejb-ref*,ejb-local-ref*)". (line 109, column 11).&gt;</em></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; This is still an error. Here is what the beginning of web.xml looks like:</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div><em>&lt;!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app</em> <em>_2_3.dtd"&gt;</em></div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Info from BEA tech support</strong></p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>
<div><em>This error indicates that the elements entries in the web.xml file are out of order. For example, </em> <em>the &lt;welcome-file&gt; entry before the &lt;servlet&gt; and &lt;servlet-mapping&gt; entries. The web.xml elements must be in the following order in the web.xml file:</em> &nbsp; <em>icon, display-name, description, distributable, context-param, filter, filter-mapping, listener, </em> <em>servlet, servlet-mapping, session-config, mime-mapping, welcome-file-list, error-page, taglib, </em> <em>resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry,&nbsp;</em>
<div><em>ejb-ref, ejb-local-ref.</em></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; This is an error because the mime-mapping must come before the welcome-file-list.</p>
<p>But simply moving the mime-mapping stanza to the proper place results in a more significant error from the weblogic parser that prevents deployment.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>
<div>
<div><em>Module Name: ptagis, Error: [HTTP:101179][HTTP] Error occurred while parsing descriptor in Web application "/dsk2/p</em> <em>tagis-1.0/web/ptagis" [Path="/dsk2/ptagis-1.0/web", URI="ptagis"</em> <em>org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.</em></div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>9) Weblogic stuck thread</strong></p>
<p>Top reports that the java process running the weblogic appserver on MS is running at high cpu usage:</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>
<div>
<div>
<div><em>24548 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 88&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp; 0&nbsp; 878M&nbsp; 662M cpu/0&nbsp;&nbsp; 68.4H 46.97% java</em></div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; Normal CPU usage is between 5% and 10%. Looking at the nohup.log for reedi (server), we see the stuck thread message: &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<div>
<div>
<div>
<div>
<div><em>&lt;Dec 11, 2006 10:51:32 AM PST&gt; &lt;Warning&gt; &lt;WebLogicServer&gt; &lt;BEA-000337&gt; &lt;ExecuteThread: '7' for </em> <em>queue: 'weblogic.kernel.Default' has been busy for "600" seconds working on the request </em> <em>"Http Request: /ptagis/loginAction.jsp", which is more than the configured time </em> <em>(StuckThreadMaxTime) of "600" seconds.&gt;</em></div>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; This calls for a restart of the appserver. Ask for a graceful restart of appserver_reedi from the weblogic admin gui. If the admin gui is unresponsive (because it can't talk to the stuck thread), you may be forced to use a kill or kill -9 on the java process on reedi. Then restart the weblogic appserver. <strong>&nbsp;</strong></p>
<p><strong>10) No suitable Driver and Connection Pool not created.</strong></p>
<p>I have tested the connection using util.dbping provided by BEA and have been successful. I made sure that the classpath and path variables for the server are identical to those in place when I run dbping. I still have the same problem!</p>
<p>The following is my path and classpath as verified by server console upon startup:</p>
<p><em>CLASSPATH=C:\jdev_9i\jdbc\lib\classes12.jar;C:\jdev_9i\jdbc\lib\classes111.jar;C:\bea\jdk131_03\lib\ tools.jar;C:\bea\weblogic700\server\lib\weblogic_sp.jar;C:\bea\weblogic700\server\lib\weblogic.jar</em> PATH=.;C:\bea\weblogic700\server\bin;C:\bea\jdk131_03\bin;C:\bea\weblogic700\server\bin\oci817_8;C:\ ora817\bin</p>
<p>Here, also, is the error message received upon startup: <em>&lt;Dec 13, 2002 11:39:13 AM MST&gt; &lt;Error&gt; &lt;JDBC&gt; &lt;001060&gt; &lt;Cannot startup connection pool "MyConnection Pool" java.sql.SQLException: No suitable driver&gt;</em> &nbsp;</p>
<p><strong>Solution:</strong></p>
<p>1) Plese try using url=jdbc:oracle:oci8:@host:1521. Hope this should work.</p>
<p>2) Check if classes12.zip is where weblogic.jar is..Namely, {weblogic}/server/lib. If not copy from {weblogic}/server/ext/jdbc/oracle/{oracle_version} Or copy from oracle jdbc/lib directory...</p>
<p>3) The URL must be ....thin:@ NOT ...thin@&nbsp;&nbsp;&nbsp;thats all &nbsp;</p>
<p><strong>11) Unpack a Weblogic 10.3 domain</strong> on one of our production servers (SunOS 5.10), but get the following error: <em>&nbsp;$ /opt/bea10/wlserver_10.</em><em>3</em><em>/common/bin/unpack.sh -</em><em>template</em><em>=</em><em>/tmp/</em><em>CM.jar -domain=</em><em>/opt/</em><em>bea10/user_projects/CM </em><em>Error</em><em>: failed to create the temporary script file </em> Assuming that this is a privileged problem: where actually the unpack utility tries to create its temporary script files?</p>
<p>The unpack script calls a Java class com.bea.plateng.domain.script.Unpacker, so reading the script itself does not reveal the location. I need to ask the sysadmin for the privileges, so an exact directory location is needed. Of course, the error message is so vague that this might also be some other issue. Any ideas? &nbsp;</p>
<p><strong>Solution:</strong> With unpack the problem is there because unpack needs write permission on one folder and the file domain-registry.xml. This problem occurs because you have installed the Weblogic installation with one user and you want to execute unpack with a different user. The user starting the unpack.sh needs write access to the folder $BEA_HOME/wlserver_10.3/common/lib. A temporary file is written here by the user executing the unpack command. This file is removed by unpack after the unpack command has terminated. Beside of this directory the file $BEA_HOME/domain-registry.xml is updated by the unpack command. Use chmod as the install user to give write access for the time you need to unpack the domain on the folder and the file with the command below:</p>
<p>chmod a+rwx $BEA_HOME/wlserver_10.3/common/lib $BEA_HOME/domain-registry.xml After the creation of the domain change the permission to a safe value.</p>
<p><strong>Error:&nbsp;</strong>Problem invoking WLST - java.lang.UnsupportedClassVersionError: Bad version number in .class file</p>
<p><strong>Scenario:</strong>&nbsp;Trying to stop WebLogic Server</p>
<p><strong>Solution:&nbsp;</strong>The jdk version used while creating the domain is not supported. Use higher version (present in the same WebLogic server installed location) and point it while domain creation.</p>
<p><strong>Check out our Related Courses</strong></p>
<ul>
<li><a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/" target="_blank">Weblogic Tutorials</a></li>
<li><a href="https://tekslate.com/introduction-clustering-weblogic/" target="_blank">Introduction to Clustering Weblogic</a></li>
<li><a href="https://tekslate.com/oracle-goldengate-training/" target="_blank">Oracle Goldengate Training in Hyderabad</a></li>
<li><a href="https://tekslate.com/weblogic-server-installation/" target="_blank">Oracle Weblogic Server Installation</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</li>
</ul>a0:T2625,<p><strong>Getting started with Ant</strong> Each one of us has used Ant knowingly or unknowingly, while building our projects. But, most of us are not aware of its existence. Thanks to IDEs like Eclipse &amp; NetBeans !! But, I feel that one must know how things happen. How a series of commands are executed when you build your project and how you can control and alter this flow. This entry is not meant to give you insight into the build process but it is meant to introduce the tool (Ant) to beginners like me. We will go through installation and normal usage of Ant Tool. So, lets get started :-) <strong>What is ANT?</strong><a href="http://1.bp.blogspot.com/_QosbmeyDVxU/ScFgd2piLJI/AAAAAAAAAKQ/bhR3mmCpj5M/s1600-h/ant.gif"> </a> Ant is a Java-based build tool used for automating the build process. Ant is written in Java and that's what makes it platform-independent. This also means that you lose out on doing certain things (issuing certain OS-specific commands in build.xml) that could be done fastly in a OS-dependent manner. ANT is an acronym for "<em>Another Neat Tool</em>". :-) It accepts input in form of XML files (like build.xml) and can be used to perform repeatitive task in an efficient manner. <strong>Installing ANT</strong> Download the binary distribution. Now, all you have to do to install ant and run from command line is to set following environment variables:</p>
<ul>
<li>ANT_HOME : Set this variable to the path where you have unzipped the downloaded binary distribution</li>
<li>PATH : Append the ANT_HOME/bin to the already existing PATH value. This is needed so that we can run ant from command line.</li>
<li>JAVA_HOME : Set this variable(if not already set) to the path where JDK is installed</li>
</ul>
<p>And Bingo !! you are done with installation. It's time to test whether we have installed Ant correctly or not &nbsp; <strong>Test Your Installation</strong> To test whether you have successfully installed Ant or not, type &gt;ant on command line and press enter It will give an error like <em>Buildfile: build.xml doesn't exist!</em> <em>Build failed</em> because right now there is no build.xml file existing in the current directory. Ant tool makes use of build.xml to automate the build process. Congratulations !! You have successfully installed ANT if you can see this error message. :-) &nbsp; <strong>What is build.xml ?</strong> It is nothing but a normal XML file that is used to automate the build process. It contains certain commands that are executed in a defined/prescribed manner. You can think of it as writing a Shell Script which will be executed by Ant tool. Actually it's more like a make-file that we have in Linux/Unix environment. A normal build.xml file would consist of following sections, in that order:</p>
<ol>
<li>Clean - It removes all the previously deployed files of the same application, if any.</li>
<li>Init - Creating the directories and subdirectories according to your choice</li>
<li>Compile - Used to compile the *.java files &amp; servlets or jsp's with the help of libraries</li>
<li>Copy - It copies the compiled class files and servlets in their appropriate locations</li>
<li>Create-war - Finally, we create a .war file of our application and copy it to your server's deplyoment directory so that you can run the application.</li>
</ol>
<p>All these steps are not necessary and it depends entirely on you that what you wanna keep in your build.xml. A look at a simple build.xml would simply what seems so tough right now. :-) &nbsp; <img class="alignnone wp-image-2678" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/427-460x281.png" alt="4" width="464" height="283" /> &nbsp; <strong>BUILD.XML</strong> Lets see what it really means:</p>
<ol>
<li><strong><em> Root Element</em></strong></li>
</ol>
<p><img class="alignnone wp-image-2679" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/526-460x67.png" alt="5" width="426" height="61" /> First line tells us that it is a XML file. Then comes the root element, project. Rest of the code for this project will come in between project tags. It has 3 attributes:</p>
<ol>
<li>name (optional) - Name of the project</li>
<li>default (required) - The default target to use when no target is specified</li>
<li>basedir (optional) - This tells the base dir for all the paths mentioned in the in this script. If it is missing, then parent directory of this build script will be used as basedir</li>
</ol>
<p>&nbsp;</p>
<ol start="2">
<li><strong><em> User-defined variables</em></strong></li>
</ol>
<p><img class="alignnone wp-image-2680" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/620.png" alt="6" width="426" height="70" /> These 2 lines declare user-defined variables which are used later in the file. src holds the location of the current directory as given by '.' build holds the location "basedir/build" where basedir was defined in project name above.Remember all the paths mentioned are relative to basedir So, property tag is used to give name-value pairs, but same effect could have been achieved by mentioning these name-value pairs in an external file (named build.properties) and using them in build.xml as they are used now. &nbsp;</p>
<ol start="3">
<li><strong><em> Clean your earlier deployment</em></strong></li>
</ol>
<p><img class="alignnone size-full wp-image-2681" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/720.png" alt="7" width="414" height="95" /> Target tag is like a function which you can call again to perform a reusable task. These lines are pretty simple to understand. The echo tag will echo/display whats written to the output console, and the delete command will delete the build directory ${build} is way to evaluate the build variable that we have defined above using property tag.</p>
<ol start="4">
<li><strong><em> Initialization - Creating Directory Structure for deployment</em></strong></li>
</ol>
<p><img class="alignnone wp-image-2682" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/820-460x74.png" alt="8" width="425" height="68" /> Here, we just create a directory using mkdir command. The thing to note here is the depends attribute of target tag. This attribute is used throughout build.xml to create a chain of targets, to give a sequential flow i.e. it helps in specifying the dependencies of one module over another and tells us how the targets will be called. &nbsp;</p>
<ol start="5">
<li><strong><em> Compiling source files and copying them to destination folder</em></strong></li>
</ol>
<p><img class="alignnone wp-image-2683" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/920-460x61.png" alt="9" width="454" height="59" /> This function compiles the source files present in src directory and stores the resulting .class files in build directory. I have deliberately not added more steps like creating a war file and deploying it on server, because that would make this entry long and complicated un-neccessarily. Time to run what we have done so far. &nbsp; <em>Running this script</em> To run this script, create a folder and name it Test and copy this build.xml file in it. And to test whether your script works or not, create any correct java file in this Test folder, which we will compile. Your directory structure should look like this. Test | |------ build.xml | |-------HelloWorld.java &nbsp; To run your build script, go to Test Folder, and type ant C:\Users\Agraj\Desktop\Test&gt;ant If everything goes correct, it will give output <em>Buildfile: build.xml</em> <em>clean:</em> <em>[echo] Deleting build</em> <em>[delete] Deleting directory C:\Users\Agraj\Desktop\Test\build</em> <em>init:</em> <em>[echo] Creating new directory: build</em> <em>[mkdir] Created dir: C:\Users\Agraj\Desktop\Test\build</em> <em>compile:</em> <em>[echo] Compiling source files present in . to build</em> <em>[javac] Compiling 1 source file to C:\Users\Agraj\Desktop\Test\build</em> &nbsp; <em>BUILD SUCCESSFUL</em> <em>Total time: 2 seconds</em> Having said that, the problem that occurs most commonly is that Ant tool is unable to parse the build.xml file correctly. This is so because even a space or tab inserted in xml file can cause Ant to fail. You can get to know about the extra spaces/tabs using vi editor on linux/unix machines, but it can be pretty frustating on windows to look out for such an error. Although, most of us will never change the build.xml while development but still it helps a lot when you know what happens when you build your project and you don't feel alien to the environment :-) &nbsp; <strong>Random Notes:</strong></p>
<ul>
<li>Make sure that your CLASSPATH variable doesn't have any single quotes or double quotes ( ' or " ) in it even if there is a space in the path because, the presence of them will make ANT to fail.</li>
<li>Also make sure that there is no ending forward or backward slash ( / or \ ) in your CLASSPATH</li>
<li>For detailed installation from source or for setting optional parameters/preferences, one can go to the docs/manual/index.html page of the installation directory</li>
</ul>
<p><strong>Check out our Related Courses</strong> <a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a> <a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a> <a href="https://tekslate.com/weblogic-server-administration-training/" target="_blank" rel="noopener">WebLogic Server Admin Training in Bangalore</a> <a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a> &nbsp;</p>a1:Tdd9,<p><strong>Overview:</strong> Virtual hosting, which defines a set of host names to which WebLogic Server instances (servers) or clusters respond. When you use virtual hosting, you use DNS to specify one or more host names that map to the IP address of a server or cluster. When you deploy the application on virtual host, it means you hide the IP address of the servers which are actually going to serve the requests. It can either be targeted to one individual server or the whole cluster. Example, we have configured a virtual host for the admin server. Below are the steps we need to follow: &nbsp; 1)&nbsp;&nbsp; &nbsp;The first requirement for creating a virtual host is to create a network channel on the admin server. -&nbsp;&nbsp; &nbsp;Go to the admin console, click on servers -&gt; admin server -&nbsp;&nbsp; &nbsp;Go to the Protocols -&gt; Channel tab -&nbsp;&nbsp; &nbsp;Give the name of the channel as port-81, choose the protocol as http. -&nbsp;&nbsp; &nbsp;Give listen address as localhost, give the listen port as 81. Leave the external listen address and port bank. -&nbsp;&nbsp; &nbsp;Enable HTTP tunneling as per your preference. -&nbsp;&nbsp; &nbsp;Leave the security part as it is to the default unchecked values. -&nbsp;&nbsp; &nbsp;You will see the below configuration once the channel is created. <img class="alignnone wp-image-2672" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/139-460x278.png" alt="1" width="472" height="285" /> &nbsp; - Restart the server to confirm that the server is using the default channel and port-81 channel. &nbsp; 2) Once the network channel is created, go to Environment -&gt; Virtual hosts - Click on new, give a name to the host vh.localhost.org. - Now click on the virtual host vh.localhost.org, give the below values: Virtual Host Names:&nbsp; vh.localhost.org Network Access Point Name: port-81 <img class="alignnone wp-image-2673" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/220-460x276.png" alt="2" width="475" height="285" /> Click on targets tab, check the admin server.&nbsp;Save the changes and restart the server. &nbsp; 3)&nbsp;&nbsp; &nbsp;Now we need to modify the windows host file in C:\WINDOWS\system32\drivers\etc directory and add the host name vh.localhost.org which we have specified for the virtual host. Add the below in the file: 127.0.0.1&nbsp;&nbsp; &nbsp;vh.localhost.org 4) Now deploy one test application following the below steps: - Click on deployments - Click on install -&gt; Choose the application from the path - Click next, check Install this deployment as an application -&gt; target it to the virtual host (not the server) <img class="alignnone wp-image-2674" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/320-460x276.png" alt="3" width="480" height="288" /> &nbsp; Click finish and Deployment state should be active. Now access the application using the url: http://vh.localhost.org:81/web-app You should see the welcome page of the application. <strong>Check out our Related Courses</strong> <a href="https://tekslate.com/tutorials/weblogic-tutorials-how-to/">Weblogic Tutorials</a> <a href="https://tekslate.com/introduction-clustering-weblogic/">Introduction to Clustering Weblogic</a> <a href="https://tekslate.com/weblogic-server-administration-training/">Weblogic Server Admin Training in Hyderabad</a> <a href="https://tekslate.com/weblogic-server-installation/">Oracle Weblogic Server Installation</a> &nbsp; &nbsp;</p>a2:T2570,<p>There are few changes we need to made while calling or navigating from one form to another form. So after all the final code in the Update page controller class looks like the following: public void processRequest(OAPageContext pageContext, OAWebBean webBean){&nbsp; super.processRequest(pageContext, webBean);&nbsp; StirlingAMImpl am = (StirlingAMImpl)pageContext.getApplicationModule(webBean);&nbsp; //am.xxinsertpatient();&nbsp; if(pageContext.getParameter("pid")!=null)&nbsp; {&nbsp;&nbsp; String pid = pageContext.getParameter("pid").toString();&nbsp;&nbsp; String whereclause = "PATIENT_ID='"+pid+"'";&nbsp;&nbsp; am.getPatientEntryVO1().setWhereClause(null);&nbsp;&nbsp; am.getPatientEntryVO1().setWhereClause(whereclause);&nbsp;&nbsp; am.getPatientEntryVO1().executeQuery();&nbsp; }&nbsp; else&nbsp; {&nbsp;&nbsp; am.xxinsertpatient();&nbsp; } OAMessageRadioButtonBean var1 = (OAMessageRadioButtonBean)webBean.findChildRecursive("male"); var1.setName("Gender"); var1.setValue("Male"); OAMessageRadioButtonBean var2 = (OAMessageRadioButtonBean)webBean.findChildRecursive("female"); var2.setName("Gender"); var2.setValue("Female");}/*** Procedure to handle form submissions for form elements in* a region.* @param pageContext the current OA page context* @param webBean the web bean corresponding to the region*/public void processFormRequest(OAPageContext pageContext, OAWebBean webBean){ super.processFormRequest(pageContext, webBean); StirlingAMImpl am= (StirlingAMImpl)pageContext.getApplicationModule(webBean); // am.xxinsertpatient(); if (pageContext.getParameter("update")!=null) {&nbsp; am.getOADBTransaction().commit();&nbsp; throw new OAException("Patient Data Updated Successfully",OAException.CONFIRMATION); } if(pageContext.getParameter("item4")!=null) {&nbsp; pageContext.setForwardURL("OA.jsp?page=/xxstirling/oracle/apps/po/stirlingprj/webui/StrilingPG",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.KEEP_MENU_CONTEXT,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.ADD_BREAD_CRUMB_YES,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.IGNORE_MESSAGES); }} The above code is the Controller class code in Update Page. Let us see the Patient Entry page controller code: public void processRequest(OAPageContext pageContext, OAWebBean webBean){ super.processRequest(pageContext, webBean); StirlingAMImpl am = (StirlingAMImpl)pageContext.getApplicationModule(webBean); if(pageContext.getParameter("ppatientid")!=null) {&nbsp; String pid = pageContext.getParameter("ppatientid").toString();&nbsp; String whereclause = "PATIENT_ID='"+pid+"'";&nbsp; am.getPatientEntryVO1().setWhereClause(null);&nbsp; am.getPatientEntryVO1().setWhereClause(whereclause); &nbsp;am.getPatientEntryVO1().executeQuery(); } else {&nbsp; am.xxinsertpatient(); } OAMessageRadioButtonBean var1 = (OAMessageRadioButtonBean)webBean.findChildRecursive("male"); var1.setName("Gender"); var1.setValue("Male"); OAMessageRadioButtonBean var2 = (OAMessageRadioButtonBean)webBean.findChildRecursive("female"); var2.setName("Gender"); var2.setValue("Female");}/*** Procedure to handle form submissions for form elements in* a region.* @param pageContext the current OA page context* @param webBean the web bean corresponding to the region*/public void processFormRequest(OAPageContext pageContext, OAWebBean webBean){ super.processFormRequest(pageContext, webBean); StirlingAMImpl am = (StirlingAMImpl)pageContext.getApplicationModule(webBean); if (pageContext.getParameter("item3")!=null) {&nbsp; System.out.println("Add button called");&nbsp; am.getOADBTransaction().commit();&nbsp; throw new OAException("Patient Data Entered Successfully",OAException.CONFIRMATION); } if(pageContext.getParameter("item9")!=null) {&nbsp; pageContext.setForwardURL("OA.jsp?page=/xxstirling/oracle/apps/po/stirlingprj/webui/SearchPG",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.KEEP_MENU_CONTEXT,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.ADD_BREAD_CRUMB_YES,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.IGNORE_MESSAGES);&nbsp; }&nbsp; else&nbsp; if (pageContext.getParameter("item11")!=null)&nbsp; {&nbsp;&nbsp; pageContext.setForwardURL("OA.jsp?page=/xxstirling/oracle/apps/po/stirlingprj/webui/StrilingPG",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.KEEP_MENU_CONTEXT,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.ADD_BREAD_CRUMB_YES,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.IGNORE_MESSAGES);&nbsp; }} The code below is the code is the AM Java code, and note that we created only one AM for the entire project. We created two methods overall in AM and the below code shows the two methods: public void xxinsertpatient(){&nbsp; PatientEntryVOImpl vo= getPatientEntryVO1();&nbsp; OADBTransaction trans= getOADBTransaction();&nbsp; vo.executeQuery();&nbsp; Row v_row = (Row)vo.createRow();&nbsp; vo.insertRow(v_row);}public void xxSearchPatient (OAPageContext pc, OAWebBean wb){&nbsp; String pid = null;&nbsp; String name = null;&nbsp; String phno = null;&nbsp; //OAViewObject vo= getSearchVO1();&nbsp; SearchVOImpl vo1= getSearchVO1();&nbsp; if (pc.getParameter("item1")!=null)&nbsp; {&nbsp;&nbsp; pid = pc.getParameter("item1").toString();&nbsp;&nbsp; vo1.setWhereClauseParam(0,pid);&nbsp; }&nbsp; else&nbsp; {&nbsp;&nbsp; vo1.setWhereClauseParam(0,null);&nbsp; }&nbsp; if(pc.getParameter("item2")!=null)&nbsp; {&nbsp;&nbsp; name = pc.getParameter("item2").toString();&nbsp;&nbsp; vo1.setWhereClauseParam(1,name);&nbsp; }&nbsp; else&nbsp; {&nbsp;&nbsp; vo1.setWhereClauseParam(1,null);&nbsp; }&nbsp; if(pc.getParameter("item3")!=null)&nbsp; {&nbsp;&nbsp; phno = pc.getParameter("item3").toString();&nbsp;&nbsp; vo1.setWhereClauseParam(2,phno);&nbsp; }&nbsp; else&nbsp; {&nbsp;&nbsp; vo1.setWhereClauseParam(2,null);&nbsp; }&nbsp; vo1.executeQuery();} <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/sql-server-dba-training/" target="_blank" rel="noopener">SQL Server DBA Training in Bangalore</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>a3:T1662,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we are going to see how to create Update page.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The update must contain the same details what we are entering while creating &nbsp;or adding patient, so there fore the same page structure is required for us.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create one page attach AM to the Page.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After creating the page go to the page structure of the Patient Entry page copy Region2 which is nothing but Message Component Layout Region and simply paste it in the main region of search page.</span> <img class="alignnone size-medium wp-image-1073" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/472-460x361.png" alt="47" width="300" height="235" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After Copying the page structure we can see that same page structure is copied into the new update page structure so that we can save some time rather than creating each item and changing the view instance and view attribute and prompt names etc.,</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">If we observe we not yet created Update Button and after updating Patient details we need to go back to the other main page, so for that another button need to be created.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create two submit buttons with some space between the buttons looks good rather than placing them in conjunction. So create one spacer item between region and one more spacer item between two submit buttons.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Finally the Update page structure looks like the following image:</span> <img class="alignnone size-medium wp-image-1074" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/482-460x371.png" alt="48" width="300" height="241" /> Run the page to see the output and for the new created page also we need to attach corporate branding image. The update page contains the details which are already entered so we just need to edit only few values or we need to change only one or two changes like name is spelled wrong, amount entered is not correct or might be refunded to the patient, etc., So therefore whenever on search page if we click on Update Image then it must take us to this update page along with the details and after making changes we need to update the same row. First let us write the code to validate the Update button and other button in the page. Create the Controller in Update Page region, initialize the AM in the process Request of the controller: StirlingAMImpl am = (StirlingAMImpl)pageContext.getApplicationModule(webBean);am.xxinsertpatient(); Write the following code in processFormRequest, if you observe the code is similar code for update too like the way we wrote for patient entry. StirlingAMImpl am= (StirlingAMImpl)pageContext.getApplicationModule(webBean);if (pageContext.getParameter("update")!=null){&nbsp; am.getOADBTransaction().commit();&nbsp; throw new OAException("Patient Data Updated Successfully",OAException.CONFIRMATION);}if(pageContext.getParameter("item4")!=null){&nbsp; pageContext.setForwardURL("OA.jsp?page=/xxstirling/oracle/apps/po/stirlingprj/webui/StrilingPG",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OAWebBeanConstants.KEEP_MENU_CONTEXT,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; true,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.ADD_BREAD_CRUMB_YES,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OAWebBeanConstants.IGNORE_MESSAGES);} The below image shows the output of Update page. <img class="alignnone size-medium wp-image-1077" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/502-460x336.png" alt="50" width="300" height="219" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/sql-server-dba-training/" target="_blank" rel="noopener">SQL Server DBA Training in Hyderabad</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>a4:T1622,<p>In this lesson we are going to see how to create the Search page according to the document. According to the MD-050 document we need to create Manual Search Page. So let us see how to crate a Manual search page step wise:</p>
<ol>
<li>Create One new page on the project.</li>
<li>Attach AM to the project.</li>
<li>Design the page structure.</li>
</ol>
<p>For example: <strong>Page Name:&nbsp;</strong>SearchPG <strong>Attached AM Name</strong>:&nbsp;xxstirling.oracle.apps.po.stirlingprj.webui The below figure shows the page structure of the Search Page, which contains 3 message Text Input items for searching and down one table layout region. &nbsp; Here the search result will be displayed in table format so here we are adding images for update and detail of the resultant rows in OAF page. The below picture shows the page structure of the search page: <img class="alignnone size-full wp-image-1066" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/442.png" alt="44" width="350" height="687" /> The below figure shows the page structure output of the Search Page: <img class="alignnone size-medium wp-image-1067" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/452-460x307.png" alt="45" width="300" height="200" /> Still now we just created the page structure but the page is not yet validated properly. &nbsp; After creating page structure we need to create the Method in AM for search operation, it means if we are entering patient Id then in the where condition SQL Query must filter the Rows according to the entered Patient Id related similarly for Patient Name and Patient Phone Number too. So therefore we need to write a SQL data retrieval Query, create one VO and write the Query in the VO Qeury area: &nbsp; <strong>VO Name:&nbsp;</strong>SearchVO &nbsp; <strong>Package Name:&nbsp;</strong>xxstirling.oracle.apps.po.stirlingprj.server &nbsp; Write the Following Query in the query region of VO: SELECT * FROM XXSTIRLING_PATIENT_ENTRY_TABLE WHERE PATIENT_ID LIKE NVL(:1, PATIENT_ID) AND PATIENT_NAME LIKE NVL(:2, PATIENT_NAME) AND PHONE_NUMBER LIKE NVL(:3, PHONE_NUMBER) &nbsp; After Creating VO attach VO to the AM. After attaching create method in AM, the following code shows the java code of creating Method in AM. &nbsp; public void xxSearchPatient (OAPageContext pc, OAWebBean wb) { String pid = null; String name = null; String phno = null; SearchVOImpl vo1= getSearchVO1(); if (pc.getParameter("item1")!=null) { pid = pc.getParameter("item1").toString(); vo1.setWhereClauseParam(0,pid); } else { vo1.setWhereClauseParam(0,null); } if(pc.getParameter("item2")!=null) { name = pc.getParameter("item2").toString(); vo1.setWhereClauseParam(1,name); } else { vo1.setWhereClauseParam(1,null); } if(pc.getParameter("item3")!=null) { phno = pc.getParameter("item3").toString(); vo1.setWhereClauseParam(2,phno); } else { vo1.setWhereClauseParam(2,null); } vo1.executeQuery(); } Create One controller in Search page and initialize the AM in the SearchPage &nbsp;Controller, note that we already initialized AM in Patient Entry page Controller. Now we are initializing AM in SearchPage Controller, initialize the AM in ProcessRequest as follows: &nbsp; StirlingAMImpl am= (StirlingAMImpl)pageContext.getApplicationModule(webBean); &nbsp; According to the page output we need to validate three buttons:</p>
<ol>
<li>Search Button</li>
<li>Clear Button</li>
<li>Add New Patient.</li>
</ol>
<p>Search Button, Clear Button, and Add New Patient buttons Validation code in Process Form Request is as follows: StirlingAMImpl am= (StirlingAMImpl)pageContext.getApplicationModule(webBean); if(pageContext.getParameter("item4")!=null) { am.xxSearchPatient(pageContext,webBean); } else if(pageContext.getParameter("item6")!=null) { OAMessageTextInputBean mstb = (OAMessageTextInputBean)webBean.findChildRecursive("item1"); mstb.setValue(pageContext,null); OAMessageTextInputBean mstb1 = (OAMessageTextInputBean)webBean.findChildRecursive("item2"); mstb1.setValue(pageContext,null); OAMessageTextInputBean mstb2 = (OAMessageTextInputBean)webBean.findChildRecursive("item3"); mstb2.setValue(pageContext,null); } else if(pageContext.getParameter("item8")!=null) { pageContext.setForwardURL("OA.jsp?page=/xxstirling/oracle/apps/po/stirlingprj/webui/StrilingPG", null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null, true, OAWebBeanConstants.ADD_BREAD_CRUMB_YES, OAWebBeanConstants.IGNORE_MESSAGES); } &nbsp; Rebuild the code and run the page the below image shows the search page with results after clicking on Search Button: &nbsp; <img class="alignnone size-medium wp-image-1068" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/462-460x312.png" alt="46" width="300" height="203" /> If we observe in the output we created two image items one is for Update and Other is for Details of the patients. We not yet validated the Edit and Update images. The next lesson shows how to create Update page and the page structure of the Update page and output of Update, but for Update the values must be carried so hence we know that to carry values we will create SPEL in OAF. <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-rac-training/" target="_blank" rel="noopener">Oracle RAC DBA Training in Houston</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>a5:T1451,<p>In this lesson we are going to see how to create manual search page in OAF manually. Manual Search page we need to enter the data value to search for example employee names starting with &lsquo;A&rsquo; then we used to type A% in oracle apps forms similarly in OAF the manual search page will work like. <strong>Step 1:&nbsp;</strong>Create Workspace, project , AM and create one page assign AM to the page give page title and window title. For example : workspace name : ManualSearch Project Name : ManualSearchPRJ package name :&nbsp;xxmanualsearch.oracle.apps.po.manualsearchprj.webui AM name : ManualSearchAM AM Package name:&nbsp;xxmanualsearch.oracle.apps.po.manualsearchprj.server <strong>Step 2:-</strong>&nbsp;<strong>&nbsp;</strong>Create VO and attach VO to AM VO Name is : ManualsearchVO Query in the VO is :- SELECT * FROM dept WHERE deptno LIKE NVL(:1, deptno) AND dname LIKE NVL (:2, dname) AND loc LIKE NVL(:3, loc) <strong>Step 3:- &nbsp;</strong>The below picture shows the requirement so there fore we need to create a page to achieve the requirement. <img class="alignnone size-medium wp-image-1051" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/351-460x322.png" alt="35" width="300" height="210" /> Now if we observe the above image we need to create three Message Text Input items for search and two button items. After entering data in Message Text Input items and once we click on Go button then according to the search item provided the resultant values must be displayed in the below table region. steps to construct the page like above picture: step 1: Create one <strong>message component layout</strong> region step 2: Under message component layout region create three <strong>message text input</strong> items. step 3: Create one <strong>Row Layout Region</strong> under main region, under Row Layout Region create two <strong>Submit buttons</strong> and if we want a space between two buttons then create one <strong>Spacer</strong> item between two submit button items. step 4: Create one region using wizard and select region style as Table, select proper package name in which we created VO (ManualsearchVO). After creating all the page structure may look like : <img class="alignnone size-full wp-image-1052" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/361.png" alt="36" width="424" height="504" /> <strong>Step 4:-&nbsp;</strong>Open the java file of AM and create one method in AM and write the logic. public void xxSearchParams (OAPageContext pc,OAWebBean wb) { String dno = null; String dname = null; String loc = null; //ManualsearchVOImpl vo= getManualsearchVO1(); OAViewObject vo= getManualsearchVO1(); if(pc.getParameter("item1")!=null) { dno = pc.getParameter("item1").toString(); vo.setWhereClauseParam(0,dno); } else { vo.setWhereClauseParam(0,null); } if(pc.getParameter("item2")!=null) { dname =pc.getParameter("item2").toString(); vo.setWhereClauseParam(1,dname); } else { vo.setWhereClauseParam(1,null); } if(pc.getParameter("item3")!=null) { loc = pc.getParameter("item3").toString(); vo.setWhereClauseParam(2,loc); } else { vo.setWhereClauseParam(2,null); } vo.executeQuery(); } <strong>Step 5:- &nbsp;</strong>Create the controller and write the logic for buttons in Process Form Request of controller and here is the logic. &nbsp; public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) { super.processFormRequest(pageContext, webBean); ManualsearchAMImpl am=(ManualsearchAMImpl)pageContext.getApplicationModule(webBean); if(pageContext.getParameter("item4")!=null) { am.xxSearchParams(pageContext,webBean); } if(pageContext.getParameter("item6")!=null) { OAMessageTextInputBean msb = (OAMessageTextInputBean)webBean.findChildRecursive("item1"); msb.setValue(pageContext,null); OAMessageTextInputBean msb2 = (OAMessageTextInputBean)webBean.findChildRecursive("item2"); msb2.setValue(pageContext,null); OAMessageTextInputBean msb3 = (OAMessageTextInputBean)webBean.findChildRecursive("item3"); msb3.setValue(pageContext,null); } } <strong>Step 6:-&nbsp;</strong>After writing logic in AM and Controller rebuild the code and run the page to see the output. The resultant page may look like the following figure: <img class="alignnone size-medium wp-image-1053" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/372-460x262.png" alt="37" width="300" height="170" /> &nbsp; Give some text in any Text input field and click on go button. <img class="alignnone size-medium wp-image-1054" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/382-460x324.png" alt="38" width="300" height="211" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-rac-training/" target="_blank" rel="noopener">Oracle RAC DBA Training in Bangalore</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>a6:T256c,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we are going to see how to Create Automatic Search using External LOV and the uses of external LOV in oaf. The difference between inline LOV and External LOV is inline lov is used only inside the page where as external LOV we can use for other pages inside the project.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">So therefore the use or advantage of External LOV is if we want a list of values to be used for other pages in the project then we can create External LOV region and we can use the created region in any pages of the project.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Steps to create External LOV in oaf are follows:</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step1:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create Workspace, project , AM and create one page assign AM to the page give page title and window title.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">For example :</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">workspace name : externlallov</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Project Name : ExternallovPRJ</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">package name :&nbsp;externallov.oracle.apps.po.externallovprj.webui</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">AM name : ExternallovAM</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">AM Package name:&nbsp;externallov.oracle.apps.po.externallovprj.server</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step2:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Right Click on the project select new as shown in the below picture.</span> <img class="size-full wp-image-1025 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/152.png" alt="15" width="344" height="484" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After selecting new option we will see a gallery window in that extract web tier in categories select <strong><span style="font-family: 'Verdana','sans-serif';">OA Components</span></strong>&nbsp; and then select <strong><span style="font-family: 'Verdana','sans-serif';">Region&nbsp;</span></strong> in items list.</span> <img class="size-medium wp-image-1026 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/162-460x312.png" alt="16" width="300" height="203" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After selecting region click on ok button so that a window will get open in that</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Name : Give any user defined name</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Package: Select the proper package of the project.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Style : select style as List of values.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span><img class="size-medium wp-image-1027 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/172-460x307.png" alt="17" width="300" height="200" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now one .xml region will be created under webui.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step3:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create on VO under the lov package for example select the package name as follows:</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">externallov.oracle.apps.po.externallovprj.lov.server</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">VO Name is : externalLOVVO</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Query in the lov is :-</span></p>
<pre>SELECT FULL_NAME FROM PER_ALL_PEOPLE_F</pre>
<p><strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step4:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Attach VO to the AM.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step5:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Under the region create one item and item style as Message LOV input. In previous lesson we already seen how the Message LOV input item structure look like.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The below image shows how the Application Navigator and page structure of the project looks like:</span> <img class="size-full wp-image-1028 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/182.png" alt="18" width="284" height="524" /> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step6:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';"> Under the Message LOV input region create on table region using wizard. In the table region select the proper package name and then as we attached our VO to the AM it will display our LOVVO so select that VO and therefore a table region will be created with one item under it.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step7:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Select the Message LOV input item and in the Property Inspector of Message LOV input select External LOV as shown in the below figure:</span> <img class="size-medium wp-image-1029 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/192-460x332.png" alt="19" width="300" height="216" /> Click on the icon&nbsp; <img class="alignnone size-full wp-image-985" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/871.png" alt="87" width="76" height="35" />&nbsp; so that the following window will get opens <img class="size-medium wp-image-1030 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/202-460x548.png" alt="20" width="251" height="300" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Click on the Browse button and then select the proper package name for example see the below picture:</span> <img class="size-full wp-image-1031 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/212.png" alt="21" width="344" height="449" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Click on the search button and then select the fully qualified name in the search results for example see the below picture:</span> <img class="size-medium wp-image-1032 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/222-460x557.png" alt="22" width="247" height="300" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Click on OK button so that JDeveloper asks for confirmation in that click on OK button.</span> <img class="size-full wp-image-1033 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/232.png" alt="23" width="273" height="167" /> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step8:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Run the page and see the output. The following three images shows the output and its work process</span> <img class="size-medium wp-image-1034 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/242-460x269.png" alt="24" width="300" height="175" /> Click on the search image&nbsp;<img class="alignnone size-full wp-image-1016" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/122.png" alt="12" width="46" height="34" /> &nbsp;so that it displays list of values as shown below. <img class="size-medium wp-image-1036 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/252-460x324.png" alt="25" width="300" height="211" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Select any value whichever you want to select. Use Quick select or radio button process:</span> <img class="size-medium wp-image-1037 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/262-460x205.png" alt="26" width="300" height="133" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-rac-training/" target="_blank" rel="noopener">Oracle RAC DBA Training in Hyderabad</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>a7:T19fe,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we will see how to create Inline LOV search page.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Inline LOV is used to search with in the page.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The following are the steps to create Inline LOV</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step1:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create the new WorkSpace and project, create new page add AM to the page.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step2:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create new VO in respective BC4J. While creating VO change the package name of BC4J to &ldquo;.lov.server&rdquo; at end, generally List of Values VO ends with LOVVO and the example BC4J path is:</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Package (BC4J) : xxinlinelov.oracle.apps.po.inlineprj.lov.server</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">VO name : InlineLOVVO</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Query in the VO is:</span></p>
<pre>SELECT first_name FROM PER_ALL_PEOPLE_F</pre>
<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The Application Navigator of the project now looks like:</span> <img class="size-full wp-image-1013 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/910.png" alt="9" width="378" height="393" /> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step3:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Under the main page create new item and select item style in property Inspector as &ldquo;MessageLOVInput&rdquo;.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">We can find <strong><span style="font-family: 'Verdana','sans-serif';">List of Values</span></strong> region under Message LOV Input item.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Right click on the List of Values region select <strong><span style="font-family: 'Verdana','sans-serif';">New -&gt; Table Using Wizard&hellip;</span></strong></span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Here we can create Table Style region only we cannot change the region style to another one.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">See the below image it shows that how the page structure will look now:</span> <img class="size-medium wp-image-1014 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/102-460x332.png" alt="10" width="300" height="216" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Select the FirstName item under the table region and then in the property Inspector of that item check that in the Functional, Search Allowed is set to True.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step4:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Select LOV Mappings in the structure of Message LOV input after that do the following changes in the property inspector of lovMap1.</span> <em><span style="text-decoration: underline;"><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Functional:</span></span></em> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">LOV Region Item : FirstName &nbsp;(the item to display in the LOV region)</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Return Item : item1 (the item to return)</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Criteria Item : item1 (criteria item works like in where condition value)</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Run the page and see the output. The first page of the output looks like the following:</span> <img class="size-medium wp-image-1015 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/112-460x243.png" alt="11" width="300" height="158" /> click on the search symbol&nbsp; <img class="alignnone size-full wp-image-1016" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/122.png" alt="12" width="46" height="34" />&nbsp;so that it leads us to another page as shown in the below figure: <img class="size-medium wp-image-1019 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/132-460x324.png" alt="13" width="300" height="211" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Check the Radio Button of which employee you want to choose and then click on Select button or use Quick Select option to select the name which is required.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After choosing the name it will display in the Message Text Input item as follows:</span><img class="size-medium wp-image-1021 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/133-460x324.png" alt="13" width="300" height="211" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Check the Radio Button of which employee you want to choose and then click on Select button or use Quick Select option to select the name which is required.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After choosing the name it will display in the Message Text Input item as follows:</span> <img class="size-medium wp-image-1022 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/142-460x284.png" alt="14" width="300" height="185" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-data-guard-training" target="_blank" rel="noopener">Oracle data guard Training in Houston</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>a8:T147e,<p>In this lesson we are going to see how to display a data from the data base in OAF. Follow the steps to display the data in OAF page from the Data Base:</p>
<ol>
<li>Create the page.</li>
<li>Create the VO in respective BC4J and attach it to AM.</li>
<li>Create the controller and write the logicode in Process Form Request.</li>
</ol>
<p>To create a VO right Click on the <strong>Resources</strong> Folder of the project and then select <strong>New View Object&hellip;</strong> To see all the steps that how to create the VO we can see in previous chapter. Write the following Query statement in VO SELECT * FROM mtl_system_items_b WHERE &nbsp;ROWNUM &lt; 101 After creating VO attach VO to AM (Application Module). Now select main page right click on the main region select <strong>New</strong> -&gt; <strong>Region Using Wizard&hellip;</strong> <img class="alignnone size-full wp-image-951" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/611.png" alt="61" width="424" height="284" /> After selecting Region Using Wizard then a welcome window will get open as shown below: <img class="alignnone size-medium wp-image-952" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/621-460x307.png" alt="62" width="300" height="200" /> Click on Next button to see the first step: <img class="alignnone size-medium wp-image-953" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/631-460x266.png" alt="63" width="300" height="173" /> After selecting proper AM we can see the VO attached to that AM in the Available View Usages, which is shown below: <img class="alignnone size-medium wp-image-955" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/641-460x288.png" alt="64" width="300" height="187" /> Click on Next button, in Step2 window select Region Style as &ldquo;<strong>table</strong>&ldquo;, the same scenario is shown in the below figure: <img class="alignnone size-medium wp-image-956" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/651-460x319.png" alt="65" width="300" height="208" /> In the next window we will find all the available attributes and in that select the attributes whichever required to display <img class="alignnone size-medium wp-image-957" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/661-460x288.png" alt="66" width="300" height="187" /> Click on Next button then we will find a window in that we can change the prompt names if required and also the style of the item we can change here we are taking all the items as Message Text input types.<img class="alignnone size-medium wp-image-959" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/671-460x307.png" alt="67" width="300" height="200" /> Click on Next button and then click on the finish button. <img class="alignnone size-medium wp-image-960" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/681-460x295.png" alt="68" width="300" height="192" /> After creating Region Using Wizard now create one more item and the Item Style is &ldquo;Submit Button&rdquo;. So that the page structure looks like the following:<img class="alignnone size-full wp-image-963" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/691.png" alt="69" width="284" height="344" /> Now create one controller on the main region. Right click on the region1(Main region id) and then select <strong>Set New Controller&hellip;</strong> Now after creating the controller write the following code in the process Form Request. public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) { super.processFormRequest(pageContext, webBean); if(pageContext.getParameter("item1")!=null) { /* The below code line is used to initialize the application module */ OAApplicationModule am=(OAApplicationModule)pageContext.getApplicationModule(webBean); /* The below code line is used to initialize VO*/ OAViewObject vo=(OAViewObject)am.findViewObject("ItemsVO1"); /* ItemsVO1 is the instance name in AM which is the original name of the VO */ vo.executeQuery(); } } Rebuild the code, run the page and see the output: <img class="alignnone size-full wp-image-964" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/701.png" alt="70" width="424" height="324" /> Click on the &ldquo;Go&rdquo; button so that it will display the records as shown below <img class="alignnone size-medium wp-image-965" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/711-460x294.png" alt="71" width="300" height="191" /> &nbsp; <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-data-guard-training" target="_blank" rel="noopener">Oracle data guard Training in Hyderabad</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>a9:T1010,<p style="text-align: justify;"><span style="color: #000000;">In this lesson, we are going to see how to swap values from one field to another.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Steps to follow:</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">Create a Page and create Message Component Layout Region</span></li>
<li><span style="color: #000000;">Create two items one Message Text Input, and other is Message Styled Text with prompts as &ldquo;Enter some Text :&rdquo; and &ldquo;Entered Text :&rdquo;.</span></li>
<li><span style="color: #000000;">Create one button so that when we click on button swapping process to done.</span></li>
<li><span style="color: #000000;">Create Controller and write the Swapping logic in ProcessFormRequest.</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">We already know that how to create a page and how to create a region, the following figure shows the page structure in JDeveloper:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-945 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/591.png" alt="59" width="284" height="264" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now on the main region create Controller and write the logic in Process Form Request, and the code is :</span></p>
<pre class="language-markup"><code>public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)

{

super.processFormRequest(pageContext, webBean);

if(pageContext.getParameter("item3")!=null)

{

String name=pageContext.getParameter("item1");

OAMessageStyledTextBean mst=(OAMessageStyledTextBean)webBean.findChildRecursive("item2");

mst.setValue(pageContext,name);

}

}</code></pre>
<p style="text-align: justify;"><span style="color: #000000;">In the above program item1 is id value of the Message Input Text item, item2 is the Id value of the Message Styled Text.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Rebuild the code and run the page to see the output.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Enter some text in the field and click on swap button for swapping.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-946 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/601-460x211.png" alt="60" width="300" height="137" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">If we want to place or clear the text what we entered then write the following additional code:</span></p>
<pre class="language-markup"><code>public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)

{

super.processFormRequest(pageContext, webBean);

if(pageContext.getParameter("item3")!=null)

{

String name=pageContext.getParameter("item1");

OAMessageStyledTextBean mst=(OAMessageStyledTextBean)webBean.findChildRecursive("item2");

mst.setValue(pageContext,name);

OAMessageTextInputBean mtib =(OAMessageTextInputBean)webBean.findChildRecursive("item1");

mtib.setValue(pageContext,null);

}

}</code></pre>
<p>&nbsp;</p>
<p><strong>Check out related blogs:</strong></p>
<ul>
<li><a href="https://tekslate.com/structure-oaf//" target="_blank"><span style="color: #236fa1;">Structure of OAF</span></a><span style="color: #236fa1;"> </span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/advantages-disadvantages-oaf/" target="_blank">Advantages and Dis-Advantages of OAF</a> </span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/oracle-data-guard-training" target="_blank">Oracle data guard Training in Hyderabad</a> </span></li>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/creating-first-oaf-page-project/" target="_blank">Creating First OAF Page in Project</a></span></li>
</ul>aa:T1c94,<p style="text-align: justify;"><span style="color: #000000;">Let us learn how to create Exception messages in OAF. This lesson will take us to show that how to create Exception messages, alert messages, warning messages in OAF pages.</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">First, create one page in a project.</span></li>
<li><span style="color: #000000;">Create the Region and two items.</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">One Item to enter text so take it as &ldquo;Message Text Input&rdquo; and another item is &ldquo;Submit Button&rdquo;. Hence we already seen in previous chapters how to create Message Text Input item and Submit Button.</span></p>
<ol style="text-align: justify;" start="3">
<li><span style="color: #000000;">Create the controller and write the code in the process Form Request, we are going to write the code in process form request because whenever we click on submit button based on the condition, the Message should be displayed.</span></li>
<li><span style="color: #000000;">Here we are creating one Message Text input item, and three submit buttons each button will display different messages.The below figure shows the page structure Contains :</span><span style="color: #000000;">Message Component Layout Region</span><span style="color: #000000;">&mdash;Under it: Message Text Input Item</span><span style="color: #000000;">: Message Layout Item</span><span style="color: #000000;">&mdash;- under message layout item</span><span style="color: #000000;">:Submit Button 1 with prompt : Exception</span><span style="color: #000000;">:Submit Button 2 with prompt : Alert</span><span style="color: #000000;">:Submit Button 1 with prompt : Warning<img class="alignnone size-full wp-image-932" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/551.png" alt="55" width="244" height="284" /></span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">Now run the page and just see the output how it looks, the below figure shows the sample output and if we observe there is no gap between Submit Buttons and Message Text Input Item.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-933" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/561-460x205.png" alt="56" width="300" height="133" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now to create a space between buttons and items we have one item called &ldquo;spacer&rdquo;. Create two items under Message Layout and select Item Style as a&nbsp;<strong>spacer </strong>and in Property Inspector give width as 10.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on the spacer item hold it and drag it between the Submit Button items, in Message component Layout region directly we cannot create spacer item, so, therefore, create one message layout hold that item and place between Message Text Input item and Message Layout Item which is created early.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now under the second message Layout item create one item with Item Style as &ldquo;spacer&rdquo; and give height as 10 in Property Inspector.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">After creation the page structure looks like the following:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-935" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/571.png" alt="57" width="264" height="324" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create the controller under the main region and write the code logic in &ldquo;process Form Request&rdquo;.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">{</span></p>
<p style="text-align: justify;"><span style="color: #000000;">super.processFormRequest(pageContext, webBean);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">if(pageContext.getParameter("item3")!=null)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">{</span></p>
<p style="text-align: justify;"><span style="color: #000000;">String name=pageContext.getParameter("item6");</span></p>
<p style="text-align: justify;"><span style="color: #000000;">throw new OAException(name,OAException.ERROR);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">}</span></p>
<p style="text-align: justify;"><span style="color: #000000;">if(pageContext.getParameter("item4")!=null)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">{</span></p>
<p style="text-align: justify;"><span style="color: #000000;">String name=pageContext.getParameter("item6");</span></p>
<p style="text-align: justify;"><span style="color: #000000;">throw new OAException(name,OAException.CONFIRMATION);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">}</span></p>
<p style="text-align: justify;"><span style="color: #000000;">if(pageContext.getParameter("item5")!=null)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">{</span></p>
<p style="text-align: justify;"><span style="color: #000000;">String name=pageContext.getParameter("item6");</span></p>
<p style="text-align: justify;"><span style="color: #000000;">throw new OAException(name,OAException.WARNING);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">}</span></p>
<p style="text-align: justify;"><span style="color: #000000;">}</span></p>
<p style="text-align: justify;"><span style="color: #000000;">In the above code item3, item4, item5 are the id values of the Submit Button items with prompt Exception, Confirm, Warning. Item6 is the id value of Message Text Input item.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The import package is :</span></p>
<p style="text-align: justify;"><span style="color: #000000;">import oracle.apps.fnd.framework.OAException;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run the page and see the output. Give some text in Message Input Text and then click on the button to see the messages displayed on OAF. For example, see the following:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-941" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/581-460x269.png" alt="58" width="300" height="175" /></span></p>
<p><strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/osb-training/" target="_blank" rel="noopener">Oracle OSB Training in Chicago</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>ab:T75e,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">We already seen that how to create a Image in OAF page in previous lesson.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we are going to see how to create Item in Message Component Layout region.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Directly we cannot create Image item in Message Component Layout Region, so therefore first we need to create Message Layout item.</span> <img class="alignnone size-full wp-image-922" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/521.png" alt="52" width="224" height="50" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The below figure shows the Image item property Inspector under the Message Layout region:</span> <img class="alignnone size-full wp-image-923" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/531.png" alt="53" width="304" height="364" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In the Image URI give the path of the image which you want to display. Run the page and see the output:</span> <img class="alignnone size-medium wp-image-925" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/541-460x269.png" alt="54" width="300" height="175" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/osb-training/" target="_blank" rel="noopener">Oracle OSB Training in Houston</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>ac:T50a,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Let us see how to create Message Rich Text Editor in OAF.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Rich textEditor Item style is deprecated to &lt;Message Rich Text Editor&gt;.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">create item and select the Item Style as message Rich Text Editor.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Run the page to see the output . The below figure shows the Message RichText Editor with prompt as &ldquo;Address&rdquo;.</span><img class="alignnone size-medium wp-image-919" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/511-460x180.png" alt="51" width="300" height="117" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/osb-training/" target="_blank" rel="noopener">Oracle OSB Training in Dallas</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>ad:T919,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we are going to see how to create submit button in OAF page.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Here in this lesson we are going to see how to create Submit button Item in Message Component Layout region, note that we cannot create Submit button directly in Message Component Layout Region for that first we need to create Message Layout as shown in the below figure:</span> <img class="alignnone size-full wp-image-911" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/471.png" alt="47" width="384" height="224" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After selecting Message Layout item under that Item create one more item as shown in the below figure:</span> <img class="alignnone size-full wp-image-912" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/481.png" alt="48" width="404" height="224" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After creating Item under the Message Layout item select the Item Style as &ldquo;submit Button&rdquo;.</span> <img class="alignnone size-full wp-image-913" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/491.png" alt="49" width="304" height="104" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Give prompt name to display on top of the button example &ldquo;Ok&rdquo;, run the page and see the output:</span> <img class="alignnone size-medium wp-image-914" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/501-460x256.png" alt="50" width="300" height="166" /> &nbsp; <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/osb-training/" target="_blank" rel="noopener">Oracle OSB Training in Bangalore</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>ae:T3433,<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">In this lesson, we are going to learn how to create Message Choice item in the OAF page.</span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">The bean for message Choice is the item is &ldquo;OAMessageChoiceBean&rdquo;.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><strong>Step 1:&nbsp;</strong>First create Item in the page and select Item Style as MessageChoice in Property Inspector.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><strong>Step 2:&nbsp;</strong>After creating the page create the VO (View Object) in respective BC4J and attach VO to AM (Application Module).</span></p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 20px; font-family: helvetica, arial, sans-serif;"><strong>Creating VO process:</strong></span></h2>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Right Click on Resources folder of the project and then select <strong>New View Object&hellip; &nbsp;</strong>as shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-full wp-image-891 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/301.png" alt="30" width="384" height="404" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">After that a welcome page to create a View Object wizard window will open as shown below:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-full wp-image-892 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/311.png" alt="31" width="444" height="324" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on Next button, so that first step to create a VO will come and in that :</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><strong>Package</strong> : Select the proper package name which we created for a project.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><strong>Name</strong> : give the name to the VO note that all the View objects end with VO.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-full wp-image-893 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/321.png" alt="32" width="444" height="324" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on Next button:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-894 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/331-460x288.png" alt="33" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on Next Button, no need to select any package or attributes here:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-895 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/341-460x288.png" alt="34" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on Next button without any changes:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-896 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/35-460x288.png" alt="35" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on Next button without any changes so that we can see the Query area to enter SQL query to retrieve the data, write the SQL Query in the Query Statement.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-897 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/36-460x288.png" alt="36" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;">After writing the Query statement check whether the written Query is valid or not by clicking on <strong>Test</strong>&nbsp;so that if the query is valid, then it shows a message that Query is valid. After that click on Next button.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-898 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/371-460x288.png" alt="37" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on next button to step 8:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-899 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/381-460x288.png" alt="38" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on next button and click on Finish button:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-900 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/391-460x288.png" alt="39" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">After creating VO (view object), we need to attach VO to AM (application Module). Let us see how to attach VO to AM:</span></p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 20px; font-family: helvetica, arial, sans-serif;"><strong>Attaching VO to AM:</strong></span></h2>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Edit the AM which we created in the project, right click on AM and then select Edit &lt;AM Name&gt; as shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-full wp-image-901 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/401.png" alt="40" width="384" height="304" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Select Data Model, extract the package in which VO is created select the VO after selecting the proper VO click on the Greaterthan arrow symbol which is shown in below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-903 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/411-460x302.png" alt="41" width="300" height="196" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">After that we can see the VO is attached to the AM as shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-904 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/421-460x283.png" alt="42" width="300" height="184" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Click on Apply button and then on OK button so that the attachment process of VO to AM is over.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><strong>Step 3:&nbsp;</strong>Select the item properties in that do the following:</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-full wp-image-905 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/431.png" alt="43" width="304" height="124" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><em>Picklist View Instance :</em> Give the VO name</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><em>View Instance</em> : Attribute Name, the displayed list values. &nbsp;(Column Name, in VO columns are converted into attributes).</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-full wp-image-906 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/441.png" alt="44" width="284" height="424" /></span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><em>View Attribute</em> : Attribute Name</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-full wp-image-907 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/451.png" alt="45" width="284" height="424" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Now run the page so that we can see the output with drop down list to pick some values. The below image shows the output of Message Choice along with other items in OAF page.</span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Note that a drop-down list can handle a maximum of 200 values.</span></p>
<p style="text-align: justify;"><span style="color: #000000; font-size: 14px; font-family: helvetica, arial, sans-serif;"><img class="alignnone size-medium wp-image-908" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/461-460x269.png" alt="46" width="300" height="175" /></span></p>
<p>&nbsp;</p>
<p><span style="font-size: 14px; font-family: helvetica, arial, sans-serif;"><strong>Check out our related Blogs:</strong></span></p>
<ul>
<li><span style="font-size: 14px; color: #236fa1; font-family: helvetica, arial, sans-serif;"><a style="color: #236fa1;" href="https://tekslate.com/structure-oaf//" target="_blank">Structure of OAF</a></span></li>
<li><span style="font-size: 14px; color: #236fa1; font-family: helvetica, arial, sans-serif;"> <a style="color: #236fa1;" href="https://tekslate.com/advantages-disadvantages-oaf/" target="_blank">Advantages and Dis-Advantages of OAF</a></span></li>
<li><span style="font-size: 14px; color: #236fa1; font-family: helvetica, arial, sans-serif;"> <a style="color: #236fa1;" href="https://tekslate.com/osb-training/" target="_blank">Oracle OSB Training in Bangalore</a> </span></li>
<li><span style="font-size: 14px; color: #236fa1; font-family: helvetica, arial, sans-serif;"><a style="color: #236fa1;" href="https://tekslate.com/creating-first-oaf-page-project/" target="_blank">Creating First OAF Page in Project</a></span></li>
</ul>af:T1a91,<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">In this lesson, we are going to learn how to use Radio Button items in the OAF page.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">We can create individual Radio Button items in the page as a named set of mutually exclusive values. It means we can place radio Buttons where ever we require on a page, but if we provided a mutually exclusive name to all those radio button items, then only anyone will be checked.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Let us see one small example how to create a Radio Button Items in the page:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step 1:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create a page and create one Message Component Layout region on a page. Under the region create four items and select the Item Style as &ldquo;messageRadioButton&rdquo; . Example see the below figure:</span></span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-884 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/251.png" alt="25" width="424" height="284" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step 2:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';"> Now after creating Radio Button items give Id values to each item created and assigned a Prompt name which ever you wish to display for the radio button.</span></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step 3:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Set the checked value and unchecked value to each radio button in the Property Inspector.</span></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Step 4:&nbsp;</span></strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">If we want radio buttons to behave as a group then we must programmatically assign them all the same name by calling setName() for each radio button.</span></span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">First, create one controller and write the program in the processRequest().</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-885 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/261.png" alt="26" width="223" height="259" /></span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Remove one webui from the package name and give controller name and note that every controller ends with CO (general standard).</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-886 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/271-460x174.png" alt="27" width="300" height="113" /></span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Write the program in the processRequest(), here I am not providing any access to the code to copy and paste it in the JDeveloper because whenever we write the code, we need to import the package in the program which we can get automatically from R12 series onwards.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">For example whenever we are typing &ldquo;OAMessageRadioButtonBean&rdquo; then JDeveloper prompts us to use &ldquo;Alt-Enter&rdquo; to import the required package. So as of now, it is better practice to type the code rather than copy and paste.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">We already explained the concept of programming in the previous Chapter (Displaying User Name, User ID, Responsibility Name, Responsibility ID).</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">The below figure shows the written code in the processRequest():</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-887 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/281-460x423.png" alt="28" width="300" height="275" /></span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Now after righting the code rebuild the code by giving a Right click on the program select option called Rebuild.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">After successful compilation of program run the page and see the output, if we test the output radio buttons we can select any one out of four available items because we set unique names to all the items in the program using variable Name . (dot) setName() method. See the code in above picture for confirmation.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">The below figure shows the output of the program which shows additionally other items too rather than radio buttons:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-888 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/291-460x262.png" alt="29" width="300" height="170" /></span> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/osb-training/" target="_blank" rel="noopener">Oracle OSB Training in Hyderabad</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>b0:Tbc4,<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Let us learn how to create Check Box items in OAF.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Create two items under the region and select Item Style as &ldquo;messageCheckBox&rdquo;.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">For the Message Check Box check the Property Inspector, and we have some features like as follows:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Data</span></strong></span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Initial Value &nbsp; &nbsp; &nbsp;: Assigns a default value give this value to &ldquo;Y&rdquo; so that the check box will be checked by default.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Checked Value : This values will be assigned whenever the check box is checked.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Unchecked Value : Value when the item is not checked.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">Initially Checked : If we want a value to be checked initially (automatically) then make this value to True.</span></p>
<p style="text-align: justify;"><span style="font-size: 9pt; font-family: Verdana, sans-serif; color: #000000;">The following figure shows the Default Data values for the second check box with the prompt name as &ldquo;Check box two&rdquo;.</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-880 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/231.png" alt="23" width="417" height="460" /></span></p>
<p style="text-align: justify;">Run the page and see the output here we will see other items too in the below figure along with the Check Box items.</p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-881 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/241-460x205.png" alt="24" width="300" height="133" /></span> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/osb-training/" target="_blank" rel="noopener">Oracle OSB Training in Hyderabad</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>b1:Te0c,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this chapter we are going to learn how to create Items and we will see some items in the OAF page how they look.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">We already seen in previous chapter that how many items are available and how to create a item.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Here we are going to see different types of items in OAF how they appear in the page.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Creating Message Text Input Item</span></strong> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The Message Text Input items allows users to enter some text value by the user. For example in mail id User Name, password we will find some text to enter and those kind of items here in OAF are called as Message Text Input items.</span> First create one project and create one page under the main region create one &ldquo;Message Component Layout &rdquo; region. <img class="alignnone size-full wp-image-866" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/171.png" alt="17" width="324" height="404" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create two Message Text Input items under Message Component Layout Region and give prompt names to each item.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">To make the item required one in the Property Inspector select showRequired and make to True so that the items become required field.</span> <img class="alignnone size-full wp-image-867" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/181.png" alt="18" width="379" height="154" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now for the item if we want the text in disable mode like the way we usually see while entering Password the text appears in dots rather than displaying text. In OAF for that feature, select item and in Property Inspector select <strong><span style="font-family: 'Verdana','sans-serif';">Security</span></strong> -&gt; Secret.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">By default it sets to False make it True.</span> <img class="alignnone size-full wp-image-870" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/191.png" alt="19" width="384" height="204" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Run the page and see the output, the below figure shows the output which shows the Message Text Input items what we created:</span> <img class="alignnone size-medium wp-image-871" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/201-460x175.png" alt="20" width="300" height="114" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Run the page and see the output.</span> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training in Chicago</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>b2:Te11,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we are going to learn how to create Page Button Bar.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In the Page Button Bar region the items what we placed under it we can see in &nbsp;top and bottom of the pages. It means this region is helpful if we scroll down to the page and we need to click on some button to perform certain action then we can create those items under Page Button Bar region.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The items inside Page Button Bar works just like in our mail accounts generally if we open a mail then we can delete that mail by clicking on Delete button and if we observe in most accounts Delete button is available on top of the mail and even bottom.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Creating Page Button Bar</span></strong> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">First create one page in a project.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Here we are taking the same page which we created early contains five other regions.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Under the main region in a page create one more region and select region style as &ldquo;Page Button Bar&rdquo;.</span> <img class="alignnone size-full wp-image-858" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/141.png" alt="14" width="324" height="364" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The property inspector of Page Button bar is:</span> <img class="alignnone size-full wp-image-859" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/151.png" alt="15" width="320" height="528" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After creating region with Region Style as &ldquo;Page Button Bar&rdquo;, create two items under the region and select Item Style as SubmitButton.</span> <img class="alignnone size-medium wp-image-860" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/161-460x229.png" alt="16" width="300" height="149" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">For one Submit Button item give prompt as &ldquo;Ok&rdquo; and for other give prompt as &ldquo;Cancel&rdquo;.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now after creating items under the Page Button Bar region, run the page and see the output we can </span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">see in the output items will be displayed on top and bottom of the page. Look &nbsp;at the below figure which shows the look of output and also it shows how the items in the other region are placed:</span> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training in Bangalore</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>b3:Tb34,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we see how to create Default Single column and how the items inside the Default Single column appears in the OAF (Oracle Apps Framework) page.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Creating Default Single Column</span></strong> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">First create one page in the project and then create one region under the main region as shown in the below picture:</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Right click on the main region, select New -&gt; Region.</span><img class="alignnone size-full wp-image-853" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/111.png" alt="11" width="424" height="484" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Here we are taking the page which we created in the </span><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">previous chapters</span><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">. After creating the region select the Region Style as &ldquo;DefaultSingleColumn&rdquo;, the below figure shows the Property Inspector of Default Double Column.</span><img class="alignnone size-full wp-image-854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/121.png" alt="12" width="284" height="484" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create three items under Default Single Column region and also give prompt names to each MessageTextInput items created.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After creating three items and giving prompt names, run the page and see the output how the items in the Default Single Column region are displayed.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In the below figure if you observe we can see the difference between other regions along with the Default Single Column.</span><img class="alignnone size-medium wp-image-855" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/131-460x386.png" alt="13" width="300" height="251" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training in Bangalore</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>b4:Te2d,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we are going to learn about Default Double column region which generally displays Items in only two columns, let us create a Default double column region and create some items init and see how it looks like.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Creating Default Double Column Region</span></strong> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">First create one page in the project and then under the main page region create one new region.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Right click on the main region, select New -&gt; Region.</span> <img class="alignnone size-full wp-image-846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/7.png" alt="7" width="424" height="484" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In the property inspector select the region style as &ldquo;defaultDoubleColumn&rdquo;.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After selecting Region Style as Default Double Column we can see in the visual Text and Item URI fields are available it means for Default Double Column we can give Text value to the region and also we can place any images if required.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The below figure shows the Property Inspector of Default Double Column:</span><img class="alignnone size-full wp-image-847" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/8.png" alt="8" width="324" height="564" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now after creating Default double Column region create three items under Default Double Column region and note that all the items the Item Style is messageTextInput and give some prompt name for all the created items.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After creating items under the default Double Column region the page structure look like the following which shows Default Double Column region and along with also shows items structure of Message Component Layout region , Header Region , and Row Layout region.</span><img class="alignnone size-full wp-image-848" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/9.png" alt="9" width="431" height="693" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In the above figure region5 is the Default Double Column.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now run the page and see the output which shows how the items are placed inside the default Double Column and also it compares with the other regions.</span><img class="alignnone size-medium wp-image-849" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/10-460x385.png" alt="10" width="300" height="251" /></p>
<p><strong>Check out our Popular Trainings</strong></p>
<p><strong>&nbsp;</strong><a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a></p>
<p><a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a></p>
<p><a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training in Hyderabad</a></p>
<p><a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>
<div id="malwarebytes-root"></div>b5:Tc78,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In this lesson we are going to see how the rowLayout Region looks like and how the items are displayed inside the rowLay0utRegion.</span> <strong><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Creating Row Layout Region</span></strong> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">First create one page, here we are taking the same page which we created in the previous chapters and it already contains MessageComponetLayout region and Header region.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Create one region, right click on the main region and then select New -&gt; Region</span><img class="alignnone size-full wp-image-841" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/4.png" alt="4" width="424" height="484" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Select region style as &ldquo;rowLayout&rdquo; in the Property Inspector, and if we observe the Property Inspector we have Horizontal Alignment and Vertical Aligment .</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Center, End, Left, Right, Start are the available alignments for Horizontal. By Default , Default is the alignment type which is nothing but works as Start Alignment.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">For&nbsp;Vertical Alignment Bottom, Middle, and Top are the available alignments.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The below picture shows the property inspector of Row Layout Region:</span><img class="alignnone size-full wp-image-842" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/5.png" alt="5" width="324" height="584" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">After creating RowLayout region create four items under the rowLayoutRegion and also give prompt names for each created items under RowLayout region.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now run the page and see the output, it displays all the items in single row.</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The below figure shows how the output looks like and also observe that in the below figure how the items are placed in MessgeComponentLayout region and Header Region along with the Row Layout region.</span><img class="alignnone size-medium wp-image-843" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/6-460x323.png" alt="6" width="300" height="210" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training in Hyderabad</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>b6:Tc99,<p>In previous lesson we learned how the Message Component Layout region looks like and how to create it, now using the same page here in this lesson we are going to see how the Header Region looks like and what are the properties available in the Header region in JDeveloper.</p>
<h2><span style="font-size: 22px; color: #e67e23;"><strong>Header Region Creation:</strong></span></h2>
<p>Right click on the main region and select the New -&gt; Region as shown in the below figure:</p>
<p><img class="alignnone size-full wp-image-833" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/99.png" alt="99" width="424" height="484" /></p>
<p>Select the region style as Header and if we observe in the visual area we can provide Text, give some text like Header Region and while when comparing this header region with the message component layout region we can observe that in message component layout region we don,t have a option to provide Heading text where as in Header region we can provide headings but item control is not there like rows and columns in MessageComponentLayout Region. The below figure shows the property inspector of Header Region just have a look:</p>
<p><img class="alignnone size-full wp-image-834" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/100.png" alt="100" width="324" height="424" /></p>
<p>Now after creating Header region create three items with Item Style as MessageTextInput:</p>
<p><img class="alignnone size-full wp-image-835" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/101.png" alt="101" width="384" height="424" /></p>
<p>Similarly create two more items to see the items arrangement in Header Region, and note that for all the items the item style is MessageTextInput.</p>
<p>Give some prompt names to all the items:</p>
<p><img class="alignnone size-full wp-image-836" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1.png" alt="1" width="344" height="524" /></p>
<p>After creating three items the structure of the page looks like the following:</p>
<p><img class="alignnone size-full wp-image-837" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2.png" alt="2" width="324" height="424" /></p>
<p>Now run the page and see the output here we can identify the difference between Header region and MessageComponentLayout region:</p>
<p><img class="alignnone size-medium wp-image-838" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3-460x262.png" alt="3" width="300" height="170" /></p>
<p><strong>Check out our Popular Trainings</strong></p>
<ul>
<li><strong>&nbsp;</strong><a href="https://tekslate.com/structure-oaf//" target="_blank">Structure of OAF</a></li>
<li><a href="https://tekslate.com/advantages-disadvantages-oaf/" target="_blank">Advantages and Dis-Advantages of OAF</a></li>
<li><a href="https://tekslate.com/oracle-fusion-financials-training/" target="_blank">Oracle Fusion Financials Training in Chicago</a></li>
<li><a href="https://tekslate.com/creating-first-oaf-page-project/" target="_blank">Creating First OAF Page in Project</a></li>
</ul>b7:T1102,<p style="text-align: justify;"><span style="color: #000000;">In this chapter, we are going to learn creation of regions on the page, and for each region here we are taking two or more items with item style as &ldquo;messageTextInput&rdquo; so that we will come to know that how the items are placed in the regions. Each region will place items in different styles. Let us see some layout regions:</span></p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 20px;"><strong>1) Message Component Layout Region</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">First, create one Project which we learned in previous chapters like Welcome Page creation.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">After creating a page, go to page structure and select region after selecting region right click on the region and then select New-&gt; Region. Now a region will be created under a page region.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-827 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/95.png" alt="95" width="424" height="484" /></span></p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">After creating region change the region style to &ldquo;MessageComponentLayout&rdquo; in the Property Inspector as shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-828 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/96.png" alt="96" width="324" height="424" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Observe the property inspector, and in the visual we added 1 to the rows and 3 to the columns, to see how this rows and columns effect. See the output and observe the items how they are placed by JDeveloper automatically, for that first create items under MessageComponentLayout region, here we created 5 items under the message component layout region and then after creating see the structure of the page how it looks like:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-829 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/97.png" alt="97" width="284" height="324" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Give the prompt names to each item and remember here we are taking item style as &ldquo;messageTextInput&rdquo; for all the items, run the page and see the output to see how the items are placed in message Component Layout region:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-830 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/98-460x180.png" alt="98" width="300" height="117" /></span></p>
<p style="text-align: justify;"><span style="font-size: 14px; font-family: helvetica, arial, sans-serif; color: #000000;">Follow the next lesson which shows Header Region how it looks like.</span></p>
<p style="text-align: justify;">&nbsp;</p>
<p><strong>Check out our related Blogs:</strong></p>
<ul>
<li><span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/structure-oaf//" target="_blank">Structure of OAF</a></span></li>
<li><span style="color: #236fa1;"> <a style="color: #236fa1;" href="https://tekslate.com/advantages-disadvantages-oaf/" target="_blank">Advantages and Dis-Advantages of OAF</a></span></li>
<li><span style="color: #236fa1;"> <a style="color: #236fa1;" href="https://tekslate.com/oracle-fusion-financials-training/" target="_blank">Oracle Fusion Financials Training</a></span></li>
<li><span style="color: #236fa1;"> <a style="color: #236fa1;" href="https://tekslate.com/creating-first-oaf-page-project/" target="_blank">Creating First OAF Page in Project</a></span></li>
</ul>b8:T1089,<p>Oracle Fusion Middleware&nbsp;consists of several Oracle products, built over the years and recently acquired, that will help build end to end solutions. Oracle has been attempting to bring all these products under one roof. With recent release of&nbsp;Oracle Fusion Middleware&nbsp;11g R1, I must say that it has managed to do it pretty well. Oracle Fusion Middleware provides fully integrated products that can be divided into four important categories:</p>
<ol>
<li>Data and Application Layer: Products in this category help build integration with various databases, legacy/custom applications and ERP products.</li>
<li>Business Process Layer: Products in this category utilize the integrations built in the data &amp; application layer to create re-usable orchestrated services.</li>
<li>User Interface Layer: Products in UI Layer will assist in creating sophisticated user interfaces supporting multiple delivery channels such as web, mobile etc.,</li>
<li>Identity Management Layer: This is the security backbone of entire Fusion Middleware. We can easily plug-in authentication, authorization in standalone and/or distributed server environment.</li>
</ol>
<p>It is important to note that most of the products in each of these layers can also be used independently. But major value addition of Fusion Middleware is that most of these products are pre-integrated, creating greater synergy and re-usability. Given the no. of products involved, this blog focuses on the backbone of Fusion Middleware:&nbsp;Business Process layer. &nbsp; <img class="alignnone wp-image-861" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1-460x345.png" alt="Slide1" width="302" height="227" /> Oracle&nbsp;SOA Suite&nbsp;11g is the product set for Business Layer. Individual constituents of Oracle&nbsp;SOA Suite&nbsp;and their description given below: <strong>Oracle BPEL Process Manager:</strong> BPEL stands for&nbsp;<strong>B</strong>usiness&nbsp;<strong>P</strong>rocess&nbsp;<strong>E</strong>xecution&nbsp;<strong>L</strong>anguage. It is a XML based declarative language that can be used implement end to end business processes. Basic building block of these processes is a service, which could be a web service. BPEL utilizes various adapters to service enable legacy and custom applications before consuming them in processes. BPEL also provides human workflow that has variety of uses. <strong>Oracle Service Bus:</strong> OSB is an enterprise level service bus that was originally part of Weblogic before acquisition. OSB offers very useful features for service virtualization, canonical models and very efficient payload transformations. OSB is normally used to complement Oracle BPEL Process Manager. <strong>Oracle Business Activity Monitoring:</strong> BAM is a real-time service monitoring tool that can be used to track an end to end process created by BPEL/OSB. BAM offers real-time dashboards that can be help diagnose potential bottlenecks in the processes before they occur. BAM can be easily plugged into BPEL PM using simple integration. <strong>Oracle Business Rules:</strong>&nbsp;As the name suggests, its a product to create and use business rules. This can act as central repository for various rule artefacts and thus facilitate greater re-usability. It can be easily integrated with rest of Fusion Middleware products. <strong>Oracle B2B Integration:</strong> Used to connect with trading partners using industry standard protocols such as RosettaNet, EDIFACT etc., it can interface with E-Business Suite using XML Gateway and rest of Fusion Middleware using IP Queues. Together, above products can be used to define and implement Service Oriented Architecture. <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/oracle-fusion-financials-training/" target="_blank" rel="noopener">Oracle Fusion Financials Training in Dallas</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>b9:T2b5a,<p style="text-align: justify;"><span style="color: #000000;">In this lesson, we will learn how to create Items in OAF page, and also we learn how to create Regions on a page.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Here we are taking the same Welcome Page which we created /learned in the previous lesson.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><em>Creating a Region in &nbsp;OAF page:</em></strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select the .xml page in Applications Navigator. In the page structure Right click on PageId (example &ldquo;WelcomePageId&rdquo; which we created early in the previous lesson Welcome Page) and then select New -&gt; Region.</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-796 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/72.png" alt="72" width="424" height="284" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">By default, JDeveloper takes it as a Header region. We got different types of regions available in the JDeveloper, which are:</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">advancedSearch</span></li>
<li><span style="color: #000000;">advancedTable</span></li>
<li><span style="color: #000000;">bulletedList</span></li>
<li><span style="color: #000000;">cellFormat</span></li>
<li><span style="color: #000000;">contentContainer</span></li>
<li><span style="color: #000000;">contentFooter</span></li>
<li><span style="color: #000000;">defaultDoubleColumn</span></li>
<li><span style="color: #000000;">defaultFormStack</span></li>
<li><span style="color: #000000;">defaultSingleColumn</span></li>
<li><span style="color: #000000;">defaultStack</span></li>
<li><span style="color: #000000;">flexibleLayout</span></li>
<li><span style="color: #000000;">flowLayout</span></li>
<li><span style="color: #000000;">gantt</span></li>
<li><span style="color: #000000;">graphTable</span></li>
<li><span style="color: #000000;">hGrid</span></li>
<li><span style="color: #000000;">header</span></li>
<li><span style="color: #000000;">hideShow</span></li>
<li><span style="color: #000000;">hideShowHeader</span></li>
<li><span style="color: #000000;">labeledFieldLayout</span></li>
<li><span style="color: #000000;">messageComponentLayout</span></li>
<li><span style="color: #000000;">navigationBar</span></li>
<li><span style="color: #000000;">pageButtonBar</span></li>
<li><span style="color: #000000;">popUp</span></li>
<li><span style="color: #000000;">query</span></li>
<li><span style="color: #000000;">rowLayout</span></li>
<li><span style="color: #000000;">shuttle</span></li>
<li><span style="color: #000000;">stackLayout</span></li>
<li><span style="color: #000000;">sub TabLayout</span></li>
<li><span style="color: #000000;">switcher</span></li>
<li><span style="color: #000000;">table</span></li>
<li><span style="color: #000000;">tableLayout</span></li>
<li><span style="color: #000000;">train</span></li>
<li><span style="color: #000000;">tree</span></li>
</ol>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-797 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/73-460x217.png" alt="73" width="300" height="141" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Give some text in Visual -&gt; Text:, for example, &ldquo;Header Region&rdquo; text field as shown in the below figure:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-798 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/74.png" alt="74" width="422" height="140" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run the page after giving Text field value and see the output the output will look like:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-799 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/75-460x142.png" alt="75" width="300" height="92" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">In the output observe how the Header Region is appearing and how it looks like we will discuss some important regions which we use in OAF pages in the coming chapters.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><em>Creating a Items in &nbsp;OAF page:</em></strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Let us see how to place items in the OAF Page regions and how to place items in the OAF page:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Here we already created a Header Region and if you observe in the above picture the id value of the region is &ldquo;region1&Prime;.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Right-click on the region1 select New -&gt; Item as shown in the below figure:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-800 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/76.png" alt="76" width="424" height="404" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now we can see item1 got created under region1.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">In the item1 properties if we observe the default style of the item is messageTextInput (which takes input values from the user) and give some text for prompt (for example &ldquo;Header Region Item1 :&rdquo;). The same scenario is shown in the below figure:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-801 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/77-460x371.png" alt="77" width="300" height="241" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">We have different styles for items which are listed down:</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">attachmentLink</span></li>
<li><span style="color: #000000;">attachmentTable</span></li>
<li><span style="color: #000000;">button</span></li>
<li><span style="color: #000000;">exportButton</span></li>
<li><span style="color: #000000;">flex</span></li>
<li><span style="color: #000000;">formParameter</span></li>
<li><span style="color: #000000;">formValue</span></li>
<li><span style="color: #000000;">formattedText</span></li>
<li><span style="color: #000000;">image</span></li>
<li><span style="color: #000000;">link</span></li>
<li><span style="color: #000000;">messageCheckbox</span></li>
<li><span style="color: #000000;">messageChoice</span></li>
<li><span style="color: #000000;">messageDownload</span></li>
<li><span style="color: #000000;">messageFileUpload</span></li>
<li><span style="color: #000000;">messageInlineAttachment</span></li>
<li><span style="color: #000000;">messageLovChoice</span></li>
<li><span style="color: #000000;">messageLovInput</span></li>
<li><span style="color: #000000;">messageRadioButton</span></li>
<li><span style="color: #000000;">messageRadioGroup</span></li>
<li><span style="color: #000000;">messageRichTextEditor</span></li>
<li><span style="color: #000000;">messageStyledText</span></li>
<li><span style="color: #000000;">messageTextInput</span></li>
<li><span style="color: #000000;">rawText</span></li>
<li><span style="color: #000000;">resetButton</span></li>
<li><span style="color: #000000;">richContainer</span></li>
<li><span style="color: #000000;">richTextEditor</span></li>
<li><span style="color: #000000;">separator</span></li>
<li><span style="color: #000000;">serveletInclude</span></li>
<li><span style="color: #000000;">spacer</span></li>
<li><span style="color: #000000;">staticStyleText</span></li>
<li><span style="color: #000000;">submitButton</span></li>
<li><span style="color: #000000;">tip</span></li>
<li><span style="color: #000000;">urlInclude</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">Similarly, create one more item in the header region, and for item2 in the properties give prompt (example&nbsp;Header Region Item2 :). So, therefore, the page structure looks like:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-802 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/78.png" alt="78" width="366" height="462" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now create one more item but create it on the pageID, so that let us see how the items are going to be displayed in the output, note that we don&rsquo;t know how the items appear on the page at design time and how the output looks like.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Right Click on the pageID of page structure and then select New -&gt; Item as shown in the below figure:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-804 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/79-460x244.png" alt="79" width="300" height="159" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After that for the created item3 in Property Inspector give the promt (for example &ndash; &ldquo;&nbsp;Item1 in the Main page :&nbsp;&rdquo; )</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The same thing is shown in the below figure:</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-805 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/80-460x371.png" alt="80" width="300" height="241" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now run the page and see how the page looks like.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The output of the page will look like the following, and observe how the items are displaying in header region and how they are looking out of header region.</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-806 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/81-460x258.png" alt="81" width="300" height="168" /></span> <strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/oracle-fusion-financials-training/" target="_blank" rel="noopener">Oracle Fusion Financials Training in Bangalore</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>ba:T1f8d,<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;">Let us see how to put images in OAF. The following are the two ways we can keep images on OAF pages: </span></p>
<ol>
<li><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;">Changing the ORACLE logo to company branding logo. </span></li>
<li><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;">Displaying Images in Page.</span></li>
<li>&nbsp;</li>
</ol>
<h2><span style="font-family: helvetica, arial, sans-serif; font-size: 20px; color: #e67e23;"><strong>1) Changing the ORACLE logo to company branding image.</strong> </span></h2>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;">All the images in Oracle Applications are available in <strong>OA_MEDIA&nbsp;</strong> directory. </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"><strong><em>Step 1:</em></strong> If we want to know the path where exactly the OA_MEDIA directory exists in Sever, Open a third-party tool which connects to the Sever in command prompt like Putty connection manager. Type the following command in putty: <strong>cd &nbsp;$OA_MEDIA</strong> After that now type the following command which shows the path were exactly the OA_MEDIA directory exists. <strong>pwd</strong> (Present Working Directory) </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"><strong><em>Step 2:</em></strong> Now move the Image from the desktop system to the sever using putty or using other graphical user interface tool like &nbsp;WinSCP. </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"><strong><em>Step 3:&nbsp;</em></strong> Open the page which is already created ( example Welcome Page ), here we are taking the Welcome page which is already created in the previous chapter. Select the .xml page from Applications Navigator, and we know that we can see the page structure after selecting .xml page if you didn&rsquo;t find the page structure then use the keyword &nbsp;<strong>Ctrl+Shift+s&nbsp;</strong>or go to View -&gt; Structure to select the Page structure palette. </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;">In the page structure select <strong><em>CorporateBrandingImage.</em></strong> </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"><img class="size-full wp-image-786 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/64.png" alt="64" width="304" height="644" /> </span></p>
<p><span style="font-size: 14px; font-family: helvetica, arial, sans-serif;">In the Property Inspector of corporateBrandingImage we can see Image URL in Visual field as shown in the below figure:</span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"> <img class="size-medium wp-image-787 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/65-460x445.png" alt="65" width="300" height="290" /> </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;">just remove the .gif file name and give the appropriate name i.e,. give the logo name which ever is move to OA_MEDIA directory. For example look into the below figure: </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"><img class="size-medium wp-image-788 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/66.png" alt="66" width="300" height="112" /> </span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;">Note that still now we not yet moved our sample or welcome page to the Oracle Apps Server instance so there fore if we run the program then we cannot see the logo. To see the corporate branding image locally move the image to the folder &ldquo;OA_MEDIA&rdquo; so that we can see the corporate branding image in OAF pages. the OA_MEDIA folder will be available in the following path &lt;patchfile_folder&gt;\jdevhome\jdev\myhtml\OA_MEDIA Now run the page so that we can see our Corporate logo in the OAF Pages as shown below:</span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"> <img class="size-medium wp-image-789 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/67-460x190.png" alt="67" width="300" height="123" /> <strong>&nbsp;</strong></span></p>
<p>&nbsp;</p>
<h2><span style="font-family: helvetica, arial, sans-serif; font-size: 20px; color: #e67e23;"><strong>II) Displaying Images in Page.</strong> </span></h2>
<p><span style="font-size: 14px; font-family: helvetica, arial, sans-serif;">To display a image in OAF page we need to create a Item first. Let us see how to create a Item, Right click on the PageId in the Structure of the page &nbsp;select New -&gt; Item as shown in the below figure:</span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"><img class="size-full wp-image-790 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/68.png" alt="68" width="384" height="624" /> </span></p>
<p><span style="font-size: 14px; font-family: helvetica, arial, sans-serif;">After that select the item which we created just by clicking or selecting item, Property Inspector will be highlighted in the Property Inspector select Item Style as image as shown in the below figure:</span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"> <img class="size-medium wp-image-791 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/69-460x460.png" alt="69" width="300" height="300" /> </span></p>
<p><span style="font-size: 14px; font-family: helvetica, arial, sans-serif;">Now after selecting Item Style as image now select the visual field in properties and give the image path which you want to display in Image URI field as shown in the below figure. Note that we need to move the image as usually to the respective OA_MEDIA folder/Directory.</span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"> &nbsp;<img class="size-full wp-image-792 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/70.png" alt="70" width="324" height="284" /> </span></p>
<p><span style="font-size: 14px; font-family: helvetica, arial, sans-serif;">Run the page and see the output we can find the images as shown below:</span></p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"> <img class="size-medium wp-image-793 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/71-460x231.png" alt="71" width="300" height="150" /> </span></p>
<p>&nbsp;</p>
<p><span style="font-family: helvetica, arial, sans-serif; font-size: 14px;"><strong>Check out our related Blogs:</strong></span></p>
<ul>
<li><span style="color: #236fa1; font-family: helvetica, arial, sans-serif; font-size: 14px;"><a style="color: #236fa1;" href="https://tekslate.com/oracle-fusion-financials-training/" target="_blank">Oracle Fusion Financials Training in Hyderabad</a> </span></li>
<li><span style="color: #236fa1; font-family: helvetica, arial, sans-serif; font-size: 14px;"><a style="color: #236fa1;" href="https://tekslate.com/structure-oaf//" target="_blank">Structure of OAF</a> </span></li>
<li><span style="color: #236fa1; font-family: helvetica, arial, sans-serif; font-size: 14px;"><a style="color: #236fa1;" href="https://tekslate.com/advantages-disadvantages-oaf/" target="_blank">Advantages and Dis-Advantages of OAF</a> </span></li>
<li><span style="color: #236fa1; font-family: helvetica, arial, sans-serif; font-size: 14px;"><a style="color: #236fa1;" href="https://tekslate.com/creating-first-oaf-page-project/" target="_blank">Creating First OAF Page in Project</a></span></li>
</ul>bb:T3c2a,<p style="text-align: justify;"><span style="color: #000000;">Let us start OAF work with the creation of First Sample Page.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">To Create a page in Oracle Apps Framework (OAF), we need to follow six steps listed as:</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">i) Create .JWS ( Java Work Space )</span></li>
<li><span style="color: #000000;">ii) Create .JPR ( Java Project )</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">iii) Create BC4J for AM ( Application Module )</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">iv) Create AM ( Application Module ) in respective BC4J.</span></li>
<li><span style="color: #000000;">v) Create the page and attach to AM</span></li>
<li><span style="color: #000000;">vi) Give Window Title and Title name to the page.</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">Note that for R12 version no need to create BC4J separately it will be created automatically by JDeveloper. Let us develop our first-page step wise.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 1:&nbsp;</strong>Open JDeveloper, after opening we will find Application Navigator if not then select it from <strong>View -&gt; Application Navigator</strong> ( <em>ctrl + shift + A</em> ). Right click on Applications and then select New OA Workspace&hellip;, the same scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-752" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/33.png" alt="33" width="324" height="424" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now give the File Name for Java Work Space, for example, &ldquo;Welcome&rdquo; as shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-753" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/34-460x209.png" alt="34" width="300" height="136" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After giving File Name click on the OK button. After clicking on OK button we can see a Welcome window to Oracle Applications Project Wizard.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-754" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/37-460x287.png" alt="37" width="300" height="187" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on <strong>N</strong><strong>ext</strong> button, then we can see a window which asks for Project Name, give the <strong>project name</strong> for example &ldquo;Welcome PRJ&rdquo;, Give the <strong>Default Package,&nbsp;</strong> for example, &ldquo;newtonapples.oracle.apps.po.welcomeprj.webui&rdquo;.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-755" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/38-460x279.png" alt="38" width="300" height="181" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on <strong>N</strong><strong>ext &gt;&nbsp;</strong>button, again click on&nbsp;<strong>N</strong><strong>ext &gt; &nbsp;</strong>button then we can see. In Step 3 of 3 of Oracle Applications Project Wizard, we can see Connection details and Responsibility details which we added early in JDeveloper Configuration Steps.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click&nbsp;<strong>N</strong><strong>ext &gt;&nbsp;</strong> and then <strong>F</strong><strong>inish.</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 2: </strong>After creating WorkSpace and Project we can see the +Welcome Project structure below to Applications. Extract project (Welcome) and WorkSpace then we will find three folders namely</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">Application Sources</span></li>
<li><span style="color: #000000;">Resources</span></li>
<li><span style="color: #000000;">Web Content</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">Now, Create New Application Mudule&hellip;by giving Right click on Resources you can select an option called New Application Mudule&hellip;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The same scenario is shown in the picture format:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-756" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/39.png" alt="39" width="460" height="434" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-757" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/40-460x318.png" alt="40" width="300" height="207" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on <strong>Next</strong>&nbsp;so that we will see Create Application Module as shown below. In the below figure observe that we not yet changed the package name and also not specified the name for Application Mudule. Extends we can see in extensions chapters.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-758" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/41-460x333.png" alt="41" width="300" height="217" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">If we observe in the above figure, we not yet changed the package name for Application Mudule (AM). To see the package structure we can see in the chapter BC4J file structure. So now we need to change the package name from &ldquo;<strong>webui</strong> to <strong>server&rdquo;</strong> and give a name for the Application Module.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">For example:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-759" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/42-460x297.png" alt="42" width="300" height="193" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on <strong>Next &gt;</strong> Button we will see Create Application Module &ndash; Step 2 of 4 windows no need to do any changes here keep as it is and click on&nbsp;<strong>Next &gt;</strong>&nbsp;Button again</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-760" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/43-460x318.png" alt="43" width="300" height="207" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After clicking on Next button, we will see Create Application Module &ndash; Step 3 of 4 window&nbsp;here to no need to do any changes simply again click on <strong>Next &gt;&nbsp;</strong>button to move to another step.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-761" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/44-460x318.png" alt="44" width="300" height="207" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After clicking on Next button without any changes, we can see the below window and make sure that Application Mudule Class:&lt;nameof AM+impl&gt; Generate Java File(s) check box must be checked. By default, it is checked if not just click on the box to Check.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on <strong>Next &gt;&nbsp;</strong>button again or even we can click on <strong>F</strong><strong>inish&nbsp;</strong>button here.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-762" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/45-460x318.png" alt="45" width="300" height="207" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on <strong>Finish</strong> button so that our Application Module will be created.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-763" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/46-460x333.png" alt="46" width="300" height="217" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 3:&nbsp;</strong> Now we need to create a page and attach it to the Application Module (AM). Let us see how to create a page and how to attach it to the AM step wise:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong><em>Creating a Page</em></strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">To create a page Right click on Resources and select New (ctrl+N) as shown in the below picture:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-764" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/47.png" alt="47" width="404" height="624" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After selecting New option, a New Gallery window gets the open and left side in Categories extract Web Tier and select <strong>OA Components</strong> after selecting OA Components from Web Tier select <strong>Page&nbsp;</strong>from Items list. The same similar kind of scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-765" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/48-460x312.png" alt="48" width="300" height="203" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on <strong>OK&nbsp;</strong>button after selecting Page from the Items list, after that it will ask for the details of the page give the name of a page and just check the Package generally no need to change. Click on <strong>OK&nbsp;</strong>button after giving Name.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-766" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/49-460x191.png" alt="49" width="300" height="124" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After that, a page will be created with the given name. Check the Applications Navigator structure, Extract Application Sources Folder, extract the Package and also extract Project, server, webui we can see the names of AM, Page, and Project what we created, in the below figure PO is the Application short name of the -&gt; Purchasing, Vision Operations (USA).</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-767" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/50.png" alt="50" width="324" height="724" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 4:&nbsp;</strong>Now we need to attach the page to the AM, for that follow the following steps:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">select the .<strong>xml</strong> page from the structure <strong>Webui</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Down in the page structure (WelcomePG.xml &ndash; Structure) &nbsp;select region1.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Change the ID value in the Property Inspector (note that the 3rd step is not mandatory if we want we can ignore it as of now)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select <strong>BC4J</strong> in Property Inspector and then select AM Definition click on the icon to select the AM Definition.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select Proper AM definition and then click on Ok.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">That&rsquo;s it we finished the process of attaching the page to AM.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-768" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/51-460x351.png" alt="51" width="300" height="228" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 5:</strong> Giving Window Title and Title of a page.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">In the property inspector select Visual and in that we will find Window Title and Title give appropriate names.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Window Title in the name which is displayed in the Title bar and Title Comes inside the Page.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-full wp-image-769" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/52.png" alt="52" width="284" height="624" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now the last step is running the Program to see the output for that select the .xml page name Applications Navigator and then Right Click on .xml page ( for example WelcomePG.xml ) and then later select Run &nbsp;(<img class="alignnone size-full wp-image-771" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/53.png" alt="53" width="29" height="34" /> &nbsp;)option.<img class="alignnone size-full wp-image-770" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/54.png" alt="54" width="324" height="484" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">The output of our page is as follows, have a look into the below picture:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-772" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/55-460x269.png" alt="55" width="300" height="175" /></span></p>
<p><strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/oracle-performance-tuning-training/" target="_blank" rel="noopener">Oracle Performance Tuning Training in Houston</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>bc:T3357,<p style="text-align: justify;"><span style="color: #000000;">Let us discuss how to configure JDeveloper in our system, we are here discussing in Windows environment stepwise.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 1:</strong> First step is we need to set the Jdev environment variables for windows. Go to environment variable in windows properties. Right Click on Computer/My Computer select properties. The same scenario is shown in the below figure.<img class="size-full wp-image-705 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/15.png" alt="15" width="364" height="344" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select&nbsp; Advanced System Settings after choosing the Properties of Computer, the same scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-706 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/16-460x379.png" alt="16" width="300" height="247" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now in the top User Variables select New Button for adding a New User variable as shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-707 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/17-460x460.png" alt="17" width="300" height="300" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-full wp-image-708 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/18.png" alt="18" width="424" height="224" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Note that you must give the Variable name as&nbsp; &ldquo;<strong>JDEV_USER_HOME</strong>&rdquo;, and Variable Value is the path of the jdevhome\jdev. Let us consider as an example I downloaded the patch and extracted it to Bharath\Softwares in D: drive&nbsp; now my path for Variable value is:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">D:\Bharath\Softwares\p9879989_R12_GENERIC\jdevhome\jdev</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The same thing is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-full wp-image-709 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/19.png" alt="19" width="424" height="284" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 2:</strong> After setting Variable name and Variable value we need to select DBC file into from Oracle Apps fnd top, copy DBC file and paste it in JDeveloper patch.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">To know where exactly the DBC file is located in Oracle Apps go to About this Page and select Java System Properties tab then in the list we can find a System Property called DBC FILE, in the Value behind to DBC FILE is the path where exactly the DBC file located in the Oracle Apps.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The same scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-710 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/20-460x285.png" alt="20" width="300" height="185" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 3: </strong>After finding where exactly the DBC file located go to that particular path and copy the DBC file (note that don&rsquo;t delete the dbc file and also don&rsquo;t cut it).</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Here we are using WinScp which connects to the server from our desktop system, we can also use putty to connect to the server or any other tool which works similarly like WinScp or Putty connection manager.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Install WinScp, and the following figure shows the icon how it looks like:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-full wp-image-711 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/21.png" alt="21" width="123" height="114" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">While giving path name directly don&rsquo;t give /naora1.dbc, according to the above figure give the path as</span></p>
<p style="text-align: justify;"><span style="color: #000000;">/u01/apps1/inst/apps/naora1_naapps/appl/fnd/12.0.0/secure</span></p>
<p style="text-align: justify;"><span style="color: #000000;">After giving path you will find DBC file just copy it, the same scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-712 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/22-460x356.png" alt="22" width="300" height="232" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After copying in your desktop system go to the jdevhome folder, then jdev, next&nbsp; dbc_files, and then next secure, here we will not find any files or documents the folder is empty now we need to paste the DBC file which we copied from the Oracle Apps Instance Server.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The following figures show the same scenario:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-713 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/23-460x294.png" alt="23" width="300" height="191" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 4:</strong> After pasting the DBC file now open the JDeveloper and create the Data Base Connection. After opening the file, it will ask for Configure File Type Associations, on checkbox check all the available types to associate with JDeveloper. &nbsp;The below figure shows how the opening page looks like:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-714 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/24-460x269.png" alt="24" width="300" height="175" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 5:</strong> Create a database connection, go to Connections tab after that Right Click on Data Base folder and then select New Database Connection&hellip;, the same scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-full wp-image-715 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/25.png" alt="25" width="284" height="484" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After selecting New Database Connection&hellip; Welcome to the create Data Base connection window opens simply click on Next button. After that give the Connection Name here in the below figure if we observe the connection name is NewtonApples, and the Connection Type must be Oracle (JDBC)</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-716 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/26-460x312.png" alt="26" width="300" height="203" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click on next button after giving Connection Name, in the next window it asks for username and password give Toad/Oracle SQL Developer tool connection name. The same scenario is shown in the below figure:-</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-717 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/27-460x312.png" alt="27" width="300" height="203" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After giving Username and Password click on the Next button, now you need to give connection details all the connection details we even can find in DBC file, to check those detail open the DBC file with notepad there you can find Host Name, JDBC Port, and Service Name. Give appropriate names and note that Driver type is thin.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-718 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/28-460x381.png" alt="28" width="300" height="248" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now after giving proper names click on the Next button, we can find Test Connection button click on the Test Connection button&nbsp; to check the connection is success or not.<img class="size-medium wp-image-719 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/29-460x327.png" alt="29" width="300" height="213" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Click Next button and then click Finish button.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Step 6: </strong>This is the last step in JDeveloper configuration, set the JDeveloper default Project Properties. Go to Tools &agrave; Default Project Properties. The same scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-full wp-image-720 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/30.png" alt="30" width="284" height="384" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">After selecting Default Project Properties&hellip; from Tools menu, in the highlighted Project Properties extract Oracle Applications and select Run time Connection.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The same scenario is shown in the below figure:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="size-medium wp-image-721 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/31-460x365.png" alt="31" width="300" height="238" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Now give the following details:</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>DBC File Name:</strong> Give the path where exactly the DBC File is stored which we copied from server to our desktop system.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>User Name:</strong> The username is Oracle Apps instance User Name</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Password:</strong> Password is Oracle Apps instance Password.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Application Short Name:</strong> Any application short name which user got access permit and also note that whatever the application short name we are giving it must contain at least one OAF page, and also that must be attached to the responsibility of the User Name which we are giving.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Responsibility Key:</strong> Responsibility key of the Application Short Name.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The below figure shows the example showing DBC file path, User Name, Password, Application Short Name, Responsibility Key. Just have a look at the picture.</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-722 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/32-460x352.png" alt="32" width="300" height="229" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Finally click on OK button, so that we finished our JDeveloper Configuration process.</span></p>
<p><strong>Check out our Popular Trainings&nbsp;</strong> <a href="https://tekslate.com/oracle-performance-tuning-training/" target="_blank" rel="noopener">Oracle Performance Tuning Training in Dallas</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>bd:T951,<p><span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Let us see the installation process of JDeveloper, after opening the un zipped file you will find three folder called&nbsp; jdevbin, jdevhome, jdevdoc, the below figure shows the same scenario:</span> <img class="alignnone size-medium wp-image-699" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/11-460x285.png" alt="11" width="300" height="185" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">In the next step open jdevbin folder in that you will find a jdev folder again open jdev folder the you can see bin folder, after that if you observe we can find jdev and jdevW icons. The jdev is for UNIX environment and jdevW is for Windows environment. The same scenario is shown in the below figure stepwise:</span> <img class="alignnone size-medium wp-image-700" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/12-460x379.png" alt="12" width="300" height="247" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now send a shortcut of jdevW to desktop .</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">The below figure shows the same scenario, have a look into it:</span> <img class="alignnone size-medium wp-image-701" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/13-460x491.png" alt="13" width="281" height="300" /> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">&nbsp;</span> <span style="font-size: 9.0pt; font-family: 'Verdana','sans-serif';">Now you can see the shortcut of JDeveloper directly on Desktop.</span> <img class="alignnone size-full wp-image-702" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/14.png" alt="14" width="95" height="124" /> &nbsp; <strong>Check out our Popular Trainings</strong> <a href="https://tekslate.com/oracle-performance-tuning-training/" target="_blank" rel="noopener">Oracle Performance Tuning Training in Chicago</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>be:T1026,<p>Let us see how to identify the JDeveloper for the Oracle Apps Instance Version. <strong>Step 1:</strong> If we observe we will find an option called &ldquo;About this Page&rdquo; in OAF Page. Click on the link About this Page. The same process is shown in the below figure:<img class="alignnone size-medium wp-image-690" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/four-460x352.png" alt="four" width="300" height="229" /> Sometimes you may not find an option called About this Page, for that you need to set one Profile Option in Oracle Apps. The name of the profile option is &ldquo;Personalize Self-Service Defn&rdquo;. Switch to the responsibility, System Administrator. The navigation to select the profile option is: System Administrator -&gt; Profile -&gt; System The same navigation is shown in the below figure:<img class="alignnone size-full wp-image-691" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/five.png" alt="five" width="418" height="520" /> After that select the Display level as Site and down in the Profile give name like &ldquo;Persolalize%Self%&rdquo;, the same scenario is shown in the below figure: <img class="alignnone size-medium wp-image-692" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/six-460x325.png" alt="six" width="300" height="211" /> After entering, click on Find button then you can see&nbsp; full profile option name. At site level select YES option to activate About this Page link in the Oracle apps Framework page. The same scenario is shown in the below figure:<img class="alignnone size-medium wp-image-693" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/seven-460x325.png" alt="seven" width="300" height="211" /> &nbsp; <strong>Step 2: &nbsp;</strong>After selecting About This page we can see&nbsp; another window, in that select a tab called &ldquo;Technology Components&rdquo;&nbsp; and after selecting that tab we can see the option called OA Framework&nbsp; which shows the version name of OA Framework. The same scenario is shown in the below figure which is showing the version number as 12.1.3. <img class="alignnone size-medium wp-image-694" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/eight-460x392.png" alt="eight" width="300" height="255" /> <strong>Step 3: </strong>Now you need to download the JDeveloper patch of the version which we identified in Technology Components. All the patches we can download from Oracle Meta link, and the file size is 500+ MB. The below table lists some patches related to the versions:</p>
<table width="100%">
<tbody>
<tr>
<td><strong>Oracle Apps Release Version</strong></td>
<td><strong>JDeveloper Patch</strong></td>
</tr>
<tr>
<td><em>12.1.0 </em></td>
<td><em>Patch 7315332</em></td>
</tr>
<tr>
<td>12.1.1</td>
<td>Patch 8431482</td>
</tr>
<tr>
<td>12.1.2</td>
<td>Patch 9172975</td>
</tr>
<tr>
<td>12.1.3</td>
<td>Patch 9879989</td>
</tr>
</tbody>
</table>
<p>The below picture shows the patch of the version 12.1.3:- <img class="alignnone size-full wp-image-695" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/nine.png" alt="nine" width="241" height="231" /> Extract the ZIP file and open the patch folder you will find three folders, as shown in the below figure contains jdevbin, jdevdoc, jdevhome: <img class="alignnone size-medium wp-image-696" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/ten-460x285.png" alt="ten" width="300" height="185" /> <strong>Check out our Popular Trainings</strong> <a href="https://tekslate.com/oracle-performance-tuning-training/" target="_blank" rel="noopener">Oracle Performance Tuning Training in Bangalore</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>bf:T50c,<p>BC4J stands for Business Component for Java, the following figure shows the file structure of Business Component for Java where <strong>xxname</strong> stands for any user defined name and <strong>PO&nbsp;</strong>is the Application Short name of Purchasing, Vision Operations (USA), and you can use other also depending upon the requirement. In place of XXAAM we generally use client name. In the below figure we got</p>
<ul>
<li>BC4J of&nbsp; AM&nbsp; and VO</li>
<li>BC4J of EO</li>
<li>BC4J of LOV</li>
<li>BC4J of poplist</li>
<li>BC4J of Controller</li>
<li>BC4J of Page</li>
</ul>
<p><img class="alignnone size-medium wp-image-687" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/three-460x538.png" alt="three" width="256" height="300" /> <strong>Check out our Popular Trainings</strong> <a href="https://tekslate.com/oracle-performance-tuning-training/" target="_blank" rel="noopener">Oracle Performance Tuning Training in Bangalore</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>c0:Tc9e,<ul>
<li>Controller will take care of the web browser activities.</li>
<li>The controller manages the flow between pages.</li>
<li>Controller responds to the user actions and directs application flow.</li>
<li>The controller will request from HTTP get and HTTP post.</li>
<li>All the controllers end with the CO.</li>
<li>When we create controller on subclass will generate.</li>
</ul>
<p><img class="alignnone size-medium wp-image-683" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/one-460x249.png" alt="one" width="300" height="162" /></p>
<p>Controllers have three methods:</p>
<ol>
<li>Process Request (HTTP get).</li>
<li>Process Form Request (HTTP post).</li>
<li>Process Form Data.</li>
</ol>
<p><strong>HTTP get: </strong>This is used while loading the page.</p>
<p><strong>HTTP post: </strong>After loading the page if we want changes.</p>
<p><strong>Process Request: </strong>This method will handle HTTP get example while loading the page displaying the default items.</p>
<p><strong>Process Form Request: </strong>This method will handle HTTP post.After loading the page if we want to perform any actions then we go for process form request.</p>
<p><strong>Process Form Data:</strong> This page is invoked upon a browser &lsquo;post&rsquo;. During this phase the framework will automatically applies changes back to the underlying view objects. Rarely custom code is required in this phase. If exceptions are thrown during this phase the phase is skipped and the page redisplays with the error message. There are two parameters in the controller: 1)&nbsp;OAPageContext 2)&nbsp;OAWebBean</p>
<p><strong>OAPageContext:</strong></p>
<ul>
<li>To get and set values of the fields using the OAPageContext.getparatmeter and OAPageContext.putparameter.</li>
<li>To call one page to another page OAPageContext.setforwardURL.</li>
<li>To redirect the current page itself use OAPageContext.forwardImmediatelyToCurrentPage (or) OAPageContext.sendRedirect and many more.</li>
</ul>
<p><strong>OAWebBean:</strong></p>
<ul>
<li>Each and every field we have properties and the properties define the behavior of item.</li>
<li>OAWebBean represents the Hierarchy/Structure of the components in the page.</li>
<li>WebBean represents the properties of item.</li>
</ul>
<p>As we discussed what Model, View, and Controller is, look at the below figure which shows that how they generally interact with each other or how the data flow between them is. <img class="alignnone size-medium wp-image-684" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/two-460x386.png" alt="two" width="300" height="251" /></p>
<p><strong>Check out our Popular Trainings</strong></p>
<ul>
<li><a href="https://tekslate.com/oracle-performance-tuning-training/" target="_blank">Oracle Performance Tuning Training in Hyderabad</a></li>
<li><a href="https://tekslate.com/structure-oaf//" target="_blank">Structure of OAF</a></li>
<li><a href="https://tekslate.com/advantages-disadvantages-oaf/" target="_blank">Advantages and Dis-Advantages of OAF</a></li>
<li><a href="https://tekslate.com/creating-first-oaf-page-project/" target="_blank">Creating First OAF Page in Project</a></li>
</ul>c1:T887,<ul>
<li>View is the actual output OAF page what an end user can able to see.</li>
</ul>
<ul>
<li>In Oracle Apps Framework View is implemented using UIX technology, whereas UIX means User Interface XML.</li>
</ul>
<ul>
<li>Whenever we run the page in JDeveloper then automatically UIX will generate web.xml file.</li>
</ul>
<ul>
<li>The power of UNIX is that allows metadata to be translated to an HTML page for a web browser or mobile device browsers.</li>
</ul>
<ul>
<li>The generated web.xml file will be converted into HTML format of OAF page.</li>
</ul>
<ul>
<li>Since web.xml file here will work as a cache memory.</li>
</ul>
<ul>
<li>Whenever we want to move the web.xml file into the server side then MDS repository is used to move the web.xml file into the server.</li>
</ul>
<ul>
<li>MDS stands for Meta Data Service and in the application top, we will be having MDS folder.</li>
</ul>
<ul>
<li>When we deploy all the OAF page destination paths, regions then the files will be stored into the MDS tables.</li>
</ul>
<ul>
<li>The MDS table is like:</li>
</ul>
<p><strong>JDR_Paths</strong>: Stores the path of the documents, OA Framework pages and their parent-child relationship. <strong>JDR_Components:</strong> Stores components on documents and OA Framework pages. <strong>JDR_Attributes:</strong> Stores attributes of components on documents and OA Framework pages. <strong>JDR_ATTRIBUTES_TRANS:</strong> Stores translated attribute values of document components or OA framework pages. <strong>JDR_DOCUMENT_ID_S: </strong>&nbsp;This is a sequence generator table.</p>
<ul>
<li>MDS can be managed using standard database procedures and tools.</li>
</ul>
<p><strong>Check out our Popular Trainings</strong> <a href="https://tekslate.com/oracle-performance-tuning-training/" target="_blank" rel="noopener">Oracle Performance Tuning Training in Hyderabad</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a> &nbsp;</p>c2:Tcfd,<p style="text-align: justify;"><span style="color: #000000;"><strong>Entity Objects</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">The entity objects are used if one wishes to do some insert/update operations.</span></li>
<li><span style="color: #000000;">Entity Objects represents a Data Base Row of a table.</span></li>
<li><span style="color: #000000;">Entity Objects will be based on the View (Oracle View), Synonyms or snapshots.</span></li>
<li><span style="color: #000000;">We need to create Entity Object if we want to perform DML operations on the OAF Page.</span></li>
<li><span style="color: #000000;">All the Entity Objects end with the EO.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">Example:&nbsp; employeeEO</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">When we create Entity Object (EO) one subclass will generate.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><img class="alignnone size-medium wp-image-670 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Employee-460x249.png" alt="Employee" width="300" height="162" /></span></p>
<p style="text-align: justify;"><span style="color: #000000;">We have two types of Entity Objects</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">PL/SQL based Entity Objects</span></li>
<li><span style="color: #000000;">Java-based Entity Objects</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;">Note that we have two types of tables in Oracle Apps they are Custom Tables and Seeded Tables.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">If we want to perform the DML operations on the standard (Seeded) table, then we go for PL/SQL based Entity Object, and if we want to perform the DML operations on the custom table then we go for Java-Based Entity Object.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Entity Association</strong></span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Entity Association is the relationship between two Entity Objects having one common column.</span></li>
<li><span style="color: #000000;">All the Entity Association ends with the AO (Association Object).</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">Example:&nbsp; <em>EmpDeptAO</em></span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">If we want to perform DML operations on Master Detail page, then we go for Entity Association.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">If we want to common know column between two tables, then we will go for Entity Association.</span></li>
</ul>
<p><strong>Check out our Popular Trainings</strong> <a href="https://tekslate.com/oracle-oaf-training/" target="_blank" rel="noopener">OAF Training in Dallas</a> <a href="https://tekslate.com/structure-oaf//" target="_blank" rel="noopener">Structure of OAF</a> <a href="https://tekslate.com/advantages-disadvantages-oaf/">Advantages and Dis-Advantages of OAF</a> <a href="https://tekslate.com/creating-first-oaf-page-project/">Creating First OAF Page in Project</a></p>c3:T7a9,<p style="text-align: justify;"><span style="color: #000000;">The entire Database related transactions in OAF pages will be taken care by the MODEL.</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Model is where the application implements business logic.</span></li>
<li><span style="color: #000000;">Model will implement all the Data Base transactions.</span></li>
<li><span style="color: #000000;">Model component is implemented using BC4J where BC4J is Business Component for Java.</span></li>
<li><span style="color: #000000;">BC4J consists of three components:</span>
<ul>
<li style="list-style-type: none;">
<ul>
<li><span style="color: #000000;">Entity Object and Entity Associations</span></li>
<li><span style="color: #000000;">View Objects and View Links</span></li>
<li><span style="color: #000000;">Application Module</span></li>
</ul>
</li>
</ul>
</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">Model contains six components including BC4J components, additionally, the other three components are:</span></p>
<ul style="text-align: justify;">
<li style="list-style-type: none;">
<ul>
<li style="list-style-type: none;">
<ul>
<li><span style="color: #000000;">Callable Statement</span></li>
<li><span style="color: #000000;">Prepare Statement</span></li>
<li><span style="color: #000000;">OADB Transactions</span></li>
</ul>
</li>
</ul>
</li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;">Callable statement is used to call a PL/SQL statements, Prepare statements are used if we are using single SELECT statement, and OADB transactions will take care of Oracle APPS related Data Base transactions.</span></p>
<p><span style="color: #000000;"><img class="alignnone size-medium wp-image-667 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/model-460x407.png" alt="model" width="300" height="265" /></span></p>
<p>&nbsp;</p>c4:T4f29,<p style="text-align: justify;">Microsoft Azure is a cloud computing platform that has been gaining popularity in recent years due to its robust features and ease of use. As a result, many organizations are looking for experts in Microsoft Azure to help them transition to the cloud. This has led to an increase in demand for professionals with knowledge of Microsoft Azure and its various components.</p>
<p style="text-align: justify;">To help you prepare for your Microsoft Azure interview, this guide will cover some of the most common questions that you may encounter during your interview. By understanding these questions and how to answer them, you can give yourself the best chance of success and show your expertise in Microsoft Azure.</p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;">Microsoft Azure Interview Questions and Answers</span></h2>
<p style="text-align: justify;"><strong>1. What are the three main components of Windows Azure Platform?</strong></p>
<ul>
<li>Compute</li>
<li>Storage</li>
<li>AppFabric</li>
</ul>
<p style="text-align: justify;"><strong>2. What are the Service Model in Cloud Computing?</strong></p>
<p style="text-align: justify;">Cloud computing providers offer their services according to three fundamental models: Infrastructure as a service (IaaS), platform as a service (PaaS), and software as a service (SaaS) where IaaS is the most basic and each higher model abstracts from the details of the lower models.</p>
<p style="text-align: justify;">Examples of IaaS include: Amazon CloudFormation (and underlying services such as Amazon EC2), Rackspace Cloud, Terremark, Windows<a href="https://tekslate.com/microsoft-azure-interview-questions/" target="_blank" rel="noopener"> Azure Virtual Machines in Bangalore</a>, Google Compute Engine. and Joyent.</p>
<p style="text-align: justify;">Examples of PaaS include: Amazon Elastic Beanstalk, Cloud Foundry, Heroku, Force.com, EngineYard, Mendix, Google App Engine, Windows Azure Compute and OrangeScape.</p>
<p style="text-align: justify;">Examples of SaaS include: Google Apps, Microsoft Office 365, and Onlive.</p>
<p style="text-align: justify;"><strong>3. How many types of deployment models are used in cloud?</strong></p>
<p style="text-align: justify;">There are 4 types of deployment models used in cloud:</p>
<ul>
<li style="text-align: justify;">Public cloud</li>
<li style="text-align: justify;">Private cloud</li>
<li style="text-align: justify;">Community cloud</li>
<li style="text-align: justify;">Hybrid cloud</li>
</ul>
<p style="text-align: justify;"><strong>4. What is Windows Azure Platform?</strong></p>
<p style="text-align: justify;">A collective name of Microsoft&rsquo;s Platform as a Service (PaaS) offering which provides a programming platform, a deployment vehicle, and a runtime environment of cloud computing hosted in Microsoft datacenters.</p>
<p style="text-align: justify;"><strong>5. What are the roles available in Windows Azure?</strong></p>
<p style="text-align: justify;">All three roles (web, worker, VM) are essentially Windows Server 2008. Web and Worker roles are nearly identical: With Web and Worker roles, the OS and related patches are taken care for you; you build your app's components without having to manage a VM</p>
<p style="text-align: justify;"><strong>6</strong><strong>. How would you categorize Windows Azure? (IaaS/PaaS/SaaS)</strong></p>
<p style="text-align: justify;">PaaS (Platform as a Service)</p>
<p style="text-align: justify;"><strong>7.&nbsp;What are the three types of roles in Compute component in Windows Azure?</strong></p>
<ol style="text-align: justify;">
<li>WEB</li>
<li>Worker</li>
<li>VM</li>
</ol>
<p style="text-align: justify;"><strong>8. What is Windows Azure compute emulator?</strong></p>
<p style="text-align: justify;">The compute emulator is a local emulator of Windows Azure that you can use to build and test your application before deploying it to Windows Azure.</p>
<p style="text-align: justify;"><strong>9. What is fabric?</strong></p>
<p style="text-align: justify;">In the Windows Azure cloud fabric is nothing but a combination of many virtualized instances which run client application</p>
<p style="text-align: justify;"><strong>10. How many instances of a Role should be deployed to satisfy Azure SLA (service level agreement) ? And what's the benefit of Azure SLA?</strong></p>
<p style="text-align: justify;">TWO. And if we do so, the role would have external connectivity at least 99.95% of the time.</p>
<p style="text-align: justify;"><strong>11. What are the options to manage session state in Windows Azure?</strong></p>
<ul>
<li style="text-align: justify;">Windows Azure Caching</li>
<li style="text-align: justify;">SQL Azure</li>
<li style="text-align: justify;">Azure Table</li>
</ul>
<p style="text-align: justify;"><strong>12. What is cspack?</strong></p>
<p style="text-align: justify;">It is a command-line tool that generates a service package file (.cspkg) and prepares an application for deployment, either to Windows Azure or to the compute emulator.</p>
<p style="text-align: justify;"><strong>13. What is csrun?</strong></p>
<p style="text-align: justify;">It is a command-line tool that deploys a packaged application to the Windows Azure compute emulator and manages the running service.</p>
<p style="text-align: justify;"><strong>14. What is guest OS?</strong></p>
<p style="text-align: justify;">It is the operating system that runs on the virtual machine that hosts an instance of a role.</p>
<p style="text-align: justify;"><strong>15. What is guest OS?</strong></p>
<p style="text-align: justify;">It is the operating system that runs on the virtual machine that hosts an instance of a role.</p>
<p style="text-align: justify;"><strong>16. How to programmatically scale out Azure Worker Role instances?</strong></p>
<p style="text-align: justify;">Using AutoScaling Application Block</p>
<p style="text-align: justify;"><strong>17.&nbsp;what is web role in Windows Azure?</strong></p>
<p style="text-align: justify;">Web roles in Windows Azure are special purpose, and provide a dedicated Internet Information Services (IIS) web-server used for hosting front-end web applications. You can quickly and easily deploy web applications to Web Roles and then scale your Compute capabilities up or down to meet demand.</p>
<p style="text-align: justify;"><strong>18. What is the difference between Public Cloud and Private Cloud?</strong></p>
<p style="text-align: justify;">Public cloud is used as a service via Internet by the users, whereas a private cloud, as the name conveys is deployed within certain boundaries like firewall settings and is completely managed and monitored by the users working on it in an organization.</p>
<p style="text-align: justify;"><strong>19. What are the three types of roles in Compute component in Windows Azure?</strong></p>
<p style="text-align: justify;">Web, Worker and VM.</p>
<p style="text-align: justify;">Web and worker roles are essentially same except that web roles have <a href="https://en.wikipedia.org/wiki/Internet_Information_Services" target="_blank" rel="noopener">IIS</a> enabled on them.</p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #236fa1; font-size: 24px;">Microsoft Azure Interview Questions for Freshers</span></h2>
<p style="text-align: justify;"><strong>20. What is windows Azure Diagnostics?</strong></p>
<p style="text-align: justify;">Windows Azure Diagnostics enables you to collect diagnostic data from an application running in Windows Azure. You can use diagnostic data for debugging and troubleshooting, measuring performance, monitoring resource usage, traffic analysis and capacity planning, and auditing.</p>
<p style="text-align: justify;"><strong>21. What is Blob?</strong></p>
<p style="text-align: justify; padding-left: 30px;">BLOB stands for Binary Large Object. Blob is file of any type and size.</p>
<p style="text-align: justify; padding-left: 30px;">The Azure Blob Storage offers two types of blobs &ndash;</p>
<ul>
<li style="text-align: justify; padding-left: 30px;">Block Blob</li>
<li style="text-align: justify; padding-left: 30px;">Page Blob</li>
</ul>
<p style="text-align: justify; padding-left: 30px;">URL format: Blobs are addressable using the following URL format:</p>
<p style="text-align: justify; padding-left: 30px;">http://.blob.core.windows.net//</p>
<p style="text-align: justify;"><strong>22. What is the difference between Block Blob vs Page Blob?</strong></p>
<p style="text-align: justify;">Block blobs are comprised of blocks, each of which is identified by a block ID.</p>
<p style="text-align: justify;">You create or modify a block blob by uploading a set of blocks and committing them by their block IDs.</p>
<p style="text-align: justify;">If you are uploading a block blob that is no more than 64 MB in size, you can also upload it in its entirety with a single Put Blob operation. -Each block can be a maximum of 4 MB in size. The maximum size for a block blob in version 2009-09-19 is 200 GB, or up to 50,000 blocks.</p>
<p style="text-align: justify;">Page blobs are a collection of pages. A page is a range of data that is identified by its offset from the start of the blob.</p>
<p style="text-align: justify;">To create a page blob, you initialize the page blob by calling Put Blob and specifying its maximum size.</p>
<p style="text-align: justify;">The maximum size for a page blob is 1 TB. A page written to a page blob may be up to 1 TB in size. what to use block blobs for: streaming video. "The application must provide random read/write access" which is supported by Page Blobs</p>
<p style="text-align: justify;"><strong>23. What is the difference between Windows Azure Queues and Windows Azure Service Bus Queues?</strong></p>
<p style="text-align: justify;">Windows Azure supports two types of queue mechanisms: Windows Azure Queues and Service Bus Queues .</p>
<p style="text-align: justify;">Windows Azure Queues , which are part of the Windows Azure storage infrastructure, feature a simple REST-based Get/Put/Peek interface, providing reliable, persistent messaging within and between services.</p>
<p style="text-align: justify;">Service Bus Queues are part of a broader Windows Azure messaging infrastructure that supports queuing as well as publish/subscribe, Web service remoting, and integration patterns.</p>
<p style="text-align: justify; padding-left: 30px;">http://wcfpro.wordpress.com/2010/12/06/communication-in-windows-azure/</p>
<p style="text-align: justify; padding-left: 30px;">http://msdn.microsoft.com/en-us/library/windowsazure/hh767287.aspx</p>
<p style="text-align: justify;"><strong>24. What is DeadLetter queue?</strong></p>
<p style="text-align: justify;">Messages are placed on the deadletter sub-queue by the messaging system in the following scenarios.</p>
<ul>
<li style="text-align: justify;">When a message expires and deadlettering for expired messages is set to true in a queue or subscription.</li>
<li style="text-align: justify;">When the max delivery count for a message is exceeded on a queue or subscription.</li>
<li style="text-align: justify;">When a filter evaluation exception occurs in a subscription and deadlettering is enabled on filter evaluation exceptions.</li>
</ul>
<p style="text-align: justify;"><strong>25. What are instance sizes of Azure?</strong></p>
<p style="text-align: justify;">Windows Azure will handle the load balancing for all of the instances that are created. The VM sizes are as follows:</p>
<table style="height: 279px; margin-left: auto; margin-right: auto; width: 678px;" border="1">
<tbody>
<tr>
<td style="width: 157.5px; text-align: center;"><strong>Compute Instance</strong></td>
<td style="width: 111.5px; text-align: center;"><strong>Size CPU</strong></td>
<td style="width: 157px; text-align: center;"><strong>Memory Instance</strong></td>
<td style="width: 109px; text-align: center;"><strong>Storage I/O</strong></td>
<td style="width: 116px; text-align: center;"><strong>Performance</strong></td>
</tr>
<tr>
<td style="width: 157.5px;">Extra Small</td>
<td style="width: 111.5px;">1.0 Ghz</td>
<td style="width: 157px; text-align: center;">768 MB</td>
<td style="width: 109px; text-align: center;">20 GB</td>
<td style="width: 116px; text-align: center;">Low</td>
</tr>
<tr>
<td style="width: 157.5px;">Small</td>
<td style="width: 111.5px;">1.6 GHz</td>
<td style="width: 157px; text-align: center;">1.75 GB</td>
<td style="width: 109px; text-align: center;">225 GB</td>
<td style="width: 116px; text-align: center;">Moderate</td>
</tr>
<tr>
<td style="width: 157.5px;">Medium</td>
<td style="width: 111.5px;">2 x 1.6 GHz</td>
<td style="width: 157px; text-align: center;">3.5 GB</td>
<td style="width: 109px; text-align: center;">490 GB</td>
<td style="width: 116px; text-align: center;">High</td>
</tr>
<tr>
<td style="width: 157.5px;">Large</td>
<td style="width: 111.5px;">4 x 1.6 GHz</td>
<td style="width: 157px; text-align: center;">7 GB</td>
<td style="width: 109px; text-align: center;">1,000 GB</td>
<td style="width: 116px; text-align: center;">High</td>
</tr>
<tr>
<td style="width: 157.5px;">Extra large</td>
<td style="width: 111.5px;">8 x 1.6 GHz</td>
<td style="width: 157px; text-align: center;">14 GB</td>
<td style="width: 109px; text-align: center;">2,040 GB</td>
<td style="width: 116px; text-align: center;">High</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p style="text-align: justify;"><strong>26. What is table storoage in Windows Azure?</strong></p>
<p style="text-align: justify;">The Windows Azure Table storage service stores large amounts of structured data. The service is a NoSQL datastore which accepts authenticated calls from inside and outside the Windows Azure cloud.</p>
<p style="text-align: justify;">Windows Azure tables are ideal for storing structured, non-relational data</p>
<p style="text-align: justify; padding-left: 30px;"><strong>Table:</strong> A table is a collection of entities. Tables don't enforce a schema on entities, which means a single table can contain entities that have different sets of properties. An account can contain many tables</p>
<p style="text-align: justify; padding-left: 30px;"><strong>Entity:</strong> An entity is a set of properties, similar to a database row. An entity can be up to 1MB in size.</p>
<p style="text-align: justify; padding-left: 30px;"><strong>Properties:</strong> A property is a name-value pair. Each entity can include up to 252 properties to store data. Each entity also has 3 system properties that specify a partition key, a row key, and a timestamp.</p>
<p style="text-align: justify;">Entities with the same partition key can be queried more quickly, and inserted/updated in atomic operations. An entity's row key is its unique identifier within a partition.</p>
<p style="text-align: justify;"><strong>27. Difference between Web and Worker Roles in Windows Azure?</strong></p>
<p style="text-align: justify;">The main difference between the two is that an instance of a web role runs IIS, while an instance of a worker role does not. Both are managed in the same way, however, and it's common for an application to use both.For example, a web role instance might accept requests from users, then pass them to a worker role instance for processing.</p>
<h2><span style="color: #236fa1; font-size: 24px;">Interview Questions On Azure</span></h2>
<p style="text-align: justify;"><strong>28. What is Azure Fabric Controller?</strong></p>
<p style="text-align: justify;">The Windows Azure Fabric Controller is a resource provisioning and management layer that manages the hardware, and provides resource allocation, deployment/upgrade, and management for cloud services on the Windows Azure platform.</p>
<p style="text-align: justify;"><strong>29. What is AutoScaling?</strong></p>
<p style="text-align: justify;">Scaling by adding additional instances is often referred to as scaling out. Windows Azure also supports scaling up by using larger role instances instead of more role instances.</p>
<p style="text-align: justify;">By adding and removing role instances to your Windows Azure application while it is running, you can balance the performance of the application against its running costs.</p>
<p style="text-align: justify;">An autoscaling solution reduces the amount of manual work involved in dynamically scaling an application.</p>
<p style="text-align: justify;"><strong>30. what is VM role in Windows Azure?</strong></p>
<p style="text-align: justify;">Virtual Machine (VM) roles, now in Beta, enable you to deploy a custom Windows Server 2008 R2 (Enterprise or Standard) image to Windows Azure. You can use the VM role when your application requires a large number of server OS customizations and cannot be automated. The VM Role gives you full control over your application environment and lets you migrate existing applications to the cloud.</p>
<p style="text-align: justify;"><strong>31.&nbsp;Apart from .Net framework, Name other three language/framework that can be used to develop Windows Azure applications?</strong></p>
<p style="text-align: justify;">php, <a href="https://tekslate.com/tutorials/node-js/" target="_blank" rel="noopener">node.js</a>, java</p>
<p><strong>32. Briefly explain scalability Targets for a Single Storage Account of Azure</strong></p>
<table style="height: 339px; margin-left: auto; margin-right: auto; width: 600px;" border="1">
<tbody>
<tr style="height: 35px;">
<td style="width: 596.519px; text-align: center; height: 35px;" colspan="2"><strong>Individual Storage Accounts</strong></td>
</tr>
<tr style="height: 35px;">
<td style="width: 165.876px; height: 35px;">Capacity</td>
<td style="width: 427.909px; text-align: center; height: 35px;">Upto 200 TB</td>
</tr>
<tr style="height: 35px;">
<td style="width: 165.876px; height: 35px;">Transactions</td>
<td style="width: 427.909px; text-align: center; height: 35px;">Up to 20,000 entities/messages/blobs per second</td>
</tr>
<tr style="height: 35px;">
<td style="width: 596.519px; height: 35px; text-align: center;" colspan="2"><strong>Bandwidth for a Geo-Redundant Storage Account</strong></td>
</tr>
<tr style="height: 35px;">
<td style="width: 165.876px; height: 35px;">Ingress</td>
<td style="width: 427.909px; text-align: center; height: 35px;">Up to 5Gbps</td>
</tr>
<tr style="height: 35px;">
<td style="width: 165.876px; height: 35px;">Egress</td>
<td style="width: 427.909px; text-align: center; height: 35px;">Up to 10Gbps</td>
</tr>
<tr style="height: 35px;">
<td style="width: 596.519px; text-align: center; height: 35px;" colspan="2"><strong>Bandwidth for a Locally Redundant Storage Account</strong></td>
</tr>
<tr style="height: 35px;">
<td style="width: 165.876px; height: 35px;">Ingress</td>
<td style="width: 427.909px; text-align: center; height: 35px;">Up to 10Gbps</td>
</tr>
<tr style="height: 35px;">
<td style="width: 165.876px; height: 35px;">Egress</td>
<td style="width: 427.921px; text-align: center; height: 35px;">Up to 15Gbps</td>
</tr>
</tbody>
</table>
<p><span style="color: #000000;"><strong>33. What is meant by Fault Domain?</strong> </span></p>
<p>The fault domain is a logical group of hardware that is underlying to share a common network switch, power source that is similar to a rack within on-premise data-centers. The <a href="https://tekslate.com/microsoft-azure-training/">Azure platform</a> distributes the created VMs within the available set and distributed across these domains. This approach is a limited one and is limited its impact of potential hardware failures, power interruptions, and network outages.</p>
<p><span style="color: #000000;"><strong>34. What is the Azure App Service?</strong> </span></p>
<p>Azure App Service is a perfectly managed PaaS (Platform as a Service) offering for proficient developers conveying rich arrangement of mobile and web abilities as well as integration scenarios. Azure App Service offers mobile apps those provides mobile application development platforms that are easy to adapt for Enterprise System, Integrators and Developers to convey a rich set of capacities to mobile engineers.</p>c5:T3d63,<h2 style="text-align: justify;">Automation Testing Interview Questions</h2>
<p style="text-align: justify;">Following are some of the most frequently asked Automation Testing interview questions in the interview, here are the answers for them.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Are The Criteria For Selecting A Test Case For Automation?</strong></span></p>
<p style="text-align: justify;">We recommend considering the following points for automating a test case.</p>
<p style="padding-left: 30px; text-align: justify;">-Determine the execution frequency of the test case. Do you run it often for every new build or once with large input? -Find out if automating it would save you time that you can devote to exploratory testing. -Is the test case critical for business or does it cover an end-to-end scenario? -Make sure analyzing the result of an automated test should not exceed the time it used to take during manual execution. Otherwise, it&rsquo;ll lose its viability for automation. -Do consider the likelihood of the test catching defects. -Could it be a blocker for a major feature or functionality which is critical to business? If the answer is yes, then make sure to it get automated and passed in every build.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Automation Testing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Test Automation is a process of automating the manual process to test the application/system under test. Automation testing involves use to a separate testing tool which lets you create test scripts which can be executed repeatedly and doesn&rsquo;t require any manual intervention.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the testing types that can be supported by Selenium?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Selenium supports the following types of testing:</p>
<p style="padding-left: 60px; text-align: justify;">-Functional Testing</p>
<p style="padding-left: 60px; text-align: justify;">-Regression Testing</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Automation?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Automation is any action which can reduce human efforts.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Can you achieve 100% automation?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">100% automation would be difficult to achieve because there would be many edge test cases and some cases which are executed seldom. Automating these cases which are not executed that often will not add value to the automated suite.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is a framework?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A framework is a set of structure of the entire automation suit. It is also a guideline, if followed can result in a structure which is easy to maintain and enhance. These guidelines include:</p>
<p style="padding-left: 60px; text-align: justify;">Coding standards</p>
<p style="padding-left: 60px; text-align: justify;">Handling the test data</p>
<p style="padding-left: 60px; text-align: justify;">Maintaining and handling the elements (object repository in QTP)</p>
<p style="padding-left: 60px; text-align: justify;">Handling of environment files and properties file</p>
<p style="padding-left: 60px; text-align: justify;">Reporting of data</p>
<p style="padding-left: 60px; text-align: justify;">Handling logs</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Where you maintain information like URL, login, password?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This information should always be maintained in a separate file.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Can you tell some good coding practices while automation?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Some of the good coding practices include:</p>
<p style="padding-left: 60px; text-align: justify;">-Add appropriate comments</p>
<p style="padding-left: 60px; text-align: justify;">-Identify the reusable methods and write it in separate file</p>
<p style="padding-left: 60px; text-align: justify;">-Follow the language specific coding conventions</p>
<p style="padding-left: 60px; text-align: justify;">-Maintain the test data in a separate file</p>
<p style="padding-left: 60px; text-align: justify;">-Run your scripts regularly</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>&nbsp;How do you select which automation tool is best suited for you?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Selecting the automation tool depends upon various factors like:</p>
<p style="padding-left: 60px; text-align: justify;">-Scope of the application which we want to automate</p>
<p style="padding-left: 60px; text-align: justify;">-Management overhead like cost and budget</p>
<p style="padding-left: 60px; text-align: justify;">-Time to learn and implement the tool</p>
<p style="padding-left: 60px; text-align: justify;">-Type of support available for the tool.</p>
<p style="padding-left: 60px; text-align: justify;">-Limitation of the tool</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What do you think holds testers back to do automation? Is there a way to overcome it?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The major hurdle for testers is to learn programming / coding when they want to automate. Since testers do not code, adapting to coding is a bit challenging for testers. We can overcome it by:</p>
<p style="padding-left: 60px; text-align: justify;">-Collaborating with developers when automating</p>
<p style="padding-left: 60px; text-align: justify;">-Considering that automation is the responsibility of the whole team and not only of the testers</p>
<p style="padding-left: 60px; text-align: justify;">-Giving a dedicated time and focus on automation.</p>
<p style="padding-left: 60px; text-align: justify;">-Getting proper management support.</p>
<p style="padding-left: 30px; text-align: justify;">You can save these automation testing interview questions as pdf and print for further reading.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>&nbsp;Any kind of test which you thing should not be automated?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">-Test which are seldom executed</p>
<p style="padding-left: 30px; text-align: justify;">-Exploratory testing</p>
<p style="padding-left: 30px; text-align: justify;">-Usability testing</p>
<p style="padding-left: 30px; text-align: justify;">-Test which are executed fairly quickly when done manually</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Can WebDriver test Mobile applications?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">WebDriver cannot test Mobile applications. WebDriver is a web based testing tool, therefore applications on the mobile browsers can be tested.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Object Repository? How can we create Object Repository in Selenium?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Object Repository is a term used to refer to the collection of web elements belonging to Application Under Test (AUT) along with their locator values. Thus, whenever the element is required within the script, the locator value can be populated from the Object Repository. Object Repository is used to store locators in a centralized location instead of hard coding them within the scripts.</p>
<p style="padding-left: 30px; text-align: justify;">In Selenium, objects can be stored in an excel sheet which can be populated inside the script whenever required.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Can captcha be automated?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">No, captcha and bar code reader cannot be automated.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>On what basis you can map the success of automation testing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">By following criteria, the success of automation testing can be mapped</p>
<p style="padding-left: 60px; text-align: justify;">-Defect Detection Ratio</p>
<p style="padding-left: 60px; text-align: justify;">-Automation execution time and time savings to release the product</p>
<p style="padding-left: 60px; text-align: justify;">-Reduction in Labour &amp; other costs</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the most popular tools for automation testing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The most popular test tool for automation testing are</p>
<p style="padding-left: 60px; text-align: justify;">-QTP (HP UFT)</p>
<p style="padding-left: 60px; text-align: justify;">-Rational Robot</p>
<p style="padding-left: 60px; text-align: justify;">-Selenium</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the types of the framework used in software automation testing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">In software automation testing four types of framework used are</p>
<p style="padding-left: 60px; text-align: justify;">-Data-driven automation framework</p>
<p style="padding-left: 60px; text-align: justify;">-Keyword driven automation framework</p>
<p style="padding-left: 60px; text-align: justify;">-Modular automation framework</p>
<p style="padding-left: 60px; text-align: justify;">-Hybrid automation framework</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the scripting standard while performing automation testing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">While writing the scripts for automation, you must consider following things,</p>
<div style="text-align: justify;">&nbsp;</div>
<div>
<p style="padding-left: 60px; text-align: justify;">-Uniform naming convention.</p>
<p style="padding-left: 60px; text-align: justify;">-3 Lines of comments for every 10 lines of code</p>
<p style="padding-left: 60px; text-align: justify;">-Adequate indentation.</p>
<p style="padding-left: 60px; text-align: justify;">-Robust error handling and recovery scenario</p>
<p style="padding-left: 60px; text-align: justify;">-Use of Frameworks wherever possible</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the primary features of good automation tool?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">-Test Environment support and easy to use</p>
<p style="padding-left: 30px; text-align: justify;">-Good debugging facility</p>
<p style="padding-left: 30px; text-align: justify;">-Robust object identification</p>
<p style="padding-left: 30px; text-align: justify;">-Object and Image testing abilities</p>
<p style="padding-left: 30px; text-align: justify;">-Object identification</p>
<p style="padding-left: 30px; text-align: justify;">-Testing of database</p>
<p style="padding-left: 30px; text-align: justify;">-Support multiple frameworks</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the steps involved in the Automation Process?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">In the automation process, steps involved are</p>
<p style="padding-left: 60px; text-align: justify;">-Selecting the Test tool</p>
<p style="padding-left: 60px; text-align: justify;">-Define scope of automation</p>
<p style="padding-left: 60px; text-align: justify;">-Planning, design, and development</p>
<p style="padding-left: 60px; text-align: justify;">-Test execution</p>
<p style="padding-left: 60px; text-align: justify;">-Maintenance</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>&nbsp;When will you not automate testing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">One should not automate in following cases</p>
<p style="padding-left: 60px; text-align: justify;">-When the Application Under Test changes frequently</p>
<p style="padding-left: 60px; text-align: justify;">-One time test cases</p>
<p style="padding-left: 60px; text-align: justify;">-Adhoc &ndash; Random testing</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the advantages of Automation framework?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><strong>Advantage of&nbsp;Test Automation framework</strong></p>
<p style="padding-left: 60px; text-align: justify;">-Reusability of code</p>
<p style="padding-left: 60px; text-align: justify;">-Maximum coverage</p>
<p style="padding-left: 60px; text-align: justify;">-Recovery scenario</p>
<p style="padding-left: 60px; text-align: justify;">-Low cost maintenance</p>
<p style="padding-left: 60px; text-align: justify;">-Minimal manual intervention</p>
<p style="padding-left: 60px; text-align: justify;">-Easy Reporting</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are Junit annotations?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Following are the Junit Annotations:</p>
<p style="padding-left: 60px; text-align: justify;"><strong>@Test:&nbsp;</strong>Annotation lets the system know that the method annotated as @Test is a test method. There can be multiple test methods in a single test script.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>@Before:&nbsp;</strong>Method annotated as @Before lets the system know that this method shall be executed every time before each of the test method.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>@After:&nbsp;</strong>Method annotated as @After lets the system know that this method shall be executed every time after each of the test method.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>@BeforeClass:&nbsp;</strong>Method annotated as @BeforeClass lets the system know that this method shall be executed once before any of the test method.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>@AfterClass:&nbsp;</strong>Method annotated as @AfterClass lets the system know that this method shall be executed once after any of the test method.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>@Ignore:&nbsp;</strong>Method annotated as @Ignore lets the system know that this method shall not be executed.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Junit?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Junit&nbsp;is a unit testing framework introduced by Apache. Junit is based on Java.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How can we handle windows based pop up?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Selenium is an automation testing tool which supports only web application testing, that means, it doesn&rsquo;t support testing of windows based applications. However Selenium alone can&rsquo;t help the situation but along with some third party intervention, this problem can be overcome. There are several third party tools available for handling window based pop ups along with the selenium like AutoIT, Robot class etc.</p>
</div>c6:T7cb,<h2><span style="color: #000000;">JMX Architecture</span></h2>
<p><img class=" wp-image-501 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/10/jmx-architecture-460x240.jpg" alt="jmx-architecture" width="329" height="171" /> &nbsp; <strong>Instrumentation Layer</strong></p>
<ol>
<li>The instrumentation layer exposes the application components as one or more managed beans (MBeans)</li>
<li>Each MBean provides access to its state using public methods</li>
<li>An MBean can be any Java object that supports the interfaces and semantics of the JMX specification</li>
</ol>
<p><strong>Agent Layer</strong></p>
<ol>
<li>The JMX agent is the hub of the <a href="https://tekslate.com/jboss-training/">JMX framework</a>
<ol>
<li>It provides remote management and application access to all of its registered MBeans</li>
</ol>
</li>
<li>The agent also supports additional services, such as monitoring and dynamic loading
<ol>
<li>These services are also implemented and registered as MBeans so that they benefit from the framework as well</li>
</ol>
</li>
<li>The core agent component is called MBean server and is defined by the interface javax.management.MBeanServer</li>
</ol>
<pre style="text-align: center;"><em><strong>Inclined to build a profession as JBOSS&nbsp;Developer?
Then here is the blog post on <a href="https://tekslate.com/jboss-training/" target="_blank" rel="noopener">JBOSS</a><a href="https://tekslate.com/jboss-training/" target="_blank" rel="noopener">&nbsp;Training </a>Program</strong></em></pre>
<p><strong>Distributed Services Layer</strong></p>
<ol>
<li>The distributed management services layer provides the interfaces and components that remote tools use to interface with agents</li>
<li>The current specification leaves the definition of these interfaces and other functionality to the future versions of JMX, but most application servers provide JMX connectors and adaptors for web (HTML), RMI, and SNMP access.</li>
</ol>c7:T1211,<p><strong>JMS Architecture</strong> <img class="alignnone wp-image-492 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/10/jms-architecture-460x204.jpg" alt="jms-architecture" width="329" height="146" /></p>
<p style="padding-left: 30px;">JMS clients are the programs (possibly external) or components, written in the Java programming language, that produce and consume messages. Any Java EE application component can act as a JMS client.</p>
<p style="padding-left: 30px;">A JMS provider is a messaging system that implements the JMS interfaces and provides administrative and control features. JBoss Messaging is such provider.</p>
<p style="padding-left: 30px;">Messages are the objects that communicate information between JMS clients.</p>
<p style="padding-left: 30px;">Administered objects are preconfigured JMS objects created by an administrator for the use of clients:</p>
<p style="padding-left: 30px;">Connection Factories</p>
<p style="padding-left: 30px;">Destinations</p>
<p>&nbsp; <strong>Point to Point</strong> <img class=" wp-image-493 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/10/point-to-point-460x103.jpg" alt="point-to-point" width="484" height="108" /></p>
<p style="padding-left: 30px;">A sender (producer) sends a message addressed to a specific queue</p>
<p style="padding-left: 30px;">A receiver (consumer) consumes the message from the queue established to hold its messages</p>
<p style="padding-left: 30px;">Queues retain all messages sent to them until the messages are consumed or until the messages expire</p>
<p style="padding-left: 30px;">Each message has only one consumer</p>
<p style="padding-left: 30px;">A sender and a receiver of a message have no timing dependencies. The receiver can fetch the message whether or not it was running when the client sent the message</p>
<p style="padding-left: 30px;">The receiver acknowledges the successful processing of a message</p>
<pre style="text-align: center;"><em><strong>Learn the core features of <a href="https://tekslate.com/jboss-training/" target="_blank" rel="noopener">JBOSS Traning</a>&nbsp;and become master with our expertise tutorials.</strong></em></pre>
<p><strong>Publish and Subscribe</strong> <img class=" wp-image-494 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/10/publish-subscribe-460x93.jpg" alt="publish-subscribe" width="400" height="80" /></p>
<p style="padding-left: 30px;">Publisher clients publish messages to one or more message topics</p>
<p style="padding-left: 30px;">Subscriber clients subscribe to one or more message topics and receive messages when they are sent to them</p>
<p style="padding-left: 30px;">The topics hold the messages as long as it takes to deliver them to all currently subscribed clients</p>
<p style="padding-left: 30px;">Each message can have multiple consumers</p>
<p style="padding-left: 30px;">Publishers and subscribers have a timing dependency. A client that subscribes to a topic can consume only messages published after the client has created a subscription, and the subscriber must continue to be active in order for it to consume messages (unless it holds a durable subscription)</p>
<p>&nbsp; <strong>JMS Message Consumption</strong></p>
<p style="padding-left: 30px;">Synchronous: A subscriber or a receiver explicitly fetch the message from the destination by calling the blocking receive method (with support for timeouts)</p>
<p style="padding-left: 30px;">Asynchronous: A client can register a message listener with a consumer. Whenever a message arrives at the destination, the JMS provider delivers the message by calling the listener&rsquo;s onMessage method, which acts on the contents of the message</p>
<p><strong>For indepth understanding on JBoss click on:</strong></p>
<ul>
<li><a href="https://tekslate.com/jboss-architecture/" target="_blank" rel="noopener">JBoss architecture</a></li>
<li><a href="https://tekslate.com/how-to-install-jboss-application-server/" target="_blank" rel="noopener">Installation of jboss</a></li>
<li><a href="https://tekslate.com/core-java-training/" target="_blank" rel="noopener"> Core Java Training in Bangalore</a></li>
<li><a href="https://tekslate.com/session-configuration-in-jboss/" target="_blank" rel="noopener">Session Configuration</a></li>
<li><a href="https://tekslate.com/tutorials/jboss/" target="_blank" rel="noopener">JBoss&nbsp;Tutorials</a></li>
<li><a href="https://tekslate.com/tutorials/jboss/" target="_blank" rel="noopener">JBoss Overview</a></li>
</ul>c8:T10aa,<p><strong>JMS Overview</strong></p>
<p style="padding-left: 30px;">Framework for reliable both synchronous and asynchronous communication between distributed components</p>
<p style="padding-left: 30px;">Guaranteed push-based delivery</p>
<p style="padding-left: 30px;">Peer to peer</p>
<p style="padding-left: 30px;">One to One, One to Many, Many to Many</p>
<p style="padding-left: 30px;">Loosely coupled (standard message formats)</p>
<p style="padding-left: 30px;"><a href="https://tekslate.com/jboss-training/">JMS</a> Implementation provides necessary services to its clients</p>
<p style="padding-left: 30px;">JMS is unlike RMI, which is tightly coupled. In JMS, The sender and the receiver need to know only which message format and which destination to use.</p>
<p style="padding-left: 30px;">JMS is unlike email, which is people oriented. JMS is meant to serve distributed software applications and components, although it is also used for local (in-JVM) messaging.</p>
<p><strong>JMS in Java EE</strong></p>
<p style="padding-left: 30px;">Allows loosely coupled, reliable, asynchronous interactions among Java EE components and legacy systems capable of messaging</p>
<p style="padding-left: 30px;">Is reliable, it ensure that a message is delivered once and only once.</p>
<p style="padding-left: 30px;">Application clients, EJBs, and web components can send and receive JMS messages</p>
<p style="padding-left: 30px;">Message-driven beans enable the asynchronous (possibly concurrent) consumption of messages, making it easy to plug in new business event handlers into an existing deployment</p>
<p style="padding-left: 30px;">Message send and receive operations can participate in distributed transactions, which allow JMS operations and database accesses to take place within a single transaction</p>
<p style="padding-left: 30px;">JMS can be used outside the context of a full-blown app server</p>
<pre style="text-align: center;"><em><strong>Inclined to build a profession as JBOSS&nbsp;Developer?
Then here is the blog post on <a href="https://tekslate.com/jboss-training/" target="_blank" rel="noopener">JBOSS</a><a href="https://tekslate.com/jboss-training/" target="_blank" rel="noopener">&nbsp;Training </a>Program</strong></em></pre>
<p><strong>When is JMS Used</strong> When no dependency between components is important Compile-time dependency (loose coupling) Run-time dependency (components run independently) When we need asynchronous yet reliable communication Consider the following usage scenario: Components of an enterprise application for an automobile manufacturer can use the JMS API in situations like these:</p>
<p style="padding-left: 30px;">The inventory component can send a message to the factory component when the inventory level for a product goes below a certain level so that the factory can make more cars</p>
<p style="padding-left: 30px;">The factory component can send a message to the parts components so that the factory can assemble the parts it needs</p>
<p style="padding-left: 30px;">The parts components in turn can send messages to their own inventory and order components to update their inventories and to order new parts from suppliers</p>
<p style="padding-left: 30px;">Both the factory and the parts components can send messages to the accounting component to update their budget numbers</p>
<p style="padding-left: 30px;">The business can publish updated catalog items to its sales force</p>
<p><strong>For indepth understanding on JBoss click on:</strong></p>
<ul>
<li><a href="https://tekslate.com/jboss-architecture/" target="_blank" rel="noopener">JBoss architecture</a></li>
<li><a href="https://tekslate.com/how-to-install-jboss-application-server/" target="_blank" rel="noopener">Installation of jboss</a></li>
<li><a href="https://tekslate.com/core-java-training/" target="_blank" rel="noopener"> Core Java Training in Hyderabad</a></li>
<li><a href="https://tekslate.com/session-configuration-in-jboss/" target="_blank" rel="noopener">Session Configuration</a></li>
<li><a href="https://tekslate.com/tutorials/jboss/" target="_blank" rel="noopener">JBoss&nbsp;Tutorials</a></li>
<li><a href="https://tekslate.com/tutorials/jboss/" target="_blank" rel="noopener">JBoss Overview</a></li>
</ul>c9:T411,<p>All operations that affect the &ldquo;state&rdquo; of the Queue Manager and its objects are logged to a log file. What is &ldquo;state&rdquo;?</p>
<ul style="list-style-type: square;">
<li>Object definitions (queue manager, queues, processes, channels, etc)</li>
<li>Queue content (messages)</li>
</ul>
<p>Message channel states are logged separately by each channel.&nbsp;&nbsp;There are two forms of Logging Circular &ndash; log records are written sequentially across several files, then &ldquo;wrap&rdquo; back to the first file. log records are written sequentially across files. New files are allocated as current files fill. No automatic reuse of file space! Problem:&nbsp; Length (in time)&nbsp; of longest running transaction vs amount of writes to log determines size of log needed. Tips Circular logging is easy to manage, but is fatal if log is damaged (hard to backup circular logs!). Linear logging is hard to maintain but provides for archiving of previous logs (still a problem if &ldquo;current&rdquo; log is damaged)</p>ca:T8e9,<h2><span style="font-size: 24px; color: #236fa1;"><strong>WebSphere MQ queue managers</strong></span></h2>
<p><strong>Queue Manager&nbsp;</strong></p>
<p style="text-align: justify;">A&nbsp; queue manager is that part of a WebSphere MQ Series product that provides the messaging and queuing services to application programs, through the Message Queue Interface (MQI) program calls.&nbsp; It controls access to queues and serves as transaction (sync point) coordinator for all queue operations.</p>
<p>Queue manager names must be unique! <strong>Queues&nbsp;</strong> MQSeries defines four types of queues.&nbsp; A queue instance is fully qualified by its queue manager and queue name. Local Queue - an actual queue for which storage is allocated. Remote Queue - a definition of a queue on a different queue manager (acts somewhat like a pointer) Alias Queue - another name for a local or remote queue.&nbsp; Typically used to switch queue destinations without modifying program code Model Queue - a template whose properties are copied when creating a new dynamic local queue (&ldquo; create queue xxx &ldquo;like&rdquo; queue yyy). Some properties of local queues</p>
<ul style="list-style-type: square;">
<li>Maximum Message Size</li>
<li>Maximum Queue Depth</li>
<li>High/Low Factors</li>
<li>Enable/Disable Put or Get</li>
<li>Persistent/Not Persistent</li>
</ul>
<p>Local queues can generate events (messages) under certain conditions (like queue full).&nbsp;the execution of a program.&nbsp; These events are called trigger messages.&nbsp; The queue on which they are put is called an Initiation Queue. <strong>Process</strong></p>
<p style="text-align: justify;">Process defines an application to an MQSeries queue manager.&nbsp; A process definition object is used for defining applications to be started by a trigger monitor.&nbsp;&nbsp;A trigger monitor is a program that listens on an initiation queue and executes commands named in Process definitions.</p>
<p style="text-align: justify;">Triggers and Process definitions are useful when you don&rsquo;t want to deploy long-running programs.&nbsp; Suppose the message rate is very low (several minutes between requests).&nbsp; Perhaps it is better to instantiate the program for each message, and then let it exit.</p>cb:T7b63,<h2>Using Tables with Navigation Bars and Tabs</h2>
<p>Almost every application using a table associates that table with a navigation bar. Moreover, in applications of any complexity, the application also usually organizes its tasks into different tabs. For instance, the iPod application has different tabs for different views of its data. The Artists tab, for instance, shows a user&rsquo;s multimedia sorted by artist. At the iPod application&rsquo;s top is a navigation bar. When a user selects an artist row, the navigation controller pushes another view onto the navigation controller and displays it. In the following Try This, I try to instill some real-world credibility to this chapter by having you implement a table in a navigation controller that is in a tab-bar tab. Although initially confusing, this is such a common user interface pattern that you should definitely understand the next task. <strong>Using a Table in a Navigation Controller in a Tab</strong> This is a long, but useful task. Much of it is repetition from previous chapters, but the combination of a table in a navigation controller in a tab is such a common application pattern that it is worth presenting here in detail, even if much of the task is repetitive. Creating and Connecting the Views</p>
<ol>
<li><strong>Create</strong> <strong>a new Window-based Name the application TabNavTable.</strong></li>
<li><strong>Add a UITabBarController as an IBOutlet to Name the outlet myCont (Listings 10-23 and 10-24).</strong></li>
<li><strong>Change TabNavTableAppDelegate&rsquo;s applicationDidFinishLaunching method in TabNavTableAppDelegate to load the newly added tab bar controller&rsquo;s root view.</strong></li>
</ol>
<p><strong>&nbsp;</strong></p>
<ol>
<li><strong>Save and open xib in Interface Builder.</strong></li>
<li><strong>Add a Tab Bar Controller from the library to the document </strong></li>
<li><strong>Delete</strong> <strong>the tab bar controller&rsquo;s root view controller, Selected View Controller (Item 1).</strong></li>
<li><strong>Add a Navigation Controller in the previously deleted root view controller&rsquo;s place (Figure 10-23).</strong></li>
<li><strong>Change the navigation controller&rsquo;s view controller, View Controller (Root View Controller), from a UIViewController to a Leave its type as UITableViewController; in a few steps, you change it to your own class, MyTableViewController.</strong></li>
<li><strong>Connect</strong> <strong>TabNavTableAppDelegate&rsquo;s</strong> <strong>myCont</strong> <strong>property</strong> <strong>to the tab bar controller (Figure 10-24).</strong></li>
<li><strong>Save and exit Interface builder.</strong></li>
<li><strong>Create</strong> <strong>a new subclass of Name the class MyTableViewController and add the table view controller methods in Listings 10-25 and 10-26.</strong></li>
<li><strong>Add an NSMutableArray named tableDataList and populate it in MyTableViewController&rsquo;s viewDidLoad </strong></li>
<li><strong>Create</strong> <strong>a new empty nib named Open the nib in Interface Builder.</strong></li>
<li><strong>Add a Table View from the library to the document window.</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;<img class="aligncenter wp-image-5106 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide703.png" alt="Slide70" width="503" height="237" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;"><strong>&nbsp;</strong>Figure 10-23 Navigation controller in place of tab&rsquo;s view controller</p>
<p>&nbsp; <img class="aligncenter wp-image-5109 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide719.png" alt="Slide71" width="470" height="298" /></p>
<p style="text-align: center;">&nbsp; Figure 10-24 Application with a table, navigation bar, and tab bar</p>
<p>&nbsp; NOTE In step 14 you are adding the table directly to the nib as the main view. Contrast this with how you added the table view in this chapter&rsquo;s first Try This example. Both techniques work. &nbsp;</p>
<ol>
<li><strong>In the document window, change xib&rsquo;s File&rsquo;s Owner to MyTableViewController.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner view outlet to the newly added table view that you added to the document </strong></li>
<li><strong>Connect</strong> <strong>the table view&rsquo;s dataSource and delegate outlets to File&rsquo;s </strong></li>
<li><strong>Save and close xib. Open MainWindow.xib in Interface Builder.</strong></li>
<li><strong>In</strong> <strong>the document window, expand Tab Bar Controller, and then expand Navigation Controller (Item). Change the Table View Controller (Navigation Item) from a UITableViewController to Don&rsquo;t forget to change its NIB Name in the Inspector to MyTableViewController to show the table is loaded from another nib.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5115 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide724.png" alt="Slide72" width="303" height="575" /></strong></p>
<p style="text-align: center;">Figure 10-25 Table in a tab bar</p>
<p>&nbsp;</p>
<ol>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click Build And The first tab contains a navigation bar and a table view </strong><strong>(Figure 10-25).</strong></li>
</ol>
<p>Listing 10-23 TabNavTableAppDelegate.h #import &lt;UIKit/UIKit.h&gt; @interface TabNavTableAppDelegate : NSObject &lt;UIApplicationDelegate&gt; { UIWindow *window; IBOutlet UITabBarController * myCont; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UITabBarController * myCont; @end Listing 10-24 TabNavTableAppDelegate.m #import "TabNavTableAppDelegate.h" @implementation TabNavTableAppDelegate @synthesize window; @synthesize myCont;(void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview: view]; [window makeKeyAndVisible]; }(void)dealloc { [myCont release]; [window release]; [super dealloc]; } @end Listing 10-25 MyTableViewController.h #import &lt;UIKit/UIKit.h&gt; @interface MyTableViewController : UITableViewController { NSMutableArray * tableDataList; } @property (nonatomic, retain) NSMutableArray * tableDataList; @end Listing 10-26 MyTableViewController.m #import "MyTableViewController.h" @implementation MyTableViewController @synthesize tableDataList; - (void) viewDidLoad { NSMutableArray * tempArray = [[[NSMutableArray alloc] initWithObjects:@"Item One", @"Item Two", @"Item Three", @"Item Four", @"Item Five", @"Item Six", @"Item Seven", @"Item Eight", @"Item Nine", @"Item Ten", @"Item Eleven", @"Item Twelve", @"Item Thirteen", @"Item Fourteen", @"Item Fifteen", @"Item Sixteen", @"Item Seventeen", @"Item Eighteen", @"Item Nineteen", @"Item Twenty", nil] autorelease]; self.tableDataList = tempArray; } (NSInteger) tableView : (UITableView *) tableView numberOfRowsInSection: (NSInteger) section { return [self.tableDataList count]; }(UITableViewCell *) tableView : (UITableView *) tableView cellForRowAtIndexPath:(NSIndexPath *) indexPath { UITableViewCell *cell = [tableView &nbsp; dequeueReusableCellWithIdentifier:@"acell"]; if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier:@"acell"] autorelease]; } cell.textLabel.text = [self.tableDataList objectAtIndex:[indexPath row]]; return cell; } - (void)dealloc { [tableDataList release]; [super dealloc]; } @end &nbsp; <strong>Handling Row Selections</strong></p>
<ol>
<li><strong>Add an IBOutlet to MyTableViewController that references a Name the outlet navCont. Don&rsquo;t forget to synthesize it and to release it. Save and compile.</strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>In</strong> <strong>the document window, expand Tab Bar Controller and then Navigation Controller (Item). Connect MyTableViewController&rsquo;s navCont outlet to the Navigation Controller (Item).</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And If you completed the steps correctly, there is no change in the application&rsquo;s appearance.</strong></li>
<li><strong>Create</strong> <strong>a new UIViewController subclass and name it TableViewDetailsViewController (Listings 10-27 and 10-28). Although you leave this class empty in this task, in a real- world project, this class would contain If you wish, select the checkbox to also create an accompanying xib for the class. If you didn&rsquo;t already, create a new View xib and name it TableViewDetailsViewController.xib. Open it in Interface Builder.</strong></li>
<li><strong>Change the view&rsquo;s background </strong></li>
<li><strong>Ensure</strong> <strong>the File&rsquo;s Owner class is set to Also ensure the File&rsquo;s Owner view outlet is connected to the view in the document window.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open MyTableViewController and import h.</strong></li>
<li><strong>Implement</strong> <strong>the tableView:didSelectRowAtIndexPath method in MyTableViewController (Listing 10-29).</strong></li>
<li><strong>Build</strong> <strong>and run in iPhone Upon clicking a row, you are taken to the details page (Figure 10-26).</strong></li>
</ol>
<p>&nbsp;</p>
<p style="text-align: center;">Figure 10-26 Clicking the row takes the user to details view.</p>
<p>&nbsp; <img class="alignnone size-full wp-image-5121" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide725.png" alt="Slide72" width="304" height="568" /><img class="alignright wp-image-5122 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide734.png" alt="Slide73" width="300" height="565" /> &nbsp; &nbsp; Listing 10-27 TableViewDetailsViewController.h #import &lt;Foundation/Foundation.h&gt; @interface TableViewDetailsViewController : UIViewController { } @end Listing 10-28 TableViewDetailsViewController.m #import "TableViewDetailsViewController.h" @implementation TableViewDetailsViewController @end Listing&nbsp; 10-29 The tableView:didSelectRowAtIndexPath:&nbsp; method added to MyTableViewController - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath: (NSIndexPath *) indexPath { NSLog(@"pushing..."); TableViewDetailsViewController * temp = [[ [TableViewDetailsViewController alloc] initWithNibName: @"TableViewDetailsViewController" bundle:nil] autorelease]; [self.navCont pushViewController:temp animated:YES]; } &nbsp;</p>
<h3>Editing Table Cells</h3>
<p>Table cells can be edited. You can add new rows, delete existing rows, and reorder rows. The way it works is like this: A user clicks a button that puts the table into edit mode. Edit mode displays insert or delete accessories used for adding and deleting rows. These accessories are displayed on a cell&rsquo;s left side. Editing mode displays reorder accessories on a table cell&rsquo;s right side. &nbsp;</p>
<h3>Getting to Edit Mode</h3>
<p>This chapter ends by discussing how to edit a table. Tables not only display data, they also allow adding rows, deleting rows, and changing the order of rows. A table has two modes: its normal display mode and edit mode. When a table is in edit mode, it can display accessories for inserting, deleting, and rearranging table cells. An application places a table in edit mode by sending a message to the table view&rsquo;s setEditing:animated: method. For instance, you might call a table&rsquo;s setEditing:animated: method by implementing an IBAction called by a button on a form. (IBAction) edit { [self.myTableView setEditing:YES animated:YES]; } However, a self-created button is not how tables are usually placed into edit mode. Rather than specifically creating an action and manually calling a method, you usually use a navigation item and let it automatically activate a table view&rsquo;s edit mode. Remember, 90 percent of the time you will implement a table view in a navigation controller. That navigation controller&rsquo;s navigation bar can contain a right button. One choice you have when creating a navigation bar button is creating an Edit button. self.navigationItem.rightBarButtonItem = myTableController. editButtonItem; When you set that button to a table controller&rsquo;s editButtonItem, the controller automatically knows to enter edit mode. &nbsp;</p>
<h3>Edit Mode Methods</h3>
<p>tableView:canEditRowAtIndexPath:,tableView:canMoveRowAtIndexPath:,tableView:commitEditing Style:forRowAtIndexPath:,and tableView:commitEditingStyle: forRowAtIndexPath: are four methodsyou should implement in your UITableViewDataSource protocol adoptee. (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath: (NSIndexPath *)indexPath (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath: (NSIndexPath *)indexPath (void)tableView:(UITableView *)tableView commitEditingStyle:(UITableViewCellEditingStyle) editingStyle forRowAtIndexPath: (NSIndexPath *) indexPath (UITableViewCellEditingStyle)tableView:(UITableView *) tableView editingStyleForRowAtIndexPath:(NSIndexPath *) indexPath &nbsp; A table knows a row is editable by the tableView:canEditRowAtIndexPath: method. If you wish all rows to be editable, simply have the method return YES; otherwise, implement code to determine if a particular row is editable. If you omit this method, no rows are editable. The tableView:editingStyleForRowAtIndexPath: method informs the table&nbsp;&nbsp; what style&nbsp;&nbsp; editing accessory the row should have. If this method returns a UITableViewCellEditingStyleNone, &nbsp; <img class="aligncenter wp-image-5130 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide744.png" alt="Slide74" width="771" height="565" /> Figure 10-27 A table where the first and last rows have no editing style,no accessory is displayed. If this method returns&nbsp; UITableViewCellEditingStyleDelete, the delete accessory is displayed.&nbsp; And if the method returns UITableViewCellEditingStyleInsert, the insert accessory is displayed. The following example code in Listing 10-30 and Figure 10-27 illustrates. &nbsp; Listing 10-30 The tableView:editingStyleForRowAtIndexPath method - (UITableViewCellEditingStyle)tableView:(UITableView *)tableView editingStyleForRowAtIndexPath:(NSIndexPath *)indexPath { if(indexPath.row == 0 || indexPath.row == [self.workoutArray count]- 1) { return UITableViewCellEditingStyleNone; } return UITableViewCellEditingStyleDelete; } &nbsp; A table knows a table row is movable by the tableView:canMoveRowAtIndexPath: method. Like the tableView:canEditRowAtIndexPath: method, simply have the method return YES if all rows are moveable; otherwise, write your own custom code. If you omit this method, no rows are movable.The tableView:canMoveRowAtIndexPath: method only prevents particular rows from being directly moved by a user. A user can still move another row to the position held by the unmovable row, thus moving the unmovable row indirectly. To prevent this behavior,you can implement the tableView:targetIndexPathForMoveFromRowAtIndexPath: toProposedIndexPath: method in your table view&rsquo;s delegate. If a proposed move is acceptable, return the proposedDestinationIndexPath; otherwise, return the sourceIndexPath. The method&rsquo;s signature follows. &nbsp; - (NSIndexPath *)tableView:(UITableView *)tableView targetIndexPathForMoveFromRowAtIndexPath:(NSIndexPath *)sourceIndexPath toProposedIndexPath:(NSIndexPath *)proposedDestinationIndexPath The tableView:commitEditingStyle:forRowAtIndexPath: commits a row insertion or deletion. Notice the editingStyle parameter. If a row is deleted, the table view sends a UITable ViewCellEditingStyleDelete style as the editingStyle parameter. If a row is inserted, the table view sends a UITableViewCellEditingStyleInsert style. It uses the editingStyle parameter to tell it which action resulted in the method being called. This method is for implementing code that handles a row insertion or deletion. For instance, in this chapter, data comes from an NSArray or NSMutableArray. When using an NSMutableArray as a data source for a table, deleting a row means you must delete the corresponding item from the array. If inserting, you must add an item at the index where the row was inserted and remove the item from its old location in the array.</p>
<h3>Editing Rows</h3>
<ol>
<li><strong>Copy the TabNavTable project to a new location and open it in Xcode.</strong></li>
<li><strong>Create</strong> <strong>a new view controller class called AddItemViewController (Listings 10-31 and 10- 32). If you wish, select the ―With XIB for user interface‖ checkbox and create an associated </strong></li>
<li><strong>Add a reference to MyTableViewController in AddItemViewController; however, instead of importing MyTableViewController, use the @class macro (Listings 10-33 and 10-34). Name the property </strong></li>
<li><strong>Add an IBOutlet for a Name the text field addedName. Add an IBOutlet for a bar button item. Name the button doneButton. Do not forget to synthesize the outlets/ properties.</strong></li>
<li><strong>Add an IBAction called exit and Save. </strong></li>
</ol>
<p><strong>&nbsp;</strong></p>
<ol>
<li><strong>Open MyTableViewController and import Add a property referencing the AddItemViewController. Name the reference addItemController. Also, add a method named exitAndSave and an IBAction named enterAddMode. Note that exitAndSave takes an NSString as a parameter and is not an IBAction.</strong></li>
<li><strong>Add an IBOutlet for a bar button item named </strong></li>
<li><strong>Change the viewDidLoad method so that it sets its navigation item&rsquo;s rightBarButtonItem to</strong></li>
</ol>
<p><strong>its editButtonItem and its navigation item&rsquo;s leftBarButtonItem to addButton.</strong></p>
<ol start="4">
<li><strong>Implement</strong> <strong>the UITableViewDataSource protocol methods: tableView: canEditRowAtIndexpath:, tableView:commitEditingStyle:forRowAtIndex:, tableView: moveRowAtIndexPath:toIndexPath:, tableView: editingStyleForRowAtIndexPath:, and tableView:canMoveRowAtIndexPath:.</strong></li>
<li><strong>If</strong> <strong>you didn&rsquo;t already when creating the view controller, create a new View XIB named xib. Open the nib in Interface Builder.</strong></li>
<li><strong>Ensure</strong> <strong>the File&rsquo;s Owner is an AddItemViewController, if it is not set it to this Ensure its view is connected to the view in the document window.</strong></li>
<li><strong>Add a bar button item to the document Change the newly added bar button&rsquo;s identifier to Done.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner doneButton outlet to the newly created Done </strong></li>
<li><strong>Add a UITextField to the Attach it to the File&rsquo;s Owner addedName outlet.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner exitAndSave action to the newly added Done bar button </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open AddItemViewController and implement the viewDidLoadMethod so that it initializes its navigationItem&rsquo;s title to ―Add Item‖ and its rightBarButtonItem to its </strong></li>
<li><strong>Open xib in Interface Builder and add a bar button item to the document window. Change the button&rsquo;s identifier to Add.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner enterAddMode property to the newly added bar button Also connect the File&rsquo;s Owner addButton to the newly added bar button item.</strong></li>
<li><strong>Return </strong><strong>to MyTableViewController&nbsp; and implement the exitAndSave&nbsp; and the enterAddMode methods like Listing 10-32.</strong></li>
<li><strong>Return</strong> <strong>to AddItemViewController and implement the exitAndSave method like Listing 10-34.</strong></li>
<li><strong>Ensure</strong> <strong>all your properties are being properly released in each class dealloc </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click Build And Go.</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5140 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide754.png" alt="Slide75" width="258" height="451" /></strong> <strong>&nbsp;</strong> &nbsp; &nbsp; &nbsp;</p>
<p style="text-align: center;"><strong>&nbsp;</strong>Figure 10-28 The table view in edit mode</p>
<p>&nbsp; When the application starts, it presents the user with the table view. Upon tapping the Edit button, the application presents the table in edit mode (Figure 10-28). If the user clicks one of the table&rsquo;s delete accessories, the accessory rotates 90 degrees and presents a Delete button (Figure 10-29). Upon clicking Delete, the row is deleted. When a user clicks and drags the move accessory on the right, he or she can move the row to the new location desired (Figure 10-30). &nbsp; If a user decides to add a row, he or she taps the Add button, which presents the user with a view to enter the new object&rsquo;s details (Figure 10-31). If the user decides to cancel this action, he or she simply taps the Back button. If the user decides to save the record, he or she taps the Done button, which saves the record and returns the user to the table with the newly added table row (Figure 10-32). To support moving rows, you implemented the tableView:moveRowAtIndexPath: toIndexPath: method. In that method, you obtained the object from its old position in the tableDataList, removed it, and then added it to its new location. You also implemented the tableView:canMoveRowAtIndexPath: and tableView:canEditRowAtIndexPath: methods. If you needed to only allow certain rows to be editable, you would add that code to the tableView:canEditRowAtIndexPath: method. If you needed to only allow certain rows to be movable, you would add code to the tableView:canMoveRowAtIndexPath: method. Here, both methods simply return YES. &nbsp; &nbsp; <img class="alignleft wp-image-5143 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide755.png" alt="Slide75" width="255" height="448" /><img class="aligncenter wp-image-5148 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide764.png" alt="Slide76" width="243" height="459" /></p>
<p style="text-align: left;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Figure 10-29 Deleting a row&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; Figure 10-30 Moving a row</p>
<p>&nbsp; &nbsp; <img class="alignleft wp-image-5152 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide765.png" alt="Slide76" width="251" height="458" /><img class="aligncenter wp-image-5154 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide774.png" alt="Slide77" width="243" height="465" /></p>
<p style="text-align: left;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Figure 10-31 Adding an item&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Figure 10-32 The table view with thenewly added item</p>
<p>&nbsp; &nbsp; Supporting delete functionality requires a little more code than moving rows, but not much. You implemented the tableView:commitEditingStyle:forRowAtIndexPath: method. In the example, this method removes an object from the index and deletes the row from the table. Notice you disallowed inserting rows by implementing the tableView:editingStyleForRow AtIndexPath: and having it return UITableViewCellEditingStyleDelete. This method informs a table what accessory, if any, it should display in a row when the table enters edit mode. Here, it displays the delete accessory.You did not implement insert functionality at all. Inserting uses similar logic to deleting a row, only the style is UITableViewCellEditingStyleInsert. You would also implement code to initialize an object and then insert it in the data source at the proper location. For instance, in the previous example, you could change it to support inserting rows if you changed tableView: editingStyleForRowAtIndexPath: to return UITableViewCellEditingStyleInsert and added the following lines to the tableView:commitEditingStyle:forRowAtIndex: method: else if (editingStyle == UITableViewCellEditingStyleInsert) { self.tableDataList insertObject:@"Uninitialized" atIndex:indexPath. row]; [tableView insertRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:YES]; } In this example, however, adding a row does not use a table&rsquo;s edit mode. Although it is possible to insert a row using a table&rsquo;s edit mode, it is often not practical. Usually, a table lists items, where each row represents an individual item. Because each item has details associated with it, adding is often accomplished using a separate view controller. Here, you added a left bar button with an addition symbol. When a user clicks the button, it calls MyTableViewController&rsquo;s enterAddMode method. This method presents the AddItemViewController&rsquo;s view. Note that AddItemViewController and MyTableViewController both have references to each other. Upon finishing entering the new item, a user clicks Done, and the Done button fires AddItemViewController&rsquo;s exitAndSave method. This method calls MyTableViewController&rsquo;s exitAndSave method. and the row is added as the table&rsquo;s last row. Listing 10-31 MyTableViewController.h #import &lt;UIKit/UIKit.h&gt; #import "TableViewDetailsViewController.h" #import "AddItemViewController.h" @interface MyTableViewController : UITableViewController { NSMutableArray * tableDataList; IBOutlet UINavigationController * navCont; AddItemViewController * addItemController; IBOutlet UIBarButtonItem * addButton; } @property (nonatomic, retain) UINavigationController * navCont; @property (nonatomic, retain) NSMutableArray * tableDataList; @property (nonatomic, retain) AddItemViewController * addItemController; @property (nonatomic, retain) UIBarButtonItem * addButton; (IBAction) exitAndSave: (NSString *) newValue; (IBAction) enterAddMode: (id) sender; @end Listing 10-32 MyTableViewController.m #import "MyTableViewController.h" @implementation MyTableViewController @synthesize tableDataList; @synthesize navCont; @synthesize addItemController; @synthesize addButton; - (IBAction) enterAddMode: (id) sender { self.addItemController = [[[AddItemViewController alloc] initWithNibName: @"AddItemViewController" bundle:nil] autorelease]; [self.navCont pushViewController:self.addItemController animated:YES]; &nbsp; self.addItemController.parentTable = self;} (void) exitAndSave : (NSString *) newValue { [self.tableDataList addObject: newValue]; [self.navCont popToRootViewControllerAnimated:YES]; [self.tableView reloadData]; }(void) viewDidLoad { NSMutableArray * tempArray = [[[NSMutableArray alloc] initWithObjects: @"Item One", @"Item Two", @"Item Three", @"Item Four", @"Item Five", @"Item Six", @"Item Seven", @"Item Eight", @"Item Nine", @"Item Ten", @"Item Eleven", @"Item Twelve", @"Item Thirteen", @"Item Fourteen", @"Item Fifteen", @"Item Sixteen", @"Item Seventeen", @"Item Eighteen", @"Item Nineteen", @"Item Twenty", nil] autorelease]; self.tableDataList = tempArray; self.navigationItem.rightBarButtonItem = self.editButtonItem; self.navigationItem.leftBarButtonItem = self.addButton; }(NSInteger) tableView : (UITableView *) tableView numberOfRowsInSection: (NSInteger) section { return [self.tableDataList count]; }(UITableViewCell *) tableView : (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier: @"acell"]; if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier:@"acell"] autorelease]; } cell.textLabel.text = [self.tableDataList objectAtIndex:[indexPath row]]; return cell; } - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath: (NSIndexPath *) indexPath { TableViewDetailsViewController * temp = [[ [TableViewDetailsViewController alloc] initWithNibName: @"TableViewDetailsViewController" bundle:nil] autorelease]; [self.navCont pushViewController:temp animated:YES]; } - (void)tableView:(UITableView *)tableView commitEditingStyle: (UITableViewCellEditingStyle)editingStyle forRowAtIndexPath: (NSIndexPath *) indexPath { if (editingStyle == UITableViewCellEditingStyleDelete) { [self.tableDataList removeObjectAtIndex:indexPath.row]; [tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:YES]; } else if (editingStyle == UITableViewCellEditingStyleInsert) { [self.tableDataList insertObject:@"Uninitialized" atIndex:indexPath. row]; &nbsp; [tableView insertRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:YES]; } } - (void)tableView:(UITableView *)tableView moveRowAtIndexPath: (NSIndexPath *) fromIndexPath toIndexPath:(NSIndexPath *) toIndexPath { id object = [[self.tableDataList objectAtIndex:fromIndexPath.row] retain]; [self.tableDataList removeObjectAtIndex:fromIndexPath.row]; [self.tableDataList insertObject:object atIndex: toIndexPath.row]; [object release]; } -(UITableViewCellEditingStyle) tableView: (UITableView *) tableView editingStyleForRowAtIndexPath: (NSIndexPath *) indexPath { return UITableViewCellEditingStyleDelete; }(BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath: (NSIndexPath *) indexPath { return YES; }(BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath: (NSIndexPath *) indexPath { return YES; }(void)dealloc { [tableDataList release]; [navCont release]; [addItemController release]; [addButton release]; [super dealloc]; } @end Listing 10-33 AddItemViewController.h #import &lt;UIKit/UIKit.h&gt; @class MyTableViewController; @interface AddItemViewController : UIViewController { MyTableViewController * parentTable; IBOutlet UITextField * addedName; IBOutlet UIBarButtonItem * doneButton; } @property (nonatomic, retain) UITextField * addedName; @property (nonatomic, retain) MyTableViewController * parentTable; @property (nonatomic, retain) IBOutlet UIBarButtonItem * doneButton; - (IBAction) exitAndSave: (id) sender; @end Listing 10-34 AddItemViewController.m #import "AddItemViewController.h" @implementation AddItemViewController@synthesize addedName; @synthesize parentTable; @synthesize doneButton; @synthesize addedName; (void) viewDidLoad { navigationItem.title = @"Add Item"; self.navigationItem.rightBarButtonItem = self.doneButton; } (void)dealloc { [parentTable release]; [doneButton release]; [addedName release]; [super dealloc]; }(IBAction) exitAndSave: (id) sender { [self.parentTable exitAndSave:self.addedName.text]; } @end</p>cc:T49d1,<h2>Activity Progress and Alerting Users</h2>
<h3>Key Skills &amp; Concepts</h3>
<ul>
<li>Using a UIActivityIndicatorView to indicate processing</li>
<li>Using a UIProgressView to indicate processing</li>
<li>Using a UIAlertView to warn users</li>
<li>Using a UIActionSheet to inform users</li>
<li>Using application badges to remind users of items needing their attention</li>
</ul>
<p>&nbsp; While processing, many times an application must inform users that they must wait. A poorly constructed application provides no graphical clue that the application is busy processing; a well-constructed application does provide a graphical clue. The iPhone SDK provides the UIActivityIndicatorView and UIProgressView classes to tell a user to ―please wait, I&rsquo;m processing.‖ The UIActivityIndicatorView uses a spinning ―gear‖ to tell a user an application is processing and that it will eventually complete. The UIProgressView control also tells a user to ―please wait,‖ but it provides a visual clue as to how much processing remains. The two controls&rsquo; names highlight their difference: The activity indicator shows activity, while the progress view shows progress. A user-friendly application also informs a user when something unexpected occurs,and it informs a user when his or her decision might be potentially damaging. Moreover,the application informs the user in a way that highlights the importance of the problem. Sometimes unexpected events occur or a user makes a potentially destructive decision. For these situations an application presents an alert dialog. Alerts provide information in a box separate from the underlying interface. This separation reinforces the alert&rsquo;s message that the situation is important and unusual, separate from an application&rsquo;s typical functionality. Alerts are also modal, meaning a user can do nothing else until clicking one of the alert&rsquo;s buttons to release it. Action sheets are similar to alerts, but provide alternatives to actions and slide in from an application&rsquo;s top (desktop OS X applications) or from an application&rsquo;s bottom (iPhone applications). You use action sheets for similar situations to an alert, but action sheets are more appropriate for actions more integrated with an application. &nbsp; &nbsp;</p>
<h3>Showing Activity-the UIActivityIndicatorView</h3>
<p>A UIActivityIndicatorView class creates an animated indeterminate progress indicator. This control tells the user to "please wait, I&rsquo;m processing". The control does not tell the user how long he or she must wait. Apple&rsquo;s reference for this class, which refers to the visual element &nbsp; <img class="aligncenter wp-image-5178 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide783.png" alt="Slide78" width="309" height="456" /></p>
<p style="text-align: center;">&nbsp;Figure 11-1 An activity indicator on Amazon.com&rsquo;s application</p>
<p>as an animated "gear," illustrates an activity indicator in use (Figure 11-1). When I start the Amazon.com application, it fetches my content from its web server. Fetching this content takes time&mdash; how much time, the application doesn&rsquo;t know&mdash;and so the application uses a UIActivityIndicatorView.Using a UIActivityIndicatorView in an application is easy. Begin the indicator&rsquo;s animation by calling its startAnimating method, and stop the indicator&rsquo;s animation by calling the stopAnimating method. If you wish to hide the indicator when not animated, set the property hidesWhenStopped to YES. You can also specify the activity indicator&rsquo;s size and style using its activityIndicatorViewStyle property. The indicator types are large white (UIActivityIndicatorV iewStyleWhiteLarge), white (UIActivityIndicatorViewStyleWhite), and gray (UIActivityView StyleGray). Figure 11-2 illustrates setting this property in Interface Builder. Figure 11-3 shows the three styles in iPhone Simulator. &nbsp; <img class="aligncenter wp-image-5179 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide793.png" alt="Slide79" width="665" height="520" /> &nbsp; <img class="aligncenter wp-image-5182 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide803.png" alt="Slide80" width="318" height="578" /></p>
<p style="text-align: center;">&nbsp;Figure 11-3 Three different UIActivityIndicatorView styles</p>
<p><strong>Using a UIActivityIndicatorView</strong></p>
<ol>
<li><strong>Create a new View-based Name the application ActivityAndProgress.</strong></li>
<li><strong>Open ActivityAndProgressViewController, add an IBOutlet for a UIActivityIndicatorView, and add an IBAction called doIt (Listings 11-1 and 11-2). Save and </strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Drag</strong> <strong>a button and activity indicator view from the library to the view&rsquo;s canvas (Figure 11-4).</strong></li>
<li><strong> Connect the File&rsquo;s Owner doIt action to the button&rsquo;s Touch Up Inside event. Connect the myActivityView outlet to the activity indicator view added to the canvas (Figure 11-5).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5184 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide819.png" alt="Slide81" width="305" height="476" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 11-4 Adding a button and activity indicator to a view&rsquo;s canvas</p>
<p>&nbsp;</p>
<ol>
<li><strong>Select</strong> <strong>the activity indicator view, and open its view attributes in the Ensure the indicator&rsquo;s Hide When Stopped and Hidden check boxes are checked (Figure 11-6).</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the application in the iPhone </strong></li>
<li><strong>Click</strong> <strong>the button two times (Figure 11-7).</strong></li>
</ol>
<p>Listing 11-1 ActivityAndProgressViewController.h #import &lt;UIKit/UIKit.h&gt; @interface ActivityAndProgressViewController : UIViewController { IBOutlet UIActivityIndicatorView * myActivityView; } @property (nonatomic, retain) IBOutlet UIActivityIndicatorView * myActivityView; - (IBAction) doIt: (id) sender; @end Listing 11-2 ActivityAndProgressViewController.m #import "ActivityAndProgressViewController.h" @implementation ActivityAndProgressViewController @synthesize myActivityView; &nbsp; - (IBAction) doIt: (id) sender { if( [myActivityView isAnimating]) [myActivityView stopAnimating]; else [myActivityView startAnimating]; } - (void)dealloc { [myActivityView release]; [super dealloc]; }@end &nbsp;</p>
<p style="text-align: center;">&nbsp;<img class="aligncenter wp-image-5189 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide824-768x645.png" alt="Slide82" width="647" height="543" />Figure 11-5 Connecting the myActivityView outlet to the activity indicator</p>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5193 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide833.png" alt="Slide83" width="296" height="416" /></p>
<p style="text-align: center;">Figure 11-6 Ensuring the indicator&rsquo;s Hide When Stopped and Hidden check boxes are checked</p>
<p>&nbsp; &nbsp; <img class="alignleft wp-image-5217 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PowerPoint-Presentation7.png" alt="New Microsoft PowerPoint Presentation" width="267" height="497" /><img class="aligncenter wp-image-5218 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PobwerPoint-Presentation.png" alt="New Microsoft PobwerPoint Presentation" width="268" height="509" /></p>
<p style="text-align: center;">Figure 11-7 The application running in iPhone Simulator</p>
<p>&nbsp; When the application loads, it hides the activity indicator, as it is not animating. When you first click the button, the application displays the activity indicator and begins animating it. The next time you click the button, the application stops animating the indicator and hides it. <strong>Showing Progress-the UIProgressView</strong> A progress bar shows a task&rsquo;s progress. It is intended as a ―please wait, I&rsquo;m processing and I have this much processing remaining‖ for tasks with a known duration. For instance, an application might process a file&rsquo;s content, and as the file is processing, the application calculates the percentage remaining and displays it using a progress bar. As the file&rsquo;s content is processed, the progress bar updates its display to reflect the new percentage remaining until completion.Creating a progress bar is more involved than an activity indicator. However, it is still not difficult. Before beginning the task, note that a common technique in many books and online tutorials is to set a progress view in an alert. Although easy, as of this book&rsquo;s writing, Apple neither supports nor recommends this technique. The recommended way of displaying a UIProgressView is by creating a new view with a transparent background and showing the progress bar in the new view. Because the view overlays the content view, the progress bar is modal. That is the strategy taken here.</p>
<h3>Using a UIProgressView</h3>
<ol>
<li><strong>Open the ActivityAndProgress project from the previous task. </strong></li>
<li><strong>Create</strong> <strong>a new UIViewController named Ensure that it also creates an associated xib named PleaseWaitViewController.</strong></li>
<li><strong>Add an IBOutlet for a UIProgressView to PleaseWaitViewController (Listings 11-3 and 11-4).</strong></li>
<li><strong>Drag</strong> <strong>png</strong> <strong>from</strong> <strong>the book&rsquo;s Resources folder to the Resources folder in Xcode.</strong></li>
<li><strong>Build</strong> <strong>and then open xib in Interface Builder.</strong></li>
<li><strong> Add an image view from the library to the view&rsquo;s canvas. Select starcopy.png as the image and set the mode to Scale To Fill.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5220" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide853-460x383.png" alt="Slide85" width="425" height="353" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;"><strong>&nbsp;</strong>Figure 11-8 PleaseWaitViewController&rsquo;s view in Interface Builder</p>
<p>&nbsp;</p>
<ol>
<li><strong>Add a label and a progress view from the library to the view&rsquo;s canvas (Figure 11-8).</strong></li>
<li><strong>Connect</strong> <strong>the UIProgressView on the canvas to the myProgress outlet in PleaseWaitView </strong></li>
<li><strong>Save and exit Interface builder.</strong></li>
<li><strong>Open h, and import the PleaseWaitViewController and the</strong><strong>application&rsquo;s</strong><strong> delegate.</strong></li>
</ol>
<ol start="5">
<li><strong>Add an IBOutlet for a Add a method called moveBar. Listing 11-5 contains the completed ActivityAndProgressController.h.</strong></li>
<li><strong>Open m and implement the methods to match Listing 11-</strong></li>
<li><strong> Note that doIt has changed from the previous task.</strong></li>
<li><strong>Open xib in Interface Builder and add several controls (Figure 11-9). The selection is not important, as they are not used.</strong></li>
<li><strong>Add a view controller from the library to the document Change the controller&rsquo;s class to PleaseWaitViewController. Also, change the controller&rsquo;s NIB name to PleaseWait ViewController.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone size-full wp-image-5221" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide863.png" alt="Slide86" width="307" height="476" /></strong> <strong>&nbsp;</strong>Figure 11-9 ActivityAndProgressViewController&rsquo;s canvas</p>
<ol>
<li><strong>Connect the File&rsquo;s Owner myActivityView outlet to the newly added controller. </strong></li>
<li><strong>Save and exit InterfaceBuilder.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And After the application loads in iPhone Simulator (Figure 11-10), click the button. The PleaseWaitViewController&rsquo;s view is displayed and the progress view updates (Figure 11-11). Upon completion, the application removes the view and displays the original view once again.</strong></li>
</ol>
<p>Listing 11-3 PleaseWaitViewController.h #import &lt;UIKit/UIKit.h&gt; @interface PleaseWaitViewController : UIViewController { IBOutlet UIProgressView * myProgress; } @property (nonatomic, retain) IBOutlet UIProgressView * myProgress; @end &nbsp; <img class="alignleft wp-image-5222 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide864.png" alt="Slide86" width="269" height="488" /><img class="aligncenter wp-image-5223 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide873.png" alt="Slide87" width="265" height="499" /> Figure 11-10 The application running in iPhone Simulator. Figure 11-11 The application displaying the UIProgressView&nbsp; you added &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to the project. &nbsp; Listing 11-4 PleaseWaitViewController.m #import "PleaseWaitViewController.h" @implementation PleaseWaitViewController @synthesize myProgress; - (void)dealloc { [myProgress release]; [super dealloc]; } @end Listing 11-5 ActivityAndProgressViewController.h modified for this task #import &lt;UIKit/UIKit.h&gt; #import "PleaseWaitViewController.h" #import "ActivityAndProgressAppDelegate.h" @interface ActivityAndProgressViewController : UIViewController { IBOutlet PleaseWaitViewController * myActivityView; } @property (nonatomic, retain) IBOutlet PleaseWaitViewController * myActivityView;</p>
<ul>
<li>(void) moveBar: (id) object;</li>
<li>(IBAction) doIt: (id) sender;</li>
</ul>
<p>@end Listing 11-6 ActivityAndProgressViewController.m modified for this task #import "ActivityAndProgressViewController.h" @implementation ActivityAndProgressViewController @synthesize myActivityView; int completed = 0; - (void) moveBar: (id) object { completed ++; &nbsp; myActivityView.myProgress.progress = completed/20.0f; if(completed &gt; 20) { [object invalidate]; [self.myActivityView.view removeFromSuperview]; [self.view setAlpha:1.0f]; completed = 0; self.myActivityView.myProgress.progress = 0; } } - (IBAction) doIt: (id) sender { myActivityView.view.backgroundColor = [UIColor clearColor]; [self.view setAlpha:0.7f]; [((ActivityAndProgressAppDelegate *)[UIApplication sharedApplication].delegate).window insertSubview:myActivityView.view aboveSubview: self.view]; [NSTimer scheduledTimerWithTimeInterval: 0.5 target: self selector: @selector(moveBar:) userInfo: nil repeats: YES]; } - (void)dealloc { [myActivityView release]; [super dealloc]; } @end This task is pretty cool. You first created a separate view controller and view to contain the UIProgressView. Not happy with just a normal view, you added an image and placed the controls over the image. Later, when setting the view&rsquo;s background color to clear, this created the impression of a non-rectangular view (see Figure 11-8). Q: So you create a non-rectangular view by using a UIImageView on a clear view? A: Yes, this is one technique. A more robust technique is drawing the user interface yourself, but drawing a user interface from scratch is hard. Using a UIImageView on a view with a clear background is easy. Make your application&rsquo;s window clear, the views clear, and then place any controls so that they overlay the image. For instance, Figure 11-12 illustrates a simple non-rectangular view.You also added a UIProgressView to the PleaseWaitViewController (Listing 11-3) as an outlet. You then added a PleaseWaitViewController (Listing 11-5) as an outlet. This allows you to reference both the PleaseWaitViewController and its UIProgressView from code in Activity AndProgressViewController.In ActivityAndProgressViewController, you created a method called moveBar and modified the doIt method. The doIt method is called when a user clicks the button on the ActivityAndProgressViewController. The method first sets its myActivity view&rsquo;s background color to clear, making the view transparent. myActivityView.view.backgroundColor = [UIColor clearColor]; &nbsp;</p>
<p style="text-align: center;">&nbsp;<img class="aligncenter wp-image-5224 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide882.png" alt="Slide88" width="305" height="459" /></p>
<p style="text-align: center;">Figure 11-12 A simple non-rectangular view</p>
<p>&nbsp; The method then sets the view&rsquo;s alpha level, giving it a faded, semi-transparent appearance. [self.view setAlpha:0.7f]; The doIt method also then gets a reference to the application&rsquo;s window and adds myActivity&rsquo;s view above the ActivityAndProgressViewController&rsquo;s view. [((ActivityAndProgressAppDelegate *)[UIApplication sharedApplication] .delegate).window insertSubview: myActivityView.view aboveSubview: self.view]; To simulate a long-standing task, you use an NSTimer, which every half a second calls ActivityAndProgressViewController&rsquo;s moveBar method. [NSTimer scheduledTimerWithTimeInterval: 0.5 target: self selector: @selector(moveBar:) userInfo: nil repeats: YES]; The moveBar method updates the progress bar until it reaches 20. It then invalidates the timer, removes PleaseWaitViewController&rsquo;s view, and sets the original view&rsquo;s alpha back to full strength. It also reinitializes the UIProgressView&rsquo;s progress value to zero. [NSTimer scheduledTimerWithTimeInterval: 0.5 target: self selector: @selector(moveBar:) userInfo: nil repeats: YES];</p>cd:T10f2,<h3><strong>Unix OS Architecture</strong></h3>
<p><strong>User:-</strong>&nbsp; User is nothing but an individual who uses the available hardware &amp; software resources. <img class="alignnone size-full wp-image-5247" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/480.png" alt="4" width="353" height="311" /> &nbsp; &nbsp; <strong>Shell:</strong> &nbsp;It is a command line interpreter. The shell access request from user and the checks command existence if the command exist then it converts into kernel understandable language and it send the given request to kernel. The shell access interface between user and kernel. &nbsp; <strong>Types of shells:</strong> &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>name</strong><strong>Shell&nbsp;</strong></td>
<td><strong>Developed by</strong></td>
<td><strong>Prompt</strong></td>
<td><strong>Interpreter name</strong></td>
</tr>
<tr>
<td>Bourne Shell</td>
<td>Stephen Bourne</td>
<td>$</td>
<td>Sh</td>
</tr>
<tr>
<td>Bash Shell</td>
<td>Stephen Bourne</td>
<td>$</td>
<td>bash</td>
</tr>
<tr>
<td>Korn Shell</td>
<td>David Korn</td>
<td>$</td>
<td>Ksh</td>
</tr>
<tr>
<td>Z shell</td>
<td>Paul</td>
<td>$</td>
<td>zsh</td>
</tr>
<tr>
<td>C shell</td>
<td>Bill Joy</td>
<td>%</td>
<td>csh</td>
</tr>
</tbody>
</table>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on Linux? Explore the blog post on <a href="https://tekslate.com/linux-training/" target="_blank" rel="noopener">Linux training</a> to become a pro in Linux.</strong></em></pre>
<p><strong>Note:</strong> &nbsp;The advanced version of Bourne shell is Bash shell. Bash means Bourne again shell. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Default Shell name</strong></td>
<td><strong>Flavor name</strong></td>
</tr>
<tr>
<td>Bash Shell</td>
<td>Linux</td>
</tr>
<tr>
<td>Bourne Shell</td>
<td>Sco-Unix, Solaries, HP-UX</td>
</tr>
<tr>
<td>Korn Shell</td>
<td>IBM-AIX</td>
</tr>
<tr>
<td>C Shell</td>
<td>IRIX</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Kernel:&nbsp;&nbsp;</strong> <strong>&nbsp;&nbsp;</strong> The kernel is the heart of the operating system.</p>
<ul>
<li>The Kernel is responsible for interacting with the hardware and producing output to the screen.</li>
<li>It handles the process, memory, file, device and network management for the operating system</li>
<li><a href="https://www.linux.com/" target="_blank" rel="noopener">Linux</a> is truly just the kernel.</li>
</ul>
<p>&nbsp; <strong>Difference between UNIX &amp; WINDOWS:</strong> &nbsp;</p>
<table style="width: 610px; height: 291px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>UNIX</strong></td>
<td><strong>WINDOWS</strong></td>
</tr>
<tr>
<td>It is CUI</td>
<td>IT is GUI</td>
</tr>
<tr>
<td>It is multiuser and Multitasking o/S</td>
<td>WINDOWS also multiuser and multitasking o/s</td>
</tr>
<tr>
<td>To boot UNIX o/s, 2 MB RAM is Enough</td>
<td>12 MB RAM is required.</td>
</tr>
<tr>
<td>UNIX is process&nbsp; based concept</td>
<td>It is Thread based concept.</td>
</tr>
<tr>
<td>In UNIX, any use process is killed it&nbsp;will not effect to others.</td>
<td>It effects to all.</td>
</tr>
<tr>
<td>Unlimited users working on the server.</td>
<td>Limited users working on the server.</td>
</tr>
<tr>
<td>UNIX is open system</td>
<td>It is closed system</td>
</tr>
<tr>
<td>It is portable O/S.</td>
<td>Not portable.</td>
</tr>
<tr>
<td>No down time</td>
<td>Down time is there.</td>
</tr>
</tbody>
</table>
<p><strong>For indepth understanding of&nbsp;Linux click on</strong></p>
<ul>
<li class="title"><a class="current-page" href="https://tekslate.com/features-unixlinux/">Features of UNIX/LINUX</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/architecture-os/">Architecture of O/S</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/unix-introduction/">UNIX Introduction</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/basic-commands-unix/">Basic commands</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/user-administration-linux/">User Administration</a></li>
</ul>
<div id="malwarebytes-root"></div>ce:T3a09,<h2>Application Badges</h2>
<p>The iPhone&rsquo;s Mail application illustrates using a badge. For instance, in Figure 11-20, I have 39 e- mails in my inbox. Using this functionality is easy. Simply access your application&rsquo;s applicationBadgeNumber property and set it. A user&rsquo;s iPhone will remember the value between uses of your program. To clear a badge, simply set its value to zero.</p>
<h3>Adding an Application Badge</h3>
<ol>
<li><strong>Open the previous task in Xcode.</strong></li>
<li><strong>Modify the didDismissWithButtonIndex method to match Listing 11-13.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the </strong></li>
<li><strong>Click</strong> <strong>the ―Yes‖ button four or five Quit the application, but keep the simulator running. The application&rsquo;s icon is adorned with an application badge (Figure 11-21).</strong></li>
<li><strong> Start the application again; click the ―No‖ button a few times. Quit the application, but keep the simulator running and notice the application&rsquo;s badge was decremented.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5258 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide953.png" alt="Slide95" width="305" height="575" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 11-21 The application has an application badge.</p>
<p>&nbsp; Listing 11-13 The didDismissWithButtonIndex method modified to use an application badge - (void) actionSheet: (UIActionSheet *) actionSheet didDismissWith ButtonIndex: (NSInteger) buttonIndex { if(buttonIndex == [actionSheet cancelButtonIndex]) [UIApplication sharedApplication].applicationIconBadgeNumber = [UIApplication sharedApplication].applicationIconBadgeNumber - 1; else if (buttonIndex == [actionSheet destructiveButtonIndex]) [UIApplication sharedApplication].applicationIconBadgeNumber = [UIApplication sharedApplication].applicationIconBadgeNumber + 1; }</p>
<h2>Controls-Part One</h2>
<h3>Key Skills &amp; Concepts</h3>
<ul>
<li>Modifying buttons</li>
<li>Understanding the UISlider and UISwitch</li>
<li>Understanding UITextField and UITextArea</li>
<li>Understanding using a UIWebView</li>
</ul>
<p>&nbsp; In this chapter you learn how to use several of the iPhone SDK&rsquo;s available controls. You also learn about the toolbar and the web browser view. Although this chapter is not comprehensive, it will help you get started understanding the many controls you might use when creating an iPhone application. Several of the screenshots come directly from Apple&rsquo;s UICatalog example application (Figure 12-1). You can download this application at Apple&rsquo;s Web site. But note, the controls it illustrates are created programmatically, and not using Interface Builder. &nbsp; <img class="aligncenter wp-image-5261 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide963.png" alt="Slide96" width="297" height="555" /></p>
<p style="text-align: center;">&nbsp;Figure 12-1 Apple&rsquo;s UICatalog sample application</p>
<p>&nbsp; <img class="aligncenter wp-image-5262 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide973.png" alt="Slide97" width="744" height="547" /></p>
<p style="text-align: center;">&nbsp;Figure 12-2 Apple&rsquo;s UICatalog&rsquo;s buttons screen</p>
<p>&nbsp;</p>
<h3>Buttons</h3>
<p>The most rudimentary control is arguably the button. What can you say about buttons? You click them, or on an iPhone, you tap them, and something happens. The iPhone has several different button styles (Figure 12-02). Implementing a button is not hard. In the next few sections you examine the buttons available when programming an iPhone.</p>
<h3>UIButton with a Background Image and Image</h3>
<p>Although Apple&rsquo;s stock button, the rounded rectangular button, sometimes looks nice (Figure 12-3) it is usually rather ugly.You are not limited to plain buttons though, and can make your buttons appear nicer. For instance, you can add a background image or an image. Creating custom buttons by adding an image or background image is not hard, but the artistic effort making the images appear correctly is time consuming. However, the results are usually worth the extra effort. &nbsp; <img class="aligncenter wp-image-5263 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide982.png" alt="Slide98" width="307" height="454" /></p>
<p style="text-align: center;">&nbsp; Figure 12-3 The YouTube App uses plain buttons.</p>
<h3>Using a Custom Button Background Image and Image</h3>
<ol>
<li><strong>Create a new View-based Name it ButtonsBackground.</strong></li>
<li><strong>Add outlets for two UIButtons to ButtonsBackgroundViewController (Listings 12-1 and 12-2).</strong></li>
<li><strong>Add an action called disableBut and add the code in Listing 12-2 to the </strong></li>
<li><strong>Add the png, butbackbluegray.png, butbackgraydisabled.png, power.png, and powerdisable.png to the Resources folder in Groups &amp; Files. You will find these images in this book&rsquo;s resources folder.</strong></li>
<li><strong>Save and </strong></li>
<li><strong>Open xib in Interface builder.</strong></li>
<li><strong>Drag</strong> <strong>three buttons vertically aligned onto the view&rsquo;s Connect the second button to one of the outlets and connect the third button to one of the outlets.</strong></li>
<li><strong>Connect</strong> <strong>the disableBut action to the top button&rsquo;s Touch Up </strong></li>
<li><strong>Add the text Disable to the top </strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5264 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide992.png" alt="Slide99" width="292" height="604" /></strong></p>
<p style="text-align: left;"><strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 12-4 Ensure the Shows Touch on Highlight is checked.</p>
<p>&nbsp;</p>
<ol>
<li><strong>For the second button, open the inspector to Buttons Ensure the Shows Touch on Highlight is checked (Figure 12-4).</strong></li>
<li><strong>Notice the drop-down (Figure 12-5). Here you select the button&rsquo;s state and the related field&rsquo;s values will only apply to that Ensure Default State Configuration is selected.</strong></li>
<li><strong>Change Background to png and change Image to power.png.</strong></li>
<li><strong> Select Highlighted State Configuration and change Background to butbackbluegray.png and Image to power.png.</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5265 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1002.png" alt="Slide100" width="290" height="582" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 12-5 Selecting a button&rsquo;s state</p>
<p>&nbsp;</p>
<ol>
<li><strong>Select</strong> <strong>Disabled</strong> <strong>State Configuration and change Background to png and Image to powerdisabled.png.</strong></li>
<li><strong>For the third button, ensure Default State Configuration is selected and add the text </strong><strong>"S</strong><strong>hock"</strong> <strong>to Title. Select the butbackgray.png for Background.</strong></li>
</ol>
<ol start="3">
<li><strong>Select</strong> <strong>Highlighted State Configuration and add the text "Shocking" to Select butbackbluegray.png as the Background. Note: do not make any changes to the Disable setting.</strong></li>
<li><strong>Resize</strong> <strong>the buttons as necessary so they appear </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the </strong></li>
</ol>
<p><strong>&nbsp;</strong> Listing 12-1 ButtonsBackgroundViewController.h #import &lt;UIKit/UIKit.h&gt; @interface ButtonsBackgroundViewController : UIViewController { IBOutlet UIButton * clearButton; IBOutlet UIButton * smallButton; } @property (nonatomic, retain) IBOutlet UIButton * clearButton; @property (nonatomic, retain) IBOutlet UIButton * smallButton; - (IBAction) disableBut: (id) sender; @end Listing 12-2 ButtonsBackgroundViewController.m &nbsp; #import "ButtonsBackgroundViewController.h" @implementation ButtonsBackgroundViewController @synthesize clearButton; @synthesize smallButton; - (IBAction) disableBut: (id) sender { if(clearButton.enabled == YES) { clearButton.enabled = NO; smallButton.enabled = NO; [((UIButton *) sender) setTitle:@"Enable" forState: UIControlStateNormal]; } else { clearButton.enabled = YES; smallButton.enabled = YES; [((UIButton *) sender) setTitle:@"Disable" forState: UIControlStateNormal]; } } - (void)dealloc { [clearButton release]; [smallButton release]; [super dealloc]; } @end &nbsp; Notice the results upon tapping the buttons. The buttons change the background image from grey to bluish-gray (Figure 12-6). The bottom button also changes its title. Click Disable, and the buttons are grayed out (Figure 12-7). The button with the image changes its background image and image to the choices made above. The button with the title text has this functionality built in. Making the button appear disabled was done automatically for you without you specifying images for the disabled state. &nbsp; &nbsp; &nbsp; <img class="aligncenter wp-image-5266 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1018.png" alt="Slide101" width="575" height="471" /> &nbsp; &nbsp; <img class="aligncenter wp-image-5267 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1023.png" alt="Slide102" width="637" height="466" /> &nbsp; Figure 12-6 The buttons&rsquo; background image changes&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Figure 12-7 The buttons are grayed-out when disabled &nbsp; <strong>TIP</strong> Another way to create a custom button is by setting a button&rsquo;s type to custom. That technique is not shown here. It is not hard though. First, add an image to a button. Second, change the button&rsquo;s type to custom and only the image is visible. Note that you can use different images for different button states, exactly as you did in the previous example application.</p>
<h3>Button Types</h3>
<p>There are buttons types other than Round Rect and custom that you might use. Figure 12-8 illustrates creating a Detail Disclosure button. To create a Detail Disclosure button, select a Round Rect Button from the library in Interface Builder and then change its type to Detail Disclosure button. &nbsp; &nbsp; <img class="aligncenter wp-image-5268 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1033.png" alt="Slide103" width="713" height="634" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 12-8 Detail Disclosure button</p>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5270 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1043.png" alt="Slide104" width="280" height="522" /></p>
<p style="text-align: center;">Figure 12-9 Info Light button, Info Dark button, and Add Contact button</p>
<p>&nbsp; &nbsp; You create the Info light and Info dark buttons, like the Detail Disclosure button, by selecting a Round Rect Button and changing its type to Info light or Info dark (Figure 12-9). You create a Contact button the same way you created the other button styles, by selecting a Round Rect Button and changing its type (Figure 12-9).</p>
<h3>UISwitch</h3>
<p>A UISwitch, similar to a toggle button, is on or off. Figure 12-19 illustrates a UISwitch&rsquo;s appearance. A UISwitch has a property and method for changing its state. The Boolean property is on, when YES. The switch is off when NO. The following is the declaration for the on property. @property(nonatomic, getter=isOn) BOOL on Notice that the getter is entitled isOn, you can use this getter to obtain the on property&rsquo;s value or the property itself. For instance, the following two statements are equivalent. if( ((UISwitch *) sender).on == YES) if( [((UISwitch *) sender) isOn] == YES) You can change the switch&rsquo;s value programmatically using the setOn method. This method&rsquo;s signature follows. -(void) setOn: (BOOL) on animated: (BOOL) animated Sliders are a horizontal bar with a small round indicator that a user can move to the right or left to change the slider&rsquo;s value. Figure 12-16 contains a slider example. &nbsp;</p>
<h3>Appearance</h3>
<p>The UISlider class has several properties and methods you might use to modify a slider&rsquo;s appearance. You can modify the indicator using the setThumbImage method. - (void) setThumbImage:(UIImage *)image forState: (UIControlState) state This method allows you to provide the slider an image in place of the round indicator. Interface Builder does not provide a means to set this value, so you must do so programmatically when first loading the view containing the slider.You can also specify a minimum and maximum image that appears directly to the slider&rsquo;s left and right. Set a slider&rsquo;s image appearing to the right using the maximumValueImage property. &nbsp; @property(nonatomic, retain) UIImage *maximumValueImage Set a slider&rsquo;s image appearing to the left using the minimumValueImage property. @property(nonatomic, retain) UIImage *minimumValueImage The next Try This example sets both properties using the Inspector pane in Interface Builder. There are more modifications you might make to a UISlider; refer to the UISlider Class Reference for a complete listing.</p>
<h3>Values</h3>
<p>By default, a UISlider&rsquo;s values begin with minimum of 0, a maximum of 1.00, and a .50 initial value. The slider&rsquo;s values are floats and you can set the value programmatically using the setValue method or the value property. - (void) setValue:(float) value animated:(BOOL) animated The minimum, maximum, and initial values are all properties that you can set programmatically or through Interface Builder.</p>
<h3>Continuous Property</h3>
<p>A slider changes its values continuously as a user adjusts the indicator. For instance, as a user moves the indicator from left to right, the slider is continuously firing value-changed events. You can change this behavior by changing the continuous property to NO. If the value is NO, the slider only fires the event when a user lifts his or her finger from the indicator. You can set this property programmatically, or through Interface Builder.</p>cf:T1b9d,<h2><strong>List of Basic Commands in Unix</strong></h2>
<p>#<strong> &nbsp;--&gt;&nbsp;</strong>root user prompt. $<strong> &nbsp;--&gt;&nbsp;</strong> user working prompt. $ log name <strong> &nbsp;--&gt;&nbsp;</strong>displays current user name. $ pwd <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;present working directory. $ date <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;Display current date &amp; time. $cal <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;Displays current month calendar. $cal 2020<strong> &nbsp;--&gt;&nbsp;</strong>particular year total months. $cal 04 2020 <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;2020 year 04<sup>th</sup> month calendar. $who <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;To display the information about all the users who have logged into the system. $ who am i <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;It displays current user name. $ finger <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;It displays complete information about all the users who are logged in. $ uptime <strong> &nbsp;--&gt;&nbsp;</strong>&nbsp;How log server up &amp; running, how many users connected and load avg time. &nbsp; $ which (Or) &nbsp;$ wher &nbsp; <strong>&nbsp;--&gt;&nbsp;</strong> &nbsp; Given command location EX: Which date &nbsp; $tty &nbsp; <strong>&nbsp;--&gt;&nbsp;</strong> &nbsp; &nbsp;Terminal position. $df &nbsp; &nbsp; <strong>&nbsp;--&gt;&nbsp;</strong> &nbsp; Displays disk free size $du &nbsp; &nbsp; <strong>&nbsp;--&gt;&nbsp;</strong> &nbsp; Disk usage information $clear &nbsp; <strong>&nbsp;--&gt;&nbsp;</strong> &nbsp; &nbsp;To clear the screen &nbsp; <strong>Creating files:</strong></p>
<ul>
<li><strong>Cat (concatenate):</strong> It is used to create a file and display, appending the contents of a file</li>
<li><strong>To create a file:</strong></li>
</ul>
<p>$Cat&gt;filename Hello world Ctrl+D (To save the file)</p>
<ul>
<li><strong>To Display the content of the files:</strong></li>
</ul>
<p>$cat&lt;filename (or) $cat filename &nbsp;</p>
<ul>
<li><strong>To append the data in the existing file:</strong></li>
</ul>
<p>$cat &gt;&gt;filename ------------------------- ------------------------- Ctrl +D (To save) &nbsp;</p>
<ul>
<li><strong>Touch:</strong> To create multiple files but all are empty.</li>
</ul>
<p><strong>Syn:</strong> &nbsp;$touch file1 file2 file3 &hellip;&hellip;&hellip;&hellip;&hellip;..filen <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ex:</strong> $touch file1 file2 file3</p>
<ul>
<li><strong>Ls:</strong> Displays the contents of a directory.</li>
</ul>
<p>&nbsp; <strong>Options:</strong> <strong>-&nbsp;&nbsp;&nbsp; r &nbsp; &nbsp;--&gt;</strong>Reverse <strong>-&nbsp;&nbsp; i &nbsp; &nbsp;--&gt;</strong>inode <strong> &nbsp;-a</strong> <strong>&nbsp;--&gt;</strong>&nbsp;hidden <strong>&nbsp;-&nbsp;&nbsp; l &nbsp;--&gt;</strong>&nbsp;long list <strong>-R</strong> &nbsp; <strong>&nbsp;--&gt;</strong>Recursively <strong>-&nbsp;&nbsp; h &nbsp;--&gt;</strong> human readable &nbsp; <strong>Mkdr:</strong> Creates a directory. <strong>Syn:</strong> &nbsp;mkdir &lt;Dirname&gt; $mkdir linux</p>
<ul>
<li><strong>To create multiple directories:</strong></li>
</ul>
<p>$ mkdir dir1 dir2 dir3 -----------------dirn</p>
<ul>
<li><strong>To create a nested directory:</strong></li>
</ul>
<p>$ mkdir &ndash;P world/asia/india/ap/hyd Parent</p>
<ul>
<li><strong>To check:</strong> $ tree world</li>
</ul>
<p>(or) $&nbsp;&nbsp; ls &ndash; R</p>
<ul>
<li><strong>Navigation commands:</strong></li>
</ul>
<p><strong>Cd:</strong> &nbsp;Changes the current location. <strong>Cd..</strong>&nbsp;<strong>---&gt;</strong>To go one level back <strong>cd../..</strong>&nbsp;<strong>---&gt;</strong> To go two levels back <strong>cd ---&gt;</strong>To change user&rsquo;s home directory. EX: $ cd world $ ls <strong>Note:</strong> &nbsp;The trailing slash (1) is optional when you&rsquo;re using the cd command. It indicates that the name being specified is a directory. <strong>EX:</strong> &nbsp;$cd Documents/</p>
<ul>
<li><strong>CP:</strong> Copies files or directories form one location to another.</li>
</ul>
<p><strong>Syn:</strong> CP [options] source destination <strong>--- R</strong> &nbsp; <strong>---&gt;&nbsp;</strong>&nbsp;copies recursively <strong>--- f</strong> &nbsp; &nbsp; <strong>---&gt;&nbsp;</strong>Copies forcefully -<strong>-- V</strong> &nbsp;<strong>---&gt;&nbsp;</strong> provides verbose output &nbsp; <strong>EX:</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$ CP file1 file2 &nbsp; ------------&gt;&nbsp; one file to another. $CP file1 file2 Documents &nbsp; ------------&gt; &nbsp; Multiple files into directory. $CP&nbsp; -R Documents unix ------------&gt;one directory to another. $ CP &ndash;rvf Documents unix world/asia/india/ap/hyd $ CP /var/log/messags ------------&gt;&nbsp; (.) represents current location.</p>
<pre style="text-align: center;"><em><strong>Learn more about Linux&nbsp;Interview Questions in this blog post. 
Interested in mastering Linux&nbsp;? Check out this blog post to learn more <a href="https://tekslate.com/linux-training/" target="_blank" rel="noopener">Linux Training</a></strong></em></pre>
<ul>
<li><strong>MV:</strong> Moves or renames files and directories.</li>
</ul>
<p><strong>Syn:</strong>&nbsp; &nbsp;mv [options} SOURCE DEST --- V &nbsp; --&gt;&nbsp;verbose</p>
<ul>
<li><strong>Rename the file by specifying the file name &amp; new name of the files</strong></li>
</ul>
<p>Mv messages messages.bak &nbsp;</p>
<ul>
<li>Move it to the test directory for safe keeping:</li>
</ul>
<p>Mv messages. Bak test/ $ls test</p>
<ul>
<li><strong>Rm:</strong> Deletes files or directories</li>
</ul>
<p><strong>Syn:</strong> &nbsp;rm [options} FILE ---&nbsp;&nbsp;&nbsp; i &nbsp;<strong>---&gt;&nbsp;</strong>interactive ---&nbsp;&nbsp; r <strong>---&gt;&nbsp;</strong>Recursively ---&nbsp;&nbsp; f &nbsp;<strong>---&gt;&nbsp;</strong>Forcefully</p>
<ul>
<li><strong>Delete the messages.bak file:</strong></li>
</ul>
<p>$cd test $rm&nbsp;&nbsp; - I&nbsp; messages. Bak</p>
<ul>
<li><strong>Delete the test directory:</strong></li>
</ul>
<p>$ cd .. $ rm&nbsp; - rf test/</p>
<ul>
<li><strong>File:</strong> Displays the type of a file</li>
</ul>
<p><strong>Syn:</strong> &nbsp;file &lt;file name&gt; <strong>Ex:</strong> &nbsp;$ file test1 Test1: empty $ file /etc/passwd Password : ASCII test. <strong>For indepth understanding of&nbsp;Linux click on</strong></p>
<ul>
<li class="title"><a class="current-page" href="https://tekslate.com/features-unixlinux/">Features of UNIX/LINUX</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/architecture-os/">Architecture of O/S</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/unix-introduction/">UNIX Introduction</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/basic-commands-unix/">Basic commands</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/user-administration-linux/">User Administration</a></li>
</ul>
<div class="tags">&nbsp;</div>d0:T3bdf,<h2>UISlider Using a Switch and a Slider</h2>
<ol>
<li><strong>Create a new View-based Name the application SwitchSlider.</strong></li>
<li><strong>Drag</strong> <strong>the png and edit_remove.png images from the resources folder to the Resources folder in Groups &amp; Files.</strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Add a Slider and a Switch from the Resize the slider to be larger, set the edit_remove .png as the minimum image and edit_add.png as the maximum image (Figure 12-16).</strong></li>
<li><strong>Notice that the Slider&rsquo;s minimum value is zero and maximum is Leave the values unchanged.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open SwitchSliderViewController and implement a method named handleSwitch and a method named handleSlider (Listings 12-3 and 12-4). Also implement a property for the UISwitch named </strong></li>
</ol>
<p>&nbsp; <img class="aligncenter wp-image-5274 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1053.png" alt="Slide105" width="675" height="574" /> &nbsp;</p>
<p style="text-align: center;">Figure 12-16 A view with a switch and a slider</p>
<ol>
<li><strong>Save and build.</strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Ensure</strong> <strong>File&rsquo;s</strong><strong> Owner has a SwitchSliderViewController for its type (it should already).</strong></li>
<li><strong>Connect</strong> <strong>the mySwitch outlet to the switch on the </strong></li>
<li><strong>Connect</strong> <strong>the handleSlider action to the slider&rsquo;s Value Changed </strong></li>
<li><strong>Connect</strong> <strong>the handleSwitch action to the switch&rsquo;s Value Changed </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go (Figure 12-17). Click the switch and it logs to the Debugger Change the slider&rsquo;s value to the far right. The switch&rsquo;s value changes to ON (Figure 12- 18).</strong></li>
</ol>
<p>&nbsp; <img class="aligncenter wp-image-5275 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1063.png" alt="Slide106" width="307" height="560" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 12-17 The application running in iPhone Simulator</p>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5276 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1072.png" alt="Slide107" width="716" height="561" /></p>
<p style="text-align: center;">&nbsp;Figure 12-18 Moving the slider to maximum value changes the switch&rsquo;s value</p>
<p>&nbsp; &nbsp; Listing 12-3 SwitchSliderViewController.h #import &lt;UIKit/UIKit.h&gt; @interface SwitchSliderViewController : UIViewController { IBOutlet UISwitch * mySwitch; } @property(nonatomic, retain) UISwitch * mySwitch;</p>
<ul>
<li>(IBAction) handleSwitch: (id) sender;</li>
<li>(IBAction) handleSlider: (id) sender;</li>
</ul>
<p>@end &nbsp; Listing 12-4 SwitchSliderViewController.m #import "SwitchSliderViewController.h" @implementation SwitchSliderViewController @synthesize mySwitch; - (IBAction) handleSwitch: (id) sender { if( [((UISwitch *) sender) isOn] == YES){ NSLog(@"It's on"); } else { NSLog(@"It's off"); } }</p>
<ul>
<li>(IBAction) handleSlider: (id) sender { NSLog(@"value: %f", ((UISlider *)sender).value);</li>
</ul>
<p>if( [((UISlider *) sender) value] == ((UISlider *) sender) .maximumValue) { [mySwitch setOn:YES]; } }</p>
<ul>
<li>(void)dealloc { [mySwitch release]; [super dealloc];</li>
</ul>
<p>} @end &nbsp;</p>
<h3>UITextField</h3>
<p>The iPhone uses the UITextField class to render text fields. A text field is associated with a keyboard that appears when a user taps in the text field. Keyboard styles include Number Pad, Phone Pad, URL, and several others. You can set the keyboard style programmatically or using Interface Builder (Figure 12-19). &nbsp; Figure 12-20 illustrates several other text field properties you might set. You can specify how text should be capitalized. Valid choices are None, Words, Sentences, and All Characters. You can also specify if the text field should attempt to correct spelling errors by setting the correction property to YES. If you wish the text field to be a password, then check the Secure checkbox in Interface Builder. Other properties you might wish changing are the text field&rsquo;s &nbsp; <img class="aligncenter wp-image-5277 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1082.png" alt="Slide108" width="293" height="628" /> &nbsp;</p>
<p style="text-align: center;">Figure 12-19 Setting a text field&rsquo;s keyboard type</p>
<p>border, background, font, and return key for the keyboard. Figure 12-20 shows the valid choices for a keyboard&rsquo;s return key. For a complete listing of properties and method available to you, refer to the UITextField Class Reference. &nbsp; &nbsp; <img class="aligncenter wp-image-5280 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1092.png" alt="Slide109" width="294" height="610" /></p>
<p style="text-align: center;">Figure 12-20 Valid choices for a keyboard&rsquo;s return key</p>
<p>&nbsp;</p>
<h3>Using UITextField (with a Number Pad)</h3>
<ol>
<li><strong>Create a new View-based Application named TextField.</strong></li>
<li><strong>Open xib in Interface Builder. Drag two UITextField controls from the</strong></li>
<li><strong>Select</strong> <strong>the second text field and in its inspector, change its Keyboard to Number </strong></li>
<li><strong>Select</strong> <strong>the first text field and change its Return Key to </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open TextFieldViewController in Xcode and implement the textFieldDone action (Listings 12-5 and 12-6). Also, add an IBOutlet for the second text field and implement the numberFieldDone </strong></li>
<li><strong>Save and then open xib in Interface Builder. Connect the textFieldDone action to the first text field&rsquo;s Did End on Exit event.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Notice that when finished editing the first text field, upon clicking Done, the text pad disappears. The number pad, though, has no Done key (Figure 12-21).</strong></li>
</ol>
<p>&nbsp; &nbsp;</p>
<p style="text-align: left;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Figure 12-21 The number pad has no Done key.</p>
<p>&nbsp; <img class="aligncenter wp-image-5283 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1107.png" alt="Slide110" width="650" height="523" /></p>
<p style="text-align: center;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Figure 12-22 Button is under two textfields</p>
<ol>
<li><strong>Open xib in Interface Builder and drag a button onto the view&rsquo;s canvas. Resize the button to cover the entire canvas.</strong></li>
<li><strong>In</strong> <strong>the Document window, expand the View and ensure the newly added button is behind the two text fields (Figure 12-22).</strong></li>
<li><strong>In</strong> <strong>the Inspector&rsquo;s Button Attributes pane, change the button&rsquo;s Type to custom and uncheck any checked drawing checkboxes (Figure 12-23).</strong></li>
<li><strong>Connect</strong> <strong>the numberField outlet to the second text Connect the numberFieldDone action to the Touch Up Inside event for the button added to the canvas (Figure 12-24).</strong></li>
<li><strong>Save and exit Interface Builder, then Click Build And Click the second text field and the number pad appears. Click anywhere outside the second text field and the number pad disappears (Figure 12-25).</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;</strong>Listing 12-5 TextFieldViewController.h #import &lt;UIKit/UIKit.h&gt; @interface TextFieldViewController : UIViewController { IBOutlet UITextField * numberField; } @property(nonatomic, retain) UITextField * numberField;</p>
<ul>
<li>(IBAction) textFieldDone: (id) sender;</li>
<li>(IBAction) numberFieldDone: (id) sender;</li>
</ul>
<p>@end &nbsp; <img class="aligncenter wp-image-5284 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide11110.png" alt="Slide111" width="499" height="268" /> <img class="aligncenter wp-image-5285 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1123.png" alt="Slide112" width="296" height="544" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 12-23 Changing button&rsquo;s type to Custom</p>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5286 size-big" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1133-768x298.png" alt="Slide113" width="768" height="298" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 12-24 Connecting the numberFieldDone action to the button</p>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5287 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1143.png" alt="Slide114" width="658" height="525" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 12-25 The number pad appears and disappears from the application</p>
<p>Listing 12-6 TextFieldViewController.m #import "TextFieldViewController.h" @implementation TextFieldViewController @synthesize numberField;(IBAction) textFieldDone: (id) sender { [sender resignFirstResponder]; }(IBAction) numberFieldDone: (id) sender { [numberField resignFirstResponder]; }(void)dealloc { [numberField release]; } @end</p>
<h3>&nbsp;</h3>
<h3>UITextView</h3>
<p>Use a UITextView to capture multiple lines of text. Apple&rsquo;s reference documentation describes this control best: ―The UITextView class implements the behavior for a scrollable, multiline text region.‖ There is not really much more you can say about a text view, other than it&rsquo;s a text area,it is generally used for entering paragraphs of text rather than a single line. There are several properties you can set to customize the control&rsquo;s appearance; including, the font, textColor, editable, and textAlignment properties. You can also check if it has text using the hasText method. Figure 12-26 illustrates several properties you might wish setting for a UITextView in Interface Builder. For more information on the UITextView, refer to the UITextView Class Reference. &nbsp; <img class="aligncenter wp-image-5288 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1153.png" alt="Slide115" width="294" height="593" /> &nbsp;</p>
<p style="text-align: center;">Figure 12-26 UITextView properties you might wish setting in Interface Builder</p>
<p>&nbsp; A segmented control groups together two or more segments, where each segment acts as an independent button. The next task illustrates a segmented control. &nbsp; Using a UISegmentedControl</p>
<ol>
<li><strong>Create a new View-based Application named segment. </strong></li>
<li><strong>Add the images png and wizard.png from the resources folder to the Resources folder in Groups &amp; Files.</strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Add a Segmented Control to the view&rsquo;s </strong></li>
<li><strong>Change the control so it has three Change the zero segment&rsquo;s name to Kids,</strong><strong>the first segment&rsquo;s image to colorize.png image, and the second segment&rsquo;s image to wizard .png (Figure 12-27). Change the control&rsquo;s style to Bordered.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5289 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1163.png" alt="Slide116" width="305" height="477" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 12-27 Modifying the segmented control in Interface builder</p>
<p>&nbsp; &nbsp; &nbsp; <img class="aligncenter wp-image-5290 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1173.png" alt="Slide117" width="650" height="503" /> &nbsp; <img class="aligncenter wp-image-5291 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1183.png" alt="Slide118" width="278" height="499" /> &nbsp;</p>
<p style="text-align: center;">Figure 12-28 The application running in iPhone Simulator</p>
<p>&nbsp;</p>
<ol>
<li><strong>Save and exit Interface builder.</strong></li>
<li><strong>Open SegmentViewController&nbsp;&nbsp;&nbsp; and&nbsp;&nbsp;&nbsp;&nbsp; add&nbsp;&nbsp;&nbsp;&nbsp; an&nbsp;&nbsp;&nbsp; IBAction&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; called&nbsp;&nbsp;&nbsp; handleSegment&nbsp;&nbsp;&nbsp; to SegmentViewController (Listings 12-7 and 12-8).</strong></li>
<li><strong>Save and then open xib in Interface Builder.</strong></li>
<li><strong>Connect</strong> <strong>the segment&rsquo;s Value Changed event to the File&rsquo;s Owner handleSegment </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Figure 12-28 illustrates the application&rsquo;s appearance and Listing 12- 9</strong></li>
</ol>
<p><strong>contains the debugger console&rsquo;s logging.</strong> Listing 12-7 SegmentViewController.h #import &lt;UIKit/UIKit.h&gt; @interface SegmentViewController : UIViewController { } - (IBAction) handleSegment: (id) sender; @end Listing 12-8 SegmentViewController.m #import "SegmentViewController.h" @implementation SegmentViewController - (IBAction) handleSegment: (id) sender { UISegmentedControl * myseg = (UISegmentedControl *) sender; if(myseg.selectedSegmentIndex == 0) { NSLog(@"selected zero index..."); } else if(myseg.selectedSegmentIndex == 1) { NSLog(@"selected one index..."); } else { NSLog(@"selected two index..."); } } - (void)dealloc { [super dealloc]; } @end Listing 12-9 The debugger console&rsquo;s logging for application [Session started at 2009-03-15 15:31:19 -0400.] 2009-03-15 15:31:50.201 Segment[366:20b] selected one index... 2009-03-15 15:32:13.027 Segment[366:20b] selected two index... 2009-03-15 15:32:36.908 Segment[366:20b] selected zero index...</p>d1:T653f,<p><strong>1. Set Environment Variables</strong> <strong>1.1</strong>. Login as Oracle user. <strong>1.2.</strong> Change directory to, $ cd /oracle/ visappl (11i) $ cd /d01/oracle/VIS/apps/apps_st/appl (R12) <strong>1.3</strong>. Execute APPSORA.env $. ./APPSORA.env &lt; ENTER&gt; <strong>Note:</strong> Make sure that there are double dots with space between them, . ./APPSORA.env &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;-------------------------***********---------------------------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>2. Stop Apps Services (on all nod</strong>es) <strong>2.1</strong>. Change directory to, $ cd /oracle/ viscomn/admin/scripts/VIS_vision (11i) $ cd /d01/oracle/VIS/ inst/apps/VIS_vision/admin/ scripts (R12) <strong>2.2.</strong> Execute script adstpall.sh to stop apps services. <strong>2.3.</strong> $./ adstpall.sh apps/ apps (apps username and password) <strong>Note:</strong> The scripts prompts provided here are of 11i as I found no major difference, so not&nbsp;provided R12 execution.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>You are running adstpall.sh version 115.17Executing service control script:/oracle/ viscomn/admin/ scripts/VIS_vision/adapcctl.sh stop script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * adapcctl.sh version 115.43 Stopping Apache Web Server Listener (dedicated HTTP) ... Stopping Apache Web Server Listener (dedicated PLSQL) ... /oracle/ viscomn/ conf/VIS_vision/ iAS/Apache/Apache/bin/apachectl stop: httpd stopped adapcctl.sh: exiting with status 0 .end std out.</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>.end err out.* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *Executing service control script: /oracle/ viscomn/admin/ scripts/VIS_vision/adalnctl.sh stop script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * adalnctl.sh version Shutting down listener process APPS_vis. adalnctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /oracle/ viscomn/admin/ scripts/VIS_vision/adfrmctl.sh stop script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adfrmctl.sh version 115.34 Stopping forms server for vis on port 9000. adfrmctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /oracle/ viscomn/admin/ scripts/VIS_vision/adfmcctl.sh stop script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adfmcctl.sh version 115.17 Stopping forms load balancing client for vis. adfmcctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /oracle/ viscomn/admin/ scripts/VIS_vision/adfmsctl.sh stop script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adfmsctl.sh version 115.13 Stopping forms metrics server for vis on port 9200. adfmsctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Executing service control script:/oracle/ viscomn/admin/ scripts/VIS_vision/ jtffmctl.sh stopscript returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running jtffmctl.sh version 115.16 Shutting down Fulfillment Server for vis on port 9300 ... jtffmctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /oracle/ viscomn/admin/ scripts/VIS_vision/addisctl.sh stop script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * addisctl.sh version 115.14 OAD is stopped Osagent is stopped Locator is stopped Unable to stop gatekeeper. No process-id file found. Unable to stop any Discoverer Sessions. No process-id file found. Unable to stop any Discoverer Preference. No process-id file found. Unable to stop any Discoverer Collector. No process-id file found. addisctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * All enabled services on this node are stopped. Check logfile /</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;Note:</strong> Step 1 and 2 should be applied on all nodes. For demonstration I have performed on one&nbsp;node. &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;-------------------------***********---------------------------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <strong>3. Enable Maintenance Mode</strong> <strong>3.1.</strong> Use adadmin to change maintenance mode. <strong>3.2.</strong> Change folder to, $ cd /oracle/ visappl/ad/11.5.0/bin (11i) $ cd /d01/oracle/VIS/apps/apps_st/appl/ad/12.0.0/bin (R12) <strong>3.3.</strong> Execute script $./ adadmin</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Oracle Applications AD AdministrationVersion 11.5.0NOTE: You may not use this utility for custom development unless you have written permission from Oracle Corporation. Your default directory is '/oracle/ visappl'. Is this the correct APPL_TOP [Yes] ? AD Administration records your AD Administration session in a text file you specify. Enter your AD Administration log file name or press [Return] to accept the default file name shown in brackets. Filename [adadmin.log] : * * * * * * * * * * * * * Start of AD Administration session * * * * * * * * * * * * * AD Administration version: 11.5.0 AD Administration started at: Fri Sep 01 2006 11:26:39 APPL_TOP is set to /oracle/ visappl You can be notified by email if a failure occurs. Do you wish to activate this feature [No] ? Please enter the batchsize [1000] : Please enter the name of the Oracle Applications System that this APPL_TOP belongs to. The Applications System name must be unique across all Oracle Applications Systems at your site, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter. Sample Applications System names are: "prod", "test", "demo" and "Development_2". Applications System Name [ vis] : vis * NOTE: I f you do not currently have certain types of files installed in this APPL_TOP, you may not be able to perform certain tasks. Example 1: I f you don't have files used for installing or upgrading the database installed in this area, you cannot install or upgrade the database from this APPL_TOP. Example 2: I f you don't have forms files installed in this area, you cannot generate them or run them from this APPL_TOP. Example 3: I f you don't have concurrent program files installed in this area, you cannot relink concurrent programs or generate reports from this APPL_TOP. Do you currently have files used for installing or upgrading the database installed in this APPL_TOP [YES] ? YES * Do you currently have Java and HTML files for HTML-based functionality installed in this APPL_TOP [NO] ? NO *</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Do you currently have Oracle Applications forms files installedin this APPL_TOP [NO] ? NO *Do you currently have concurrent program files installed in this APPL_TOP [YES] ? YES * Please enter the name Oracle Applications will use to identify this APPL_TOP. The APPL_TOP name you select must be unique within an Oracle Applications System, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter. Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1". APPL_TOP Name [ vision] : vision * You are about to use or modify Oracle Applications product tables in your ORACLE database 'vis' using ORACLE executables in '/oracle/ visora/8.0.6'. Is this the correct database [Yes] ? AD Administration needs the password for your 'SYSTEM' ORACLE schema in order to determine your installation configuration. Enter the password for your 'SYSTEM' ORACLE schema: The ORACLE username specified below for Application Object Library uniquely identifies your existing product group: APPLSYS Enter the ORACLE password of Application Object Library [APPS] : AD Administration is verifying your username/password. The status of various features in this run of AD Administration is: &lt; -Feature version in-&gt; Feature Active? APPLTOP Data model Flags ------------------------------ ------- -------- ----------- ----------- CHECKFILE Yes 1 1 Y N N Y N Y PREREQ Yes 6 6 Y N N Y N Y CONCURRENT_SESSIONS No 2 2 Y Y N Y Y N PATCH_TIMING Yes 2 2 Y N N Y N Y PATCH_HIST_IN_DB Yes 6 6 Y N N Y N Y SCHEMA_SWAP Yes 1 1 Y N N Y Y Y Identifier for the current session is 24933 Reading product information from file... Reading language and territory information from file... Reading language information from applUS.txt ... Reading database to see what industry is currently installed. Reading FND_LANGUAGES to see what is currently installed. Currently, the following language is installed: Code Language Status</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>US American English BaseYour base language will be AMERICAN.Setting up module information. Reading database for information about the modules. Saving module information. Reading database for information about the products. Reading database for information about how products depend on each other. Reading topfile.txt ... Saving product information. AD code level : [11i.AD.I .2] AD Administration Main Menu -------------------------------------------------- 1. Generate Applications Files menu 2. Maintain Applications Files menu 3. Compile/Reload Applications Database Entities menu 4. Maintain Applications Database Entities menu 5. Change Maintenance Mode 6. Exit AD Administration Enter your choice [6] : 5 Change Maintenance Mode ---------------------------------------- Maintenance Mode is currently: [Enabled] . Maintenance mode should normally be enabled when patching Oracle Applications and disabled when users are logged on to the system. See the Oracle Applications Maintenance Utilities manual for more information about maintenance mode. Please select an option: 1. Enable Maintenance Mode 2. Disable Maintenance Mode 3. Return to Main Menu Enter your choice [3] : 1 sqlplus -s &amp;un_apps/ * * * * * @/oracle/ visappl/ad/11.5.0/patch/115/ sql/adsetmmd.sql ENABLE Spawned Process 6370 Successfully enabled Maintenance Mode. Review the messages above, then press [Return] to continue. Backing up restart files, if any......Done. Change Maintenance Mode ---------------------------------------- Maintenance Mode is currently: [Enabled] . Maintenance mode should normally be enabled when patching Oracle Applications and disabled when users are logged on</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>to the system. See the Oracle Applications MaintenanceUtilities manual for more information about maintenance mode.Please select an option: 1. Enable Maintenance Mode 2. Disable Maintenance Mode 3. Return to Main Menu Enter your choice [3] : 3 AD Administration Main Menu -------------------------------------------------- 1. Generate Applications Files menu 2. Maintain Applications Files menu 3. Compile/Reload Applications Database Entities menu 4. Maintain Applications Database Entities menu 5. Change Maintenance Mode 6. Exit AD Administration Enter your choice [6] : 6 Backing up restart files, if any......Done. There is no timing information available for the current session. AD Administration is complete. Errors and warnings are listed in the log file /oracle/ visappl/admin/ vis/ log/adadmin.log and in other log files in the same directory.</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Warning:</strong> There should be no space in the folder names where patches are placed. <strong>&nbsp;</strong> &lt;&lt;&lt;&lt;&lt;&lt;&lt;-------------------------***********---------------------------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>4. Apply Patch using adpatch</strong> <strong>4.1.</strong> Unzip the downloaded patch from metalink. <strong>4.2.</strong> Open readme.html file from unzipped patch folder. <strong>4.3.</strong> View the following readme.html of patch # 4712852 for 11i. I have applied this patch&nbsp;for demonstration for this document. Those who are practicing on R12 should download&nbsp;any patch related to R12. <img class="alignnone wp-image-1838" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/914-460x358.png" alt="91" width="456" height="354" /> <strong>&nbsp;4.4</strong>. Follow all steps mentioned in readme.html of the patch you are going to apply. <strong>4.5. </strong>In this patch there is no extra step and we have to apply the driver file u4712852.drv.&nbsp;Oracle has changed the patch files and now only one file is included that is has prefix u&nbsp;+ patch number + .drv early patch had three files to apply with prefixes (c, d, g). &bull; The c copy driver (cXXXXXXX.drv) should be applied to Concurrent Processing/Admin/Forms/Web servers. &bull; The d database driver (dXXXXXXX.drv) should be applied to the Admin server. &bull; The g generate driver (g3016463.drv) should be applied to Concurrent Processing/Forms servers. <strong>4.6</strong>. Change folder to, $ cd /oracle/ visappl/ad/11.5.0/bin (11i) $ cd /d01/oracle/VIS/apps/apps_st/appl/ad/12.0.0/bin (R12) <strong>4.7.</strong> Execute $./ adpatch &lt; ENTER&gt; and follow the instructions and provide required information.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Copyright (c) 2002 Oracle CorporationRedwood Shores, California, USAOracle Applications AutoPatch Version 11.5.0 NOTE: You may not use this utility for custom development unless you have written permission from Oracle Corporation. Attention: AutoPatch no longer checks for unapplied pre-requisite patches. You must use OAM Patch Wizard for this feature. Alternatively, you can review the README for pre-requisite information. Your default directory is '/oracle/ visappl'. Is this the correct APPL_TOP [Yes] ? AutoPatch records your AutoPatch session in a text file you specify. Enter your AutoPatch log file name or press [Return] to accept the default file name shown in brackets. Filename [adpatch.log] : 4712852.log You can be notified by email if a failure occurs. Do you wish to activate this feature [No] ? Please enter the batchsize [1000] : Please enter the name of the Oracle Applications System that this APPL_TOP belongs to. The Applications System name must be unique across all Oracle Applications Systems at your site, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter. Sample Applications System names are: "prod", "test", "demo" and "Development_2". Applications System Name [ vis] : vis * NOTE: I f you do not currently have certain types of files installed in this APPL_TOP, you may not be able to perform certain tasks. Example 1: I f you don't have files used for installing or upgrading the database installed in this area, you cannot install or upgrade the database from this APPL_TOP. Example 2: I f you don't have forms files installed in this area, you cannot generate them or run them from this APPL_TOP. Example 3: I f you don't have concurrent program files installed in this area, you cannot relink concurrent programs or generate reports from this APPL_TOP. Do you currently have files used for installing or upgrading the database installed in this APPL_TOP [YES] ? YES * Do you currently have Java and HTML files for HTML-based functionality installed in this APPL_TOP [NO] ? NO *</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Do you currently have Oracle Applications forms files installedin this APPL_TOP [NO] ? NO *Do you currently have concurrent program files installed in this APPL_TOP [YES] ? YES * Please enter the name Oracle Applications will use to identify this APPL_TOP. The APPL_TOP name you select must be unique within an Oracle Applications System, must be from 1 to 30 characters long, may only contain alphanumeric and underscore characters, and must start with a letter. Sample APPL_TOP Names are: "prod_all", "demo3_forms2", and "forms1". APPL_TOP Name [ vision] : vision * You are about to apply a patch to the installation of Oracle Applications in your ORACLE database 'vis' using ORACLE executables in '/oracle/ visora/8.0.6'. Is this the correct database [Yes] ? AutoPatch needs the password for your 'SYSTEM' ORACLE schema in order to determine your installation configuration. Enter the password for your 'SYSTEM' ORACLE schema: The ORACLE username specified below for Application Object Library uniquely identifies your existing product group: APPLSYS Enter the ORACLE password of Application Object Library [APPS] : AutoPatch is verifying your username/password. The status of various features in this run of AutoPatch is: &lt; -Feature version in-&gt; Feature Active? APPLTOP Data model Flags ------------------------------ ------- -------- ----------- ----------- CHECKFILE Yes 1 1 Y N N Y N Y PREREQ Yes 6 6 Y N N Y N Y CONCURRENT_SESSIONS No 2 2 Y Y N Y Y N PATCH_TIMING Yes 2 2 Y N N Y N Y PATCH_HIST_IN_DB Yes 6 6 Y N N Y N Y SCHEMA_SWAP Yes 1 1 Y N N Y Y Y Identifier for the current session is 24935 Reading product information from file... Reading language and territory information from file... Reading language information from applUS.txt ... Reading database to see what industry is currently installed. Reading FND_LANGUAGES to see what is currently installed. Currently, the following language is installed: Code Language Status</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>---- --------------------------------------- ---------US American English BaseYour base language will be AMERICAN. Setting up module information. Reading database for information about the modules. Saving module information. Reading database for information about the products. Reading database for information about how products depend on each other. Reading topfile.txt ... Saving product information. AD code level : [11i.AD.I .2] Trying to obtain a lock... Attempting to instantiate the current-view snapshot... Was already instantiated. So no instantiation done this time. * * * * * * * * * * * * * * * * S T A R T O F U P L O A D * * * * * * * * * * * * * * * * Start date: Fri Sep 01 2006 12:07:48 0 "left over" javaupdates.txt files uploaded to DB: Fri Sep 01 2006 12:07:48 0 patches uploaded from the ADPSV format patch history files: Fri Sep 01 2006 12:07:48 Uploading information about files copied during the previous runs ... 0 "left over" filescopied_&lt; session_id&gt; .txt files uploaded to DB: Fri Sep 01 2006 12:07:48 * * * * * * * * * * * * * * * * * * E N D O F U P L O A D * * * * * * * * * * * * * * * * * * End date: Fri Sep 01 2006 12:07:48 Enter the directory where your Oracle Applications patch has been unloaded The default directory is [ /oracle/ visappl/ad/11.5.0/bin] : /DUMP/DUMP/patches/act_patch/4712852 Please enter the name of your AutoPatch driver file : u4712852.drv Getting Oracle Applications Release... Current installed release is 11.5.10.2 Reading patch driver file... Parsing and loading patch driver file... Processing line 10000. 16358 lines processed. Not checking patch integrity as integrity checking flag is turned off. Successfully read patch driver file. Determining target release... Current target release is 11.5.10.2 Determining which bug fixes to apply...</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Done determining which bug fixes to apply.Log and Info File sync point:Fri Sep 01 2006 12:09:49 Turning off actions that reference unrecognized products. Log and Info File sync point: Fri Sep 01 2006 12:09:49 End of unrecognized products checking. AD utilities can support a maximum of 999 workers. Your current database configuration supports a maximum of 91 workers. Oracle recommends that you use between 16 and 32 workers. Enter the number of parallel workers [16] : Done purging timing information for prior sessions. AutoPatch is complete. AutoPatch may have written informational messages to the file /oracle/ visappl/admin/ vis/ log/4712852.lgi Errors and warnings are listed in the log file /oracle/ visappl/admin/ vis/ log/4712852.log and in other log files in the same directory.</td>
</tr>
</tbody>
</table>
<p><strong>4.8.</strong> The status is AutoPatch is complete. as show above means the patch applied successfully. <strong>4.9</strong>. I f there are more than one patches then all patches should be applied before proceeding&nbsp;to the next disabling maintenance mode step. &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;-------------------------***********---------------------------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>5. Disabling Maintenance Mode</strong> <strong>5.1</strong>. The disabling steps are just same as enabling maintenance mode demonstrated above.&nbsp;Just to disable this time we will select 2 instead of 1, While all other steps are same. So&nbsp;I will not replicate the same text here. Please follow the topic Enable Maintenance Mode <strong>5.2.</strong> View the following slide.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Maintenance Mode is currently: [Enabled] .Maintenance mode should normally be enabled when patchingOracle Applications and disabled when users are logged on to the system. See the Oracle Applications Maintenance Utilities manual for more information about maintenance mode. Please select an option: 1. Enable Maintenance Mode 2. Disable Maintenance Mode 3. Return to Main Menu</td>
</tr>
</tbody>
</table>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Enter your choice [3] : 2sqlplus -s &amp;un_apps/ * * * * * @/oracle/ visappl/ad/11.5.0/patch/115/ sql/adsetmmd.sql DISABLESpawned Process 19922 Successfully disabled Maintenance Mode. Review the messages above, then press [Return] to continue. Backing up restart files, if any......Done. Change Maintenance Mode ---------------------------------------- Maintenance Mode is currently: [Disabled] .</td>
</tr>
</tbody>
</table>
<p>&nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;-------------------------***********---------------------------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>6. Start Apps Services</strong> <strong>6.1</strong>. Change directory to, $ cd /oracle/ viscomn/admin/scripts/VIS_vision (11i) $ cd /d01/oracle/VIS/ inst/apps/VIS_vision/admin/ scripts (R12) <strong>6.2.</strong> Execute script adstrtal.sh to start apps services. The file name is with single &ldquo; l&rdquo; of all as&nbsp;compare to adstpall.sh we used above to stop services. <strong>6.3.</strong> $./ adstrtal.sh apps/ apps (apps username and password)</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>You are running adstrtal.sh version 115.14Executing service control script:/oracle/ viscomn/admin/ scripts/ vis_vision/adalnctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * adalnctl.sh version Checking for FNDFS executable. Starting listener process APPS_vis. adalnctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /oracle/ viscomn/admin/ scripts/ vis_vision/adcmctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adcmctl.sh version 115.20 Starting concurrent manager for vis ... Starting vis_0901@vis Internal Concurrent Manager Default printer is noprint adcmctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /oracle/ viscomn/admin/ scripts/ vis_vision/adrepctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adrepctl.sh version 115.29 starting Reports Server for vis on port 7000. adrepctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * All enabled services for this node are started. Check logfile /oracle/ viscomn/admin/ log/ vis_vision/09011226.log for details Exiting with status 0</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>d2:T4bab,<p><strong>1. Prepare Source System - dbTier </strong> <strong>2. Preparing Source System - appsTier </strong> <strong>3. Copy the Source System to the Target System </strong> <strong>4. Configuring the Target System</strong> &nbsp; &nbsp; &nbsp; &nbsp; <strong>1. Prepare Source System - dbTier</strong> In the following demonstration we will clone our VISION single node instance to another VISION&nbsp;instance. Even in single node cloning we still have to perform activities like dbTier and appsTier&nbsp;just like two nodes. Here our source machine name is VISION and target is VISION2 while&nbsp;database VIS and VIS2 accordingly. The other change is that source directory structure is&nbsp;/u01/oracle while target /d01/oracle, this is not mandatory you can have same and if not then you will have to provide this information later in the steps. So note down all such information before&nbsp;proceeding. <strong>1.1</strong>. login as: oracle <strong>1.2</strong>. $ cd /u01/oracle/ visdb/9.2.0/appsutil/ scripts/VIS_vision/ <strong>1.3</strong>. $ perl adpreclone.pl dbTier pwd= apps</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Running Rapid Clone with command... perl /u01/oracle/ visdb/9.2.0/appsutil/bin/adclone.pl java= /u01/oracle/ visdb/9.2.0/ jre/1.4.2 mode= stage stage= /u01/oracle/ visdb/9.2.0/appsutil/ clone component= dbTier method= CUSTOM dbctx= /u01/oracle/ visdb/9.2.0/appsutil/VIS_vision.xml pwd= apps showProgress Beginning database tier Stage - Tue Sep 12 09:18:13 2006 Log file located at /u01/oracle/ visdb/9.2.0/appsutil/ log/VIS_vision/StageDBTier_09120918.log | 5% completed</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Running Rapid Clone with command...perl /u01/oracle/ visdb/9.2.0/appsutil/bin/adclone.pl java= /u01/oracle/ visdb/9.2.0/ jre/1.4.2 mode= stage stage= /u01/oracle/ visdb/9.2.0/appsutil/ clone component= dbTier method= CUSTOM dbctx= /u01/oracle/ visdb/9.2.0/appsutil/VIS_vision.xml pwd= apps showProgress Beginning database tier Stage - Tue Sep 12 09:18:13 2006 Log file located at /u01/oracle/ visdb/9.2.0/appsutil/ log/VIS_vision/StageDBTier_09120918.log Completed Stage... Tue Sep 12 09:24:47 2006</td>
</tr>
</tbody>
</table>
<p>&nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;---------------***********--------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>2. Preparing Source System - appsTier</strong> <strong>&nbsp;1.1.</strong> $ cd /u01/oracle/ viscomn/admin/ scripts/VIS_vision <strong>1.2.</strong> $ perl adpreclone.pl appsTier pwd= apps</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Running Rapid Clone with command... perl /u01/oracle/ visappl/ad/11.5.0/bin/adclone.pl java= /u01/oracle/ visora/ iAS/appsoui/ jre/1.3.1 mode= stage stage= /u01/oracle/ viscomn/ clone component= appsTier method= CUSTOM appctx= /u01/oracle/ visappl/admin/VIS_vision.xml pwd= apps showProgress Beginning application tier Stage - Tue Sep 12 09:33:58 2006 Log file located at /u01/oracle/ visappl/admin/VIS_vision/ log/StageAppsTier_09120933.log \ 8% completed</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Running Rapid Clone with command...perl /u01/oracle/ visappl/ad/11.5.0/bin/adclone.pl java= /u01/oracle/ visora/ iAS/appsoui/ jre/1.3.1 mode= stage stage= /u01/oracle/ viscomn/ clone component= appsTier method= CUSTOM appctx= /u01/oracle/ visappl/admin/VIS_vision.xml pwd= apps showProgress Beginning application tier Stage - Tue Sep 12 09:33:58 2006 Log file located at /u01/oracle/ visappl/admin/VIS_vision/ log/StageAppsTier_09120933.log Completed Stage... Tue Sep 12 09:40:31 2006 VIS-/u01/oracle/ viscomn/admin/ scripts/VIS_vision&gt;</td>
</tr>
</tbody>
</table>
<p>&nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;---------------***********--------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <strong>3. Copy the Source System to the Target System</strong> <strong>3.1.</strong> Shut down the services on both tiers. <strong>3.2</strong>. Copy Source System in the following order, <strong>Application tier file system</strong> Copy the following directories from the source node to the target node: <strong>1.</strong> &lt; APPL_TOP&gt; <strong>2.</strong> &lt;OA_HTML&gt; <strong>3</strong>. &lt;OA_JAVA&gt; <strong>4.</strong> &lt;OA_JRE_TOP&gt; <strong>5.</strong> &lt; COMMON_TOP&gt; /util <strong>6.</strong> &lt; COMMON_TOP&gt; / clone <strong>7</strong>. &lt; COMMON_TOP&gt; /_pages (when this directory exists) <strong>8</strong>. &lt; 806 ORACLE_HOME&gt; <strong>9</strong>. &lt; iAS ORACLE_HOME&gt; <strong>Database tier file system</strong> <strong>1</strong>. Perform a normal shutdown on source database <strong>2.</strong> Copy all the database files from the source to the target system <strong>3.</strong> Copy the source ORACLE_HOME to the target system <strong>Note</strong>: The above mentioned copying steps are provided by Oracle. The cloning with this selective&nbsp;folders copying gave error so we copied complete Oracle folder from source to target. The cloning&nbsp;with these selective folders will be provided later. &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;---------------***********--------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>4. Configuring the Target System</strong> <strong>4.1</strong>. Login as Oracle user <strong>4.2</strong>. Run adcfgclone.pl on database tier, and provide your feedback to each prompt as&nbsp;shown below. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>$ cd /d01/oracle/ visdb/9.2.0/appsutil/ clone/bin $ perl adcfgclone.pl dbTier Enter the APPS password [APPS] : apps First Creating a new context file for the cloned system. The program is going to ask you for information about the new system: Provide the values required for creation of the new Database Context file. Do you want to use a virtual hostname for the target node (y/n) [n] ?: Target instance is a Real Application Cluster (RAC) instance (y/n) [n] : Target System database name [VIS] :VIS2 Target system RDBMS ORACLE_HOME directory [ /u01/oracle/ visdb/9.2.0] : /d01/oracle/ visdb/9.2.0 Target system utl_file accessible directories list [ /usr/ tmp] : Number of DATA_TOP's on the target system [1] : Target system DATA_TOP 1 [ /u01/oracle/ visdata] : /d01/oracle/ visdata Do you want to preserve the Display set to vision:0.0 (y/n) [ y] ?:n Target system Display [ vision2:0.0] : Do you want to preserve the port values from the source system on the target system (y/n) [ y] ?:n Clone Context uses the same port pool mechanism as the Rapid Install Once you choose a port pool, Clone Context will validate the port availability. Enter the port pool number [0-99] : 0 Checking the port pool 0 done: Port Pool 0 is free Database port is 1521 Creating the new Database Context file from : /d01/oracle/ visdb/9.2.0/appsutil/ template/adxdbctx.tmp The new database context file has been created : /d01/oracle/ visdb/9.2.0/appsutil/VIS2_vision2.xml Log file located at /d01/oracle/ visdb/9.2.0/appsutil/ clone/bin/CloneContext_11080500.log Running Rapid Clone with command: registration to central inventory... ORACLE_HOME NAME : APPSDB_VIS2 ORACLE_HOME PATH : /d01/oracle/ visdb/9.2.0 Using Inventory location in /etc/oraInst.loc Log file located at /etc/oraInventory/ logs/OracleHomeCloner_11080506.log ORACLE_HOME /d01/oracle/ visdb/9.2.0 was registered successfully. Starting database listener for VIS2: Running: /d01/oracle/ visdb/9.2.0/appsutil/ scripts/VIS2_vision2/addlnctl.sh start VIS2 You are running addlnctl.sh version 115.6 Logfile: /d01/oracle/ visdb/9.2.0/appsutil/ log/VIS2_vision2/addlnctl.txt Starting listener process VIS2 ... Listener VIS2 has already been started. addlnctl.sh: exiting with status 0 [oracle@vision2 bin]$</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Note:</strong> The inputs in the above steps are in blue color while where default is accepted the&nbsp;ENTER key is pressed. Like &ldquo;Do you want to use a virtual hostname for the target node (y/n) [n] ?: &rdquo; the&nbsp;default is [n] so pressing just enter key means you selected n. <strong>4.3.</strong> Login as Oracle user on Applications Server. <strong>4.4.</strong> Now run adcfgclone.pl on Applications Tier, and provide your feedback to each prompt as shown below. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>$ cd /d01/oracle/ viscomn/ clone/bin $ perl adcfgclone.pl appsTier Enter the APPS password [APPS] : apps First Creating a new context file for the cloned system. The program is going to ask you for information about the new system: Provide the values required for creation of the new APPL_TOP Context file. Do you want to use a virtual hostname for the target node (y/n) [n] ?: Target system database SID [VIS] :VIS2 Target system database server node [ vision] :vision2 Target system database domain name [erpstuff.com] : Does the target system have more than one application tier server node (y/n) [n] ?: Is the target system APPL_TOP divided into multiple mount points (y/n) [n] ?: Target system APPL_TOP mount point [ /u01/oracle/ visappl] : /d01/oracle/ visappl Target system COMMON_TOP directory [ /u01/oracle/viscomn] : /d01/oracle/ viscomn Target system 8.0.6 ORACLE_HOME directory [ /u01/oracle/ visora/8.0.6] : /d01/oracle/ visora/8.0.6 Target system iAS ORACLE_HOME directory [ /u01/oracle/ visora/ iAS] : /d01/oracle/ visora/ iAS Do you want to preserve the Display set to vision.erpstuff.com:0.0 (y/n) [ y] ?:n Target system Display [ vision2:0.0] : Do you want to preserve the port values from the source system on the target system (y/n) [ y] ?:n Clone Context uses the same port pool mechanism as the Rapid Install Once you choose a port pool, Clone Context will validate the port availability. Enter the port pool number [0-99] : 0 Checking the port pool 0 done: Port Pool 0 is free Web Listener port is 8000 Complete port information available at /d01/oracle/ visappl/admin/out/VIS2_vision2/portpool.lst UTL_FILE_DIR on database tier consists of the following directories. 1. /usr/ tmp 2. /usr/ tmp 3. /d01/oracle/ visdb/9.2.0/appsutil/outbound/VIS2_vision2 4. /usr/ tmp Choose a value which will be set as APPLPTMP value on the target node [1] : Creating the new APPL_TOP Context file from : /d01/oracle/ visappl/ad/11.5.0/admin/ template/adxmlctx.tmp The new APPL_TOP context file has been created : /d01/oracle/ visappl/admin/VIS2_vision2.xml Log file located at /d01/oracle/ viscomn/ clone/bin/CloneContext_11080515.log Running Rapid Clone with command: perl /d01/oracle/ viscomn/ clone/bin/adclone.pl java= /d01/oracle/ viscomn/ clone/bin/ ../ jre mode= apply stage= /d01/oracle/ viscomn/ clone/bin/ .. component= appsTier method= CUSTOM appctxtg= /d01/oracle/ visappl/admin/VIS2_vision2.xml showProgress contextValidated= true Beginning application tier Apply - Wed Nov 8 17:18:21 2006 Log file located at /d01/oracle/ visappl/admin/VIS2_vision2/ log/ApplyAppsTier_11080518.log 17% completed ----------------------------------------------Completion Message-------------------------------------------------- Completed Apply... Wed Nov 8 17:24:17 2006 Beginning APPSIAS_VIS2 registration to central inventory... ORACLE_HOME NAME : APPSIAS_VIS2 ORACLE_HOME PATH : /d01/oracle/ visora/ iAS Using Inventory location in /etc/oraInst.loc Log file located at /etc/oraInventory/ logs/OracleHomeCloner_11080524.log ERROR: Registration Failed... Please check log file. You can rerun this registration with the following script: /d01/oracle/ viscomn/admin/out/VIS2_vision2/ regOUI_APPSIAS_VIS2.sh Starting application Services for VIS2: Running: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adstrtal.sh APPS/&lt; appspwd&gt; You are running adstrtal.sh version 115.14 Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adapcctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * adapcctl.sh version 115.43 Starting Apache Web Server Listener (dedicated HTTP) ... Starting Apache Web Server Listener (dedicated PLSQL) ... adapcctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adalnctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * adalnctl.sh version Checking for FNDFS executable. Starting listener process APPS_VIS2. adalnctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adcmctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adcmctl.sh version 115.20 Starting concurrent manager for VIS2 ... Starting VIS2_1108@VIS2 Internal Concurrent Manager Default printer is noprint adcmctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adfrmctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adfrmctl.sh version 115.34 Starting forms server for VIS2 on port 9000. adfrmctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adrepctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adrepctl.sh version 115.29 starting Reports Server for VIS2 on port 7000. adrepctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adfmcctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adfmcctl.sh version 115.17 Starting forms load balancing client for VIS2. adfmcctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/adfmsctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running adfmsctl.sh version 115.13 starting forms metrics server for VIS2. adfmsctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/ jtffmctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * You are running jtffmctl.sh version 115.16 Validating Fulfillment patch level via /d01/oracle/ viscomn/ java Fulfillment patch level validated. Starting Fulfillment Server for VIS2 on port 9300 ... jtffmctl.sh: exiting with status 0 &nbsp; .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Executing service control script: /d01/oracle/ viscomn/admin/ scripts/VIS2_vision2/addisctl.sh start script returned: * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * addisctl.sh version 115.14 /d01/oracle/ visora/8.0.6/ vbroker/bin/osagent Started osagent. Osagent logs messages to the file /d01/oracle/ visora/8.0.6/discwb4/util/osagent.log. Waiting for OAD to start... Started OAD. OAD logs messages to the file /d01/oracle/ visora/8.0.6/discwb4/util/oad.log. Discoverer Locator Started. Locator logs messages to the file /d01/oracle/ visora/8.0.6/discwb4/util/ locator.log. Registering Discoverer Session Completed registration of repository_id = IDL:DCISessionManager:1.0 object_name = vision2.erpstuff.com_8000OracleDiscovererSession4 reference data = path_name = /d01/oracle/ visora/8.0.6/discwb4/util/ runses.sh activation_policy = UNSHARED_SERVER args = (length= 4)[ -session; vision2.erpstuff.com_8000OracleDiscovererSession4; -preference; vision2.erpstuff.com._8000OracleDiscovererPreferences4; ] env = NONE for OAD on host 192.168.0.39 Registering the Collector Completed registration of repository_id = IDL:DCICollector:1.0 object_name = vision2.erpstuff.com_8000OracleDiscovererCollector4 reference data = path_name = /d01/oracle/ visora/8.0.6/discwb4/util/ runcol.sh activation_policy = SHARED_SERVER args = (length= 2)[ -collector; vision2.erpstuff.com_8000OracleDiscovererCollector4; ] env = NONE for OAD on host 192.168.0.39 Applying preferences from file : /d01/oracle/ visora/8.0.6/discwb4/util/pref.txt Finished applying preferences Closing down registry.. Registry File sync... Registering Discoverer Preference Repository Completed registration of repository_id = IDL:DCICORBAInterface:1.0 object_name = vision2.erpstuff.com_8000OracleDiscovererPreferences4 reference data = path_name = /d01/oracle/ visora/8.0.6/discwb4/util/ runpref.sh activation_policy = SHARED_SERVER args = (length= 2)[ -preference; vision2.erpstuff.com_8000OracleDiscovererPreferences4; ] env = NONE for OAD on host 192.168.0.39 addisctl.sh: exiting with status 0 .end std out. .end err out. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * All enabled services for this node are started. Check logfile /d01/oracle/ viscomn/admin/ log/VIS2_vision2/11081724.log for details Exiting with status 0 [oracle@vision2 bin]$</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Note:</strong> The inputs in the above steps are in blue color while where default is accepted the&nbsp;ENTER key is pressed. Like &ldquo;Do you want to use a virtual hostname for the target node (y/n) [n] ?: &rdquo; the&nbsp;default is [n] so pressing just enter key means you selected n. <strong>4.5.</strong> I f status of all services is 0 then we have done with cloning. <strong>4.6.</strong> Login in the application to confirm your cloning. <img class="alignnone wp-image-1933" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/921-460x282.png" alt="92" width="541" height="330" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>d3:T123a,<h2><strong>Using FNDCPASS to change the APPS password</strong></h2>
<p><strong>1.1.</strong> Login as oracle user on application tier,</p>
<p><strong>1.2.</strong> Set environment variables, $ cd /d01/oracle/ visappl $. ./ APPSORA.env $ echo $ORACLE_HOME /d01/oracle/ visora/8.0.6</p>
<p><strong>1.3.</strong> Enter FNDCPASS on command line to get help.</p>
<p><img class="alignnone wp-image-2217" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1241-460x125.png" alt="124" width="478" height="129" /></p>
<p><strong>1.4.</strong> Now we will change the password of APPS and APPLSYS with the following command, $ FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS welcome Log filename : L381345.log Report filename : O381345.out</p>
<p><strong>1.5.</strong> Open the log file using vi editor as above our log file is L381345.log as shown below.</p>
<p><img class="alignnone wp-image-2218" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/125-460x244.png" alt="125" width="485" height="257" /></p>
<p><strong>1.6.</strong> Check the status which is showing completed successfully.</p>
<p><strong>1.7.</strong> Now execute autoconfig. $ cd /d01/oracle/ viscomn/admin/ scripts/VIS_vision $ adautocfg.sh Enter the APPS user password: [here give our new password which is welcome]</p>
<p><img class="alignnone wp-image-2219" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/127-460x401.png" alt="127" width="472" height="411" /></p>
<p><strong>1.8.</strong> Wait for autoconfig completion and check the log file for any error using vi editor.</p>
<p><strong>1.9.</strong> I f successful then login to the application using browser. You can also check from&nbsp;sqlplus by login with new password. $ sqlplus apps/welcome</p>
<p><img class="alignnone wp-image-2220" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/128-460x156.png" alt="128" width="457" height="154" /> &nbsp; &nbsp;</p>
<p>&nbsp;</p>
<h3><strong>2. Changing Application User (sysadmin) Password</strong></h3>
<p><strong>2.1.</strong> Now we will use the USER mode to change the application user password like sysadmin.</p>
<p><strong>2.2</strong>. Enter the following command in which the new password is be welcome. $ FNDCPASS apps/apps 0 Y system/manager USER sysadmin welcome</p>
<p><strong>2.3.</strong> Check the log file if any error.</p>
<p><strong>2.4.</strong> Open the application and login as sysadmin with this new password. &nbsp; &nbsp;</p>
<p>&nbsp;</p>
<h3><strong>3. Change Single Oracle User Password</strong></h3>
<p><strong>3.1.</strong> To change single Oracle user password like changing the password of GL, AP, AR etc we&nbsp;will use the following command with <span style="color: #236fa1;"><a style="color: #236fa1;" title="Oracle SOA Training" href="https://tekslate.com/oracle-soa-training" target="_blank">ORACLE</a></span> mode. $ FNDCPASS apps/apps 0 Y system/manager ORACLE GL gl123 <strong>3.2.</strong> Check the log file if any error.</p>
<p><strong>3.3</strong>. To verify the change open sqlplus, $ sqlplus gl/gl123</p>
<p><img class="alignnone wp-image-2221" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/129-460x153.png" alt="129" width="473" height="156" /> &nbsp; &nbsp;</p>
<h3>&nbsp;</h3>
<h3><strong>4. Change All Oracle Users Passwords</strong></h3>
<p><strong>4.1.</strong> To use the ALLORACLE mode of FNDCPASS you will have to apply a stand alone patch# 4745998 (30MB) or its latest replacement patch# 4676589 (330MB). You will have to download it from metalink and apply.</p>
<p><img class="alignnone wp-image-2222" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/130-460x518.png" alt="130" width="508" height="573" /></p>
<p><strong>Note:</strong> There are 3 types of schema passwords,</p>
<p><strong>1.</strong> First type is APPLSYSPUB and the default password is 'PUB'.</p>
<p><strong>2.</strong> The 2nd type are schemas APPLSYS and APPS and the default password of both is 'APPS'.</p>
<p><strong>3.</strong> In 3rd type the product-specific base schemas having same passwords as schema name like GL/GL.</p>
<p><strong>Important:</strong> The ALLORACLE mode is used to change password of 3rd type schemas.</p>
<p><strong>4.2.</strong> Execute the following command $ FNDCPASS apps/apps 0 Y system/manager ALLORACLE welcome</p>
<p><strong>4.3.</strong> Check the log file if any error.</p>
<p><strong>4.4.</strong> Now execute autoconfig.</p>
<p><strong>4.5.</strong> Check the log file if not successfully completed. &nbsp;</p>d4:T20ad,<h2><span style="color: #000000;">Collections in Salesforce</span></h2>
<p><strong>Collections:- </strong>Collections are the group of similar types Apex has the following types of Collections</p>
<ul>
<li>Lists</li>
<li>Maps</li>
<li>Sets</li>
</ul>
<p>There is no limit on the number of items a collection can hold However there is a general limit on heap size.</p>
<h3><span style="color: #000000;"><strong>Lists</strong></span></h3>
<p style="padding-left: 30px;">A list is an ordered collection of typed primitives SObjects, user-defined objects, Apex objects or collections that are distinguished by their includes.</p>
<table style="width: 166px; height: 24px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>40</td>
<td>90</td>
<td>50</td>
<td>70</td>
<td>&nbsp;20</td>
</tr>
</tbody>
</table>
<p>0 &nbsp; &nbsp; &nbsp; &nbsp; 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2 &nbsp; &nbsp; &nbsp; 3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4</p>
<ul>
<li>The index position of the first element in a list is always &lsquo;0&rsquo;</li>
</ul>
<ul>
<li>To declare a list, use the list keyword followed by the primitive data, SObject, nested list, map, or set type within &lt; &gt; characters</li>
</ul>
<p><strong>List&lt; String &gt; Mylist= new list&lt;string&gt;();</strong></p>
<p style="padding-left: 30px;">This will store the block of memory at the database</p>
<p><strong>List &lt;List&lt;set&lt;Integer&gt;&gt;&gt;mylist2= new list &lt;list&lt;set&lt;Integer&gt;&gt;&gt;(); </strong>Nested List <strong>Note:- </strong>A list can only contain up to five levels of nested collections inside it. *The following example describes us about the retrieving 100 accounts stored in variable. <strong>List&lt;Account&gt; accs= select Id,Name FROM Account limit 100 ;</strong></p>
<p style="padding-left: 30px;">*To access elements in a list, use the system methods provided by Apex.</p>
<p><strong>Ex:- List&lt;Integer&gt; Li=new list&lt;Integer&gt;(); </strong>Define a new List <strong>Li.add(47); </strong>&nbsp;adds a second element of value 47 to the end of the list <strong>Integer x= Li.get(1);</strong>Retrieves the element at index 1. <strong>Li.Set(0,73);</strong>&nbsp;adds the integer 73 to the list at index o <strong>Li.clear();</strong><strong>&nbsp;&nbsp;---&gt;&nbsp;</strong>&nbsp;removes all elements from the list<strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</strong><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</strong> *Go to the Developer console and execute the following code and check the result by going through USER-DEBUG <strong>List&lt;String&gt; Li=new List&lt;string&gt;();</strong> <strong>Li.add('Anil');</strong> <strong>Li.add('sateesh');</strong> <strong>Li.add('nagaraju');</strong> <strong>System.debug(Li);&nbsp; </strong>&agrave; the o/p from this line is</p>
<table style="width: 146px; height: 24px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Anail</td>
<td>Laxman</td>
<td>vissu</td>
<td>Ramu</td>
<td>Sita</td>
</tr>
</tbody>
</table>
<p>0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;3 &nbsp; &nbsp; &nbsp; &nbsp; 4 &nbsp; &nbsp; &nbsp; 5</p>
<pre>String name = Li.get (0);
System.debug (name); <strong>---&gt;&nbsp;</strong>the o/p from this line is ANIL
Li.set(2, &lsquo;sanjeev&rsquo;);
System debug (Li); &nbsp;<strong>---&gt;&nbsp;</strong>&nbsp; &nbsp; &nbsp;the o/p from this line is
Li.clear (); &nbsp; <strong>---&gt;&nbsp;</strong>&nbsp; clear all elements in a list
System.debug (li); &nbsp;<strong>---&gt;&nbsp;</strong>the o/p from this line is null.</pre>
<p><strong>Note:- </strong>In a list, we can add Duplicate values that is duplicate values will be allowed inside a list.</p>
<pre><em><strong>Aspired to become an Salesforce? Explore the post to discover the know-hows on <a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce Online Training</a>.</strong></em></pre>
<h3><span style="color: #000000;"><strong>Sets</strong></span></h3>
<p>A set is an unordered collection of primitives or SObjects that do not contain any duplicate elements.To declare a set, use the set keyword followed by the primitive data type name within &lt; &gt; characters <strong>Ex:- </strong></p>
<pre>set &lt;string&gt; s= new set &lt; string &gt; ();
To access elements in a set use the system methods provided by Apex.
&lt;Integer&gt; s=new set &lt;Integer&gt;(); <strong>---&gt;&nbsp;</strong>&nbsp; Define a new set
S.add (1); &nbsp; &nbsp;<strong>---&gt;&nbsp;</strong> Adding an element to the set
Boolean b= s.contains(1); &nbsp; &nbsp;<strong>---&gt;&nbsp;</strong>It will returns true when the element&nbsp;&lsquo;1&rsquo; contains within the set.
s.remove (1); &nbsp;<strong>---&gt;&nbsp;</strong>Remove the element from the set
*Go to the Developer console and execute the following code and check the result by going through USER-DEBUG();
Set &lt;string&gt; s=new set &lt;string&gt;(); s.add(&lsquo;red&rsquo;);
s.add(&lsquo;bule&rsquo;);
s.add(&lsquo;Black&rsquo;);
s.add('green');
system.debug (s);
This statement gives the o/p below
{Black, blue ,green ,red ]
s.remove ('green'); system.debug (s);
This statement gives the Output as below {Black, blue, red}
s.add ('red'); system.debug(s)</pre>
<p>#### This statement gives the o/p as below {black, blue, red} because the set will not allow duplicate values inside it Boolean b= s.contains ('black') ###Returns true when the value 'black' is within set and it returns "False" when the value 'black' is not there within set. *Uniqueness of sobjects is determined by comparing fields <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; EX:-</strong>If we try to add two accounts with the same name to a set,only one is added.</p>
<pre style="padding-left: 30px;">//Create two accounts a1 and a2
Account a1=new account (Name='Test Account');
Account a2=new account (Name='Test Account');
//Add both accounts to the new set
set&lt;Account&gt; acc set = new set &lt;Account &gt; {a1,a2};
system.assertEquals (accset.size(),1);</pre>
<p>This statement is used to verify the set only contains one item.</p>
<h3><span style="color: #000000;"><strong>Maps:-</strong></span></h3>
<p>A map is a collection of key-value pairs where each unique key maps to a single value *Keys can be any primitive datatype while values can be primitive, sobject, collection type or Apex object. *To declare a map, use the Map keyword followed by the data types of the value within &lt; &gt; characters <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EX:-</strong></p>
<pre>Map &lt; string, string&gt; m=new map &lt;string, string&gt; ();
Map&lt;ID, set&lt;string&gt;&gt; m1=new Map&lt;ID, set &lt;string&gt;&gt;();
Map&lt;ID, Map &lt;ID,Account []&gt;&gt; m2=new map&lt;ID,Map&lt;ID,Account[]&gt;&gt;m2;
Similar to lists, map values can contain any collection and can be nested within one another. A map can only contain up to five levels of nested collections inside it.

The following example gives the information about how a map of contain and currencies
Country ----&gt; &nbsp;Key
currency---&gt; Value
Map&lt;string, string&gt; m= new Map&lt;string&gt; ();
m.put (&lsquo;India&rsquo;, 'Rupee&rsquo;);
m.put (&lsquo;us&rsquo;, 'Dollar'); &nbsp;&nbsp;&nbsp;Insert a new key value pair in the map
m.put (&lsquo;uk&rsquo;, 'Pounds');
system.debug (m);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the o/p of this line will be
{India= Rupee, us=Dolar, uk= pounds}
string currency = m.get('uk'); &agrave;Retrieve a value given a particular key system.debug (currency), &agrave; the o/p of this will be pounds
system.debug (m.keyset ()); &agrave; Return a set that contains all of the keys in the map.
system.debug (m.containkey ('uk'));</pre>
<p>This statement gives the true or false whether for particular key have a value or not. *<strong>&nbsp;&nbsp; EX:- </strong>Account a= new Account (Name='capital',Bullingcity='Hyd'); Map&lt;Integer, Account&gt; map1=new map&lt;integer, Account&gt; (); map1.put (1, a); &agrave;Insert a new key value pair in the map Map&lt;Integer, Account &gt;map2=map1.clone (); ###Makes a duplicate copy of the map system.debug ((map1.get (1) Billingcity)); ###This statement gives the Billingcity filed value of the value pair that is assigned to the key 1. Hyd</p>d5:T19ec,<h2><span style="color: #000000;">Controllers in Salesforce</span></h2>
<p><strong>Using S.Control's for UI (User Interface)</strong> The tool that allows application developers to display custom links (HTML) in a&nbsp;detail page or custom tab, this provides more flexibility for the fields and page layouts.&nbsp;But</p>
<ul>
<li>Executes from within a browser, causing poor performance if displaying or&nbsp;updating values for more than a few records at a time<strong>.</strong></li>
<li>Do not provide an easy way to give custom UI elements the same look-and-feel as&nbsp;standard SF pages.</li>
<li>Require developer to enforce field uniqueness and other metadata dependencies on&nbsp;their own.</li>
</ul>
<p><strong>Note:&nbsp;</strong>S.control's are suppressed by VF pages (Visual Force).After March 2010&nbsp;organizations that have never created S.Control's as well as new organizations, won't be&nbsp;allowed to create them Existing S.Control's will remain and can still be edited. These are the reasons why VF pages came in to existence; these are next generation&nbsp;solutions for building sophisticated user interfaces on the <a href="https://www.salesforce.com/in/?ir=1" target="_blank" rel="noopener">Force.com</a> platform.</p>
<h3><span style="color: #000000;"><strong><strong>What is Visulal Force?</strong></strong></span></h3>
<p>VF is a frame work that allows developers to build sophisticated, custom user interfaces&nbsp;that can be hosted natively on the Force.com platform.&nbsp;This includes a tag based markup language, similar to HTML. In VF markup language each VF tag corresponds to a coarse or fine-gained users&nbsp;interface components such as</p>
<ul>
<li>Section of page</li>
<li>A related list or a field</li>
</ul>
<p>The behavior of VF components can be controlled by the same logic that is used in&nbsp;standard SF pages, or developer can associated their own logic with a controller class written in APEX.</p>
<pre style="text-align: center;"><strong><em>Inclined to build a profession as Salesforce APEX Developer? Then here is the blog post on 
<a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Salesforce&nbsp;</a><a href="https://tekslate.com/salesforce-training/" target="_blank" rel="noopener">Training and Certification.</a></em></strong></pre>
<p><strong>EX:-</strong></p>
<pre>Tag in VF are &lt;apex:page&gt;
 &lt;apex:page Block&gt;
 &lt;apex:page Block Buttons&gt;
 &lt;apex: page Block section&gt;
 ` &lt;apex:page Block section Item&gt;
 &lt;apex:page Block Table&gt;<strong> ------&gt;</strong> Tags related to a page tags</pre>
<h3><span style="color: #000000;"><strong>Input field tags:</strong></span></h3>
<pre style="padding-left: 30px;">&lt;apex:inputcheckbox&gt;
&lt;apex:inputField&gt;
&lt;apex:input File&gt;
&lt;apex:inputHidden&gt;
&lt;apex:inputsecret&gt;
&lt;apex:input text &gt;
&lt;apex:input text area&gt;</pre>
<h3><span style="color: #000000;"><strong>Select tags:</strong></span></h3>
<pre style="padding-left: 30px;">&lt;apex:selectioncheckbox&gt;
&lt;apex:Selection list&gt;
&lt;apex:selectoption&gt;
&lt;apex:select options&gt;
&lt;apex:select Radio&gt;
&lt;apex:variable&gt;
&lt;apex:vote&gt;</pre>
<h3><span style="color: #000000;"><strong>Output field Tags:</strong></span></h3>
<pre style="padding-left: 30px;">&lt;apex:output Field&gt;
 &lt;apex:output label&gt;
 &lt;apex:output link&gt;
 &lt;apex:output pannel&gt;
 &lt;apex:output text&gt;</pre>
<p>Like this there are around 90 tags in VF and each tag full fills request such as defining a&nbsp;page, page block field, toolbar these tags can be divided into</p>
<ul>
<li>Input tags</li>
<li>Output tags</li>
<li>Select tags</li>
<li>Form tags</li>
<li>Page tags and so on&hellip;</li>
</ul>
<p>Using these tags developers can create a VF page definition. It consists of two primary elements. VF Markup&nbsp;<strong>---&gt;</strong> AVF&nbsp;<strong>---&gt;</strong> Controller</p>
<h3><span style="color: #000000;"><strong>VF Markup:</strong></span></h3>
<p style="padding-left: 30px;">Visual force Markup consists of VF tags, HTML, JavaScript and many&nbsp;other web-enabled code embedded within a single &lt;apex: page&gt;tag.&nbsp;This defines the user interface components that should be include on the&nbsp;pages, and the way they should appear.</p>
<h3><span style="color: #000000;"><strong>VF Controllers:</strong></span></h3>
<p style="padding-left: 30px;">VF controller is a set of instructions that specifies what happens when a&nbsp;user interacts with UI components specified by VF markup, (such as when user clicks on&nbsp;the button on link).controller also provides access to the data that should be displayed on&nbsp;the page, and can modify component behavior.</p>
<p style="padding-left: 30px;">A developer can use a standard controller consists of the same functionality and&nbsp;logic that is used for a standard salesforce page.</p>
<p><strong>Note</strong>: If we use the standard Account controller, clicking a save button in VF page&nbsp;results in same behavior as clicking save button on Account edit page&nbsp;Using page layouts, we cannot have access to the objects in standard field, and display's&nbsp;an error called as insufficient privileges error message, we can avoid this by checking the&nbsp;user's accessibility for an object and displaying component approximately.</p>
<ul>
<li><strong>A standard list controller</strong> enables us to create VF pages that can display an act on&nbsp;a set of records like list pages, related lists, and mass action pages.</li>
<li><strong>Custom controller: </strong>it&rsquo;s a class written in Apex that implements all page's logic,&nbsp;without leveraging a standard controller, if we define this, we have to define new&nbsp;navigation elements or behaviors, but we must implement any functionality that&nbsp;was already provided in a standard controller.</li>
<li><strong>Controller extension:</strong> class written in Apex that adds to or overrides behavior in&nbsp;a standard or custom controller.</li>
</ul>
<p>Extensions allow us to leverage the functionality of another controller while&nbsp;adding your own logic. <strong>Visual Pages Force can be used:</strong> Developer can use VF pages to</p>
<ul>
<li>Override standard buttons, such as NEW button for accounts, save button for&nbsp;contacts.....</li>
<li>Define custom tab.</li>
<li>Embed components in detail page layout.</li>
<li>Create dashboard components on custom help pages.</li>
<li>Customize, extend on integrate the sideboards in the services cloud console (custom&nbsp;console components)</li>
</ul>
<p>&nbsp;</p>d6:T5c62,<h2>UITabBar and UITabBarController</h2>
<h3>Key Skills &amp; Concepts</h3>
<ul>
<li>Understanding tab bars</li>
<li>Using the tab bar Application template</li>
<li>Creating an Application that uses a tab bar</li>
<li>Adding tabs to a tab bar</li>
<li>Customizing a tab bar</li>
</ul>
<p>A &nbsp;tabbar consists of two or more tabs along a window&rsquo;s bottom. Each tab contains a view controller. As a user selects a tab, the tab loads its view controller, which in turn loads and displays its associated view. In this chapter, you explore creating tabbed applications. In the first task, you create a tabbed application using Xcode&rsquo;s Tab Bar Application template. After examining this template&rsquo;s results, you manually add a third tab to the tab bar. In the next task, you start with a Window-based Application template and create a two-tab application. In this task, you solidify your understanding by manually duplicating the steps taken by the Tab Bar Application template. The chapter&rsquo;s final task illustrates allowing users to customize a tab bar&rsquo;s tabs when it contains five or more tabs. &nbsp;</p>
<h3>UITabBar,UITabBarController,UITabBarItem,and UITabBarControllerDelegate</h3>
<p>The tab bar is useful for presenting different application subtasks or different views of the same data. If you own an iPhone or iPod touch, you are certainly familiar with a tab bar controller, as several applications use tab bars. The Clock application, for instance, has a tab bar containing tabs with different subtasks (Figure 8-1). Each tab is a different subtask: World Clock, Alarm, Stopwatch, and Timer. The iPod application illustrates a tab bar containing different views of the same data (Figure 8- 2). The Artists tab organizes your multimedia by artist; the Album tab organizes your media by album. Each tab is a different view of the same data, your iTunes multimedia. The iPod application illustrates another tab bar feature. When a tab bar has more than four tabs, it displays a More tab. Upon pressing More, the tab bar presents the remaining tabs in a selectable list (Figure 8-3). You can also modify the iPod application&rsquo;s tab bar using the Edit button. Clicking the Edit button displays the tabs in a view that allows you to modify which tabs are displayed in the tab bar (see Figure 8-3). When presented with an application that contains a task with multiple subtasks or an application that requires different views of the same data, use a tab bar. &nbsp; <img class="alignnone size-full wp-image-4420" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1616.png" alt="Slide16" width="302" height="456" /> <img class="alignright wp-image-4421" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1715.png" alt="Slide17" width="303" height="455" /> Figure 8-1 The Clock application has a tab for each subtask. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;Figure 8-2 The iPod application has&nbsp;a tab for each data view. &nbsp; <img class="alignnone size-full wp-image-4425" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1814.png" alt="Slide18" width="307" height="458" /> <img class="alignright wp-image-4423 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1911.png" alt="Slide19" width="307" height="461" /> Figure 8-3 The iPod application uses a More tab to display tabs. &nbsp; NOTE Do not use a tab bar for sequential navigation or data drill-down. The navigation control and tables are more appropriate choices for navigating sequential lists and data drill-down.You create a tab bar using the UITabBar class. A UITabBar displays two or more tabs along a window&rsquo;s bottom edge. Individual tabs are UITabBarItem class instances. You tie these classes together using the UITabBarController and UITabBarControllerDelegate. Each UITabBarItem contains its own view controller. Click a tab, and the UITabBarItem loads its view controller. The view controller displays its view. NOTE A tab&rsquo;s view controller might be an advanced view, like a table or a navigation controller. Chapter 9 illustrates placing a navigation controller in a tab. Chapter 10 illustrates placing a navigation controller in a tab and then a table in the navigation controller.A UITabBar has an associated UITabBarController and UITabBarDelegate. The UITabBarController manages the UIViewController objects in each tab. For instance, if a user wishes to add, remove, or rearrange tab bar items, the UITabBarController is responsible for implementing the behavior. You will see how to accomplish a rearrangeable tab bar later in this chapter. But first, consider the easiest tab bar implementation: the Tab Bar Application template. &nbsp;</p>
<h3>Using the Tab Bar Application Template</h3>
<p>The Tab Bar Application template is the easiest route to creating a tabbed application, and unlike last chapter&rsquo;s Single View Application template, this template is a more useful starting point for real-world projects. In this task, you create a simple tab bar application using the Tab Bar Application template. After examining the template&rsquo;s results, you manually add a third tab to the tab bar.</p>
<ol>
<li style="list-style-type: none;">
<ol>
<li><strong>Create a new Tab Bar Application by selecting the template in the New Project Name the project TabBarExOne.</strong></li>
<li><strong>In</strong> <strong>Groups</strong><strong> &amp; Files, expand Classes And At first glance, it appears the template created the same classes as it would for a View-based Application. However, the template added several tab bar related classes for you, making this a slightly more complex application.</strong></li>
<li><strong>Open h and notice the application&rsquo;s delegate adopts the UIT abBarControllerDelegate protocol. It also declares a UITabBarController property as an IBOutlet (Listing 8-1).</strong></li>
<li><strong>Open xib and review the document window. The template added a Tab Bar Controller.</strong></li>
<li><strong>The</strong> <strong>template</strong> <strong>also</strong> <strong>added</strong> <strong>TabBarExOneAppDelegate</strong> <strong>as a proxy object to MainView .xib. Review TabBarExOneAppDelegate&rsquo;s connections in the Notice Xcode added a tabBarController property as an IBOutlet. Interface Builder subsequently knew the application delegate had a tabBarController outlet and connected it to the Tab Bar Controller in the document window.</strong></li>
<li><strong>In</strong> <strong>the document window, in List View, expand Selected First View Controller (First) and notice the Tab Bar Item (First). The second view controller also has a tab bar item associated with</strong></li>
<li><strong>Highlight</strong> <strong>the second view controller in the document Notice in the controller&rsquo;s inspector that the UIViewController is from an external nib, the template specified the view controller&rsquo;s Nib name (Figure 8-4). Also notice the template took a shortcut. Rather than creating a UIViewController for the second SecondView.xib, it used a generic UIViewController. If you wished, you could easily remedy this by adding a new UIViewController class to the Xcode project and changing SecondView.xib&rsquo;s view controller&rsquo;s class to the class created.</strong></li>
<li><strong>Build</strong> <strong>and run the A simple two-tab application runs in the simulator.</strong></li>
</ol>
</li>
</ol>
<p>&nbsp; &nbsp; <img class="alignnone wp-image-4426" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide209-460x345.png" alt="Slide20" width="743" height="557" /> &nbsp; <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</strong>Figure 8-4 The second tab bar item&rsquo;s view controller is from another nib. &nbsp; Listing 8-1 The TabBarExOneAppDelegate adopts the UITabBarControllerDelegate protocol. #import &lt;UIKit/UIKit.h&gt; @interface TabBarExOneAppDelegate : NSObject &lt;UIApplicationDelegate, UITabBarControllerDelegate&gt; { UIWindow *window; UITabBarController *tabBarController; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UITabBarController *tabBarController; @end</p>
<ol>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>On the tab bar controller&rsquo;s canvas, click the tab bar item labeled Be careful&mdash;only click once. Clicking the item once selects the tab bar item&rsquo;s view controller. You know you clicked once if the Inspector tabs have ―View Controller‖ in their title.</strong></li>
<li><strong>Click</strong> <strong>the tab bar item twice, and you select the actual tab bar The Inspector tabs should have ―Tab Bar Item‖ in their title.</strong></li>
<li><strong>Save and close Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go and run the application in the </strong></li>
</ol>
<p><strong>&nbsp;</strong> The Tab Bar Application template generates a two-tabbed application. You will most certainly find situations where you need more tabs. Adding another tab to a tab bar is not difficult. In the next task, you add a third tab to the application. &nbsp;</p>
<h3>Adding a Tab Bar Item to a Tab Bar Application</h3>
<ol>
<li><strong>If closed,open the last task&rsquo;s application in Create another UIViewController and name the controller ThirdViewController. Ensure the checkbox that creates an accompanying xib is also selected. Xcode should generate the ThirdViewController.h, ThirdViewController.m, and ThirdViewController.xib files.</strong></li>
<li><strong>Open xib in Interface Builder. Change the view&rsquo;s color to something other than white. Save and exit Interface Builder.</strong></li>
<li><strong>Open xib in Interface Builder. Drag a UIViewController from the library to the document window. Change the UIViewController&rsquo;s class to ThirdViewController.</strong></li>
<li><strong>Highlight</strong> <strong>the tab bar controller and open its Tab Bar Attributes </strong></li>
<li><strong>Add a tab bar item to the View Controllers Name the item Search, and notice a third tab appears on the tab bar controller canvas.</strong></li>
<li><strong>Click</strong> <strong>the third tab bar item In the Inspector, change the class from UIViewController to ThirdViewController. Also change the nib name to ThirdViewController.</strong></li>
<li><strong>Click</strong> <strong>the third tab bar item two Change the tab&rsquo;s identifier to Search in the Tab Bar Item Attributes Inspector. A magnifying glass and Search appears in the tab (Figure 8-5).</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Build</strong> <strong>and run the application. The application now has a third tab bar item (Figure 8-6).</strong></li>
</ol>
<p>&nbsp; <img class="alignright wp-image-4427 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide2210.png" alt="Slide22" width="280" height="521" /> <strong>&nbsp;<img class="alignnone wp-image-4428" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide2112.png" alt="Slide21" width="327" height="516" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong>Figure 8-5 Changing a tab bar item&rsquo;s image to Search &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;Figure 8-6 Running the three-tab&nbsp;application in iPhone Simulator &nbsp; <strong>Creating a Tab Bar Application from Scratch</strong> Using a template is well and good, but doesn&rsquo;t teach you how to actually build a tabbed application (unless you are using the template). So in this task, you duplicate the Tab Bar Application template&rsquo;s steps, but start with a Window-based Application template and manually add the tab bar items to your project. It is no more difficult than using the template&mdash; just slightly more tedious.</p>
<ol>
<li><strong>Create a new Window-based Application and name it&nbsp;TabBarExTwo.</strong></li>
<li><strong>Open h and change it so it adopts the UITabBarController Delegate protocol (Listing 8-2). Add a UITabBarController property as an IBOutlet. The UITabBarControllerDelegate.h should appear like Listing 8-2. Don&rsquo;t forget to synthesize the controller in UITabBarControllerDelegate.m. Save and build.</strong></li>
<li><strong>Create</strong> <strong>a new UIViewController class and name it Be certain it also creates an associated xib. Xcode should generate the FirstViewController.h, FirstViewController.m, and FirstViewController.xib files.</strong></li>
<li><strong>Create</strong> <strong>another UIViewController and associated xib named </strong></li>
<li><strong>Open xib and change the view&rsquo;s color. Open SecondViewController xib and change the view&rsquo;s color.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open xib and add a UITabBarController to the document window. Interface Builder should show the tab bar controller&rsquo;s canvas.</strong></li>
<li><strong>Select</strong> <strong>the TabBarExTwoAppDelegate&rsquo;s Connections Inspector and connect its tabBarController outlet to the tab bar controller in the document </strong></li>
<li><strong>In</strong> <strong>the document window, ensure the view mode displays the items as a Expand the tab bar controller, select the Selected View Controller (Item 1), and change its class to FirstViewController in the First View Controller Identity Inspector. Change its Nib Name to FirstViewController.</strong></li>
<li><strong>Change View Controller (Item 2) to the SecondViewController, using the same steps as the previous Do not forget to set the NIB Name to SecondViewController in the Second View Controller Attributes Inspector.</strong></li>
<li><strong>Change the first tab&rsquo;s identifier to Recents and the second tab&rsquo;s identifier to Downloads (Figure 8-7).</strong></li>
<li><strong>Save and close Interface </strong></li>
<li><strong>Open TabBarExTwoAppDelegate.m. Add the tab bar controller to the applicationDidFinish Launching method (Listing 8-3).</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;<img class="alignnone size-full wp-image-4664" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide239.png" alt="Slide23" width="305" height="481" /></strong><strong>&nbsp;</strong> Figure 8-7 The first and second tab identifiers &nbsp; Listing 8-2 TabBarExTwoAppDelegate.h modified to use a UITabBarController #import &lt;UIKit/UIKit.h&gt; @interface TabBarExTwoAppDelegate : NSObject &lt;UIApplicationDelegate, UITabBarControllerDelegate&gt; { UIWindow *window; UITabBarController *tabBarController; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UITabBarController *tabBarController; @end Listing 8-3 TabBarExTwoAppDelegate.m modified to use a UITabBarController #import "TabBarExTwoAppDelegate.h" @implementation TabBarExTwoAppDelegate @synthesize window; @synthesize tabBarController;</p>
<ul>
<li>(void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview:tabBarController.view];</li>
</ul>
<p>[window makeKeyAndVisible]; }</p>
<ul>
<li>(void)dealloc { [window release];</li>
</ul>
<p>[tabBarController release]; [super dealloc]; } @end <strong>14.Click Build And Go, and a two-tab application runs in the iPhone Simulator (Figure 8-8).</strong> <strong>&nbsp;</strong> Figure 8-8 Two-tabbed application running in iPhone Simulator &nbsp; <img class="alignnone size-full wp-image-4430" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide248.png" alt="Slide24" width="312" height="571" /> &nbsp; &nbsp;</p>
<h3>Allowing Users to Customize a Tab Bar</h3>
<p>Sometimes you might wish to add more than four tabs to your application. However, the iPhone tab bar can only display four tabs and a More tab. When a user presses More, the excess tabs appear in a selectable list. By default, a navigation bar with an Edit button is displayed across the window&rsquo;s top. A user can then tap Edit and modify which tabs he or she wishes to see displayed on the tab bar.The default behavior is to allow all tab bar items to be editable. If you wish to modify this default and limit which tabs are editable, you must modify the toolbar. In this task, you add more than four tabs to the first task&rsquo;s tab bar. You then make the tab bar non-editable, followed by making only some tabs editable.</p>
<ol>
<li><strong>Open TabBarExOne and add a new view Name the class FourthViewController. Ensure it also creates an associated xib. Xcode should create the FourthViewController.h, FourthViewController.m, and FourthViewController.xib files.</strong></li>
<li><strong>Open xib in Interface Builder. Change the view&rsquo;s color.</strong></li>
<li><strong>Close</strong> <strong>xib</strong> <strong>and open MainWindow.xib in Interface Builder.</strong></li>
<li><strong>Add three more tabs by adding One, Two, and Three to the View Controllers in the Tab Bar Controller Attributes Inspector (Figure 8-9).</strong></li>
</ol>
<p>Figure 8-9 Adding three view controllers to the project &nbsp; <img class="alignnone size-full wp-image-4431" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide259.png" alt="Slide25" width="305" height="476" /> &nbsp; 5<strong>.Change each view controller&rsquo;s class to Also change each view controller&rsquo;s NIB name to FourthViewController.</strong> <strong>&nbsp;</strong> NOTE You would never use the same view controller for three different tabs in a real project.</p>
<ol>
<li><strong>Save and quit Interface builder.</strong></li>
<li><strong>Build</strong> <strong>and run in the iPhone Notice it added the fourth tab and a More tab (Figure 8-10). When you click the More tab, it displays a UITableView with the other two tabs (Figure 8-11). When you click either tab, the tab&rsquo;s associated view controller&rsquo;s view is displayed.</strong></li>
<li><strong>Click</strong> <strong>the Edit button, and a screen where you can configure the tab bar items is displayed (Figure 8-12).</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone wp-image-4666" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide266.png" alt="Slide26" width="286" height="528" /> <img class="alignright wp-image-4667 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide277.png" alt="" width="284" height="524" /></strong> <strong>&nbsp;</strong>Figure 8-10 Application displaying four&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; Figure 8-11 Clicking the More tab tabs and a More button. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; displays the remaining two tabs in a list. &nbsp; &nbsp; <img class="alignnone size-full wp-image-4670" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide285.png" alt="Slide28" width="262" height="498" /> <img class="alignright wp-image-4671 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide295.png" alt="Slide29" width="266" height="485" /> Figure 8-12 Clicking the Edit button displays&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Figure 8-13 Replacing a couple tabs with a view for configuring the tab bar&rsquo;s tabs.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Two and Three. &nbsp;</p>
<ol>
<li><strong>Try dragging Two and Three to the tab bar and replacing a couple of the other tabs (Figure 8-13). Click Done and exit the program.</strong></li>
<li style="text-align: left;"><strong> Open TabBarExOneAppDelegate.m and add the following line to the applicationDidFinish Launching method</strong><strong> tabBarController.customizableViewControllers</strong><strong> = nil;</strong></li>
</ol>
<ol start="3">
<li><strong>Click</strong> <strong>Build</strong> <strong>And Notice the Edit button appears but clicking it results in no tabs displayed.</strong></li>
<li><strong>Now modify applicationDidFinishLaunching Change the code so it matches Listing 8-4.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go. Notice you can only edit First and Second (Figure 8-14).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone size-full wp-image-4672" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide305.png" alt="Slide30" width="261" height="506" /></strong> Figure 8-14 Only First and Second are editable. &nbsp; Listing 8-4 Setting the customizableViewControllers - (void)applicationDidFinishLaunching:(UIApplication *)application { NSMutableArray * conts = [[[NSMutableArray alloc] init] autorelease]; [conts addObject:[tabBarController.viewControllers objectAtIndex:0]]; [conts addObject:[tabBarController.viewControllers objectAtIndex:1]]; tabBarController.customizableViewControllers = conts; [window addSubview:tabBarController.view]; } A tab bar&rsquo;s default behavior is to allow users to rearrange, delete, and add tabs when a tab bar contains more than four tabs. To disable editing all tabs, set the tab bar controller&rsquo;s customizableViewControllers to nil. To disable only some tags, add the tabs that should be editable to the customizableViewControllers. Tabs not added to customizableViewControllers are automatically made non-editable.</p>d7:T7b9f,<h2>UINavigationBar and UINavigationController</h2>
<h3>Key Skills &amp; Concepts</h3>
<ul>
<li>Understanding a UINavigationBar,UINavigationController,and a UINavigationItem</li>
<li>Understanding how to use a navigation bar in a simple application</li>
<li>Understanding how to programmatically manipulate a navigation bar&rsquo;s items</li>
<li>Adding a navigation bar to a tab in a tabbed application</li>
</ul>
<p>&nbsp; Anavigation bar is displayed along a window&rsquo;s top, just below the status bar. The navigation bar optionally contains a title for each view displayed and one or more buttons. Typically, the button on the bar&rsquo;s right, when clicked, takes the user to the next step in another view, although sometimes applications use the right button as a ―done‖ button. The button on the bar&rsquo;s left is a Back button, returning to the previous view. Navigation bars are often used with tables, where a table is displayed with a navigation bar above it. When a user clicks a table&rsquo;s rows, the navigation bar&rsquo;s associated navigation controller takes the user to more detailed information about the selected item. For instance, the App Store application allows a user to refine his or her categories until the application of interest is found (Figure 9-1). For instance, if a user clicked Games, the navigation controller would take the user to a Games subcategory. If the user then clicked All Games, the navigation controller would take the user to a table of all games in the App Store. If a user wished to go back a step, he or she would press the button on the navigation bar&rsquo;s upper-left area. This button is the Back button. Note the navigation controller labeled the button&rsquo;s title with the previous view&rsquo;s title. The navigation bar and navigation controller are useful for applications requiring hierarchical navigation, such as data drill-down. In the App Store application, you drill down to increasingly specific categories until reaching a list of items rather than further subcategories. When you select an item, it takes you to a more detailed view of your selection. Navigation bars are also useful for applications with multiple steps in a single task. In this chapter, you learn how to use a navigation bar and its associated classes. In the first task, you start with a Window-based application and manually create an application consisting of three views managed by a navigation controller. In the second task, you duplicate the Utility Application template. Although this template uses a navigation bar, the template is odd, compared to other Apple-provided templates. Rather than using Interface Builder, this template does almost everything using code. Moreover, this template uses a navigation bar without using an associated navigation controller. After finishing duplicating the Utility Application template, the chapter presents a navigation controller embedded in a tab bar&rsquo;s tab. This is perhaps this chapter&rsquo;s most useful task and should not be skipped. You will find embedding a navigation controller in a tab a ubiquitous requirement when developing iPhone applications. &nbsp; <img class="alignnone wp-image-4710" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide319-460x257.png" alt="Slide31" width="815" height="454" /> &nbsp; <img class="alignright wp-image-4713 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide325.png" alt="Slide32" width="308" height="462" /> <img class="alignnone wp-image-4718" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PowerPoint-Presentation.png" alt="New Microsoft PowerPoint Presentation" width="283" height="463" /> &nbsp; Figure 9-1 Using the App Store application &nbsp;</p>
<h3>UINavigationBar, UINavigationController and UINavigationItem</h3>
<p>Below the status bar but above the application window&rsquo;s content, many applications have a navigation bar. Navigation bars display the current view&rsquo;s title and contain one or more buttons for navigating to other screens. In this chapter&rsquo;s introduction, you viewed the App Store application, a typical use for a navigation bar. The Notes application also uses a navigation bar (Figure 9-2). The navigation bar appears above the yellow notepad. Upon clicking the + key, the navigation bar displays a new note page. The navigation bar&rsquo;s title is New Note and contains a back button labeled ―Notes‖ and a right button labeled ―Done.‖ Upon tapping either button, the application returns the user to the application&rsquo;s primary page.You add navigation bars to an application using the UINavigationBar class. You almost never use a UINavigationBar class directly, instead using UINavigationBar&rsquo;s controller, UINavigationController. You control a UINavigationBar using a UINavigation Controller. A UINavigationController uses a stack data structure to manage one or more view controllers. The first view controller, or the root view controller, is the first item on the stack. To navigate to other views, you push the view&rsquo;s view controller onto the stack. To return to the previous view, you pop the current view from the stack. &nbsp; <img class="alignnone wp-image-4724" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide335-460x291.png" alt="Slide33" width="806" height="508" /> &nbsp; Figure 9-2 The Notes App uses a navigation bar. &nbsp;</p>
<h3>Building a Three-View Application Using a Navigation Bar</h3>
<p>It is easiest to learn the UINavigationController by example. In this task, you create a simple application containing three views. You navigate between the three views using a navigation bar. The first view has a button on the navigation bar&rsquo;s right, which says ―Next.‖ Upon clicking the button, the application takes you to the next view. This view has a Back button and a button in the view rather than on the navigation bar. Upon clicking the button in the view, the application takes you to a third view. The third view has a navigation bar and a title. &nbsp;</p>
<ol>
<li><strong>Create a new Window-based Name the application ThreeViewNavCont.</strong></li>
<li><strong>Create</strong> <strong>three</strong> <strong>UIViewController</strong> <strong>classes,</strong> <strong>naming</strong> <strong>them FirstViewController, SecondViewController, and Be certain to also generate xib files for each class.</strong></li>
<li><strong>Open each of the xibs and change the view&rsquo;s color to a unique </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open xib and drag a navigation controller from the library to the Document window (Figure 9-3). Notice Interface Builder shows the navigation controller&rsquo;s canvas with a navigation bar and a view.</strong></li>
<li><strong>Select</strong> <strong>the navigation controller&rsquo;s view controller. You can do this through the document window, by clicking the disclosure arrow next to navigation controller and then selecting the view controller. Alternatively, you can select the view directly in the navigation controller&rsquo;s canvas. Change the controller&rsquo;s class to FirstViewController in the Inspector. Also change its NIB name to FirstViewController in the Inspector (Figure 9-4).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone wp-image-4726" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide345-460x451.png" alt="Slide34" width="812" height="796" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 9-3 Adding a navigation controller to MainWindow.xib &nbsp; &nbsp; <img class="alignnone wp-image-4728" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide355-460x309.png" alt="Slide35" width="816" height="547" /> <img class="alignnone wp-image-4729" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide365-460x423.png" alt="Slide36" width="475" height="436" /> &nbsp; Figure 9-4 Changing the view controller to FirstViewController</p>
<ol>
<li><strong>Save and exit Interface builder. </strong></li>
<li><strong>Open&nbsp;ThreeViewNavContAppDelegate.h in Xcode. Add a UINavigationControllerIBOutlet declaration to the header file (Listing 9-1).</strong></li>
</ol>
<p>Listing 9-1 ThreeViewNavContAppDelegate.h #import&lt;UIKit/UIKit.h&gt; @interface ThreeViewNavContAppDelegate : NSObject&lt;UIApplicationDelegate&gt; { IBOutlet UIWindow *window; IBOutlet UINavigationController * navController; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UINavigationController * navController; @end &nbsp;</p>
<ol start="9">
<li>Add the UINavigationController to m and add the UINavigationController&rsquo;s view to the window (Listing 9-2). Save and build.</li>
</ol>
<p>Listing 9-2 ThreeViewNavContAppDelegate.m #import "ThreeViewNavContAppDelegate.h" @implementation ThreeViewNavContAppDelegate @synthesize window; @synthesize navController;(void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview: view]; [window makeKeyAndVisible]; } (void)dealloc { [window release]; [navController release]; [super dealloc]; } @end &nbsp; &nbsp;</p>
<ol>
<li><strong>Open xib in Interface Builder. Right-click ThreeViewNavContApp Delegate in the document window and connect the navController outlet to the UINavigationController in the document window (Figure 9-5).</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the application, and FirstViewController&rsquo;s view should appear (Figure 9-6).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-4731" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide375-460x202.png" alt="Slide37" width="630" height="275" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 9-5 Connecting the navigation controller &nbsp; &nbsp; <img class="alignnone size-full wp-image-4734" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide385.png" alt="Slide38" width="307" height="564" /> &nbsp; Figure 9-6 The application running in iPhone Simulato &nbsp; The first step to using a navigation bar is to add a navigation controller to a document window. Upon adding the navigation controller, Interface Builder also adds a root view controller and you changed this view controller to your view controller. Making this connection in Interface Builder allows the nib to manage the property&rsquo;s life cycle. When you build and run the application, the application knows MainWindow.xib is the application&rsquo;s main nib and loads it. Upon loading, the nib initializes the objects it manages, which includes the navigation controller property, navController. The navigation controller loads its root view controller. Because the root view controller has an associated navigation item, the navigation controller adds a navigation bar above the view with the navigation item&rsquo;s title. Because MainWindow.xib handles all the application&rsquo;s initialization, all you do in the applicationDidFinishLaunching method is add the view to the window. After adding the navigation controller, you must provide navigation controls so a user can move from view to view. You can either add a button to the navigation bar itself or add a control to a view&rsquo;s canvas. The next few steps do both.</p>
<ol>
<li><strong>Open xib and select the navigation item in the document window (Figure 9- 7). Change the navigation item&rsquo;s title to First View.</strong></li>
<li><strong>Drag</strong> <strong>a bar button item from the library to the navigation bar (Figure 9-8). Rename the button ―Ne‖</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open h and add a new action called moveToNextView (Listing 9-3). Import SecondViewController and add SecondViewController as a property.</strong></li>
</ol>
<p>&nbsp; Figure 9-7 Selecting the navigation item in the Document window <img class="aligncenter wp-image-4737" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide394-460x204.png" alt="Slide39" width="584" height="259" /> &nbsp; &nbsp; <img class="aligncenter wp-image-4740 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide404.png" alt="Slide40" width="303" height="470" /> Figure 9-8 Adding a button to FirstViewController&rsquo;s navigation bar Listing &nbsp; 9-3 FirstViewController.h #import&lt;UIKit/UIKit.h&gt; #import "SecondViewController.h" @interface FirstViewController : UIViewController { SecondViewController * second; } @property (nonatomic, retain) SecondViewController * second; - (IBAction) moveToNextView: (id) sender; @end</p>
<ol start="7">
<li>Open m and implement moveToNextView, as in Listing 9-4. Listing 9-4 FirstViewController.m</li>
</ol>
<p>#import "FirstViewController.h" @implementation FirstViewController @synthesize second; - (IBAction) moveToNextView: (id) sender{ self.second = [[[SecondViewController alloc]&nbsp; initWithNibName:@"SecondViewController" bundle:nil] autorelease]; [self.navigationController pushViewController:self.second animated: YES]; } -(void)dealloc { [second release]; [super dealloc]; } @end</p>
<ol>
<li><strong>Build the application.</strong></li>
<li><strong>Open xib in Interface Builder, select the FirstViewController, and connect its moveToNextView action to the Next button (Figure 9-9).</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the Tapping the Next button results in the second view being displayed (Figure 9-10). Tap First View, and the application returns to the first view.</strong></li>
</ol>
<p>&nbsp; Figure 9-9 Connecting moveToNextView action to the navigation button &nbsp; <img class="aligncenter wp-image-4743" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide4111-460x473.png" alt="Slide41" width="466" height="480" /> &nbsp; <img class="aligncenter wp-image-4745 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide426-460x340.png" alt="Slide42" width="482" height="355" /> Figure 9-10 The application running in iPhone Simulator &nbsp; In step 13, you changed the default title to your view&rsquo;s title. Actually, to be specific, you changed the default title to your view controller&rsquo;s navigation item&rsquo;s title. In step 14, you added a bar button item to the navigation bar and set it as the navigation bar item&rsquo;s rightBarButtonItem. Establishing this connection ensures the application displays the button on the bar&rsquo;s right. You then created an action that, when clicked, pushes the second view controller onto the navigation controller&rsquo;s stack. The navigation controller displays this view and a navigation bar containing the new view&rsquo;s navigation bar element. Notice you must push view controllers onto the stack manually through code, as in Listing 9-4. [self.navigationController pushViewController:self.second animated: YES]; If a view controller is in a navigation controller&rsquo;s stack, then the navigationController property automatically refers to the navigation controller managing the stack. So, the navigation controller in ThreeViewNavContAppDelegate pushes FirstViewController&rsquo;s SecondViewController onto the stack. Note that setting the animated parameter to YES causes the view to slide in from the left.As the task illustrates, creating an application using a navigation controller and associated navigation bar is not difficult. The Back button, and popping a view controller from the navigation controller, is implemented for you. You provide the control and action to push view controllers onto the navigation controller&rsquo;s stack. &nbsp;</p>
<h3>Adding Another View</h3>
<p>You are not limited to bar buttons if you wish to push views onto a navigation controller&rsquo;s stack. In the following steps, you first add a bar button item to SecondViewController. You then add an additional button to SecondViewController&rsquo;s view, but instead of it being a bar button, you use a regular button.</p>
<ol>
<li><strong>Open the ThreeViewNavCont project in Xcode.</strong></li>
<li><strong>Open SecondViewController and add an IBOutlet for a UIBarButtonItem to SecondViewController as a Name the property navBut; don&rsquo;t forget to synthesize the property.</strong></li>
<li><strong>Open m and implement the viewDidLoad method to set the navigationItem&rsquo;s right bar button item to navBut. Note that every UIViewController has a navigationItem and that it is a read-only property.</strong></li>
<li><strong>Open xib in Interface Builder and add a new bar button item to the document window (Figure 9-11). Connect the newly added bar button item to the navBut outlet.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Build</strong> <strong>and run the application, and the second view now displays its title in the navigation bar (Figure 9-12). But notice, clicking the Next button in the navigation bar has no effect because you haven&rsquo;t connected it to a method </strong></li>
</ol>
<p>&nbsp; Figure 9-11 Adding a UIBarButtonItem <img class="aligncenter wp-image-4752" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide435.png" alt="Slide43" width="473" height="174" /> &nbsp; <img class="aligncenter wp-image-4753" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide444.png" alt="Slide44" width="236" height="426" /> &nbsp; Figure 9-12 The application displaying the second view controller&rsquo;s navigation item&rsquo;s title &nbsp; &nbsp;</p>
<ol>
<li><strong>Open h and add a new action called moveToNextView (Listing 9- 5). Import ThirdViewController and ThreeViewNavContAppDelegate. Add a ThirdViewController as a property.</strong></li>
<li><strong>Open m and implement moveToNextView, as in Listing 9-6. Save and build.</strong></li>
<li><strong>Open xib in Interface Builder. Connect the bar button&rsquo;s selector to the File&rsquo;s Owner moveToNextView action (Figure 9-13).</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Build</strong> <strong>and run the application. The second view now has a Next button and tapping it moves to the next view (Figure 9-14). Now consider pushing a view onto the stack using a regular button.</strong></li>
</ol>
<p>&nbsp; Figure 9-13 Connecting the bar button to the moveToNextView action <strong>&nbsp;<img class="aligncenter wp-image-4770" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide454-460x277.png" alt="Slide45" width="395" height="237" /></strong> <strong> </strong> &nbsp; <strong>&nbsp;<img class="alignright wp-image-4775 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide474.png" alt="Slide47" width="445" height="470" /> <img class="alignnone wp-image-4776 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide465-310x573.png" alt="Slide46" width="278" height="514" /></strong> <strong>&nbsp;</strong> Figure 9-14 The second view with a Next button&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Figure 9-15 Connecting button to moveToNextView method <strong>&nbsp;</strong> &nbsp;</p>
<ol>
<li><strong>Open xib and add a button to the view. Connect the button to moveToNextView (Figure 9-15). Connect to the button&rsquo;s Touch Up Inside action.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Build</strong> <strong>and run the Click the button on the second view, and it, too, navigates to the third view.</strong></li>
</ol>
<p>&nbsp; <strong>Using</strong> <strong>a button rather than a bar button item is that easy. Typically, though, in most iPhone</strong> applications, you will see a table in the view rather than a button (see Figure 9-1). For instance, SecondViewController might have an embedded table listing categories. Upon clicking a table row, you would invoke the moveToNextView method, passing the specific table row&rsquo;s identifier as a parameter. The App Store application is an example of this type of navigation (see Figure 9-1). &nbsp; Listing 9-5 SecondViewController.h #import&lt;UIKit/UIKit.h&gt; #import "ThirdViewController.h" @interface SecondViewController : UIViewController { ThirdViewController * third; IBOutlet UIBarButtonItem * navBut; } @property (nonatomic, retain) IBOutlet UIBarButtonItem * navBut; @property (nonatomic, retain) ThirdViewController * third; -(IBAction) moveToNextView: (id) sender; @end Listing 9-6 SecondViewController.m #import "SecondViewController.h" @implementation SecondViewController @synthesize third; @synthesize navBut;(void) viewDidLoad{ navigationItem.title = @"SecondView"; self.navigationItem.rightBarButtonItem = navBut; }(IBAction) moveToNextView: (id) sender{ third = [[[ThirdViewController alloc] initWithNibName:@"ThirdViewController" bundle:nil] autorelease]; [self.navigationController pushViewController: self.third animated: YES]; }(void)dealloc { [third release]; [super dealloc]; } @end More on the UINavigationController You are not limited to pushing items onto a stack. You can also pop items off the stack. You can also modify the navigation bar, hiding elements, adding new ones, and making other modifications.</p>
<h3>Pushing and Popping</h3>
<p>You pop view controllers from a stack using the method popViewControllerAnimated:. This method pops the top view controller off the navigation controller&rsquo;s stack and updates the displayed view to the stack&rsquo;s next view controller&rsquo;s view. (UIViewController *) popViewControllerAnimated: (BOOL) animated &nbsp; The method takes one parameter, which indicates if the transition should be animated. The method also returns the popped view controller, should you wish to retain it for future use. Other methods you might use include popToRootViewControllerAnimated: and popToViewController:animated:. Refer to Apple&rsquo;s online reference, ―UINavigationController Class Reference,‖ for more information.</p>
<h3>Configuring the Navigation Bar</h3>
<p>In the previous example, you hid the navigation bar by calling the navigation controller&rsquo;s setNavigationBarHidden: method. - (void)setNavigationBarHidden:(BOOL)hidden animated:(BOOL)animated This method hides or displays the navigation bar, depending upon if you passed YES or NO as the initial parameter. You also specify if the navigation bar should slide in from the top by specifying YES for the animated parameter.You might also change a navigation bar&rsquo;s style by changing its style property. You can use code to change the navigation bar&rsquo;s style, but the easiest way to do this is through Interface Builder. You can also change a navigation bar&rsquo;s color. You change the color using the tintColor property.</p>
<h3>Using a Navigation Controller in a Tab</h3>
<p>Applications usually use a navigation bar with other navigation views, such as a tab bar or table view. You haven&rsquo;t learned about table views yet&mdash;you won&rsquo;t learn about using a table view with a navigation bar until Chapter 10. However, you learned about the tab bar in Chapter 8. A navigation bar might be placed within a tab bar. For instance, returning to the App Store application, notice the navigation screens are steps within the Categories tab (see Figure 9-1). The Featured, Categories, Top 25, and Updates tabs are different views on the same data. The Search tab is a subtask. Within the Categories tab, there is a navigation bar combined with a table view. This combination provides a way to drill down hierarchically to a specific application.Although you don&rsquo;t learn about tables until Chapter 10, consider a navigation bar in a tab.</p>
<ol>
<li><strong>Create a new Window-based Name the application NavInTab.</strong></li>
<li><strong>Create</strong> <strong>two new UIViewController Name the first FirstTabViewController and the second StepTwoViewController; be certain to create nibs for both.</strong></li>
<li><strong>Open both newly created nibs and change the background color for each </strong></li>
<li><strong>Open xib and add a UITabBarController to the document.</strong></li>
<li><strong>Delete</strong> <strong>the first tab bar view Drag a navigation controller to the document and drop it so it is the first item below the tab bar (Figure 9-19).</strong></li>
<li><strong>Change the navigation controller&rsquo;s root view controller to FirstTabViewController by changing its class and nib name in the The canvas should indicate the view is from FirstTabViewController.nib (Figure 9-20).</strong></li>
<li><strong>Change the navigation item&rsquo;s title from ―Root View Controller‖ to ―step ‖</strong></li>
<li><strong>Drag</strong> <strong>a bar button item from the library to the navigation item in the Document window (Figure 9-21). Change the button&rsquo;s title to ―Next.‖ The button should automatically be set as the navigation item&rsquo;s If not, connect the navigation item&rsquo;s rightBarButton outlet to the newly added bar button item.</strong></li>
<li><strong>Save and exit Interface </strong></li>
</ol>
<p>&nbsp; <img class="alignright wp-image-4779 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide494.png" alt="Slide49" width="309" height="480" /> <img class="alignleft wp-image-4780 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide484-460x264.png" alt="Slide48" width="455" height="261" /> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong>Figure 9-19 Adding a navigation controller.<strong> </strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>&nbsp; Figure 9-20 Canvas indicates view is from a different nib.<strong> </strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-4782" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide504-460x247.png" alt="Slide50" width="714" height="383" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 9-21 Bar button added to document window &nbsp; &nbsp;</p>
<ol>
<li>Open h and NavInTabAppDelate.m and adopt the UITabBarController Delegate protocol. Also add a UITabBarController property and a UINavigationController property. Modify applicationDidFinishLaunching so it loads the tabBarController property&rsquo;s root view. The files should match Listings 9-11 and 9-12. Save and build.</li>
</ol>
<p>&nbsp; Listing 9-11 NavInTabAppDelegate.h #import&lt;UIKit/UIKit.h&gt; @interface NavInTabAppDelegate : NSObject&lt;UIApplicationDelegate, UITabBarControllerDelegate&gt; { UIWindow *window; UITabBarController *tabBarController; UINavigationController *navBarController; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet UITabBarController *tabBarController; @property (nonatomic, retain) IBOutlet UINavigationController * navBarController; @end Listing 9-12 NavInTabAppDelegate.m #import "NavInTabAppDelegate.h" @implementation NavInTabAppDelegate @synthesize window; @synthesize tabBarController; @synthesize navBarController;(void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview:tabBarController.view]; [window makeKeyAndVisible]; }(void)dealloc { [window release]; [tabBarController release]; [navBarController release]; [super dealloc]; }@end</p>
<ol>
<li><strong>Open xib in Interface Builder and connect the NavInTabAppDelegate&rsquo;s navBarController to the newly added navigation controller (Figure 9-22). Connect the tabBarController to the newly added tab bar controller.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open h and implement the viewDidLoad method so that it sets the navigationItem&rsquo;s title to ―step two‖ (Listing 9-13).</strong></li>
</ol>
<p>&nbsp; Figure 9-22 Connecting the navBarController &nbsp; <img class="aligncenter wp-image-4783 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide5110.png" alt="Slide51" width="761" height="377" /> &nbsp; <img class="aligncenter wp-image-4784 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide524-460x328.png" alt="Slide52" width="555" height="394" /> &nbsp; Figure 9-23 The finished application in iPhone Simulator</p>d8:T2ac0,<h3>Alerting Users</h3>
<p>Use alerts to inform users of impending actions that might be destructive, "are you sure" types of messages. Usually these are a result of some unexpected action. Alerts should have two buttons: an"okay" button and a "cancel" button. Use alerts sparingly to avoid annoying users. Use action sheets to inform users of alternatives to an action. As Apple points out in their documentation, the Photos application contains a good example of using an action sheet (Figure 11- 13). The user has a choice: use the photo as wallpaper, e-mail the photo, assign it to a contact, or do nothing (cancel). Action sheets are also appropriate when informing a user he or she is performing a potentially destructive task. &nbsp; <img class="aligncenter wp-image-5225 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide892.png" alt="Slide89" width="304" height="453" /> &nbsp;</p>
<p style="text-align: center;">Figure 11-13 An action sheet in the Photo application</p>
<p>&nbsp; &nbsp; <strong>UIAlertView and UIAlertViewDelegate</strong> A UIAlertView presents a modal alert to users. The alert appears and floats above the underlying view. Displaying a UIAlertView is easy: Create the class and display it. As the alert is modal, a user can do nothing else until clicking one of the alert&rsquo;s buttons. The UIAlertViewDelegate handles the alert&rsquo;s button actions. If you add buttons to an alert, implement the clickedButtonAtIndex: method in your delegate. Other methods you might implement include the alertViewCancel: or didPresentAlertView: methods. For a complete listing, refer to Apple&rsquo;s UIAlertViewDelegate Protocol Reference. Alerts should not be misused. Present too many alerts, and you have an annoying application, where users take alerts, if at all. Also, place buttons according to Apple&rsquo;s recommendation. When alerting a user to a potentially destructive outcome, place the Cancel button on the right (Figure 11-14). When alerting a user to a harmless action, place the Cancel button on the left (Figure 11-15). &nbsp; <img class="aligncenter wp-image-5231 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide902.png" alt="Slide90" width="705" height="566" /> &nbsp;</p>
<p style="text-align: center;">&nbsp; Figure 11-14 Alert warning of a potentially destructive action &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Figure 11-15 Alert warning of a benign action</p>
<p>&nbsp; <strong>Creating a Simple UIAlertView</strong></p>
<ol>
<li><strong>Create a new View-based Name the application AlertsProgress.</strong></li>
<li><strong>Change AlertsProgressViewController to adopt the UIAlertViewDelegate protocol (Listing 11-7).</strong></li>
<li><strong>Open m and add an alert to the viewDidLoad method (Listing 11-8). Also, implement the didDismissWithButtonIndex: delegate method.</strong></li>
<li><strong>Click</strong> <strong>Build And Go to run the application (Figure 11-16). Tap the button, and the button&rsquo;s index is logged to the Debugger </strong></li>
</ol>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5233 size-small" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide9110-310x562.png" alt="Slide91" width="310" height="562" /> &nbsp;</p>
<p style="text-align: center;">Figure 11-16 A simple alert</p>
<p>&nbsp; &nbsp; &nbsp; <strong>&nbsp;</strong>Listing 11-7 AlertsProgressViewController.h #import &lt;UIKit/UIKit.h&gt; @interface AlertsProgressViewController : UIViewController &lt;UIAlertViewDelegate&gt; { } @end &nbsp; Listing 11-8 AlertsProgressViewController.m #import "AlertsProgressViewController.h" @implementation AlertsProgressViewController - (void)viewDidLoad { [super viewDidLoad]; UIAlertView * myAlert = [[[UIAlertView alloc] initWithTitle:@"View Loaded" message:@"View loaded successfully." delegate:nil cancelButtonTitle:@‖OK‖ otherButtonTitles:nil] autorelease]; [myAlert show]; }(void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex: (NSInteger) buttonIndex { NSLog(@"buttonIndex: %i", buttonIndex); }(void)dealloc { [super dealloc]; } @end In this simple application, the view&rsquo;s controller implements a UIAlertViewDelegate. Upon clicking the button, the delegate&rsquo;s clickedButtonAtIndex method executes. This method determines which button a user clicked and routes the user accordingly. The clickedButtonAtIndex method is an instance method declared in UIAlertViewDelegateProtocol and has the following signature: &nbsp; - (void)alertView:(UIAlertView *) alertView clickedButtonAtIndex: (NSInteger) buttonIndex The method takes the clicked button&rsquo;s index as an NSInteger via the buttonIndex parameter. After processing, this method dismisses the alert. You created a UIAlertView instance through the following code: UIAlertView * myAlert = [[[UIAlertView alloc] initWithTitle:@"View Loaded" message:@"View loaded successfully." delegate:self cancelButtonTitle:nil otherButtonTitles:@"OK", nil] autorelease]; This method is convenient for initializing the alert view. If you wish, you can add more buttons to an alert using the otherButtonTitles parameter in the initWithTitle method. The next task illustrates an alert with two buttons. <strong>Using an Alert with Multiple Buttons</strong></p>
<ol>
<li><strong>Open AlertsProgress in Xcode.</strong></li>
<li><strong>Modify AlertsProgressViewController&rsquo;s viewDidLoad method so it matches Listing 11-9.</strong></li>
<li><strong>Click Build And Go to run the The alert shows two buttons (Figure 11-17). Click either button, and the button&rsquo;s index is logged to the debugger console. You use this index to determine which button is clicked and route processing accordingly.</strong></li>
</ol>
<p>Listing 11-9 Code to display an alert with two buttons -(void)viewDidLoad { [super viewDidLoad]; UIAlertView * myAlert = [[[UIAlertView alloc] initWithTitle: @"View Loaded" message:@"View loaded successfully." delegate:self cancelButtonTitle:@"OK" otherButtonTitles:@‖Cancel‖,nil] autorelease]; [myAlert show]; } <img class="aligncenter wp-image-5234 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide9111.png" alt="Slide91" width="287" height="522" /> &nbsp;</p>
<p style="text-align: center;">Figure 11-17 An alert with two buttons</p>
<p>&nbsp; <strong>UIActionSheet and UIActionSheetDelegate</strong> While an alert displays as a pop-up box, the UIActionSheet slides in from a view&rsquo;s bottom, a view&rsquo;s toolbar, or a view&rsquo;s tab bar. You set where a toolbar slides in from when you display the action sheet. For instance, the following code slides the action sheet from the view&rsquo;s bottom. [myActionSheet showInView:self.view]; The action sheet&rsquo;s bottom is aligned with the view&rsquo;s bottom. Note that if you use this setting when using a tab bar or toolbar, the action sheet&rsquo;s bottom is hidden by the bar. To prevent this, you display the action sheet using the showFromTabBar: or showFromToolBar: method. For instance, the following code slides the action sheet from the tab bar&rsquo;s top and aligns the action sheet&rsquo;s bottom with the bottom of the tab bar. [myActionSheet showFromTabBar:self.view]; UIActionSheets are otherwise very similar to UIAlertViews. You specify an action sheet&rsquo;s delegate by creating a class adopting the UIActionSheetDelegate. You use this delegate to implement button actions. Methods are similar to UIAlertViewDelegate&rsquo;s. For instance, the following code handles a button click. - (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex: (NSInteger) buttonIndex <strong>Using a UIActionSheet</strong></p>
<ol>
<li><strong>Open AlertsProgress in Xcode.</strong></li>
<li><strong>Open h and change the class so it adopts the UIActionSheetDelegate protocol (Listing 11-10).</strong></li>
<li><strong>Add an IBAction called In the method&rsquo;s implementation, add a UIActionSheet that asks the user for confirmation (Listing 11-11). Remove the viewDidLoad method.</strong></li>
<li><strong>Open xib in Interface Builder, add a button to the view, and connect the removeAll action in the File&rsquo;s Owner to the button&rsquo;s Touch Up Inside event (Figure 11-18). Save and exit Interface Builder.</strong></li>
<li><strong>Open m and implement the didDismissWithButtonIndex: method (Listing 11-11).</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the application (Figure 11-19). Click each button in the action sheet, and the debugger console should produce logging results similar to Listing 11-12.</strong></li>
</ol>
<p>&nbsp; <img class="aligncenter wp-image-5236 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide825-310x260.png" alt="Slide82" width="434" height="363" /></p>
<p style="text-align: center;">Figure 11-18 Connecting File&rsquo;s Owner removeAll action to a button</p>
<p>&nbsp; Listing 11-10 AlertsProgressViewController.h #import &lt;UIKit/UIKit.h&gt; @interface AlertsProgressViewController : UIViewController &lt;UIActionSheetDelegate&gt; { } - (IBAction) removeAll: (id) sender; @end Listing 11-11 AlertsProgressViewController.m #import "AlertsProgressViewController.h" @implementation AlertsProgressViewController - (IBAction) removeAll: (id) sender { UIActionSheet * myActionSheet = [[[UIActionSheet alloc] initWithTitle: @"Remove all?" delegate:self cancelButtonTitle:@"No" destructiveButtonTitle: @"Yes" otherButtonTitles:@"Not Sure",nil] autorelease]; [myActionSheet showInView:self.view]; } - (void) actionSheet: (UIActionSheet *) actionSheet didDismissWithButton Index: (NSInteger) buttonIndex { NSLog(@"buttons index: %i", buttonIndex); if(buttonIndex == [actionSheet cancelButtonIndex]) { NSLog(@"cancelled..."); } } -(void)dealloc { [super dealloc]; }@end Listing 11-12 Debugger console output [Session started at 2009-01-17 10:00:55 -0500.] 2009-01-17 10:00:59.432 AlertsProgress[861:20b] buttons index: 0 2009-01-17 10:01:01.936 AlertsProgress[861:20b] buttons index: 1 2009-01-17 10:01:04.336 AlertsProgress[861:20b] buttons index: 2 <img class="aligncenter wp-image-5237 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide933.png" alt="Slide93" width="265" height="492" /> &nbsp;</p>
<p style="text-align: center;">Figure 11-19 A UIActionSheet in action</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-5238" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide943.png" alt="Slide94" width="304" height="456" /></p>
<p style="text-align: center;">Figure 11-20 An application badge tells me I have 39 e-mails in my inbox.</p>d9:T7da,<h2><strong>&nbsp;What is LINQ</strong></h2>
<p><img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="27" height="9" />In general when deal with object oriented programming we learn OOP in C# or JAVA. <img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />But especially when we deal with D/B again we need to learn data base language like</p>
<ol>
<li>SQL</li>
<li>TL/SQL in SQL and oracle</li>
<li>PL/SQL&zwj;</li>
</ol>
<p><img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />And X path and X Query etc. when dealing with &ldquo;XML&rdquo; that means we also need to learn D/B programming language to deal with any data bases like <img class="alignnone wp-image-6120" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/91.png" alt="9" width="431" height="412" /> &nbsp; LINQ will bridge this gap between OOP and relational data bases &nbsp; <img class="alignnone wp-image-6121" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/101.png" alt="10" width="314" height="352" /></p>
<pre style="text-align: center;"><em><strong>Interested in mastering <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.Net Training</a>? Enroll now for FREE demo on ASP.Net Training.</strong></em></pre>
<p>In .NET JAVA we have Hibernate as ORNET LINQ will may OOP to strict to OOP only. i.e when we work with LINQ completely we will depending on object OOP. And need not learn D/B language <img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="33" height="11" />LINQ is introduced in 3.0 version of .net frame work</p>da:T19e0,<p><strong>1. Database Tier</strong></p>
<p>1.1. Set Environment Variables $ cd /u01/oracle/ visdb/9.2.0 $. ./VIS_vision.env $ echo $ORACLE_HOME /u01/oracle/ visdb/9.2.0</p>
<p><strong>1.2. Files in ORACLE_HOME</strong> 1.2.1. My SID = VIS and HOST is Vision</p>
<p><strong>To view SI D</strong> $ echo $ORACLE_SID VIS</p>
<p><strong>To view Host</strong> $ hostname -s vision</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td style="text-align: center;"><strong>File</strong></td>
<td style="text-align: center;"><strong>Path</strong></td>
</tr>
<tr>
<td>SID_HOST.env</td>
<td>$ORACLE_HOME/</td>
</tr>
<tr>
<td>init.ora</td>
<td>$ORACLE_HOME/dbs/</td>
</tr>
<tr>
<td>initSID.ora</td>
<td>$ORACLE_HOME/dbs/</td>
</tr>
<tr>
<td>SID_HOST_ifile.ora</td>
<td>$ORACLE_HOME/</td>
</tr>
<tr>
<td>addbctl.sh</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>addlnctl.sh</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adautocfg</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adautocfg.sh</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adchknls.pl</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adexecsql.pl</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adlsnodes.sh</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adpreclone.pl</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adstopdb.sql</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
<tr>
<td>adstrtdb.sql</td>
<td>$ORACLE_HOME/appsutil/ scripts/SID_HOST/</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; <strong>1.3. Files in TNS_ADMIN</strong></p>
<p><strong>1.3.1.</strong> To view the TNS_ADMIN, $ echo $TNS_ADMIN /u01/oracle/ visdb/9.2.0/network/admin/VIS_vision</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>File</strong></td>
<td><strong>Path</strong></td>
</tr>
<tr>
<td>listener.ora</td>
<td>$TNS_ADMIN/</td>
</tr>
<tr>
<td>sqlnet_ifile.ora</td>
<td>$TNS_ADMIN/</td>
</tr>
<tr>
<td>sqlnet.ora</td>
<td>$TNS_ADMIN/</td>
</tr>
<tr>
<td>tnsnames.ora</td>
<td>$TNS_ADMIN/</td>
</tr>
<tr>
<td>listener_ifile.ora</td>
<td>$TNS_ADMIN/</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; <strong>2. Application Tier</strong> <strong>2.1.</strong> Set Environment Variables $ cd /u01/oracle/ visappl $. ./ APPSORA.env $ echo $ORACLE_HOME /u01/oracle/ visora/8.0.6</p>
<p><strong>2.2</strong>. Files in ORACLE_HOME</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td style="text-align: center;"><strong>File</strong></td>
<td style="text-align: center;"><strong>Path</strong></td>
</tr>
<tr>
<td>SID_HOST.env</td>
<td>$ORACLE_HOME/</td>
</tr>
<tr>
<td>forms60_server</td>
<td>$ORACLE_HOME/</td>
</tr>
<tr>
<td>CGIcmd.dat</td>
<td>$ORACLE_HOME/ reports60/ server/</td>
</tr>
<tr>
<td>REP60_SID.ora</td>
<td>$ORACLE_HOME/ reports60/ server/</td>
</tr>
<tr>
<td>runform.htm</td>
<td>$ORACLE_HOME/ tools/web60/html/</td>
</tr>
<tr>
<td>runrep.htm</td>
<td>$ORACLE_HOME/ tools/web60/html/</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>2.3. Files in TNS_ADMIN</strong> 2.3.1. To view the TNS_ADMIN, $ echo $TNS_ADMIN /u01/oracle/ visdb/9.2.0/network/admin/VIS_vision &nbsp;</p>
<p><strong>2.4. Files in APPL_TOP</strong> <strong>2.4.1</strong>. To view the APPL_TOP, $ echo $APPL_TOP /u01/oracle/ visappl</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td style="text-align: center;"><strong>File</strong></td>
<td style="text-align: center;"><strong>Path</strong></td>
</tr>
<tr>
<td>APPSORA.env</td>
<td>$APPL_TOP/</td>
</tr>
<tr>
<td>APPSSID_HOST.env</td>
<td>$APPL_TOP/</td>
</tr>
<tr>
<td>SID.env</td>
<td>$APPL_TOP/</td>
</tr>
<tr>
<td>SID_HOST.env</td>
<td>$APPL_TOP/</td>
</tr>
<tr>
<td>adconfig.txt</td>
<td>$APPL_TOP/admin/</td>
</tr>
<tr>
<td>adovars.env</td>
<td>$APPL_TOP/admin/</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>2.5. Files in FND_TOP</strong> <strong>2.5.1.</strong> To view the FND_TOP, $ echo $FND_TOP /u01/oracle/ visappl/ fnd/11.5.0</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>File</td>
<td>Path</td>
</tr>
<tr>
<td>HOST_SID.dbc</td>
<td>$FND_TOP/ secure/</td>
</tr>
<tr>
<td>appsweb.cfg</td>
<td>$FND_TOP/ resource/</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;&nbsp;</strong> <strong>2.6. Files in COMN_TOP</strong> 2.6.1. To view the COMN_TOP, $ echo $COMN_TOP /u01/oracle/ viscomn</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>File</td>
<td>Path</td>
</tr>
<tr>
<td>adalnctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adapcctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adaprstctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adautocfg.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adcmctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>addisctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adexecsql.pl</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adfmcctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adfmsctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adfrmctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adpreclone.pl</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adrepctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adstpall.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adstrtal.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adtcfctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>gsmstart.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>jtffmctl.sh</td>
<td>$COMN_TOP/admin/scripts/SID_HOST/</td>
</tr>
<tr>
<td>adgendbc.sh</td>
<td>$COMN_TOP/admin/ install/SID_HOST/</td>
</tr>
<tr>
<td>aplogon.html</td>
<td>$COMN_TOP/admin/portal/SID_HOST/</td>
</tr>
<tr>
<td>applist.html</td>
<td>$COMN_TOP/admin/portal/SID_HOST/</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; <strong>2.7. Files in OA_HTML</strong> 2.7.1. To view the OA_HTML, $ echo $ OA_HTML /u01/oracle/ viscomn/html</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>File</td>
<td>Path</td>
</tr>
<tr>
<td>appsweb_SI D_HOST.cfg</td>
<td>$OA_HTML/bin/</td>
</tr>
<tr>
<td>ICXINDEX.htm</td>
<td>$OA_HTML/US/</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>db:T502b,<p><strong>&nbsp;Installation (OS &amp; APPS) 1. Operating System Installation 2. Pre-Installation Tasks 3. OS User and Group Creation 4. Setting up Stage 5. Oracle Applications 11i Installation (Linux) 6. Oracle Applications R12 Installation (Linux) 7. Oracle Applications Installation (Windows)&nbsp;</strong> <strong>1. Operating System Installation</strong> <strong>1.1.</strong> Insert the first bootable CD and reboot the machine. &nbsp; <img class="alignnone wp-image-1691" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/114-460x310.png" alt="1" width="460" height="310" /> <strong>1.2.</strong> Press ENTER key from the keyboard. <img class="alignnone wp-image-1693" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/213-460x322.png" alt="2" width="491" height="344" /> &nbsp; <strong>1.3.</strong> I f you are not sure about your media then better to select OK and the media verification&nbsp;will be started which will ask you to enter all CD&rsquo;s one by one. I f media is tested then&nbsp;TAB to Skip and press ENTER. <img class="alignnone wp-image-1694" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/313-460x53.png" alt="3" width="485" height="55" /> <strong>1.4.</strong> No action required on this screen. <img class="alignnone wp-image-1695" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/414-460x355.png" alt="4" width="494" height="380" /> <strong>1.5.</strong> Click on Next (button). <img class="alignnone wp-image-1697" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/513-460x349.png" alt="5" width="478" height="362" /> <strong>1.6.</strong> Click on Next (button). <img class="alignnone wp-image-1698" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/612-460x347.png" alt="6" width="488" height="368" /> <strong>1.7.</strong> Click on Next (button). <img class="alignnone wp-image-1699" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/712-460x349.png" alt="7" width="494" height="374" /> <strong>1.8.</strong> Select Manually partition with Disk Druid and click on Next (button). <img class="alignnone wp-image-1701" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/812-460x349.png" alt="8" width="484" height="366" /> <strong>1.9.</strong> As I have used VMWARE to get these installation screens so there is an NTFS hard disk&nbsp;which in your case will not appear. Select Free and click on Next (button). <img class="alignnone wp-image-1702" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/912-460x375.png" alt="9" width="493" height="401" /> <strong>1.10.</strong> Select /boot as Mount Point and enter 500 MB as size, ext3 as File System Type while&nbsp;keeping Fixed size and click on OK (button). <img class="alignnone wp-image-1704" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/103-460x375.png" alt="10" width="488" height="397" /> <strong>1.11.</strong> Select swap in the File System Type and 2000 MB in Size and Fixed size then click on OK&nbsp;(button). <img class="alignnone wp-image-1706" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/115-460x375.png" alt="11" width="499" height="406" /> <strong>1.12.</strong> Select / in Mount Point, ext3 as File System Type and click on Fill to maximum allowable&nbsp;size and click on OK (button). <img class="alignnone wp-image-1707" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/123-460x350.png" alt="12" width="493" height="375" /> <strong>1.13</strong>. Verify the sized and after verification click on Next (button). <img class="alignnone wp-image-1708" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/134-460x350.png" alt="13" width="504" height="383" /> <strong>1.14.</strong> Click on Next (button). <img class="alignnone wp-image-1709" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/143-460x349.png" alt="14" width="496" height="375" /> <strong>1.15</strong>. Click on Edit (button). <img class="alignnone wp-image-1710" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/153.png" alt="15" width="515" height="406" /> <strong>1.16.</strong> Uncheck Configure using DHCP. <strong>1.17.</strong> Keep check Activate on boot and enter IP Address and Netmask. I f your machine is not&nbsp;on network then enter as above otherwise ask your network administrator to provided&nbsp;you IP address so you can enter here. <strong>1.18.</strong> Click on OK (button). <img class="alignnone wp-image-1712" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/163-460x350.png" alt="16" width="489" height="372" /> <strong>1.19.</strong> Click manually under Hostname and enter the host and domain name. <strong>1.20</strong>. I f your machine is on network then ask your Network Administrator to provide you&nbsp;Gateway and Primary DNS information. <strong>1.21.</strong> Click on Next (button). <img class="alignnone wp-image-1715" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/173-460x349.png" alt="17" width="500" height="378" /> <strong>1.22</strong>. Select No firewall and click on Next (button). <img class="alignnone wp-image-1719" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/183.png" alt="18" width="552" height="262" /> <strong>1.23.</strong> Click on Proceed (button). &nbsp; <img class="alignnone wp-image-1720" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/193-460x350.png" alt="19" width="488" height="371" /> <strong>1.24</strong>. Click on Next (button). <img class="alignnone wp-image-1721" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/203-460x348.png" alt="20" width="492" height="371" /> <strong>1.25.</strong> Select your time zone and click on Next (button). <img class="alignnone wp-image-1722" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/214-460x350.png" alt="21" width="488" height="371" /> <strong>1.26</strong>. Enter root password but don&rsquo;t forget, better to note it and click on Next (button). <img class="alignnone wp-image-1724" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/223-460x349.png" alt="22" width="478" height="362" /> <strong>1.27.</strong> Select Customize software packages to be installed and click on Proceed (button). <strong>Note:</strong> I t is recommended to install All packages so we have selected Customize software&nbsp;packages to be installed in the above step. I f there is any space limitation then you may go&nbsp;with Install default software packages but later you will have to install required packages&nbsp;manually. Select the following packages to install manually as by default these would not be installed. If&nbsp;you will select complete installation then these packages would be installed automatically. -----&gt; Legacy Software Development package ----&gt;X Software Development package <img class="alignnone wp-image-1725" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/233-460x349.png" alt="23" width="500" height="378" /> <strong>1.28</strong>. Scroll down to the bottom. <img class="alignnone wp-image-1727" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/243-460x349.png" alt="24" width="486" height="368" /> <strong>1.29.</strong> Select Everything for full installation. <img class="alignnone wp-image-1728" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/253-460x349.png" alt="25" width="497" height="376" /> <strong>1.30</strong>. Click on Next (button). <img class="alignnone wp-image-1730" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/263.png" alt="26" width="487" height="357" /> <strong>1.31.</strong> Click on Continue (button) and the installation will be started. <img class="alignnone wp-image-1731" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/273-460x350.png" alt="27" width="492" height="374" /> <strong>1.32.</strong> Insert CD&rsquo;s as prompted and click on OK (button). <img class="alignnone wp-image-1732" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/283-460x349.png" alt="28" width="492" height="372" /> &nbsp; <strong>1.33.</strong> Installation is complete so remove any CD from the drive and click on Reboot (button). &lt;&lt;&lt;&lt;------------------------------------****-------------------------------------------&gt;&gt;&gt;&gt; <strong>2. Pre Installation Tasks</strong> If you installed with default packages instead of everything then you will have to install few required packages manually. <strong>2.1.</strong> Select these packages from the Package Group Selection screen. I f the operating system is already installed, use System Settings &gt; Add/Remove Applications to install these two packages. The following required components must be installed manually: ---&gt;openmotif21-2.1.30-11.RHEL4.4 ---&gt;libaio-0.3.102-1 ---&gt;libaio-devel-0.3.102-1 The libaio components are available on Disk 3 of the RHEL4.0 media. For information on downloading the openmotif component, see the instructions at the following URL: <strong>2.2.</strong> Apply one of these OS library patches: 4198954 (for Red Hat 4.0), you can download it&nbsp;from metalink. <strong>2.3</strong>. After installing these patches, run ldconfig -v. <strong>2.4.</strong> <strong>Release 11i</strong> Hardware Requirements (minimum) --&gt;Server machine P4 --&gt;&nbsp;DVD --&gt;RAM Minimum 1GB --&gt;Hard Disk Space Note: To get the spaces command $ du &ndash;h /Stage11i is used. --&gt;A Note book and a writing pen --&gt;UPS (to avoid a power failure during installation). <strong>Software Requirements</strong> <strong>--&gt;</strong>Oracle Application 11.5.10.2 --&gt;Linux Redhat AS 4 32bit. --&gt;Metalink Access --&gt;Oracle Metalink Reference document # 287453.1 <strong>2.4.1.</strong> Verify minimum Kernel Requirements with uname and rpm command, <strong>[</strong> root@vision ~ <strong>]</strong># uname -r&nbsp;2.6.9-5.ELsmp <strong>[</strong> root@vision ~ <strong>]</strong># rpm -q glibc&nbsp;glibc-2.3.4-2 <strong>Note:</strong> The above displayed information is as per recommendations. &nbsp; <strong>2.4.2.</strong> Domain Name System (DNS) Resolver Parameters <strong>2.4.3.</strong> Edit the following file /etc/ resolv.conf and set the following parameters as below, --&gt;options attempts:5 --&gt;options timeout:15 <strong>2.4.4.</strong> The format of hosts /etc/hosts file must be formatted as follows : 127.0.0.1 localhost.localdomain &lt; ip_address&gt; &lt; node_name&gt; .&lt; domain_name&gt; <strong>2.4.5.</strong> Verify that the /etc/ sysconfig/network file is formatted as follows : HOSTNAME= &lt; node_name&gt; .&lt; domain_name&gt; <strong>2.4.6.</strong> I f the /etc/ sysconfig/networking/profiles/default/network file exists, remove it. <strong>Note:</strong> I f you changed any files in the previous steps, reboot the system. <strong>2.4.7.</strong> Modify number of open descriptors: in file /etc/ security/ limits.conf add the following&nbsp;lines: ----&gt;* hard nofile 65535 ----&gt;* soft nofile 4096 <strong>Note:</strong> The following warning will appear in the alert log file if these above settings will not&nbsp;be effective. Make sure that each line must have &ldquo;* &rdquo; . <strong>WARNING</strong>:Oracle instance running on a system with low open file descriptor limit. Tune your system to increase this limit to avoid&nbsp;severe performance degradation. <strong>2.4.8.</strong> Change port range value : /etc/ sysctl.config add the following line, net.ipv4.ip_local_port_range = 1024 65000 <strong>2.4.9.</strong> Set LD_ASSUME_KERNEL in file /etc/profile LD_ASSUME_KERNEL= 2.4.19 export LD_ASSUME_KERNEL <strong>2.4.10.</strong> Java 2 Standard Edition (J2SE), Rapid Install installs the Java 2 Standard Edition 1.4.2 automatically. &nbsp; <strong>2.5. Release 12</strong> <strong>2.5.1.</strong> Verify minimum Kernel Requirements with uname and it should be 2.6.9-42.ELsmp. <img class="alignnone wp-image-1737" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/293-460x139.png" alt="29" width="480" height="144" /> <strong>2.5.2.</strong> Edit the /etc/ sysctl.conf file using vi command. <strong>2.5.3</strong>. The file before change will look like the following, <img class="alignnone wp-image-1738" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/303-460x264.png" alt="30" width="499" height="286" /> <strong>2.5.4.</strong> Open the file using following command, ------$ vi /etc/ sysctl.conf <strong>2.5.5.</strong> Insert the following values,</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Parameter</strong></td>
<td><strong>Value</strong></td>
</tr>
<tr>
<td>kernel.semmsl</td>
<td>256</td>
</tr>
<tr>
<td>kernel.semmns</td>
<td>32000</td>
</tr>
<tr>
<td>kernel.semopm</td>
<td>100</td>
</tr>
<tr>
<td>kernel.semmni</td>
<td>142</td>
</tr>
<tr>
<td>kernel.shmall</td>
<td>2097152</td>
</tr>
<tr>
<td>kernel.shmmax</td>
<td>Half the size of the physical memory(In bytes), and atleast 2147483648</td>
</tr>
<tr>
<td>kernel.shmmni</td>
<td>4096</td>
</tr>
<tr>
<td>kernel.msgmax</td>
<td>8192</td>
</tr>
<tr>
<td>kernel.msgmnb</td>
<td>65535</td>
</tr>
<tr>
<td>kernel.msgmni</td>
<td>2878</td>
</tr>
<tr>
<td>fs.file-max</td>
<td>65536</td>
</tr>
<tr>
<td>net.ipv4.ip_local_port_range</td>
<td>1024 65000</td>
</tr>
<tr>
<td>net.core.rmem_default</td>
<td>262144</td>
</tr>
<tr>
<td>net.core.rmem_max</td>
<td>262144</td>
</tr>
<tr>
<td>net.core.wmem_default</td>
<td>262144</td>
</tr>
<tr>
<td>net.core.wmem_max</td>
<td>262144</td>
</tr>
</tbody>
</table>
<p>&nbsp; <img class="alignnone wp-image-1744" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/314-460x265.png" alt="31" width="508" height="291" /> <strong>2.5.6.</strong> Save and exit with wq. <strong>2.5.7.</strong> Edit the following file /etc/ resolv.conf and set the following parameters as below, ----&gt;options attempts:5 ----&gt;options timeout:15 <strong>2.5.8.</strong> The format of hosts /etc/hosts file must be formatted as follows : 127.0.0.1 localhost.localdomain &lt; ip_address&gt; &lt; node_name&gt; .&lt; domain_name&gt; -----&gt; 192.168.0.1 vision.erpstuff.com <strong>2.5.9.</strong> Verify that the /etc/ sysconfig/network file is formatted as follows : ----&gt;HOSTNAME= &lt; node_name&gt; .&lt; domain_name&gt; ----&gt;HOSTNAME= vision.erpstuff.com <strong>2.5.10.</strong> I f the /etc/ sysconfig/networking/profiles/default/network file exists, remove it. <strong>Note:</strong> I f you changed any files in the previous steps, reboot the system. <strong>2.5.11.</strong> Modify number of open descriptors: in file /etc/ security/ limits.conf add the following lines: ---&gt;* hard nofile 65535 ---&gt;* soft nofile 4096 ---&gt;* hard nproc 16384 ---&gt;* soft nproc 2047 <strong>Note:</strong> The following warning will appear in the alert log file if these above settings will not&nbsp;be effective. Make sure that each line must have &ldquo;* &rdquo; . <strong>WARNING</strong>:Oracle instance running on a system with low open file descriptor limit. Tune your system to increase this limit to avoid&nbsp;severe performance degradation. &nbsp; &lt;&lt;&lt;&lt;------------------------------------****-------------------------------------------&gt;&gt;&gt;&gt; <strong>3. OS User and Group Creation</strong> <strong>3.1.</strong> Create a user named oracle and two groups named dba and oinstall.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>$ groupadd dba$ groupadd oinstall $ useradd -G dba -g oinstall oracle $ passwd oracle $ id oracle uid= 500(oracle) gid= 502(oinstall) groups= 502(oinstall),503(dba) $ chown -R oracle:oinstall /d01</td>
</tr>
</tbody>
</table>
<p>The steps are&nbsp;demonstrated in the following slide. &nbsp; &lt;&lt;&lt;&lt;------------------------------------****-------------------------------------------&gt;&gt;&gt;&gt; <strong>4. Setting up Stage</strong> <strong>4.1. Release 11i</strong> <strong>4.1.1</strong>. Staging is to copy all the contents of DVD&rsquo;s on the hard disk as the following directory structure. Don&rsquo;t worry in earlier releases it was manual but now all is automated. Just you need to run a perl script and rest will be managed by the script. <img class="alignnone wp-image-1745" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/323-460x244.png" alt="32" width="489" height="259" /> The DVD&rsquo;s are labeled as below, ---&gt;Start Here - Disk 1 ---&gt;APPL_TOP - Disk n ---&gt;RDBMS - Disk n ---&gt;Tools - Disk n ---&gt;Databases - Disk n <strong>4.1.2</strong>. Now we will use adautostg.pl to create stage and please resolve any issue if the script prompts for any. <strong>4.1.3.</strong> Login as OS user &ldquo;oracle&rdquo; with privileges to mount, unmount and eject the DVD. The&nbsp;must also have write privileges to the stage area. <strong>4.1.4</strong>. Insert the first DVD named Start Here in DVD-ROM drive and mount the DVD if not&nbsp;auto mounted. <strong>4.1.5</strong>. To verify perl version and to confirm if it is in the PATH,&nbsp;<strong>perl &ndash;v</strong> The version should be 5.0053 or higher else download from perl.com and install it. &nbsp; <img class="alignnone wp-image-1746" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/333-460x357.png" alt="33" width="494" height="382" /> <strong>4.1.6.</strong> Run adautostg.pl script from the mounted DVD, <strong>4.1.7.</strong> $ perl /media/ cdrom/Disk1/ rapidwiz/adautostg.pl <img class="alignnone wp-image-1747" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/343-460x137.png" alt="34" width="492" height="146" /> <strong>4.1.8.</strong> Provide the top-level directory on the prompt like /d01 and the script will create a&nbsp;directory Stage11i in the directory automatically and will create all other folders in&nbsp;this directory as the structure shown in the above figure. So the directory will look&nbsp;like /d01/Stage11i. <img class="alignnone wp-image-1748" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/352-460x445.png" alt="35" width="501" height="484" /> <strong>4.1.9.</strong> Enter folder and press enter key. <img class="alignnone wp-image-1749" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/362-460x312.png" alt="36" width="497" height="336" /> <strong>4.1.10</strong>. The next prompt is for AutoMount so press y or enter key to accept default. <strong>4.1.11.</strong> Enter DVD mount point which in my case is /media/ cdrom. <strong>4.1.12</strong>. Enter 1 or press enter key to take the default which is also 1 to stage Oracle Applications. <strong>4.1.13</strong>. Insert the DVD one by one as the script will prompt. <strong>Note:</strong> Good thing is that script will maintain a log so if copying is aborted due to any reason so&nbsp;next time you can resume from the same stage. 4.2. Release 12 The staging steps are similar to the 11i. <img class="alignnone wp-image-1751" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/373-460x236.png" alt="37" width="502" height="256" /> <strong>4.2.1.</strong> Insert the first DVD labeled Start Here &ndash; Disk 1 DVD. <strong>4.2.2.</strong> Now run adautostg.pl using perl. $ /media/ cdrom/Disk1/ rapidwiz/perl adautostg.pl <strong>4.2.3</strong>. Provide the target directory name like /d01. <strong>4.2.4</strong>. Press enter key to accept default y to AutoMount. <strong>4.2.5</strong>. Enter the mount point like in my case it is, /media/ cdrom <strong>4.2.6</strong>. Select 1 to stage Oracle Applications. <strong>4.2.7</strong>. Insert DVD as prompted. &nbsp;</p>dc:T58ce,<p><strong>5. Oracle Applications 11i Installation (Linux)</strong> <strong>5.1.</strong> Login as oracle user we created in the above steps. <strong>5.2.</strong> Start Oracle Applications installation and follow as the following screens. I will demonstrate vision installation on a single node. <strong>5.3.</strong> Change directory to /u01/Stage11i/ startCD/Disk1/ rapidwiz/ with the cd command. <strong>5.4.</strong> Execute $./ rapidwiz &lt; ENTER&gt; <strong>5.5.</strong> In the displayed Select Wizard Operation screen we have selected Install Oracle Applications E-Business 11i. After selecting the desired option press Next. <img class="alignnone wp-image-1774" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/383-460x312.png" alt="38" width="480" height="325" /> <strong>5.6.</strong> I f you already have a configuration created with rapidwiz then you can provide it on the&nbsp;Load Configuration screen by select Yes, load configuration file and click open to find&nbsp;the configuration file. By providing the file the next steps will be skipped and the system&nbsp;status check step will be performed on the basis of parameters provided in the&nbsp;configuration file. To know how this file is created and saved just see next screen Save&nbsp;Instance &ndash; specific Configuration, which displayed after we provide all the information.&nbsp;The default name is config.txt. I have selected No as I don&rsquo;t have configuration. <img class="alignnone wp-image-1775" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/393-460x312.png" alt="39" width="507" height="343" /> <strong>5.7.</strong> Press the next button on the above screen. <strong>5.8.</strong> As I already mentioned above that I will demonstrate single node installation so here on the Install Type screen I will select, Single &ndash; node (All services on a single node). <img class="alignnone wp-image-1776" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/403-460x312.png" alt="40" width="491" height="332" /> <strong>5.9.</strong> Press Next and the next screen will be to define database type. <strong>5.10.</strong> I will install Vision Demo Database instead of Fresh Database as the Fresh would be&nbsp;blank while Vision is preconfigured Database. So on the Define Database Type screen I&nbsp;have selected Vision Demo Database and also entered my database name VIS. <img class="alignnone wp-image-1777" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/415-460x312.png" alt="41" width="498" height="337" /> <strong>5.11.</strong> After providing these two information press Next on the above screen. <strong>5.12.</strong> By default the Oracle OS User is the user with which I logged in and started the installation so I can&rsquo;t change it here. The second is to enter the group so provide the name of group which was created in few steps above. The third entry on the Database&nbsp;Install Information &ndash; Vision screen is to provide the Base Install Directory where the&nbsp;application will be installed. <img class="alignnone wp-image-1778" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/423-460x312.png" alt="42" width="497" height="336" /> <strong>5.13.</strong> I f you need to change any other path on the above screen the click on Advanced Edit&nbsp;else proceed by clicking Next. <strong>5.14.</strong> In the previous step we provided information for Database while on this Configuration <strong>Information for Node</strong> &ndash; Vision screen we will provide information for Application side.&nbsp;The information is just like same as on the database screen. You can set different paths&nbsp;of database and applications installation if any space limitation on one disk. <img class="alignnone wp-image-1779" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/433-460x312.png" alt="43" width="514" height="348" /> <strong>5.15.</strong> Enter your domain name in the Domain Name field on Global System Settings screen.&nbsp;Like for demonstration I have entered erpstuff.com. <img class="alignnone wp-image-1780" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/443-460x310.png" alt="44" width="483" height="325" /> <strong>5.16.</strong> Save the configuration file on the following Save Instance &ndash; specific Configuration screen&nbsp;for future use. Name the file which is convenient for you as kept the default one that is&nbsp;config.txt. <img class="alignnone wp-image-1781" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/453-460x312.png" alt="45" width="500" height="338" /> <strong>5.17.</strong> Press Next to proceed. <strong>5.18.</strong> All the input tasks of DBA are completed now the checks will be performed on the basis&nbsp;of information provided in&nbsp;the previous steps. <strong>5.19.</strong> The next screen which will&nbsp;appear is the System Check&nbsp;Status screen. <strong>5.20.</strong> The next immediate screen&nbsp;will show the results of&nbsp;checks performed in the last&nbsp;step. <strong>5.21.</strong> View if any cross found and&nbsp;resolve the error mentioned.&nbsp;I am sure if all steps above&nbsp;were performed carefully&nbsp;there should be no issue at&nbsp;this place. I f any error displayed on the Validate&nbsp;System Configuration screen&nbsp;then press Back else press Next. <img class="alignnone wp-image-1782" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/464.png" alt="46" width="476" height="526" /> <img class="alignnone wp-image-1783" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/473-460x312.png" alt="47" width="485" height="328" /> <strong>5.22.</strong> The next screen is Component Installation Review which displays the components to be&nbsp;installed. <img class="alignnone wp-image-1784" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/483-460x312.png" alt="48" width="502" height="340" /> <strong>5.23.</strong> Pressing Next will bring the Load Balancing screen. <img class="alignnone wp-image-1785" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/492-460x312.png" alt="49" width="498" height="337" /> <strong>5.24.</strong> I have used default values for Concurrent Manager, Forms Server on the Load Balancing&nbsp;Node Specification screen. <img class="alignnone wp-image-1786" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/503-460x312.png" alt="50" width="491" height="332" /> <strong>5.25.</strong> As we are installing single node so Node name is same for all Services while Linux is&nbsp;selected as Operating System on Node Information screen. <img class="alignnone wp-image-1789" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/514-460x312.png" alt="51" width="486" height="329" /> <strong>5.26.</strong> After pressing the Next on the above screen will bring the following Installing Oracle&nbsp;Applications screen which shows two progress bars. <img class="alignnone wp-image-1790" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/522-460x190.png" alt="52" width="512" height="210" /> <strong>5.27.</strong> During this the DBA can perform the following tasks, <strong>o</strong> In case of multi node installation start OS installation on the other node. <strong>o</strong> I f it is lunch time then have a nice lunch as the installation will take time to complete&nbsp;depending on the hardware. <strong>o</strong> I f you have music system then listening good music would also be a good time passing. <strong>o</strong> Mean while keep watching the progress bars as any error may be prompted due to certain reason like if any step(s) was/were missed. &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;----------------------------*******------------------------------------------&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>&nbsp;6. Oracle Applications R12 Installation (Linux)</strong> Oracle Applications Documentation Resources, Release 12 Detailed information is available in Metalink note 394692.1 The following components are optional, and not delivered by Rapid I nstall: &bull; Oracle Discoverer 10g (10.1.2.0.2) &bull; Oracle Portal 10g (10.1.4) &bull; Oracle Single Sign-On 10g (10.1.2.0.2) &bull; Oracle Internet Directory 10g (10.1.2.0.2) <strong>Note:</strong> In Release 12, Java Development Kit (JDK) 5.0 is automatically installed by Rapid Install. For more details about JDK visit, http: / / java.sun.com/ j2se/1.5.0/ install-linux# requirements <strong>Disk Space Requirements</strong> ---&gt;Operating System 4.7 GB ---&gt;Stage 33 GB ---&gt;Applications node file system 28 GB (Includes AS 10.1.2 ORACLE_HOME, AS 10.1.3 ORACLE_HOME, COMMON_TOP, APPL_TOP, and INST_TOP) ---&gt;Database node file system (Fresh) 45 GB ---&gt;Database node file system (Vision) 133 GB <strong>Note:</strong> We will install single node vision instance so we will require total space (4.7 + 33 + 28 + 133 = 198.7). <strong>The Applications node technology stack includes, among other components:</strong> &bull; Oracle Developer 10i, which includes: &bull; Oracle Forms &bull; Oracle Reports &bull; Oracle 10g Application Server 10.1.2 &bull; Oracle 10g Application Server 10.1.3 (includes Oracle HTTP Server) <strong>The database node includes:</strong> &bull; Oracle Database 10g Release 2 <strong>The following components are optional, and not delivered by Rapid I nstall:</strong> &bull; Oracle Discoverer 10g (10.1.2.0.2) &bull; Oracle Portal 10g (10.1.4) &bull; Oracle Single Sign-On 10g (10.1.2.0.2) &bull; Oracle Internet Directory 10g (10.1.2.0.2) <strong>Note:</strong> In Release 12, Java Development Kit (JDK) 5.0 is automatically installed by Rapid&nbsp;Install. <strong>6.1.</strong> Create a user named oracle and two groups named dba and oinstall. The steps are&nbsp;demonstrated in the following slide.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>$ groupadd dba$ groupadd oinstall$ useradd -G dba -g oinstall oracle $ passwd oracle $ id oracle uid= 500(oracle) gid= 502(oinstall) groups= 502(oinstall),503(dba) $ mkdir /d01 /d02 $ chown -R oracle:oinstall /d01 /d02 Note: Here we have folder d01 for installation and d02 for stage</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>6.2</strong>. Login as oracle user. <strong>6.3.</strong> Start Oracle Applications installation and follow as the following screens. I will demonstrate vision installation on a single node. <strong>6.4.</strong> Start the rapidwiz from the rapidwiz folder. <img class="alignnone wp-image-1792" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/533-460x267.png" alt="53" width="479" height="278" /> <img class="alignnone wp-image-1794" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/542-460x306.png" alt="54" width="488" height="324" /> <strong>6.5.</strong> Click on Next (B). &nbsp; <img class="alignnone wp-image-1795" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/552-460x306.png" alt="55" width="491" height="326" /> <strong>&nbsp;6.6.</strong> Click on Next (B). <img class="alignnone wp-image-1797" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/562-460x306.png" alt="56" width="488" height="324" /> <strong>6.7.</strong> Click Accept Oracle Connection Tools Agreement and click on Next (B). <img class="alignnone wp-image-1799" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/572-460x306.png" alt="57" width="507" height="336" /> <strong>&nbsp;6.8</strong>. Enter your Metalink Support Identifier, Metalink Account and select Country. <strong>6.9.</strong> Click on Next (B). <img class="alignnone wp-image-1800" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/582-460x306.png" alt="58" width="485" height="322" /> <strong>&nbsp;6.10.</strong> Click on Next (B). <img class="alignnone wp-image-1801" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/592-460x306.png" alt="59" width="494" height="328" /> <strong>6.11.</strong> Click on Next (B). <img class="alignnone wp-image-1802" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/602-460x306.png" alt="60" width="513" height="340" /> <strong>6.12.</strong> Change if required and click on Next (B).<img class="alignnone wp-image-1803" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/613-460x306.png" alt="61" width="484" height="321" /> <strong>6.13.</strong> Change if required and click on Next (B). <img class="alignnone wp-image-1804" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/622-460x306.png" alt="62" width="519" height="344" /> <strong>6.14</strong>. Click on Next (B). <img class="alignnone wp-image-1805" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/632-460x306.png" alt="63" width="490" height="325" /> <strong>6.15.</strong> Resolve if any test is fail and click on Next (B). <img class="alignnone wp-image-1806" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/642-460x306.png" alt="64" width="493" height="327" /> <strong>6.16.</strong> Click on Next (B). <img class="alignnone wp-image-1807" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/652-460x306.png" alt="65" width="507" height="336" /> <strong>6.17.</strong> Click on Yes (B). <strong>6.18.</strong> The installation will start so wait till not completed. <img class="alignnone wp-image-1808" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/662-460x180.png" alt="66" width="487" height="190" /> <img class="alignnone wp-image-1809" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/672-460x307.png" alt="67" width="503" height="335" /> <strong>6.19</strong>. All post-install checks should be successful if there is any issue then resolve it and click&nbsp;on Next (B). <img class="alignnone wp-image-1810" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/682-460x306.png" alt="68" width="501" height="332" /> <strong>6.20.</strong> Click on Finish (B). <strong>6.21.</strong> The next is to check the directory structure as Oracle has changed the structure in R12. <img class="alignnone size-full wp-image-1811" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/692.png" alt="69" width="384" height="461" /> <strong>6.22.</strong> Open internet explorer and enter the URL here in my case it is, <strong>Note:</strong> In EBS Release 12 it is mandatory to first time login with sysadmin in order to complete installation. <img class="alignnone wp-image-1812" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/702-460x265.png" alt="70" width="483" height="277" /> <strong>6.23.</strong> Enter sysadmin in User Name and sysadmin as Password. <strong>6.24.</strong> Click on Login (B). <strong>6.25</strong>. The J2SE setup will be automatically started. <img class="alignnone wp-image-1813" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/713-460x354.png" alt="71" width="487" height="373" /> <strong>6.26.</strong> Click Typical setup and click on Accept (B). <img class="alignnone wp-image-1814" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/722-460x351.png" alt="72" width="487" height="370" /> <strong>6.27.</strong> Click on Finish (B). <img class="alignnone wp-image-1815" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/732-460x344.png" alt="73" width="512" height="382" /> <strong>6.28.</strong> The following is the navigation window of R12. <img class="alignnone wp-image-1816" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/742-460x333.png" alt="74" width="499" height="361" /> &lt;&lt;&lt;&lt;&lt;&lt;----------------------------*******------------------------------------------&gt;&gt;&gt;&gt;&gt; &nbsp; &nbsp; <strong>7. Oracle Applications Installation (Windows)</strong> Now we will try to capture the steps for the Installation of Oracle eBusiness suite on Microsoft&nbsp;Windows. <strong>7.1. Windows OS Setup</strong> <strong>7.1.1.</strong> Fist of all download the latest version of JDK from http: / / java.sun.com and install it &nbsp;while keeping in mind that there should be no space in the folder(s) name. <strong>7.1.2.</strong> During Windows installation please make sure that the machine should be at least 8&nbsp;characters and if during installation it is less than 8 then change it. <strong>7.1.3.</strong> First of all you need to create a new user on Windows server with name &ldquo;oracle&rdquo; and&nbsp;add the user in administrators group to give administrative privileges. <strong>7.1.4.</strong> Logoff and login into as &ldquo;oracle&rdquo; and install the following tools before installation of&nbsp;11i. <strong>7.1.5.</strong> The sequence of installation of these softwares should be as the sequence in the&nbsp;following steps. <strong>7.1.6</strong>. Install the printer on the server before proceeding with the installation. <strong>Note:</strong> There should be no space in the folder names of the following softwares. Do not install&nbsp;in the &ldquo;Program Files&rdquo; folder because there is a space character in the folder name. <strong>7.2. JDK</strong> <strong>7.2.1.</strong> Fist of all download the latest version of JDK from http://java.sun.com and install it&nbsp;while keeping in mind that there should be no space in the folder(s) name. <strong>7.3. MS Outlook</strong> <strong>7.3.1.</strong> For few versions of eBusiness suite you need to install Microsoft Outlook so install&nbsp;the Microsoft Outlook. <strong>7.4. Microsoft Visual C+ +</strong> <strong>7.4.1.</strong> The next is to install Microsoft Visual C+ + . <strong>7.4.2.</strong> Start the setup. <strong>7.4.3.</strong> Select &ldquo;Product&rdquo; on the following screen. <img class="alignnone wp-image-1817" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/752.png" alt="75" width="500" height="401" /> <strong>7.4.4.</strong> Click on Next (B). <img class="alignnone wp-image-1818" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/762.png" alt="76" width="486" height="390" /> <strong>7.4.5.</strong> Select Visual C+ + 6.0 Enterprise Edition and click on Next (B). <img class="alignnone wp-image-1819" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/772.png" alt="77" width="493" height="292" /> <strong>7.4.6</strong>. Select Register Environment Variables and click on OK (B). <img class="alignnone wp-image-1820" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/782.png" alt="78" width="492" height="335" /> <strong>7.4.7.</strong> Enter a folder name and path which should not have any space(s). <strong>7.4.8.</strong> Click on Next (B). <strong>7.4.9.</strong> After the installation reboot the system. <strong>7.4.10.</strong> Next is to install Service Pack 4 for Microsoft Visual Studio <strong>7.4.11.</strong> After Service pack installation reboot the system. <strong>7.5. MKS Toolkit</strong> <strong>7.5.1.</strong> Download the MKS Toolkit from http: / /www.mks.com as a demo version for 30 days&nbsp;is available for free download. <strong>7.5.2.</strong> Start the setup. <img class="alignnone wp-image-1821" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/792.png" alt="79" width="524" height="404" /> <strong>7.5.3.</strong> Click on Next (B). <img class="alignnone wp-image-1822" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/802.png" alt="80" width="504" height="388" /> <strong>7.5.4.</strong> Click on Next (B). <strong>7.5.5.</strong> On the following screen, give non-space name of the folder where you want to install&nbsp;the toolkit. Click the &ldquo;Browse&rdquo; button to change the folder name. You may install the&nbsp;toolkit to C: \mksnt folder as described in the Oracle Installation Guide. <strong>7.5.6</strong>. Click on Next (B). <img class="alignnone wp-image-1823" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/813.png" alt="81" width="497" height="381" /> <strong>7.5.7.</strong> Click on Next (B). <strong>7.5.8</strong>. Wait for the installation to complete. <strong>7.5.9.</strong> Once the installation is complete, go to the &ldquo;MS DOS Prompt&rdquo; and run any Unix&nbsp;command. You must be able to run all Unix commands on Windows successfully.&nbsp;Like for example enter ls command which is same a dir command of windows. <strong>7.6. GNUMake Utility</strong> <strong>7.6.1</strong>. Download the GNU from http: / /www.gnu.org/ and following the instruction as&nbsp;provided by GNU. <strong>7.6.2</strong>. Now copy the gnumake.exe from c: \gnu to c: \mksnt\mksnt. <strong>7.7. Set the Required Paths</strong> <strong>7.7.1.</strong> Right Click the &ldquo;My Computer&rdquo; icon on the desktop and choose &ldquo;Properties&rdquo; from the popup menu. Click the &ldquo;Advanced&rdquo; tab and then &ldquo;Environment Variables&rdquo; . Double Click the &ldquo;Path&rdquo; variable and add the following before %system% and %system32%; ---&gt;c: \mksnt\mksnt;c: \gnu. <strong>7.8. Startup Installation</strong> <strong>7.8.1.</strong> Open the MS DOS Prompt and goto the Rapidwiz directory <strong>7.8.2.</strong> Run the following cmd file to start the installation wizward, E: \Stage11i\ redCD\Disk1\ rapidwiz&gt; rapidwiz.cmd <strong>7.8.3.</strong> This will initiate the installation wizard. <strong>7.8.4.</strong> Once the installation completes reboot the system. <strong>Note:</strong> As the installation steps/ screens are already covered in the above demonstration of&nbsp;installation on Linux so will not be covered. The only difference is the paths so on the installation&nbsp;screen provide the windows paths. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>dd:T562,<p><strong>1. 11i</strong> <strong>1.1.</strong> Execute the following script in the sequence shown below, /u01/oracle/ visdb/9.2.0/appsutil/scripts/VIS_vision/addbctl.sh start /u01/oracle/ visdb/9.2.0/appsutil/scripts/VIS_vision/addlnctl.sh start VIS /u01/oracle/ viscomn/admin/ scripts/VIS_vision/adstrtal.sh apps/apps <strong>1.2.</strong> To stop the services execute the script in the following sequence. /u01/oracle/ viscomn/admin/ scripts/VIS_vision/adstpall.sh apps/apps /u01/oracle/ visdb/9.2.0/appsutil/scripts/VIS_vision/addlnctl.sh stop VIS /u01/oracle/ visdb/9.2.0/appsutil/scripts/VIS_vision/addbctl.sh stop immediate <strong>2. R12</strong> <strong>2.1.</strong> The following scripts are used to Start services. /d01/oracle/VIS/db/ tech_st/10.2.0/appsutil/ scripts/VIS_vision/addbctl.sh start /d01/oracle/VIS/db/ tech_st/10.2.0/appsutil/ scripts/VIS_vision/addlnctl.sh start VIS /d01/oracle/VIS/ inst/apps/VIS_vision/admin/ scripts/adstrtal.sh apps/apps <strong>2.2.</strong> The following scripts are used to Stop services. /d01/oracle/VIS/ inst/apps/VIS_vision/admin/ scripts/adstpall.sh apps/apps /d01/oracle/VIS/db/ tech_st/10.2.0/appsutil/ scripts/VIS_vision/addlnctl.sh stop VIS /d01/oracle/VIS/db/ tech_st/10.2.0/appsutil/ scripts/VIS_vision/addbctl.sh stop immediate &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>de:Ta48,<p><strong>1. Gather Schema Statistics</strong> <strong>1.1.</strong> To gather schema statistics we will submit a request using the requests window, System Administrator: Requests &gt; Run <strong>1.2</strong>. Select Gather Schema Statistics from the LOV in Name field and then on Parameters&nbsp;window select ALL in the Schema Name field. <img class="alignnone wp-image-1942" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/932-460x329.png" alt="93" width="484" height="345" /> &nbsp; <strong>Note:</strong> For further details of parameters click the Help (B) or for more details read about&nbsp;GATHER_SCHEMA_STATS. <strong>1.3.</strong> Click OK (button). <strong>1.4.</strong> Now schedule as per your requirements. I have scheduled it to run this request every&nbsp;Sunday mid night for one year. &nbsp; <img class="alignnone wp-image-1944" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/942-460x310.png" alt="94" width="496" height="334" /> <strong>1.5.</strong> On clicking OK (button) as we have selected Save this schedule the following window&nbsp;will appear, <img class="alignnone wp-image-1946" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/952-460x161.png" alt="95" width="451" height="158" /> <strong>1.6.</strong> Enter Name and Description of the schedule and press OK (button). <strong>1.7.</strong> Now on the main window Submit the request by clicking Request (button). <strong>1.8.</strong> Also have a look on the following requests you may submit as per your requirements <img class="alignnone wp-image-1948" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/962.png" alt="96" width="544" height="321" /> &nbsp; <strong>1.9.</strong> I had submitted a request to show the log file and next day I viewed the log file which is&nbsp;show below, <strong>Note:</strong> Please note the time taken on vision machine so it will vary on the size of data.&nbsp;For this reason I scheduled it at mid night. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>+ ---------------------------------------------------------------------------+ * * Starts* * 15-SEP-2006 23:55:08 * * Ends* * 16-SEP-2006 05:28:45 + ---------------------------------------------------------------------------+</td>
</tr>
</tbody>
</table>
<p>&nbsp; <img class="alignnone wp-image-1949" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/972-460x456.png" alt="97" width="526" height="521" /> &nbsp; &nbsp;</p>df:T732,<p><strong>1. Purging Request of Concurrent Manager</strong> <strong>1.1.</strong> Select request Purge Concurrent Request and/ or Manager Data on the requests window. <strong>1.2.</strong> Select REQUEST in the Entity LOV. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Field</td>
<td>Data</td>
<td>Description</td>
</tr>
<tr>
<td>Entity</td>
<td>REQUEST</td>
<td>To purge the requests.</td>
</tr>
<tr>
<td>Mode</td>
<td>Count</td>
<td>Number of requests will be provided to retain them.</td>
</tr>
<tr>
<td>Mode Value</td>
<td>3</td>
<td>I have entered 3 which means leave latest 3 requests&nbsp;and logs while purge all earlier requests. (if Age is selected in the Mode then here the numbers mean the&nbsp;number of days. Assume that we have selected Age in&nbsp;the Mode field and in Mode Value we entered 365 then&nbsp;last 365 days requests will not be purged so retaining 1&nbsp;year data of requests and logs)</td>
</tr>
<tr>
<td>User Name</td>
<td>XX_USER</td>
<td>These requests and logs are very import so you must ask the concerned departments that how long the history need to be maintained. Here we will just purge the requests of XX_USER.</td>
</tr>
</tbody>
</table>
<p>&nbsp; <img class="alignnone wp-image-1962" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/981-460x377.png" alt="98" width="462" height="377" /> <strong>1.3.</strong> Submit the request and then view the request status, <img class="alignnone wp-image-1964" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/991-460x294.png" alt="99" width="499" height="318" /> <strong>&nbsp;1.4</strong>. Our all old requests are no more in the requests window. I t will also free space on hard&nbsp;disk by deleting log files. &nbsp; &nbsp;</p>e0:T2895,<p>VNC stands for Virtual Network Computing and it was developed at the Olivetti &amp; Oracle&nbsp;Research Laboratory (Cambridge, England) in 1994. Originally running on an ATM-connected thin&nbsp;client device, it was ported to other platforms, including Win32, UNIX, GNU/Linux, and Mac OS. I this a remote display system which allows a thin client (called the VNC viewer) to remotely access a&nbsp;desktop GUI environment on another computer over the network. Since it is platform independent,&nbsp;you can remotely run an Apple desktop from a Windows client, or a UNIX desktop from an Apple&nbsp;client, and so on. VNC allows viewing and operating the console of other computer remotely. Generally it is also&nbsp;known as Remote Frame Buffer (RFB). This document covers the installation of VNC server on&nbsp;Linux Redhat AS 4 and setting up VNC client on Windows XP machine to operate the Redhat Linux&nbsp;server remotely. &nbsp; <strong>1. Server Side Configuration</strong> <strong>1.1.</strong> Login as root on Redhat Linux Server. <strong>1.2.</strong> First we need to check the VNC packages installation. rpm -qa | grep vnc # rpm -qa | grep vnc vnc-server-4.0-8.1 vnc-4.0-8.1 The vnc package is installed as shown above. I f not then install vnc package. <strong>1.3.</strong> To start the VNC on system boot time, # chkconfig --level 345 vncserver on &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>chkconfig - is a simple command line tool to updates and queries runlevel information for system services - - level Specifies the run levels where the operation should affect. I t is given as a string of numbers from 0 to 7. For example, --level 35 specifies runlevels 3 and 5. 0 &ndash; Halt 1 &ndash; Single User Mode 2 &ndash; User Defined 3 &ndash; Full Multi User Mode 4 &ndash; User Definable 5 &ndash; Full Multi User Mode (X-Based login screen) 6 &ndash; Reboot</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Note:</strong> On system reboot the VNC-based X sessions will be updated in the /etc/ sysconfig/ vncservers&nbsp;file and will be start automatically. <strong>1.4.</strong> The next step is to uncomment the following lines and add all the VNC sessions required&nbsp;to start at the startup time in the /etc/ sysconfig/ vncservers file. VNCSERVERS= "1: root 2:oracle" VNCSERVERARGS[1]= "-geometry 800x600" # vi /etc/ sysconfig/ vncservers &nbsp; <strong>vncservers file before update</strong></p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td># The VNCSERVERS variable is a list of display:user pairs. # # Uncomment the line below to start a VNC server on display :1 # as my 'myusername' (adjust this to your own). You will also # need to set a VNC password; run 'man vncpasswd' to see how # to do that. # # DO NOT RUN THIS SERVICE if your local area network is # untrusted! For a secure way of using VNC, see # &lt; URL:http: / /www.uk.research.att.com/ vnc/ sshvnc.html&gt; . # VNCSERVERS= "1:myusername" # VNCSERVERARGS[1]= "-geometry 800x600"</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>vncservers file before update</strong></p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td># The VNCSERVERS variable is a list of display:user pairs. # # Uncomment the line below to start a VNC server on display :1 # as my 'myusername' (adjust this to your own). You will also # need to set a VNC password; run 'man vncpasswd' to see how # to do that. # # DO NOT RUN THIS SERVICE if your local area network is # untrusted! For a secure way of using VNC, see # &lt; URL:http: / /www.uk.research.att.com/ vnc/ sshvnc.html&gt; . VNCSERVERS= "1: root 2:oracle" VNCSERVERARGS[1]= "-geometry 800x600"</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>1.5</strong>. Now login as the user for whom you want to configure VNC or use this command to&nbsp;login. # su &ndash; oracle <strong>1.6</strong>. Run the vncserver command to configure the VNC-based X session. Note: Replace N (vncserver :N) with a number greater than zero. N represents the VNC-based X session permanently assigned for a particular user. We will assign 1 as&nbsp;number of sessions. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>$ vncserver :1 You will require a password to access your desktops. Password: Verify: xauth: creating new authority file /home/oracle/ .Xauthority New 'vision.erpstuff.com:1 (oracle)' desktop is vision.erpstuff.com:1 Creating default startup script /home/oracle/ .vnc/ xstartup Starting applications specified in /home/oracle/ .vnc/ xstartup Log file is /home/oracle/ .vnc/ vision.erpstuff.com:1.log</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>&nbsp;Note:</strong> The above command (vncserver :1) will create the $HOME/ .vnc&gt; directory for the&nbsp;user and will ask for a VNC password. This password will be requested by the VNC viewer&nbsp;program when connecting from a remote machine. <strong>1.7.</strong> I f the user wants to change the VNC password, in future the following command will be used: $ vncpasswd Password: Verify: <strong>1.8.</strong> By default VNC uses the twm windows manager. We will configure GNOME (the default&nbsp;environment in Red Hat Enterprise Linux) desktop environment. Open the $HOME/ .vnc/ xstartup file using vi editor and comment out or delete the lines&nbsp;that start with xterm and twm. $ cd ~ $ pwd /home/oracle $ cd .vnc $ vi xstartup Add gnome-session &amp; as shown below, <img class="alignnone wp-image-1979" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/117-460x175.png" alt="1" width="621" height="236" /> &nbsp; <strong>&nbsp;1.9.</strong> Save the file. <strong>Note:</strong> I f you want to use KDE, add the following line instead of gnome-session &amp;, startkde &amp; <strong>1.10</strong>. After setting the desktop, the existing VNC-based X session must be killed through this&nbsp;command.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>$ vncserver -kill :1 Killing Xvnc process ID 3218</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;1.11.</strong> Restart the VNC session for the effect of the changes. Enter the following commands to&nbsp;restart the newly configured VNC session: &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>vncserver :1 New 'vision.erpstuff.com:1 (oracle)' desktop is vision.erpstuff.com:1 Starting applications specified in /home/oracle/ .vnc/ xstartup Log file is /home/oracle/ .vnc/ vision.erpstuff.com:1.log</td>
</tr>
</tbody>
</table>
<p>&nbsp; Server side configuration is competed now we will configure the Windows XP client machine &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;--------------------****************--------------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <strong>2. Client Side Configuration</strong> <strong>2.1.</strong> First of all we need the VNC viewer software. To download visit the following link, http: / /www.realvnc.com/download.html <strong>2.2.</strong> Download any of the following two options of VNC Free Edition Viewer for Windows. <img class="alignnone wp-image-1983" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/215-460x58.png" alt="2" width="486" height="60" /> <strong>Note:</strong> I f you are going to download Zip Archive then you need WinZip software to extract the&nbsp;executable file. http: / /www.winzip.com/ <strong>2.3.</strong> Extract or place the file in a folder on your local drive. C: \ vncviewer <strong>2.4.</strong> On running the exe file on your windows client and the following screen will appear. <img class="alignnone wp-image-1985" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/315.png" alt="3" width="486" height="205" /> <strong>2.5.</strong> Enter IP address of your VNC server we configured above in the following format, IP address :1 <strong>Note:</strong> For security reasons the IP address is not shown here but hope there should be&nbsp;no issue in providing your server IP in this field. Don&rsquo;t forget to click on Options button&nbsp;to have few setting of vnc viewer. <strong>2.6.</strong> Enter the password same we set above while configuring server side, <img class="alignnone wp-image-1987" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/416.png" alt="4" width="650" height="200" /> <strong>2.7.</strong> The following options screen will appear, <img class="alignnone wp-image-1988" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/515.png" alt="5" width="634" height="119" /> <strong>2.8.</strong> By default, VNC starts up only a simple window manager and a terminal window. To&nbsp;avoid the above options screen we will perform the following steps and will uncomment&nbsp;the unset and exec lines and will add shost + in the xstartup file as shown below, <img class="alignnone wp-image-1989" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/614-460x178.png" alt="6" width="478" height="185" /> <strong>2.9.</strong> Save the file after modification. <strong>1.12.</strong> After setting the desktop, the existing VNC-based X session must be killed through this&nbsp;command.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>$ vncserver -kill :1 Killing Xvnc process ID 3218</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>&nbsp;1.13</strong>. Restart the VNC session for the effect of the changes. Enter the following commands to&nbsp;restart the newly configured VNC session:</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>vncserver :1 New 'vision.erpstuff.com:1 (oracle)' desktop is vision.erpstuff.com:1 Starting applications specified in /home/oracle/ .vnc/ xstartup Log file is /home/oracle/ .vnc/ vision.erpstuff.com:1.log</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;2.10.</strong> Here is the Linux Redhat server desktop on you windows XP client. <img class="alignnone wp-image-1993" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/714-460x346.png" alt="7" width="481" height="361" /> &nbsp; &nbsp; &nbsp; &nbsp;</p>e1:T8fe,<p><strong>1. Display Settings</strong> When you will receive the following error while running reports with output set to PDF then you&nbsp;need to set Display Settings (Oracle Toolkit). <img class="alignnone wp-image-2018" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/118-460x99.png" alt="11" width="464" height="99" /> <strong>1.1.</strong> Login as Oracle user on Linux server locally. <strong>1.2.</strong> Update the DisallowTCP and set to false in the gdm.conf file on application server&nbsp;machine. /etc/X11/gdm <strong>1.3.</strong> Open the file in any editor $ vi/etc/X11/gdm/gdm.conf <strong>1.4.</strong> Open the terminal window and execute the following statements. $ set DISPLAY= localhost:0.0 $ xhost + $ export DISPLAY= localhost:0.0 $ xhost + localhost localhost being added to access control list <strong>1.5.</strong> To verify display settings use xclock or xterm. $ xclock <img class="alignnone wp-image-2019" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/135.png" alt="13" width="253" height="275" /> $ xterm <img class="alignnone wp-image-2020" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/144.png" alt="14" width="366" height="141" /> <strong>Note:</strong> I f these windows are displayed then it means that display settings are ok. <strong>1.6.</strong> Alternatively make the following change in the adrepctl.sh file. This will eliminate the&nbsp;above manual steps on each restart of server. $ vi /oracle/prodcomn/admin/ scripts/ VIS_vision/adrepctl.sh <strong>1.7.</strong> Insert xhost + and save the file. Now each time when you will start the apps services&nbsp;display setting will be set. <strong>1.8.</strong> Open the .bash_profile of Oracle user, $ cd ~ &ldquo;go to home folder of oracle user&rdquo; $ vi .bash_profile <strong>1.9.</strong> Insert the following line, export DISPLAY= "vision:0.0" <img class="alignnone wp-image-2021" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/154-460x161.png" alt="15" width="483" height="169" /> <strong>Note:</strong> These settings will only work if the user Oracle will remain logged in. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>e2:T21ab,<p><strong>Reports Integration </strong> <strong>1. Sample report Development </strong> <strong>2. Integration in Applications</strong> <strong>3. Reports output in Excel</strong> &nbsp; <strong>1. Sample report Development</strong> For Development and deployment you should have Oracle Reports Builder 6i with latest patch&nbsp;applied and Access to deploy reports and copy file on server. 1.1. For demonstration I have developed a simple listing report using Oracle Report Builder&nbsp;and here is the query with single parameter. <img class="alignnone wp-image-2039" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/224-460x247.png" alt="22" width="453" height="243" /> <strong>Note:</strong> Note the parameters (TOKENS) like here it is :P_SET_OF_BOOKS_ID. <img class="alignnone wp-image-2040" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/234-460x391.png" alt="23" width="464" height="394" /> <strong>1.2.</strong> Save the report as CGLTESTREP where I have used C for customized reports. While&nbsp;saving be careful that extension rdf must be in small characters as by default reports&nbsp;builder saves in capital letters. <strong>1.3.</strong> Copy the file on server in / u01/ oracle/ visappl/ gl/ 11.5.0/ reports/ US folder. <strong>1.4.</strong> Verify file extension as it should be is small letters. $&gt; ls CGLTESTREP.* CGLTESTREP.rdf &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;---------------*************--------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <strong>2. Integration in Applications</strong> <strong>1.1.</strong> Login to Oracle Applications with System Administrator Responsibility. <strong>1.2</strong>. Open the Executable screen to register the report. Sys Admin : Concurrent &gt; Program &gt; Executable <strong>1.3.</strong> Provide the information as shown below and save the record. <img class="alignnone wp-image-2041" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/244-460x219.png" alt="24" width="477" height="226" /> 1.4. The next step is to define the report and its parameters by using the Define screen. Sys Admin : Concurrent <strong>&gt;</strong> Program <strong>&gt;</strong> Define <img class="alignnone wp-image-2042" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/254-460x306.png" alt="25" width="499" height="331" /> <strong>1.5.</strong> Select your desired Output Format from the list (HTML, PCL, PDF, PostScript, Text and&nbsp;XML), here I have selected PDF. <strong>1.6.</strong> After providing all the required information on Definition main screen click Parameters&nbsp;(button) to provide parameters of the report. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Sr.</td>
<td>Parameter Name</td>
<td>Value Set</td>
<td>Default Type</td>
<td>Default Value</td>
<td>Prompt</td>
<td>Token</td>
</tr>
<tr>
<td>10</td>
<td>Set of Books ID</td>
<td>GL_SRS_NULL_NUM</td>
<td>Profile</td>
<td>GL_SET_OF_BKS_ID</td>
<td>Set Of Books ID</td>
<td>P_SET_OF_BOOKS_ID</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2044" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/264-460x310.png" alt="26" width="492" height="331" /> <strong>&nbsp;Note:</strong> Define all the parameters of report as here we have only one so we will just save the record&nbsp;and will close the form. <strong>1.7.</strong> Now the next question is who can access this report? To do so we have to assign a&nbsp;Request Group. <strong>1.8.</strong> To find the Request Group open the responsibility screen and search &ldquo;General Ledger&nbsp;Super user&rdquo; responsibility. Sys Admin : Security <strong>&gt;</strong> Responsibility<strong> &gt;</strong> Define <img class="alignnone wp-image-2046" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/284-460x300.png" alt="28" width="465" height="302" /> &nbsp; <strong>&nbsp;1.9.</strong> Copy or note the Request Group Name which is &ldquo;GL Concurrent Program Group&rdquo; <strong>1.10.</strong> Now to add the report to this Request Group we will open the Request screen, Sys Admin : Security &gt; Responsibility &gt; Request <strong>1.11.</strong> Query to find the Request Group &ldquo;GL Concurrent Program Group&rdquo; . <strong>1.12</strong>. Add a record and enter report name in the name field as shown below. <img class="alignnone wp-image-2048" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/294-460x297.png" alt="29" width="449" height="289" /> <strong>1.13</strong>. Save the information. <strong>1.14.</strong> Now to check the integrated report switch to General Ledger responsibility and submit a&nbsp;request. <img class="alignnone wp-image-2051" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/304-460x322.png" alt="30" width="466" height="326" /> <strong>&nbsp;Note:</strong> I f the report failed and following error of Oracle Toolkit appears then you will have to set&nbsp;the Display Settings. For this search Display Settings in this document. <img class="alignnone wp-image-2053" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/316-460x88.png" alt="31" width="437" height="83" /> &nbsp; &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;---------------*************--------------&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &nbsp; <strong>&nbsp;3. Reports output in Excel</strong> We can get the text reports output in excel instead of browser. The steps are as below, <strong>1.1.</strong> Login as System Administrator and open the Viewer Options screen, Sys Admin : Install &gt; Viewer Options <strong>1.2.</strong> Create a new Viewer option with the following input data, table border="1" cellpadding="1" cellspacing="1" style="width: 500px;"&gt;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>File Format</strong></td>
<td><strong>Text</strong></td>
</tr>
<tr>
<td>Mime Type</td>
<td>application/ vnd.ms-excel</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2060" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/324-460x197.png" alt="32" width="492" height="210" /> <strong>1.3.</strong> Save the data. <strong>1.4.</strong> Open System Profile screen and search Viewer: Application for Text, <img class="alignnone wp-image-2062" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/334-460x329.png" alt="33" width="471" height="336" /> <strong>1.5.</strong> Select the defined viewer option. Like here we had defined Microsoft Excel 11i for user&nbsp;XX_USER. <img class="alignnone wp-image-2063" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/344-460x222.png" alt="34" width="473" height="227" /> <strong>1.6</strong>. Logout and login again to submit a report. <strong>1.7.</strong> Submit a text report like Active Users and the view its output. <img class="alignnone wp-image-2064" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/353-460x313.png" alt="35" width="496" height="337" /> <strong>1.8.</strong> After completion click View Output (button) and a MS Internet Explorer dialog will&nbsp;appear. Click Open (button) on the dialog and the report will be displayed in MS Excel. <img class="alignnone wp-image-2065" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/363-460x249.png" alt="36" width="478" height="258" /> <strong>Note:</strong> I f this dialog is not appearing then follow the following steps to enable download&nbsp;settings of MS Internet Explorer. <strong>1.9.</strong> To enable download settings, IE Menu: Tools &gt; Security &gt; Internet &gt; Custom Level &gt; Downloads <img class="alignnone wp-image-2066" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/374.png" alt="37" width="436" height="511" /> <strong>1.10.</strong> Ensure that Download settings are enabled. <strong>Note:</strong> These download settings are important to set if you are trying to export data from a&nbsp;form of any module using Menu &gt; File &gt; Export. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>e3:T120a,<p>The following are recommended Microsoft Internet Explorer settings for Oracle Applications. <strong>1. Security Zones</strong> There are four security zones in MSIE and Oracle recommends security setting at Medium. Which zone is used is dependant how you are accessing your site (Internet or Local Intranet) and set up within the zones themselves (Trusted sites &amp; restricted sites).</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Zone</strong></td>
<td><strong>Usage</strong></td>
<td><strong>Default</strong></td>
</tr>
<tr>
<td>Internet</td>
<td>Web sites not placed in other zones</td>
<td>Medium</td>
</tr>
<tr>
<td>Local intranet</td>
<td>Web sites on your organization's intranet</td>
<td>Medium-Low</td>
</tr>
<tr>
<td>Trusted sites</td>
<td>Web sites you trust not to damage your computer</td>
<td>Low</td>
</tr>
<tr>
<td>Restricted sites</td>
<td>Web sites that could potentially damage your computer</td>
<td>High</td>
</tr>
</tbody>
</table>
<p><strong>1.1.</strong> The Trusted Sites zone is recommended with a 'Medium' Security Setting. Open the Security tab, MSIE: Menu &gt; Tools &gt; Internet Options &gt; Security tab &gt; Trusted Sites icon &gt; Sites &nbsp; <img class="alignnone wp-image-2069" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/384.png" alt="38" width="466" height="593" /> <img class="alignnone wp-image-2070" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/394.png" alt="39" width="416" height="373" /> <strong>1.2.</strong> Uncheck the check box &ldquo;Require server verification (https: () for all sites in this zone&rdquo; . <strong>1.3</strong>. Add the applications hostname and domain. <strong>1.4.</strong> Click add (button) to add the link in the Trusted Websites. &nbsp; <strong>2. JInitiator</strong> JInitiator 1.3.1.x versions will download and install on any security setting except High, therefore&nbsp;the security setting should not need any adjustments at download and install time. &nbsp; <strong>3. Page Refresh</strong> When using Oracle Self-Service products to view the most current data the following settings need&nbsp;to be set in MSIE. <strong>3.1.</strong> To set 'Page Refresh', MSIE: Menu &gt; Tools &gt; Internet Options &gt; General tab &gt; Settings <img class="alignnone wp-image-2071" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/340.png" alt="340" width="434" height="439" /> <strong>3.2.</strong> The option 'Every visit to the page' should be checked. &nbsp; &nbsp; &nbsp; <strong>4. Shared Desktop Security</strong> I f a PC is shared by multiple users then encrypted pages should not be saved on the pc locally. <strong>4.1.</strong> Open the Advanced tab of Internet Options, MSIE: Menu &gt; Tools &gt; Internet Options &gt; Advanced tab &gt; Security <img class="alignnone size-full wp-image-2072" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/417.png" alt="41" width="418" height="516" /> <strong>4.2.</strong> Check the box of 'Do not save encrypted pages to Disk'. Click OK to confirm changes. &nbsp; <strong>&nbsp;5. Auto complete in Internet Explorer</strong> MSIE automatically displays the last entered values so for security reason it is better to disable this&nbsp;option. <strong>5.1.</strong> Open Content tab, MSIE: Menu &gt; Tools &gt; Internet Options &gt; Content <img class="alignnone wp-image-2096" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/424.png" alt="42" width="474" height="596" /> <img class="alignnone wp-image-2097" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/434.png" alt="43" width="416" height="409" /> <strong>5.2.</strong> Click Settings (button) of AutoComplete region and uncheck 'Forms' and 'User names&nbsp;and passwords on forms'. Click OK to confirm the changes. &nbsp; &nbsp; <strong>6. HTTP 1.1/Keep Alive Settings</strong> For Oracle Applications version 11.5.9 or later &ldquo;HTTP 1.1/Keep Alive&rdquo; should be enabled.<strong>&nbsp;</strong> <strong>6.1.</strong> Open the Advanced tab, MSIE: Menu &gt; Tools &gt; Internet Options &gt; Advanced <img class="alignnone wp-image-2098" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/444.png" alt="44" width="426" height="540" /> <strong>6.2.</strong>Under HTTP 1.1 Settings both options &ldquo;Use HTTP 1.1&rdquo; and &ldquo;Use HTTP 1.1 through proxy&nbsp;connections&rdquo; should bi checked. &nbsp; &nbsp;</p>e4:T9df,<p><strong>1. Personalize fields properties</strong> In this topic we will personalize three properties of user definition form.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Field</strong></td>
<td><strong>Action</strong></td>
</tr>
<tr>
<td>Person</td>
<td>Change title to Employee</td>
</tr>
<tr>
<td>E-Mail</td>
<td>Hide the field.</td>
</tr>
<tr>
<td>Fax</td>
<td>Hide the field.</td>
</tr>
</tbody>
</table>
<p><strong>1.5.</strong> Login as Sys Admin and open the user form, Sys Admin: Security &gt; User &gt; Define <img class="alignnone wp-image-2113" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/455-460x308.png" alt="45" width="405" height="270" /> <strong>1.6.</strong> Open the personalize form, Menu &gt; Help &gt; Diagnostics &gt; Custom Code &gt; Personalize <strong>&nbsp;1.7.</strong> Provide apps password on the displayed dialog. <strong>1.8</strong>. Enter the required data and select WHEN-NEW-FORM-INSTANCE as trigger event. <img class="alignnone wp-image-2114" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/466-460x275.png" alt="46" width="411" height="245" /> 1.9. Click the Actions (tab) and click in the first row, <img class="alignnone wp-image-2115" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/494-460x275.png" alt="49" width="424" height="253" /> <strong>&nbsp;1.10.</strong> Now click in the next row to set properties of E-Mail field. <img class="alignnone wp-image-2116" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/475-460x276.png" alt="47" width="443" height="266" /> <strong>&nbsp;1.11.</strong> Click in the next row to set properties of Fax field. <img class="alignnone wp-image-2117" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/505-460x277.png" alt="50" width="412" height="247" /> <strong>1.12.</strong> Save the information. <strong>1.13.</strong> Close both Personalization and Users form. <strong>1.14.</strong> Open the user definition form as this time our trigger will execute. <img class="alignnone wp-image-2118" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/517-460x310.png" alt="51" width="453" height="305" /> <strong>1.15.</strong> View the changes. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<div id="malwarebytes-root"></div>e5:T5b0,<p><strong>1. Changing color scheme</strong> <strong>1.1.</strong> Login as Sys Admin and open the System profiles, Sys Admin: Profile &gt; System <strong>1.2.</strong> As we will change the color scheme only for our XX_USER so enter the user name in the&nbsp;User field and Java Color Scheme in the Profile field. <img class="alignnone wp-image-2121" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/523-460x341.png" alt="52" width="464" height="343" /> <strong>1.3.</strong> Click on Find (button). <img class="alignnone wp-image-2123" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/53-Copy-460x277.png" alt="53 - Copy" width="482" height="289" /> 1.4. Under the User name open LOV and select a color like I have selected blue. 1.5. Click the OK (button). 1.6. Save the data and logout from the Oracle Applications. 1.7. Now login as XX_USER and view the color change. <img class="alignnone wp-image-2124" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/543-460x393.png" alt="54" width="451" height="385" /> <strong>Note:</strong> The above change will only work for XX_USER as we changed color scheme only for&nbsp;this user. For a Site level change do not provide user. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>e6:T21cb,<p><strong>1. Configuring Windows Shared Printer on Linux</strong> <strong>1.1</strong>. Login as root on Linux Server (Oracle Applications Server), Linux AS 4 : Applications &gt; System Settings &gt; Printing <img class="alignnone wp-image-2127" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/553.png" alt="55" width="370" height="302" /> <strong>1.2.</strong> Click New (button). <img class="alignnone wp-image-2128" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/563-460x281.png" alt="56" width="467" height="285" /> <strong>1.4</strong>. Enter Queue name in the name field and a short description. <strong>1.5.</strong> Click Forward (button). <img class="alignnone wp-image-2129" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/573-460x286.png" alt="57" width="482" height="299" /> <strong>1.4.</strong> Enter Queue name in the name field and a short description. <strong>1.5.</strong> Click Forward (button). <img class="alignnone wp-image-2130" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/583-460x283.png" alt="58" width="465" height="285" /> <strong>1.6.</strong> Select a queue type by clicking on LOV. <img class="alignnone wp-image-2131" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/593-460x285.png" alt="59" width="469" height="289" /> <strong>1.7.</strong> Select Networked Windows (SMB). <img class="alignnone wp-image-2132" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/603-460x287.png" alt="60" width="451" height="281" /> <strong>Note:</strong> For security reasons the Share names are removed from the above window. <strong>1.8</strong>. Click Specify (button). <img class="alignnone wp-image-2133" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/615.png" alt="61" width="435" height="380" /> <strong>1.9.</strong> Here the Server is the windows XP machine (name / IP address) where printer is&nbsp;installed. In the Share field enter windows XP machine (name / IP address) and the&nbsp;printer share name. The next field is User name here provide domain name ,user name&nbsp;and provided windows domain password in the Password field. <strong>1.10.</strong> Click OK (button). <img class="alignnone wp-image-2134" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/623-460x287.png" alt="62" width="491" height="306" /> <strong>1.11.</strong> Select the Queue and click Forward (button). <img class="alignnone wp-image-2135" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/633-460x283.png" alt="63" width="453" height="278" /> Select the manufacturer. <img class="alignnone size-full wp-image-2136" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/643.png" alt="64" width="240" height="600" /> <strong>1.13.</strong> Select HP as the manufacturer. <img class="alignnone wp-image-2137" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/653-460x285.png" alt="65" width="428" height="264" /> <strong>1.14.</strong> Select or type LaserJet 1200. <strong>Note:</strong> The text box will appear when you will start typing. <strong>1.15.</strong> Click Forward (button). <img class="alignnone wp-image-2138" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/663-460x282.png" alt="66" width="475" height="290" /> <strong>1.16.</strong> Confirm the Type, Share and Printer and Click Finish (button). <img class="alignnone wp-image-2139" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/673.png" alt="67" width="404" height="189" /> <strong>1.17.</strong> Click Yes if you want to print a test print. <img class="alignnone wp-image-2140" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/683.png" alt="68" width="441" height="360" /> <img class="alignnone wp-image-2141" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/693.png" alt="69" width="372" height="174" /> <strong>Note:</strong> I f you will not take a test print then on next screen you will have to click Apply (button)&nbsp;to save the settings. <img class="alignnone wp-image-2142" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/715.png" alt="71" width="392" height="315" /> 1.18. I f test print is printed then click Apply (button). ----------------------------------------------------------------------------------------------- <strong>2. Defining Printer in Oracle Applications</strong> We will use default definitions of Printer Drivers, Print Styles and Printer Types as most of the&nbsp;drivers of common printer are already provided by Oracle in Oracle Applications. In case you have&nbsp;a printer of which drivers are not defined then you will have to provide information on these&nbsp;screens. <strong>2.1.</strong> Login as XX_USER and switch to SYSADMIN responsibility, Sysadmin : Install &gt; Printer &gt; Driver <img class="alignnone wp-image-2144" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/723-460x258.png" alt="72" width="470" height="263" /> <strong>2.2.</strong> To define Printer Drivers the SRW Driver will be used while defining Print Styles so&nbsp;keep in mind while entering information in this field. The Arguments, Initialization and&nbsp;Reset settings will be available in the printer manual or ask your hardware vendor. <strong>2.3.</strong> To define Printer Style open the Style screen, Sysadmin : Install &gt; Printer &gt; Style <strong>2.4.</strong> Provide Style Name, SRW Driver and other required information. <img class="alignnone wp-image-2145" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/733-460x192.png" alt="73" width="439" height="183" /> <strong>2.5.</strong> The next step is to define Printer Type. Sysadmin : Install &gt; Printer &gt; Types <strong>2.6.</strong> Provide Style defined earlier. <img class="alignnone wp-image-2146" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/743-460x303.png" alt="74" width="484" height="318" /> <strong>2.7.</strong> Now we will define the printer by providing Printer name which we configured on Linux&nbsp;machine. Sysadmin : Install &gt; Printer &gt; Register <strong>2.8.</strong> Enter HPLaser in the Printer field and select HPLJ4 in the Type field. <img class="alignnone wp-image-2147" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/753-460x256.png" alt="75" width="490" height="271" /> ---------------------------------------------------------------------------------------------- <strong>3. Reports Printing using above Defined Printer</strong> <strong>3.1.</strong> Submit a new request of Active Users Report, <img class="alignnone wp-image-2148" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/763-460x329.png" alt="76" width="479" height="342" /> <strong>3.2.</strong> Click Options (button). <img class="alignnone wp-image-2149" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/773-460x457.png" alt="77" width="433" height="430" /> <strong>3.3.</strong> Select HPLaser in the Printer field and enter 1 in the Copies field. <strong>3.4</strong>. Click OK (button). <strong>3.5.</strong> Report should be printed otherwise verify the above steps. <strong>3.6.</strong> We can also assign Printer to Concurrent Programs. Open the Concurrent Programs&nbsp;screen, Sysadmin : Concurrent &gt; Program &gt; Define <strong>3.7.</strong> Search Active Users program. <img class="alignnone wp-image-2150" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/783-460x307.png" alt="78" width="491" height="327" /> <strong>3.8.</strong> Select HPLaser in the Output Printer. <strong>3.9.</strong> Save the information. <strong>3.10.</strong> Submit a new request of Active Users and check that HPLaser is the default printer in&nbsp;the Print to field. <img class="alignnone wp-image-2152" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/793-460x328.png" alt="79" width="423" height="300" /> <strong>Note:</strong> Default is 0 in the Copies field and you can change it by changing system profile&nbsp;Concurrent:Report Copies. Here you can provide by clicking the Options (button). &nbsp; &nbsp;</p>e7:T663,<p>Next, let us check the deployed process through Weblogic&rsquo;s EM console.&nbsp;Openhttp://localhost:7001/em. Drill down to &ldquo;default&rdquo; domain from SOA node on the left side navigation bar. <img class="alignnone wp-image-1399" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide871-460x345.png" alt="Slide87" width="499" height="374" /> Select &ldquo;HelloWorld [1.0]&rdquo; process and click on &ldquo;Test&rdquo; service. <img class="alignnone wp-image-1400" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide88-460x345.png" alt="Slide88" width="505" height="379" /> Under &ldquo;Input Arguments&rdquo; section, we can see &ldquo;input&rdquo; as one of the fields of payload. Enter &ldquo;World&rdquo; in input field and click on &ldquo;Test Web Service&rdquo;. <img class="alignnone wp-image-1401" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide89-460x345.png" alt="Slide89" width="491" height="368" /> Input payload can also be seen in XML format by selecting &ldquo;XML View&rdquo;. <img class="alignnone wp-image-1402" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide90-460x345.png" alt="Slide90" width="493" height="370" /> Response will have &ldquo;Hello&rdquo; prefixed to our input string &ldquo;World&rdquo;. <img class="alignnone wp-image-1404" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide911-460x345.png" alt="Slide91" width="499" height="374" /> This completes our Hello World process. &nbsp;</p>e8:Tff7,<p><strong>1. Page Size Customization</strong> While printing checks (cheques) and invoices there is always a requirement to customize the page&nbsp;size on dot matrix printers while printing on the scroll (continuous paper sheet). Here for&nbsp;demonstration I have selected EPSON LQ-300+ and will demonstrate on Windows XP operating&nbsp;system. <strong>1.1.</strong> Login as local administrator on your Windows XP machine, Windows : Start &gt; Printer and Faxes <img class="alignnone size-full wp-image-2156" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/803.png" alt="80" width="445" height="506" /> <strong>1.2</strong>. Install the drivers of your printer if not already installed. Here we have EPSON LQ-&nbsp;300+ ESC/ P 2 installed. <strong>1.3.</strong> Click (single) on the installed printer and from menu File &gt; Server Properties <img class="alignnone wp-image-2157" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/815.png" alt="81" width="484" height="419" /> <img class="alignnone wp-image-2166" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/824.png" alt="82" width="441" height="496" /> 1.4. Select any Form and enable the check box Create a new form. 1.5. Provide Form name and provide your desired Paper size (Width &amp; Height) in inches.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Form name</td>
<td>Erpstuff paper size 8.50x4.00</td>
</tr>
<tr>
<td>Width</td>
<td>8.50in (inches)</td>
</tr>
<tr>
<td>Heigh</td>
<td>4.00in (inches)</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2164" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/834.png" alt="83" width="447" height="504" /> <strong>1.6.</strong> Click OK (button) to save the settings. <strong>1.7.</strong> Now open the properties page of your printer by right clicking the printer icon. <img class="alignnone size-full wp-image-2163" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/844.png" alt="84" width="413" height="470" /> <strong>1.8.</strong> Click Printing Preferences (button) and select Paper Size erpstuff paper size 8.50x4.00. <img class="alignnone size-full wp-image-2162" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/853.png" alt="85" width="400" height="418" /> <strong>&nbsp;1.9.</strong> Click OK (button) on all screens to save the changes. <strong>1.10.</strong> Send a print from Oracle Report Builder. &nbsp; <img class="alignnone wp-image-2167" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/873-460x262.png" alt="87" width="484" height="274" /> <img class="alignnone wp-image-2168" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/883-460x260.png" alt="88" width="511" height="288" /> <strong>Note:</strong> The layout of the reports developed in Oracle Report Builder 6i based on scott schema. <strong>1.11.</strong> Make sure the proper Printer Name is selected. <img class="alignnone size-full wp-image-2169" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/893.png" alt="89" width="440" height="338" /> <strong>&nbsp;1.12.</strong> Make sure the proper Printer Name is selected and also verify the Properties. <strong>1.13.</strong> Take the printout from the printer and match with your requirements. <img class="alignnone wp-image-2170" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/903-460x62.png" alt="90" width="488" height="65" /> <img class="alignnone wp-image-2172" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/915-460x319.png" alt="91" width="490" height="340" /> <img class="alignnone wp-image-2173" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/922-460x287.png" alt="92" width="505" height="315" /> &nbsp;</p>
<div id="malwarebytes-root"></div>e9:T32ae,<p>The most powerful feature of Oracle Applications is the Flexfield feature. I t can be defined as &ldquo;A&nbsp;flexfield is a field which contains sub-fields or segments&rdquo; . There are two types of flexfields, Key&nbsp;flexfield (KFF) and descriptive flexfield (DFF). Both flexfields contain segments where each&nbsp;segment has a name and set of valid values. DFF is used to capture descriptive information. As Oracle has provided maximum fields to capture&nbsp;information on each screen but few companies still want to capture more data on certain screen&nbsp;but in a different way. For example on Oracle Assets you want to capture computers detailed&nbsp;information like RAM, HDD, CDD, Mother board etc. So one way for Oracle was to add such fields&nbsp;on the form for you but just think that Oracle Applications is not specific to computer companies. Here there is a need of DFF. I t is context sensitive and for each context value different fields&nbsp;would be available. Just for understanding let me give another example as DFF is bit confusing. A&nbsp;company requirement is to capture different detail of computer parts CDD, RAM, HDD, Monitor for&nbsp;each will have different sort of info, CDD: Make, Speed Monitor: Make, Size, Serial no So in the context value when the user will select CDD two fields Make, Speed will be displayed for&nbsp;input while on select of Monitor Make, Size and Serial no. I hope it would be enough for&nbsp;understanding DFF. <strong>1. Locating Descriptive Flexfield (DFF) on the Form</strong> In this topic we will define a DFF on Paybles Invoice Distributions form. The first question is how&nbsp;we can know which DFF is for that form. So we will discuss that how to locate a DFF on a form. <strong>1.1.</strong> Open the Invoices form, Payables: Invoices &gt; Entry &gt; Invoices <strong>1.2.</strong> Search any entered invoice so you can move in the form or enter a new one. <img class="alignnone wp-image-2185" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/982-460x281.png" alt="98" width="507" height="309" /> <strong>1.3.</strong> Click on Distributions (button). <img class="alignnone wp-image-2186" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/992-460x280.png" alt="99" width="491" height="298" /> <strong>1.4.</strong> Open the Examine from Menu: Help &gt; Diagnostic &gt; Examine. <strong>1.5.</strong> Provide the APPS password if prompted. <img class="alignnone wp-image-2188" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1001.png" alt="100" width="372" height="223" /> <strong>1.6.</strong> Note the value of Block D_SUM_FOLDER field and click the LOV button of Block field. <img class="alignnone size-full wp-image-2189" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1011.png" alt="101" width="298" height="296" /> <strong>1.7. S</strong>elect $DESCRI PTI VE_FLEXFI ELD$ and click OK (button). <img class="alignnone wp-image-2191" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1021.png" alt="102" width="390" height="451" /> <strong>1.8.</strong> Locate D_SUM_FOLDER here it is D_SUM_FOLDER.DI ST_DF and click OK (button). <img class="alignnone wp-image-2192" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1031.png" alt="103" width="370" height="223" /> 1.9. Note the value displayed I nvoice Distribution (Payables) . Here the Invoice Distribution is DFF name and Payables is the name of application. &nbsp; <strong>2. Defining Descriptive Flexfield (DFF)</strong> <strong>2.1</strong>. Open the Segments form, Payables: Setup &gt; Flexfield &gt; Descriptive &gt; Segments Or&nbsp;Sys Admin: Application &gt; Flexfield &gt; Descriptive &gt; Segments <strong>2.2</strong>. Search for Application Payables and Title Invoice Distribution. <img class="alignnone wp-image-2193" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1041-460x298.png" alt="104" width="485" height="313" /> 2.3. Elements defined as Global Data Elements will be for each transaction so we can also&nbsp;call that these will be used as header. Soon you will know. 2.4. Enter the information in the required fields. <img class="alignnone wp-image-2195" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/105-460x265.png" alt="105" width="499" height="286" /> <img class="alignnone wp-image-2196" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/106-460x250.png" alt="106" width="497" height="270" /> <strong>2.5.</strong> I have assigned Value Set 16 Characters so the length will be of 16 characters. I f you&nbsp;will not assign Value Set then a warning message will appear that it will truncate the&nbsp;field. I have created only one element so you can create more. <strong>2.6.</strong> Save the data. <img class="alignnone wp-image-2197" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/107-460x307.png" alt="107" width="494" height="329" /> <strong>2.7.</strong> In the second line enter Freight as code and then click Segments (button). <strong>2.8.</strong> Enter the following information.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Number</strong></td>
<td><strong>Name</strong></td>
<td><strong>Window Prompt</strong></td>
<td><strong>Column</strong></td>
</tr>
<tr>
<td>10</td>
<td>Common</td>
<td>Common</td>
<td>ATTRIBUTE1</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2198" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/108-460x251.png" alt="108" width="499" height="271" /> <strong>2.9.</strong> Save the data. <strong>2.10.</strong> Now we will define for Imports. <img class="alignnone wp-image-2199" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/109-460x298.png" alt="109" width="469" height="303" /> 2.11. Click Segments (button). 2.12. Enter the following information.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Number</td>
<td>Name</td>
<td>Window Prompt</td>
<td>Column</td>
</tr>
<tr>
<td>10</td>
<td>LC Number</td>
<td>LC No</td>
<td>ATTRIBUTE1</td>
</tr>
<tr>
<td>20</td>
<td>Shipment Number</td>
<td>Shipment No</td>
<td>ATTRIBUTE13</td>
</tr>
<tr>
<td>30</td>
<td>Expense Head</td>
<td>Expense Head</td>
<td>ATTRIBUTE15</td>
</tr>
<tr>
<td>40</td>
<td>Expense Sub Head</td>
<td>Expense Subhead</td>
<td>ATTRIBUTE2</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2200" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1101-460x249.png" alt="110" width="487" height="263" /> <strong>2.13.</strong> Save and close this form. <strong>2.14.</strong> Create another line for Insurance. <img class="alignnone wp-image-2201" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1111-460x307.png" alt="111" width="485" height="323" /> <strong>&nbsp;2.15.</strong> Click Segments (button). <strong>2.16.</strong> Enter the following information.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Number</td>
<td>Name</td>
<td>Window Prompt</td>
<td>Column</td>
</tr>
<tr>
<td>10</td>
<td>Name of Insurer</td>
<td>Name of Insurer</td>
<td>ATTRIBUTE1</td>
</tr>
<tr>
<td>20</td>
<td>Nature of Policy</td>
<td>Nature of Policy</td>
<td>ATTRIBUTE2</td>
</tr>
<tr>
<td>30</td>
<td>Next Premium Due</td>
<td>Next Premium Due</td>
<td>ATTRIBUTE3</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2202" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1121-460x251.png" alt="112" width="526" height="286" /> <strong>&nbsp;2.17.</strong> Save and close this form. <strong>2.18.</strong> On the main form create a line for Rent and enter the following information.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Number</td>
<td>Name</td>
<td>Window Prompt</td>
<td>Column</td>
</tr>
<tr>
<td>10</td>
<td>Location</td>
<td>Location</td>
<td>ATTRIBUTE1</td>
</tr>
<tr>
<td>20</td>
<td>Address</td>
<td>Address</td>
<td>ATTRIBUTE2</td>
</tr>
<tr>
<td>30</td>
<td>Nature</td>
<td>Nature</td>
<td>ATTRIBUTE3</td>
</tr>
<tr>
<td>40</td>
<td>Monthly Rent</td>
<td>Monthly Rent</td>
<td>ATTRIBUTE4</td>
</tr>
<tr>
<td>50</td>
<td>Lease Term</td>
<td>Lease Term</td>
<td>ATTRIBUTE5</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2203" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1131-460x251.png" alt="113" width="565" height="307" /> <strong>2.19.</strong> Save and close this form. <strong>2.20.</strong> On the main form create a line for Utilities and enter the following information.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Number</td>
<td>Name</td>
<td>Window Prompt</td>
<td>Column</td>
</tr>
<tr>
<td>10</td>
<td>Type of Expense</td>
<td>Type of Expense</td>
<td>ATTRIBUTE1</td>
</tr>
<tr>
<td>20</td>
<td>Period of Expense</td>
<td>Period of Expense</td>
<td>ATTRIBUTE2</td>
</tr>
<tr>
<td>30</td>
<td>Meter Number</td>
<td>Meter Number</td>
<td>ATTRIBUTE3</td>
</tr>
<tr>
<td>40</td>
<td>Telephone Number</td>
<td>Telephone Number</td>
<td>ATTRIBUTE4</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2204" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1141-460x249.png" alt="114" width="518" height="280" /> <strong>2.21.</strong> Save and close this form. <strong>2.22.</strong> On the main form create a line for Vehicle Running and enter the following information.</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Number</strong></td>
<td><strong>Name</strong></td>
<td><strong>Window Prompt</strong></td>
<td><strong>Column</strong></td>
</tr>
<tr>
<td>10</td>
<td>Common</td>
<td>Common</td>
<td>ATTRIBUTE1</td>
</tr>
</tbody>
</table>
<p><img class="alignnone wp-image-2205" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1151-460x249.png" alt="115" width="491" height="265" /> <strong>2.23. S</strong>ave and close this form. <img class="alignnone wp-image-2206" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1161-460x298.png" alt="116" width="489" height="316" /> <strong>2.24.</strong> Enable Check box Freeze Flexfield Definition and save. The DFF definition will be&nbsp;compiled. <img class="alignnone wp-image-2207" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1171-460x117.png" alt="117" width="446" height="113" /> <strong>2.25.</strong> Click OK (button). <strong>3. Entry in Defining Descriptive Flexfield (DFF)</strong> <strong>3.1.</strong> Open the Invoices form, Payables: Invoices &gt; Entry &gt; Invoices <strong>3.2.</strong> Create a new invoice. <img class="alignnone wp-image-2208" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1181-460x280.png" alt="118" width="534" height="324" /> 3.3. Click Distribution (button). 3.4. Enter the required information. <img class="alignnone wp-image-2209" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/119-460x281.png" alt="119" width="495" height="302" /> <strong>3.5.</strong> Click the field labeled [ ] . <strong>3.6.</strong> Here Customer Invoice No is our Global and this will be entered for all type of expenses. <img class="alignnone size-full wp-image-2210" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/120.png" alt="120" width="427" height="176" /> <strong>3.7</strong>. Click the Select the Expense Type field. <img class="alignnone wp-image-2211" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1211.png" alt="121" width="297" height="350" /> <strong>3.8.</strong> Select Insurance (or any which you want to enter information for) and enter the information in the fields displayed for that Expense type. <img class="alignnone wp-image-2212" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1221-460x236.png" alt="122" width="390" height="199" /> Note: As we have not assigned any Value Set so here we can see that our fields length is&nbsp;truncated and we need to scroll. <strong>3.9.</strong> Here I have selected Utilities and the fields are displayed which were defined for Utilities. <img class="alignnone wp-image-2213" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1231-460x251.png" alt="123" width="477" height="259" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>ea:T94b,<p><strong>1. Customized Menu Definition</strong> Here we will create a customized menu and a responsibility. Then menu will be assigned to this&nbsp;responsibility. I have selected AP Super User menu to find the name of Invoices Submenu. <strong>1.1.</strong> Open the Menu form, Sys Admin : Application &gt; Menu <strong>1.2.</strong> Search AP_NAVIGATE_GUI12 menu, <img class="alignnone wp-image-2177" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/933-460x264.png" alt="93" width="459" height="263" /> <strong>1.3.</strong> Note/Copy the Submenu of Invoices which is AP_INVOICES_GUI12 so we will assign the&nbsp;entire invoice related Functions to our new menu. <strong>1.4.</strong> Again query the menu AP_I NVOI CES_GUI 12. <img class="alignnone wp-image-2179" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/943-460x265.png" alt="94" width="490" height="281" /> <strong>1.5.</strong> So we will assign this menu to our responsibility and the user will have these functions&nbsp;to which we will assign that responsibility. <strong>2. Responsibility Creation to Assign Menu</strong> <strong>2.1.</strong> Open the Define form, Sys Admin: Security &gt; Responsibility &gt; Define <strong>2.2.</strong> Enter the required information and in Menu enter AP_I NVOI CES_GUI 12. <img class="alignnone wp-image-2180" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/953-460x310.png" alt="95" width="490" height="330" /> <strong>2.3.</strong> Save the data. &nbsp; <strong>3. Responsibility Assignment to User</strong> <strong>3.1</strong>. Open the User form, Sys Admin: Security &gt; User &gt; Define <strong>3.2</strong>. Search the XX_USER (you can search the user to which you want to assign) and assign&nbsp;XX AP Invoice Entry responsibility. <img class="alignnone wp-image-2181" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/963-460x308.png" alt="96" width="491" height="327" /> <strong>3.3</strong>. Save the data. <strong>3.4</strong>. Switch to XX AP Invoice Entry responsibility and the following functions will be displayed. <img class="alignnone wp-image-2182" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/973-460x380.png" alt="97" width="506" height="417" /> &nbsp; &nbsp;</p>eb:Tf0e,<p>Continuing from earlier Mediator example, let&rsquo;s extend our use-case to include&nbsp;Human Workflow. MyDel handles two types of orders: Normal and Express. Normal orders are processed only after order items arrive in the Depot. Depot manager then logs into Workflow and releases the order to be sent for further processing in Order Management system. However, Express orders are directly sent for processing into Order Management system. In this example, we are going to route orders through an&nbsp;Order Router&nbsp;that will route Express and Normal orders to Order Management service and Human Workflow respectively. Depot Manager logs into Workflow system to release order for the goods received in Depot. Released orders will be written to Order Management system. <img class="alignnone wp-image-1405" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide921-460x345.png" alt="Slide92" width="481" height="361" /> Deploy the HumanWorkflowExample as specified in the Deployment section. This creates two instances of HumanWorkflowExample. One instance, with EXPRESS order entry, will directly write information to Order Management system where as the other entry creates a workflow that awaits Depot Manager&rsquo;s approval. <img class="alignnone wp-image-1407" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide931-460x345.png" alt="Slide93" width="495" height="371" /> Click on the process Instance ID that is in &ldquo;Running&rdquo; stage. Process flow for this specific instance will be shown in a pop up window. We can see the process is waiting for Human Workflow stage. <img class="alignnone wp-image-1408" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide941-460x345.png" alt="Slide94" width="495" height="371" /> Click on the &ldquo;OrderApprovalTask&rdquo;. In the above screenshot, its the link on the left side of &ldquo;Human Workflow Component&rdquo;. From the next screen, click on &ldquo;Go To Woklist Application&rdquo; and login to workflow application. In my case, user name is &ldquo;weblogic&rdquo;. We can see an order entry pending for Approval. Click on &ldquo;Actions&rdquo; and then &ldquo;Yes&rdquo;. <img class="alignnone wp-image-1409" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide951-460x345.png" alt="Slide95" width="499" height="374" /> Come back to HumanWorfkflowExample in Enterprise Manager and check that process is now complete. <img class="alignnone wp-image-1410" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide961-460x345.png" alt="Slide96" width="495" height="371" /> Click on completed process instance, in this case 150010, to see process flow. We can see that OrderRouter invoked OrderApprovalProcess when order type is NORMAL. Once approved, OrdreManagementService is invoked through OrderABCS. <img class="alignnone wp-image-1411" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide971-460x345.png" alt="Slide97" width="503" height="377" /> We can also see BPEL process flow by clicking on OrderApprovalProcess. Explore Audit Trail and Flow tabs from the next screen. <img class="alignnone wp-image-1412" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide98-460x345.png" alt="Slide98" width="492" height="369" /> <img class="alignnone wp-image-1413" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide99-460x345.png" alt="Slide99" width="492" height="369" /> Hope this lesson helped you appreciate Human Workflow features better. I personally prefer BPEL workflow to traditional workflows because of the ease and elegance. <strong> </strong> <strong>&nbsp;</strong></p>ec:T17036,<p style="text-align: justify;">This part describes how to administer BPEL process service components and engines.</p>
<p style="text-align: justify;">This part includes the following chapters:</p>
<ul style="text-align: justify;">
<li>Configuring BPEL Process Service Components and Engines</li>
<li>Monitoring BPEL Process Service Components and Engines</li>
<li>Managing BPEL Process Service Components and Engines</li>
</ul>
<p style="text-align: justify;"><strong>a) Configuring BPEL Process Service Components and Engines</strong></p>
<p style="text-align: justify;">This chapter describes how to configure BPEL process service components and service engines.</p>
<p style="text-align: justify;">This chapter includes the following topics:</p>
<ul style="text-align: justify;">
<li>Configuring BPEL Process Service Engine Properties</li>
<li>Configuring Automatic Recovery for Oracle BPEL Process Manager</li>
<li>Configuring Automatic Recovery Attempts for Invoke and Callback Messages</li>
<li>Setting the Audit Level at the BPEL Process Service Component Level</li>
</ul>
<p style="text-align: justify;"><strong>i) Configuring BPEL Process Service Engine Properties</strong></p>
<p style="text-align: justify;">You can configure BPEL process service engine properties, which are used by the BPEL process service engine during processing of BPEL service components.</p>
<p style="text-align: justify;">To configure BPEL process service engine properties:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>SOA Administration</strong>&gt;<strong>BPEL Properties</strong>.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="2">Right-click <strong>soa-infra</strong>.</li>
<li>Select <strong>SOA Administration</strong>&gt;<strong>BPEL Properties</strong>.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">The BPEL Service Engine Properties page displays properties for setting audit trail and large document thresholds, setting dispatcher thread properties, validating payload schema, and setting the audit trail level.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1465" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide148-460x345.png" alt="Slide148" width="495" height="371" /></p>
<p style="text-align: justify;">Description of the illustration soaadmin_bpel_props.gif</p>
<p style="text-align: justify;">2. &nbsp; &nbsp; &nbsp; Make changes to the service engine properties that are appropriate to your environment.</p>
<table style="width: 96.54%;" border="1" width="96%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th style="height: 9px;"><strong>Property</strong></th>
<th style="height: 9px;"><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td style="height: 9px;"><strong>Audit Level</strong></td>
<td style="height: 9px;">Select one of the following options:
<ul style="list-style-type: circle;">
<li><strong>Off</strong>: Composite instance tracking and payload tracking information is not collected.</li>
<li><strong>Inherit</strong>: Logging equals the SOA Infrastructure audit level. This setting enables the BPEL audit level to automatically change when the global setting is changed. Setting a different audit level tracking in this page overrides the tracking set at the SOA Infrastructure level.</li>
<li><strong>Minimal</strong>: The BPEL service engine does not capture any audit details. Therefore, they are not available in the flow audit trails. All other events are logged.</li>
<li><strong>Production</strong>: The BPEL service engine does not capture the payload. The payload details are not available in the flow audit trails. Payload details for other BPEL activities are collected, except for assign activities. This level is optimal for most standard operations and testing.</li>
<li><strong>Development</strong>: Allows both composite instance tracking and payload tracking. All events are logged. However, it may have an impact on performance. This level is useful mostly for debugging purposes.</li>
</ul>
</td>
</tr>
<tr>
<td style="height: 9px;"><strong>Audit Trail Threshold</strong></td>
<td style="height: 9px;">Enter the maximum size in bytes of an instance audit trail before it is chunked and saved in a dehydration store table separate from the audit trail. If the threshold is exceeded, the <strong>View XML</strong> link is shown in the audit trail instead of the payload.</td>
</tr>
<tr>
<td style="height: 9px;"><strong>Large Document Threshold</strong></td>
<td style="height: 9px;">Enter the maximum size of a generated document within a BPEL process component instance before it is stored in a separate table in the dehydration store.</td>
</tr>
<tr>
<td style="height: 9px;"><strong>Dispatcher System Threads</strong></td>
<td style="height: 9px;">Specify the total number of threads allocated to process system dispatcher messages. System dispatcher messages are general cleanup tasks that are typically processed quickly by the server (for example, releasing stateful message beans back to the pool). Typically, only a small number of threads are required to handle the number of system dispatch messages generated during runtime.The default value is 2 threads. Any value less than 1 thread is changed to the default.</td>
</tr>
<tr>
<td style="height: 9px;"><strong>Dispatcher Invoke Threads</strong></td>
<td style="height: 9px;">Specify the total number of threads allocated to process invocation dispatcher messages. Invocation dispatcher messages are generated for each payload received and are meant to instantiate a new instance. If the majority of requests processed by the service engine are instance invocations (as opposed to instance callbacks), greater performance may be achieved by increasing the number of invocation threads. Higher thread counts may cause greater CPU utilization due to higher context switching costs.The default value is 20 threads. Any value less than 1 thread is changed to the default.</td>
</tr>
<tr>
<td style="height: 200px;"><strong>Dispatcher Engine Threads</strong></td>
<td style="height: 200px;">Specify the total number of threads allocated to process engine dispatcher messages. Engine dispatcher messages are generated whenever an activity must be processed asynchronously. If most of the processes deployed are durable with a large number of dehydration points (midprocess receive, onMessage, onAlarm, and wait activities), greater performance may be achieved by increasing the number of dispatcher engine threads. Note that higher thread counts can cause greater CPU utilization due to higher context-switching costs.The default value is 30 threads. Any value less than 1 thread is changed to the default.</td>
</tr>
<tr>
<td style="height: 141px;"><strong>Payload Validation</strong></td>
<td style="height: 141px;">Select to enable validation of inbound and outbound messages. Nonschema-compliant payload data is intercepted and displayed as a fault.<strong>Note:</strong> This setting is independent of the SOA composite application and SOA Infrastructure payload validation level settings. If payload validation is enabled at both the service engine and SOA Infrastructure levels, data is checked twice: once when it enters the SOA Infrastructure, and again when it enters the service engine.</td>
</tr>
<tr>
<td style="height: 71px;"><strong>Disable BPEL Monitors and Sensors</strong></td>
<td style="height: 71px;">Select this checkbox to disable all BPEL monitors and sensors defined for all BPEL components across all deployed SOA composite applications.</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">3. &nbsp; &nbsp; Click <strong>Apply</strong>.</p>
<ul style="text-align: justify;">
<li>If you want to configure advanced BPEL properties in the System MBean Browser, click <strong>More BPEL Configuration Properties</strong>. Properties that display include, but are not limited to, the following. Descriptions are provided for each property.
<ul>
<li><strong>BpelcClasspath</strong>: The extra BPEL class path to include when compiling BPEL-generated Java sources.</li>
<li><strong>DisableAsserts</strong>: Disables the execution of assertions in BPEL, including the bpelx:assert activity.</li>
<li><strong>DisableSensors</strong>: Disables all calls to sensors.</li>
<li><strong>ExpirationMaxRetry</strong>: The maximum number of times a failed expiration call (wait/onAlarm) is retried before failing.</li>
<li><strong>ExpirationRetryDelay</strong>: The delay between expiration retries.</li>
<li><strong>InstanceKeyBlockSize</strong>: The size of the block of instance IDs to allocate from the dehydration store during each fetch.</li>
<li><strong>MaximumNumberOfInvokeMessagesInCache</strong>: The number of invoke messages stored in in-memory cache.</li>
<li><strong>MaxRecoverAttempt</strong>: The number of automatic recovery attempts to submit in the same recoverable instance.</li>
<li><strong>OneWayDeliveryPolicy</strong>: Changes whether one-way invocation messages are delivered.</li>
<li><strong>StatsLastN</strong>: The size of the most recently processed request list.</li>
<li><strong>SyncMaxWaitTime</strong>: The maximum time a request and response operation takes before timing out.</li>
</ul>
</li>
</ul>
<ul style="text-align: justify;">
<li>Make changes appropriate to your environment.</li>
</ul>
<table width="100%">
<tbody>
<tr>
<td width="99%"><strong>ii) Configuring Automatic Recovery for Oracle BPEL Process Manager</strong></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Oracle SOA Suite provides an automatic recovery feature in Oracle Enterprise Manager Fusion Middleware Control that enables you to configure and recover:</p>
<ul style="text-align: justify;">
<li>All activities (for example, wait activities and OnAlarm branches of pick activities) that have an associated expiration date and are scheduled with the SOA Infrastructure to be rescheduled</li>
<li>All activities that are not complete over a provided threshold time</li>
<li>All invoke and call-back messages that are unresolved</li>
</ul>
<p style="text-align: justify;">To configure automatic recovery:</p>
<ol style="text-align: justify;">
<li>In the navigator, right-click <strong>soa-infra</strong> and select <strong>SOA Administration</strong>&gt;<strong>BPEL Properties</strong>.</li>
<li>Click <strong>More BPEL Configuration Properties</strong>.</li>
<li>In the <strong>Name</strong> column, click <strong>RecoveryConfig</strong>.</li>
<li>Expand <strong>RecurringScheduleConfig</strong>.</li>
</ol>
<p style="text-align: justify;">This section enables you to configure recurring recovery attempts.</p>
<p style="text-align: justify;">5. &nbsp; Set the following properties to values appropriate to your environment, and click <strong>Apply</strong>.</p>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>Property</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>maxMessageRaiseSize</strong></td>
<td>The maximum number of messages to submit for each recurring recovery attempt. Use this property to limit the impact of recovery on the server. Note that this value specifies the maximum number of messages to filter from activity, invoke, and callback queries; that is, 50 messages from each of the activity, invoke, and callback tables.The default value is 50. A negative value causes all messages selected from the database to be submitted for recovery. A 0 value causes no messages to be selected from the database (effectively disabling recovery).</td>
</tr>
<tr>
<td><strong>startWindowTime</strong></td>
<td>The start time for the daily recovery window, specified in a 24-hour notation. Therefore, 2:00 pm is specified as 14:00. The leading zero does not need to be specified for single digit hour values (1:00-9:00).The default value is midnight (00:00). Any invalid parsed time value is defaulted to midnight.</td>
</tr>
<tr>
<td><strong>stopWindowTime</strong></td>
<td>The stop time for the daily recovery window, specified in a 24-hour notation. Therefore, 2:00 pm is specified as 14:00. The leading zero does not need to be specified for single digit hour values (1:00-9:00).If you do not want daily recovery, set the start and stop window times to be the same value. If the stop window time is earlier than the start window time, both the start and stop window times are changed to their respective default values.The default value is midnight (04:00), effectively setting recurring recovery to run until 04:00.Any invalid parsed time values default to 00:00.</td>
</tr>
<tr>
<td><strong>subsequentTriggerDelay</strong></td>
<td>The number of seconds between recovery attempts during daily recurring startup recovery periods. If the next recovery trigger falls outside of the current recovery period, that trigger is not scheduled until the next recurring recovery period (tomorrow).The default value is 300 (five minutes). A negative value causes the default to be selected.</td>
</tr>
<tr>
<td><strong>threshHoldTimeInMinutes</strong></td>
<td>This is the threshold time in minutes to ignore for automatic recovery processing. For automatic invoke and callback recovery, this value is used for picking messages with a received date less than the threshhold time.For automatic activities recovery, this value is used for picking activities with a modification date less than the threshold time.This property prevents the message contention scenario in which a BPEL process service engine picks up a message for recovery while another thread on the service engine is in the middle of processing the message. This property ensures that the recovery part of the service engine only attempts recovery on messages older than the value for <strong>threshHoldTimeInMinutes</strong>.The default value is 10 minutes. A negative value causes the default to be selected.</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">6.</p>
<p style="text-align: justify;">7. &nbsp;Expand <strong>StartupScheduleConfig</strong>.</p>
<p style="text-align: justify;">This section enables you to configure server startup recovery attempts.</p>
<p style="text-align: justify;">8. &nbsp;Set the following properties to values appropriate to your environment, and click <strong>Apply</strong>.</p>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>Property</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>maxMessageRaiseSize</strong></td>
<td>The maximum number of messages to submit for each startup recovery attempt. Use this property to limit the impact of recovery on the server. Note that this value specifies the maximum number of messages to filter from activity, invoke, and callback queries; that is, 50 messages from each of the activity, invoke, and callback tables.The default value is 50. A negative value causes all messages selected from the database to be submitted for recovery. A zero value causes no messages to be selected from the database (effectively disabling recovery).</td>
</tr>
<tr>
<td><strong>startupRecoveryDuration</strong></td>
<td>Specifies the number of seconds that the startup recovery period lasts. After the server starts, it goes into a startup recovery period. During this period, pending activities and undelivered callback and invocation messages are resubmitted for processing.The default value is 600 (ten minutes). A negative or zero value disables startup recovery.</td>
</tr>
<tr>
<td><strong>subsequentTriggerDelay</strong></td>
<td>The number of seconds between recovery attempts during the server startup recovery period. If the next recovery trigger falls outside the server startup period, that trigger is not scheduled and the server moves into the recurring recovery period.The default value is 300 (five minutes). A negative value causes the default to be selected.</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">9.</p>
<table>
<tbody>
<tr>
<td><strong>Note:</strong>In a cluster, it is possible for different nodes to concurrently attempt an automatic recovery of the same items. The first node to lock the item attempts the recovery, while other nodes may raise an exception that can be safely ignored.</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><strong>iii) Configuring Automatic Recovery Attempts for Invoke and Callback Messages</strong></p>
<p style="text-align: justify;">You can configure the number of automatic recovery attempts to submit in the same recoverable instance. The value you provide specifies the maximum number of times invoke and callback messages are recovered. If the value is 0 (the default value), it recovers all messages. Once the number of recovery attempts on a message exceeds the specified value, a message is marked as nonrecoverable.</p>
<p style="text-align: justify;">To configure automatically recovery attempts for invoke and callback messages:</p>
<ol style="text-align: justify;">
<li>In the navigator, right-click <strong>soa-infra</strong> and select <strong>SOA Administration</strong>&gt;<strong>BPEL Properties</strong>.</li>
<li>Click <strong>More BPEL Configuration Properties</strong>.</li>
<li>Go to <strong>MaxRecoverAttempt</strong>.</li>
<li>In the <strong>Value</strong> field, enter a value.</li>
<li>Click <strong>Apply</strong>.</li>
</ol>
<p style="text-align: justify;"><strong>iv) Setting the Audit Level at the BPEL Process Service Component Level</strong></p>
<p style="text-align: justify;">You can set the audit level for a BPEL process service component. This setting takes precedence over audit level settings at the SOA Infrastructure, service engine, and SOA composite application levels.</p>
<p style="text-align: justify;">The service component level setting is only available for BPEL processes and is <em>not</em> supported for the mediator, human workflow, and business rule service components.</p>
<p style="text-align: justify;">There are two ways to set the audit level for BPEL process service components. Supported values are <strong>Off</strong>, <strong>Minimal</strong>, <strong>Inherit</strong>, <strong>Development</strong>, and <strong>Production</strong>.</p>
<p style="text-align: justify;">To set the audit level for BPEL process service components:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>In the System MBean Browser of Oracle Enterprise Manager Fusion Middleware Control:
<ol>
<li>In the navigation tree, expand the <strong>SOA</strong> folder.</li>
<li>Right-click <strong>soa-infra</strong>, and select <strong>Administration</strong>&gt;<strong>System MBean Browser</strong>.</li>
<li>Select <strong>Application Defined MBeans</strong>&gt;<strong>oracle.soa.config</strong>&gt;<strong>Server:<em>server_name</em></strong>&gt;<strong>SCAComposite</strong>&gt;<strong><em>Composite_Name</em></strong>&gt;<strong>SCAComposite.SCAComponent</strong>&gt;<strong><em>BPEL_Service_Component</em></strong>&gt;<strong>Properties</strong>.</li>
<li>Click the <strong>Add</strong> icon.</li>
<li>Expand the <strong>Element_<em>number</em></strong> folder.</li>
<li>From the <strong>many</strong> list, select <strong>false</strong>.</li>
<li>In the <strong>name</strong> field, enter bpel.config.auditlevel.</li>
<li>In the <strong>value</strong> field, enter a value.</li>
<li>Click <strong>Apply</strong>.</li>
</ol>
</li>
</ul>
<table>
<tbody>
<tr>
<td>&nbsp;<strong>b) Monitoring BPEL Process Service Components and Engines</strong></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">This chapter describes how to monitor BPEL process service components and service engines.</p>
<p style="text-align: justify;">This chapter includes the following topics:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Viewing the Audit Trail and Process Flow of a BPEL Process Service Component</li>
<li>Monitoring BPEL Process Service Component Instances and Faults</li>
<li>Monitoring BPEL Process Service Component Instances</li>
<li>Monitoring Sensor Data and Values in BPEL Process Service Components</li>
<li>Monitoring BPEL Process Service Engine Instances and Faults</li>
<li>Monitoring BPEL Process Service Engine Request and Thread Statistics</li>
</ul>
<ul style="list-style-type: circle; text-align: justify;">
<li>Monitoring BPEL Process Service Engine Instances</li>
<li>Monitoring Deployed BPEL Processes in the Service Engine</li>
</ul>
<p style="text-align: justify;"><strong>Viewing the Audit Trail and Process Flow of a BPEL Process Service Component</strong></p>
<p style="text-align: justify;">This section describes how to view the audit trail and process flow of a BPEL process service component in a SOA composite application instance.</p>
<table>
<tbody>
<tr>
<td><strong>Note:</strong>This section assumes a SOA composite application instance has been initiated.</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">To view the audit trail and process flow of a BPEL process service component:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Home</strong>.</li>
<li>Select the <strong>Deployed Composites</strong> tab.</li>
<li>In the <strong>Composite</strong> section, select a specific SOA composite application.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="4">Under <strong>soa-infra</strong>, select a specific SOA composite application.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">The Dashboard page for the selected composite application appears.</p>
<p style="text-align: justify;">2. &nbsp; Use one of the following methods to select an instance of the application:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>For recent instances of this application, click the instance number of an instance in the <strong>Instance ID</strong> column of the <strong>Recent Instances</strong></li>
<li>For all instances of this application, click the <strong>Instances</strong> tab, then click a specific instance in the <strong>Instance ID</strong></li>
</ul>
<p style="text-align: justify;">The Flow Trace page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>The <strong>Faults</strong> section shows the faults occurring in the services, service components, and references that comprise the SOA composite application. Sensors enable you to monitor BPEL process activities, variables, and faults during runtime. Selecting a fault highlights the row in the <strong>Trace</strong> section in which the fault occurred. Closing the fault clears the selection in the <strong>Trace</strong></li>
</ul>
<ul style="list-style-type: circle; text-align: justify;">
<li>The <strong>Sensors</strong> section displays details about composite sensors included in the service and reference binding components of the SOA composite application. The total number of sensors is shown in the section header. Composite sensors can be added to service and reference binding components during design time in Oracle JDeveloper. You cannot add composite sensors to service components. Selecting a composite sensor in this section highlights the service or reference in the <strong>Trace</strong> section in which composite sensor data was collected. Closing the sensor clears the selection in the <strong>Trace</strong></li>
</ul>
<table>
<tbody>
<tr>
<td><strong>Note:</strong> Expand the <strong>Faults</strong> or <strong>Sensors</strong> sections one at a time. The fault or sensor information is only displayed for viewing in this way.</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<ul style="list-style-type: circle; text-align: justify;">
<li>The <strong>Trace</strong> section shows the sequence of the message flow through the services, service components, and references that comprise the SOA composite application.</li>
</ul>
<p style="text-align: justify;">The flow trace is a runtime trail of a message flow identified by an execution context ID (ECID) that is displayed in the upper right-hand corner of the page. An ECID enables you to track a message flow that crosses instances of different composite applications. The flow trace lists all services, references, and components across composite applications participating in the flow.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1466" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide149-460x345.png" alt="Slide149" width="489" height="367" /></p>
<p style="text-align: justify;">Description of the illustration bp_compsensor3.gif</p>
<p style="text-align: justify;">For the flow example in the <strong>Trace</strong> section, the service binding component, service components, and reference binding component involved in the flow have successfully received and processed messages.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Select a fault in the <strong>Faults</strong></li>
</ul>
<p style="text-align: justify;">This highlights the row in the <strong>Trace</strong> section in which the fault occurred.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Close the fault to clear the selection in the <strong>Trace</strong></li>
<li>Expand the <strong>Sensors</strong> section to display composite sensors.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1467" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide150-460x345.png" alt="Slide150" width="489" height="367" /></p>
<p style="text-align: justify;">Description of the illustration bp_compsensor1.gif</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Select a sensor in the <strong>Sensors</strong></li>
</ul>
<p style="text-align: justify;">This highlights the row in the <strong>Trace</strong> section in which the composite sensor data was collected.</p>
<p style="text-align: justify;">If there are BPEL process messages that require recovery from the Recovery page of the BPEL process service engine, a BPEL Message Recovery Required inline warning message and recovery icon are displayed.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1468" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1511-460x345.png" alt="Slide151" width="500" height="375" /></p>
<p style="text-align: justify;">Description of the illustration bpel_recoveryecid2.gif</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Click <strong>Show Details</strong> or the recovery icon to display a Warning dialog with the following recovery details:
<ul style="list-style-type: circle;">
<li>The number of invoke, callback, and activity recoverable message types</li>
<li>The ECID value</li>
</ul>
</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1469" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1521-460x345.png" alt="Slide152" width="497" height="373" /></p>
<p style="text-align: justify;">Description of the illustration bpel_recoveryecid.gif</p>
<p style="text-align: justify;">Use this information for creating search criteria for filtering the recoverable messages on the Recovery page of the BPEL process service engine. You can copy the ECID number from the Warning dialog, paste it into the <strong>ECID</strong> field, and select the recoverable message type from the <strong>Type</strong> list.</p>
<p style="text-align: justify;">The display of this message recovery information on the Flow Trace page is controlled by the <strong>AuditConfig</strong> property in the System MBean Browser. By default, this property is set to <strong>All</strong>, which enables this information to be displayed. To prevent this information from displaying on the Flow Trace page, set the <strong>bpelRecoveryStatus</strong> key to <strong>Off</strong> for the <strong>AuditConfig</strong> property in the <strong>More SOA Infra Advanced Configuration Properties</strong> section of the SOA Infrastructure Common Properties page.</p>
<p style="text-align: justify;">Note the following restrictions with ECIDs:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>A separate ECID is displayed for each instance of a composite application and not for the composite level ECID that can track the complete flow of any instances for the composite application.</li>
<li>To get complete flow information, you must find the composite level ECID in the log files. Use that value to get all information for a particular composite and therefore all its executed instances.</li>
<li>ECIDs are not propagated through business events. This can limit the amount of logging information that is collected. For example, if you publish an event that is subscribed to in the same composite application, limited logging information is available.</li>
<li>In the <strong>Instance</strong> column of the <strong>Trace</strong> section, click a specific BPEL process service component instance. Service component instances can be accessed from this section; services and references cannot be accessed.</li>
</ul>
<p style="text-align: justify;">The Instance page appears.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1470" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1531-460x345.png" alt="Slide153" width="493" height="370" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_audittrail.gif</p>
<p style="text-align: justify;">Use these four pages to view the audit trail, flow, sensor values, and faults of a BPEL process service component instance. The following links provide additional details about the instance:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li><strong>Flow Tracelink</strong>: Click the breadcrumbs in the upper left-hand corner of the page to access the flow trace for the ECID (composite instance) that contains this BPEL component instance.</li>
<li><strong>Information icon</strong>: Click the information icon to the right of the name of the BPEL component (in the page title) to see biographical information about this BPEL instance. This information includes a summary of the instance, including instance ID, ECID, instance startup time or last modification time, instance state (for example, running), and number of faults.</li>
</ul>
<p style="text-align: justify;">This icon is only displayed on the Audit Trail pages of BPEL processes and Oracle Mediators, and not on the pages of human tasks and business rules.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li><strong>Audit Level Settings</strong>: Click to display information details, such as the audit level used by this instance.</li>
</ul>
<ul style="list-style-type: circle; text-align: justify;">
<li><strong>View Raw XML</strong>: Click to display the raw XML of the audit trail.</li>
</ul>
<p style="text-align: justify;">The Audit Trail page displays execution details about the activities in the BPEL process.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Scroll through the audit trail to check for errors and expand the payload links to view their contents at a given point in the flow.</li>
</ul>
<p style="text-align: justify;"><strong>Notes:</strong></p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Canceled onMessage branches of pick or scope activities that did not execute are displayed in the audit trail. However, the flow diagram does not show these same canceled onMessage branches. This is the expected behaviour.</li>
<li>The following error message appears when a transaction is displayed as rolled back in the Audit Trail page:</li>
<li>The transaction was rolled back. The work performed for bpel</li>
<li>instance "instance_ number" was rolled back to the previous</li>
<li>Dehydration point, but the audit trail has been saved.</li>
<li>You can recover the instance from the recovery console by</li>
<li>resubmitting the callback message or activity for execution</li>
</ul>
<p style="text-align: justify;">This message does not specifically state whether recovery should happen on either the activity or the callback. This is the intended behavior. Oracle recommends that you do not recover each instance through the audit messages. Instead, set up automatic recovery to recover these instances.</p>
<ul style="text-align: justify;">
<li>Click the <strong>Flow tab</strong></li>
</ul>
<p style="text-align: justify;">A flow diagram of the BPEL process activities appears. This flow diagram shows a fault highlighted in a BPEL process activity.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1471" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1541-460x345.png" alt="Slide154" width="485" height="364" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_flow1.gif</p>
<ul style="text-align: justify;">
<li>Click an activity to view the flow of the payload through the process.</li>
</ul>
<p style="text-align: justify;"><strong>Note:</strong></p>
<p style="text-align: justify;">If using Microsoft Internet Explorer, you can click <strong>Copy details to clipboard</strong> to copy the activity details to the clipboard. If using Mozilla Firefox, this link does not appear. Instead, you must manually select the text, and copy and paste it to a file.</p>
<ul style="text-align: justify;">
<li>Scroll through the flow diagram to check for errors and click the highlighted activity to view error messages.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1472" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1551-460x345.png" alt="Slide155" width="495" height="371" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_flow2.gif</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Close the message.</li>
<li>Click the <strong>Faults</strong></li>
</ul>
<p style="text-align: justify;">This page shows the error message, whether you can recover from the fault, the time at which the fault occurred, and the activity in which the fault occurred. This page displays the faults in the BPEL component instance (but not the faults that occurred in a service or reference binding component).</p>
<p style="text-align: justify;">If a fault occurs when processing activities, the activity location of the fault is not usually shown in the <strong>Activity</strong> column.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>For Oracle BPEL Process Manager, this column only shows a receive activity that has timed out. In all other cases, this column is empty.</li>
<li>For Oracle BPM, this column is always empty.</li>
</ul>
<p style="text-align: justify;">This is the expected behaviour.</p>
<p style="text-align: justify;">You can recover from instance faults identified as recoverable. This page lists all instance faults, recoverable or not. The component instance faults that occurred in a service or reference are not listed here.</p>
<p style="text-align: justify;">This page enables you to target individual faults from which to recover, and provides a degree of fault recovery granularity not available on other pages.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1473" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1561-460x345.png" alt="Slide156" width="495" height="371" /></p>
<p style="text-align: justify;">Description of the illustration bpel_instancedetails_faults.gif</p>
<p style="text-align: justify;">However, you cannot perform bulk fault recoveries on this page. To perform bulk fault recovery, use one of the following pages:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Faults page of the BPEL process service engine or of a specific BPEL process service component</li>
<li>Faults and Rejected Messages page of a specific SOA composite application or of the SOA Infrastructure</li>
<li>Select a fault for recovery that has been identified as recoverable through one of the following methods. The page refreshes to display a fault recovery section at the bottom of the page.</li>
</ul>
<ul style="list-style-type: circle; text-align: justify;">
<li>If you click a fault in the <strong>Error Message</strong> column, a popup message displays details about the fault, including the fault ID, fault time, fault location, fault type, and complete error message text. If the fault is identified as recoverable, a <strong>Recover Now</strong> button that you can click is displayed.</li>
<li>You click a fault identified as recoverable in the <strong>Recovery</strong></li>
</ul>
<ul style="list-style-type: circle; text-align: justify;">
<li>Select an action from the <strong>Recovery Action</strong></li>
</ul>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>Action</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Retry</strong></td>
<td>Retries the instance with an option to provide a retry success action. An example of a scenario in which to use this recovery action is when the fault occurred because the service provider was not reachable due to a network error. The network error is now resolved.</td>
</tr>
<tr>
<td><strong>Abort</strong></td>
<td>Terminates the entire instance.</td>
</tr>
<tr>
<td><strong>Replay</strong></td>
<td>Replays the entire scope activity again in which the fault occurred.</td>
</tr>
<tr>
<td><strong>Rethrow</strong></td>
<td>Rethrows the current fault. BPEL fault handlers (catch branches) are used to handle the fault. By default, all exceptions are caught by the fault management framework unless an explicit rethrow fault policy is provided.</td>
</tr>
<tr>
<td><strong>Continue</strong></td>
<td>Ignores the fault and continues processing (marks the faulted activity as a success).</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Your selection causes additional fields to appear. For example, the following fields are displayed if you select <strong>Rethrow</strong>:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1474" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1571-460x345.png" alt="Slide157" width="489" height="367" /></p>
<ul style="text-align: justify;">
<li>Description of the illustration bpel_instancefaultrec2.gif</li>
<li>Use the <strong>After Successful Retry</strong> list to select defined actions to invoke after a successful retry. If you select a variable in the <strong>Variable</strong> list, you can edit the value in the <strong>Value</strong> text box.</li>
<li>Click the <strong>Back</strong> button of your browser to exit the flow diagram.</li>
</ul>
<table width="100%">
<tbody>
<tr>
<td width="99%">&nbsp;<strong>c) Monitoring BPEL Process Service Component Instances and Faults</strong></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">You can monitor recent instances and faults for BPEL process service components. Each service component in a SOA composite application has its own instance ID. These IDs are different from the overall instance ID of the SOA composite application of which each service component is a part.</p>
<p style="text-align: justify;">To monitor BPEL process service component instances and faults:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Home</strong>.</li>
<li>Select the <strong>Deployed Composites</strong> tab.</li>
<li>In the <strong>Composite</strong> section, select a specific SOA composite application.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="4">Under <strong>soa-infra</strong>, select a specific SOA composite application.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp;In the <strong>Component Metrics</strong> section, select the BPEL process service component.</p>
<p style="text-align: justify;">3. &nbsp; &nbsp;Click <strong>Dashboard</strong>.</p>
<p style="text-align: justify;">The upper part of the Dashboard page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Recent instances of the BPEL process service component, including the instance ID, the state of the instance (for example, completed successfully or faulted), the start time, the last modification time, and logs describing the instance.</li>
<li>Recent faults in the BPEL process service component, including the error message, whether you can recover from the fault, the time at which the fault occurred, the instance ID of the BPEL service component, the BPEL activity in which the fault occurred, and logs describing the fault.</li>
<li>The average processing time for each activity in the BPEL process service component.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1475" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1581-460x345.png" alt="Slide158" width="495" height="371" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_dash_upper.gif</p>
<ul style="text-align: justify;">
<li>In the <strong>Recent Instances</strong> section, perform the following tasks:
<ul>
<li>. In the <strong>Instance ID</strong> column, click an instance ID for a service component to view its audit trail, process flow, sensor values, and faults.</li>
</ul>
</li>
</ul>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>In the <strong>Logs</strong> column, click a specific log to access the Log Messages page with filtered messages specific to that instance.</li>
<li>Click <strong>Show All</strong> below the section to access the Instances page of the service component.</li>
</ol>
<ul style="text-align: justify;">
<li>In the <strong>Recent Faults</strong> section, perform the following tasks:
<ol>
<li>. In the <strong>Error Message</strong> column, click an error message to display complete information about the fault. If the fault is identified as recoverable, click the <strong>Recover Now</strong> link to perform fault recovery.</li>
</ol>
</li>
</ul>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>In the <strong>Recovery</strong> column, click a fault identified as <strong>Recoverable</strong> to perform fault recovery at the component instance level.</li>
<li>In the <strong>Logs</strong> column, click a specific log to access the Log Messages page with filtered messages specific to that instance.</li>
<li>Click <strong>Show All</strong> below the section to access the Faults page of the service component.</li>
</ol>
<p style="text-align: justify;">The lower part of the Dashboard page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Details about the time distribution for activities, including the activity name, the total number of activities for all instances, and the average execution time</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1476" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide159-460x345.png" alt="Slide159" width="491" height="368" /></p>
<p style="text-align: justify;">Description of the illustration bpel_activity_time_dist.gif</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>A graphical representation of the number of successful, faulted, and incoming (pending) instances of the BPEL process service component over a specific time range. Click <strong>Table View</strong> to display throughput details for the last five minutes, including the throughput for successful instances, the total faults throughput, and the instance throughput.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1477" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide160-460x345.png" alt="Slide160" width="491" height="368" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_dash_lower.gif</p>
<p style="text-align: justify;"><strong>Monitoring BPEL Process Service Component Instances</strong></p>
<p style="text-align: justify;">You can monitor BPEL process service component instances. Each service component has its own unique instance ID. This ID is in addition to the instance ID of the overall SOA composite application of which this service component is a part.</p>
<p style="text-align: justify;">To monitor BPEL process service component instances:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Home</strong>.</li>
<li>Select the <strong>Deployed Composites</strong> tab.</li>
<li>In the <strong>Composite</strong> section, select a specific SOA composite application.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="4">Under <strong>soa-infra</strong>, select a specific SOA composite application.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp; &nbsp;Select the BPEL process service component in the <strong>Component Metrics</strong></p>
<p style="text-align: justify;">3. &nbsp; &nbsp; &nbsp;Click <strong>Instances</strong>.</p>
<p style="text-align: justify;">The Instances page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>A utility for searching for a specific BPEL service component instance by specifying criteria and clicking <strong>Search</strong>.</li>
<li>BPEL process service component instances, including the instance ID, instance state (for example, completed or faulted), instance start time, last instance modification time, and log files describing the instance.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1479" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1611-460x345.png" alt="Slide161" width="493" height="370" /></p>
<p style="text-align: justify;">Description of the illustration bpel_com_dash_instances.gif</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>In the <strong>Instance ID</strong> column, click an instance ID for a service component to view its audit trail, process flow, sensor values, and faults.</li>
<li>In the <strong>Logs</strong> column, click a specific log to access the Log Messages page with filtered messages specific to that instance.</li>
</ul>
<p style="text-align: justify;"><strong>Monitoring Sensor Data and Values in BPEL Process Service Components</strong></p>
<p style="text-align: justify;">You can view the fault, activity, and variable sensor data of a BPEL process service component. You design sensors in BPEL processes and trackable fields in Oracle JDeveloper. Sensors enable you to monitor BPEL process activities, variables, and faults during runtime.</p>
<p style="text-align: justify;">To monitor sensor data and values in BPEL process service components:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Home</strong>.</li>
<li>Select the <strong>Deployed Composites</strong> tab.</li>
<li>In the <strong>Composite</strong> section, select a specific SOA composite application.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="4">Under <strong>soa-infra</strong>, select a specific SOA composite application.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; Use one of the following methods to select an instance of the application:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>For recent instances of this application, click the instance number of an instance in the <strong>Instance ID</strong> column of the <strong>Recent Instances</strong></li>
<li>For all instances of this application, click the <strong>Instances</strong> tab, then click a specific instance in the <strong>Instance ID</strong></li>
</ul>
<p style="text-align: justify;">The Flow Trace page appears.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Click a specific BPEL process service component in the <strong>Instance</strong> column of the <strong>Trace</strong></li>
<li>Click the <strong>Sensor Values</strong></li>
<li>Select a sensor to view details.</li>
</ul>
<p style="text-align: justify;">If you created JMS sensors in your BPEL process, JMS sensor values are not displayed in Oracle Enterprise Manager Fusion Middleware Control. Only sensor values in which the sensor action is to store the values in the database appear (for example, database sensor values).</p>
<p style="text-align: justify;"><strong>Monitoring BPEL Process Service Engine Instances and Faults</strong></p>
<p style="text-align: justify;">You can monitor instances and faults of all BPEL process service components running in the BPEL process service engine. These BPEL process service components can be part of separate SOA composite applications.</p>
<p style="text-align: justify;">To monitor BPEL process service engine instances and faults:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="2">Right-click <strong>soa-infra</strong>.</li>
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp; &nbsp;Click <strong>Dashboard</strong>.</p>
<p style="text-align: justify;">The upper part of the Dashboard page displays recent instances of all BPEL process service components running in the BPEL process service engine, including the instance ID of the service component, the service component name, the SOA composite application of which the service component is a part, the state of the instance (for example, completed successfully or faulted), the instance start time, the last modification time, and logs describing the instance.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1480" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1621-460x345.png" alt="Slide162" width="491" height="368" /></p>
<p style="text-align: justify;">Description of the illustration bpel_dashboard_upper.gif</p>
<p style="text-align: justify;">3. &nbsp; &nbsp;In the <strong>Recent Instances</strong> section, perform the following monitoring tasks:</p>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>In the <strong>Instance ID</strong> column, click an instance ID for a service component to view its audit trail, process flow, sensor values, and faults.</li>
<li>In the <strong>Component</strong> column, click a specific service component to access its home page.</li>
<li>In the <strong>Composite</strong> column, click a specific SOA composite application to access its home page.</li>
<li>In the <strong>Logs</strong> column, click a specific log to access the Log Messages page with filtered messages specific to that instance.</li>
<li>Click <strong>Show All</strong> below the section to access the Instances page of the service engine.</li>
</ol>
<p style="text-align: justify;">The lower part of the Dashboard page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>The service components running in the service engine, the SOA composite applications of the service components, the state of the applications (for example, running), and the total, running, and faulted instances in the service engine.</li>
<li>The recent faults in the service engine, including the error message, whether you can recover from the fault, the time at which the fault occurred, the SOA composite application in which the fault occurred, the service component, the instance ID of the service component, the activity in which the fault occurred, and log files describing the fault.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1481" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1631-460x345.png" alt="Slide163" width="495" height="371" /></p>
<p style="text-align: justify;">Description of the illustration bpel_dashboard_low.gif</p>
<ul style="text-align: justify;">
<li>In the <strong>Components</strong> section, perform the following tasks:
<ul>
<li>. In the <strong>Name</strong> column, click a specific service component to access its home page.</li>
</ul>
</li>
</ul>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>In the <strong>Composite</strong> column, click a specific SOA composite application to access its home page.</li>
<li>Click <strong>Show All</strong> below the section to access the Deployed Components page of the service engine.</li>
</ol>
<ul style="text-align: justify;">
<li>In the <strong>Recent Faults</strong> section, perform the following tasks:
<ul>
<li>. In the <strong>Error Message</strong> column, click an error message to display complete information about the fault. If the fault is identified as recoverable, click the <strong>Recover Now</strong> link to perform fault recovery.</li>
</ul>
</li>
</ul>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>In the <strong>Recovery</strong> column, click a fault identified as <strong>Recoverable</strong> to perform fault recovery at the component instance level.</li>
<li>In the <strong>Composite</strong> column, click a specific SOA composite application to access its home page.</li>
<li>In the <strong>Component</strong> column, click a specific service component to access its home page.</li>
<li>In the <strong>Component Instance ID</strong> column, click an instance ID for a service component to view its audit trail, process flow, sensor values, and faults.</li>
<li>In the <strong>Logs</strong> column, click a specific log to access the Log Messages page with filtered messages specific to that fault.</li>
</ol>
<p style="text-align: justify;"><img class="alignnone wp-image-1482" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1641-460x345.png" alt="Slide164" width="489" height="367" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_sen.gif</p>
<p style="text-align: justify;"><strong>Monitoring BPEL Process Service Engine Request and Thread Statistics</strong></p>
<p style="text-align: justify;">You can monitor request and thread statistics for all BPEL process service components running in the service engine.</p>
<p style="text-align: justify;">To monitor BPEL process service engine request and thread statistics:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="2">Right-click <strong>soa-infra</strong>.</li>
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp; &nbsp;Click <strong>Statistics</strong>.</p>
<p style="text-align: justify;">The upper part of the Statistics page displays the following details. Click the <strong>Help</strong> icon for additional details.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Pending requests in the service engine</li>
<li>Active requests in the service engine</li>
<li>Thread statistics for the service engine</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1483" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1651-460x345.png" alt="Slide165" width="497" height="373" /></p>
<p style="text-align: justify;">Description of the illustration bpel_stats_upper.gif</p>
<p style="text-align: justify;">The lower part of the Statistics page displays details about the count and minimum, maximum, and average request processing times.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1484" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1661-460x345.png" alt="Slide166" width="493" height="370" /></p>
<p style="text-align: justify;"><strong>Monitoring BPEL Process Service Engine Instances</strong></p>
<p style="text-align: justify;">You can monitor all BPEL process service component instances running in the service engine. These BPEL process service components can be part of separate SOA composite applications.</p>
<p style="text-align: justify;">To monitor BPEL process service engine instances:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="2">Right-click <strong>soa-infra</strong>.</li>
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp; &nbsp;Click <strong>Instances</strong>.</p>
<p style="text-align: justify;">The Instances page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>A utility for searching for a specific instance by specifying criteria and clicking <strong>Search</strong>.</li>
<li>Instances, including the instance ID of the service component, the service component name, the SOA composite application name, the state of the instance (for example, completed successfully, running, or faulted), the instance start time, the last modification time, and log files describing the instance.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1485" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide167-460x345.png" alt="Slide167" width="491" height="368" /></p>
<p style="text-align: justify;">Description of the illustration bpel_instances.gif</p>
<ul style="text-align: justify;">
<li>In the <strong>Instances</strong> section, perform the following monitoring tasks:
<ul>
<li>. In the <strong>Instance ID</strong> column, click an instance ID for a service component to view its audit trail, process flow, sensor values, and faults.</li>
</ul>
</li>
</ul>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>In the <strong>Component</strong> column, click a specific service component to access its home page.</li>
<li>In the <strong>Composite</strong> column, click a specific SOA composite application to access its home page.</li>
<li>In the <strong>Logs</strong> column, click a specific log to access the Log Messages page with filtered messages specific to that instance.</li>
</ol>
<p style="text-align: justify;"><strong>Monitoring Deployed BPEL Processes in the Service Engine</strong></p>
<p style="text-align: justify;">You can monitor all deployed SOA composite applications with BPEL process service components running in the service engine.</p>
<p style="text-align: justify;">To monitor deployed BPEL processes in service engines:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="2">Right-click <strong>soa-infra</strong>.</li>
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp; &nbsp; &nbsp; Click <strong>Deployed Components</strong>.</p>
<p style="text-align: justify;">The Deployed Components page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>A utility for searching for a specific deployed SOA composite application by specifying criteria and clicking <strong>Search</strong>.</li>
<li>Details about deployed SOA composite applications with BPEL process service components running in this service engine, including the service component name, the SOA composite application, the current status, and the total, running, and faulted instances in the service engine.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1486" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide168-460x345.png" alt="Slide168" width="495" height="371" /></p>
<p style="text-align: justify;">Description of the illustration bpel_se_deployedcomps.gif</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>In the <strong>Name</strong> column, click a specific service component to access its home page.</li>
<li>In the <strong>Composite</strong> column, click a specific SOA composite application to access its home page.</li>
</ul>
<table width="100%">
<tbody>
<tr>
<td width="99%">&nbsp;<strong>Managing BPEL Process Service Components and Engines</strong></td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">This chapter describes how to manage BPEL process service components and service engines.</p>
<p style="text-align: justify;">This chapter includes the following topics:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Recovering from BPEL Process Service Component Faults</li>
<li>Managing BPEL Process Service Component Policies</li>
<li>Recovering from BPEL Process Service Engine Faults</li>
<li>Performing BPEL Process Service Engine Message Recovery</li>
</ul>
<p style="text-align: justify;"><strong>Recovering from BPEL Process Service Component Faults</strong></p>
<p style="text-align: justify;">You can monitor and perform individual and bulk fault recoveries for BPEL process service components that are identified as recoverable. For BPEL process faults to be identified as recoverable, there must be a fault policy defined that is bound to the fault (through the fault-bindings.xml file) and which triggers the action ora-human-intervention. However, without defining any fault policies, the fault takes its standard course as either a recoverable or nonrecoverable fault.</p>
<p style="text-align: justify;">To recover from BPEL process service component faults:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Home</strong>.</li>
<li>Select the <strong>Deployed Composites</strong> tab.</li>
<li>In the <strong>Composite</strong> section, select a specific SOA composite application.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="4">Under <strong>soa-infra</strong>, select a specific SOA composite application.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp; Select the BPEL process service component in the <strong>Component Metrics</strong></p>
<p style="text-align: justify;">3. &nbsp; &nbsp; Click <strong>Faults</strong>.</p>
<p style="text-align: justify;">The Faults page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>A utility for searching for a specific fault by specifying criteria and clicking <strong>Search</strong>. Click the <strong>Help</strong> icon for details.</li>
<li>Faults that occurred in the service component, including the fault ID, error message, whether you can recover from the fault, time at which the fault occurred, service component instance ID, activity in which the fault occurred, and a link to a log file describing the fault.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1487" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide169-460x345.png" alt="Slide169" width="491" height="368" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_faults.gif</p>
<p style="text-align: justify;">BPEL process service component faults identified as recoverable can be recovered.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Select faults for recovery using one of the following methods. Note that fault recovery selection at the BPEL process service component level equals the SOA Infrastructure level, SOA composite application level, and Oracle Mediator service component level.</li>
</ul>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>For...</strong></th>
<th><strong>Then...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>Single fault recovery</td>
<td>There are three options from which to choose for single-fault recovery:
<ol style="list-style-type: lower-alpha;">
<li>Click the row of the fault that has been identified as recoverable. With the row highlighted, select a specific action from the <strong>Recovery Action</strong> list, as described in Step 5.</li>
<li>In the <strong>Recovery</strong> column, click the <strong>Recover</strong> link to access the Faults page of the instance audit trail to perform fault recovery.</li>
<li>In the <strong>Error Message</strong> column, click the message of a fault that has been identified as recoverable. This displays complete fault details, including the fault ID, fault time, fault location, fault type, and error message text. A <strong>Recover Now</strong> option is displayed for recoverable faults. Click <strong>Recover Now</strong> to access the Faults page of the instance audit trail to perform fault recovery.</li>
</ol>
</td>
</tr>
<tr>
<td>Bulk fault recovery</td>
<td>There are two options from which to choose for bulk-fault recovery:
<ol style="list-style-type: lower-alpha;">
<li value="4">Use Shift+Click or Control+Click to select specific faults in the rows.</li>
</ol>
or
<ol style="list-style-type: lower-alpha;">
<li value="5">From the <strong>Select</strong> menu, choose <strong>Select All Recoverable</strong>. Then use Shift+Click or Control+Click to deselect the faults to <em>not</em> include in the recovery operation.</li>
</ol>
Then:
<ol style="list-style-type: lower-alpha;">
<li value="6">Select an action from the <strong>Recovery Action</strong> list, as described in Step 5.</li>
</ol>
<strong>Note:</strong> Only the actions applicable to all selected faults are available.</td>
</tr>
<tr>
<td>Recovery of all faults</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="7">From the <strong>Select</strong> menu, choose <strong>Select All Recoverable</strong>.</li>
<li value="8">Select an action from the <strong>Recovery Action</strong> list, as described in Step 5.</li>
</ol>
<strong>Note:</strong> Only the actions applicable to all selected faults are available.</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><strong>Note:</strong></p>
<p style="text-align: justify;">In most cases, fault policy actions are automatically executed. The only exception is if you defined a fault policy that uses the action ora-human-intervention. This action creates a recoverable fault that can be recovered from Oracle Enterprise Manager Fusion Middleware Control.</p>
<ul style="text-align: justify;">
<li>Select an action from the <strong>Recovery Action list</strong></li>
</ul>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>Action</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Retry</strong></td>
<td>Retries the instance directly. An example of a scenario in which to use this recovery action is when the fault occurred because the service provider was not reachable due to a network error. The network error is now resolved.</td>
</tr>
<tr>
<td><strong>Abort</strong></td>
<td>Terminates the entire instance.</td>
</tr>
<tr>
<td><strong>Replay</strong></td>
<td>Replays the entire scope activity again in which the fault occurred.</td>
</tr>
<tr>
<td><strong>Rethrow</strong></td>
<td>Rethrows the current fault. BPEL fault handlers (catch branches) are used to handle the fault. By default, all exceptions are caught by the fault management framework unless an explicit rethrow fault policy is provided.</td>
</tr>
<tr>
<td><strong>Continue</strong></td>
<td>Ignores the fault and continues processing (marks the faulted activity as a success).</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Perform the following additional monitoring tasks from within the faults table:</p>
<ul style="text-align: justify;">
<li>. Click the <strong>Show only recoverable faults</strong> checkbox to display only faults from which you can recover.</li>
</ul>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>From the <strong>Fault Type</strong> list, select to display all faults, system faults, business faults, or Oracle Web Services Manager (OWSM) faults in the faults table. Click the <strong>Help</strong> icon for a description of these fault types.</li>
<li>From the <strong>View</strong> list, select <strong>Columns</strong>&gt;<strong>Fault ID</strong> to display the fault IDs for each error message. The fault ID is automatically generated and uniquely identifies a fault. The fault ID is also displayed when you click an error message.</li>
<li>In the <strong>Component Instance ID</strong> column, click a specific service component ID to access task details about the instance (for example, the current state of a task). Note that rejected messages do not have a component instance ID.</li>
<li>In the <strong>Logs</strong> column, click a link to access the Log Messages page with filtered messages specific to that instance.</li>
</ol>
<p style="text-align: justify;"><strong>Managing BPEL Process Service Component Policies</strong></p>
<p style="text-align: justify;">You can attach and detach policies to and from BPEL process service components in currently deployed SOA composite applications. Policies apply security to the delivery of messages. Oracle Fusion Middleware uses a policy-based model to manage web services.</p>
<p style="text-align: justify;">To manage BPEL process service component policies:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Home</strong>.</li>
<li>Select the <strong>Deployed Composites</strong> tab.</li>
<li>In the <strong>Composite</strong> section, select a specific SOA composite application.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="4">Under <strong>soa-infra</strong>, select a specific SOA composite application.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp; &nbsp; &nbsp;Select the BPEL process service component in the <strong>Component Metrics</strong> section.</p>
<p style="text-align: justify;">3. &nbsp; &nbsp; &nbsp; &nbsp; Click <strong>Policies</strong>.</p>
<p style="text-align: justify;">The Policies page enables you to attach and detach policies to and from BPEL process service components. The <strong>Policies</strong> section displays the attached policy name, the policy reference status (enabled or disabled) that you can toggle, the category (Management, Reliable Messaging, MTOM Attachment, Security, or WS-Addressing), the violations, and the authentication, authorization, confidentiality, and integrity failures since the SOA Infrastructure was last restarted.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-1488" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide170-460x345.png" alt="Slide170" width="492" height="369" /></p>
<p style="text-align: justify;">Description of the illustration bpel_comp_policy.gif</p>
<p style="text-align: justify;">4. &nbsp; &nbsp; Click <strong>Attach/Detach</strong>.</p>
<p style="text-align: justify;">If multiple components are available, you are prompted to select the service or component for which to perform the attachment or detachment.</p>
<p style="text-align: justify;">5. &nbsp; &nbsp; Select the service or component to which to attach or detach a policy.</p>
<p style="text-align: justify;">This invokes a dialog for attaching or detaching policies.</p>
<p style="text-align: justify;">Policies currently attached appear in the <strong>Attached Policies</strong> section. Additional policies available for attachment appear in the <strong>Available Policies</strong> section.</p>
<p style="text-align: justify;">6. &nbsp; &nbsp;Select to attach policies appropriate to your environment.</p>
<p style="text-align: justify;">7. &nbsp; &nbsp;Click <strong>Attach</strong>.</p>
<p style="text-align: justify;">8. &nbsp; &nbsp;When you are finished attaching policies, click <strong>Validate</strong>.</p>
<p style="text-align: justify;">9. &nbsp; &nbsp; If an error message appears, make the necessary corrections until you no longer have any validation errors.</p>
<p style="text-align: justify;">10. &nbsp; Click <strong>OK</strong>.</p>
<p style="text-align: justify;">The attached policy is displayed in the policies table.</p>
<p style="text-align: justify;"><strong>Recovering from BPEL Process Service Engine Faults</strong></p>
<p style="text-align: justify;">You can monitor and perform individual and bulk recoveries of faults occurring in BPEL process service engines that are identified as recoverable. All BPEL process service component faults, regardless of the SOA composite application instance of which they are a part, can be viewed in the BPEL process service engine. For BPEL process faults to be identified as recoverable, there must be a fault policy defined that is bound to the fault (through the fault-bindings.xml file) and which triggers the action ora-human-intervention. However, without defining any fault policies, the fault takes its standard course as either a recoverable or nonrecoverable fault.</p>
<p style="text-align: justify;">To recover from BPEL process service engine faults:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="2">Right-click <strong>soa-infra</strong>.</li>
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp;Click <strong>Faults</strong>.</p>
<p style="text-align: justify;">The Faults page displays the following details:</p>
<ul style="text-align: justify;">
<li>A utility for searching for a specific fault by specifying criteria and clicking <strong>Search</strong>. Click the <strong>Help</strong> icon for details.</li>
<li>Faults that occurred in the service engine, including the fault ID, error message, whether you can recover from the fault, the time at which the fault occurred, the SOA composite application and service component in which the fault occurred, and the service component instance ID.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1489" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1711-460x345.png" alt="Slide171" width="496" height="372" /></p>
<p style="text-align: justify;">Description of the illustration bpel_se_faults.gif</p>
<p style="text-align: justify;">BPEL process service engine faults identified as recoverable can be recovered.</p>
<ul style="text-align: justify;">
<li>Select faults for recovery using one of the following options. As with fault recovery at the SOA Infrastructure level, SOA composite application level, and Oracle Mediator service component level, you can perform single fault recovery, bulk fault recovery, and recovery of all faults.</li>
</ul>
<table>
<tbody>
<tr>
<td><strong>Note:</strong>In most cases, fault policy actions are automatically executed. The only exception is if you defined a fault policy that uses the action ora-human-intervention. This action creates a recoverable fault that can be recovered from Oracle Enterprise Manager Fusion Middleware Control.</td>
</tr>
</tbody>
</table>
<ul style="text-align: justify;">
<li>Select an action from the <strong>Recovery Action</strong></li>
</ul>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>Action</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Retry</strong></td>
<td>Retries the instance with an option to provide a retry success action. An example of a scenario in which to use this recovery action is when the fault occurred because the service provider was not reachable due to a network error. The network error is now resolved.</td>
</tr>
<tr>
<td><strong>Abort</strong></td>
<td>Terminates the entire instance.</td>
</tr>
<tr>
<td><strong>Replay</strong></td>
<td>Replays the entire scope activity again in which the fault occurred.</td>
</tr>
<tr>
<td><strong>Rethrow</strong></td>
<td>Rethrows the current fault. BPEL fault handlers (catch branches) are used to handle the fault. By default, all exceptions are caught by the fault management framework unless an explicit rethrow fault policy is provided.</td>
</tr>
<tr>
<td><strong>Continue</strong></td>
<td>Ignores the fault and continues processing (marks the faulted activity as a success).</td>
</tr>
</tbody>
</table>
<ul style="text-align: justify;">
<li>Perform the following additional monitoring tasks from within the faults table:
<ul>
<li>. Click the <strong>Show only recoverable faults</strong> checkbox to only display faults from which you can recover.</li>
</ul>
</li>
</ul>
<ol style="list-style-type: lower-alpha; text-align: justify;">
<li>From the <strong>Fault Type</strong> list, select to display all faults, system faults, business faults, or OWSM faults in the faults table. Click the <strong>Help</strong> icon for a description of these fault types.</li>
<li>From the <strong>View</strong> list, select <strong>Columns</strong>&gt;<strong>Fault ID</strong> to display the fault IDs for each error message. The fault ID is automatically generated and uniquely identifies a fault. The fault ID is also displayed when you click an error message.</li>
<li>In the <strong>Composite</strong> column, click a specific SOA composite application to access its home page.</li>
<li>In the <strong>Component</strong> column, click a specific service component to access its home page.</li>
<li>In the <strong>Component Instance ID</strong> column, click a specific service component ID to access task details about the instance (for example, the current state of a task). Note that rejected messages do not have a component instance ID.</li>
</ol>
<p style="text-align: justify;"><strong>Performing BPEL Process Service Engine Message Recovery</strong></p>
<p style="text-align: justify;">You can perform a manual recovery of undelivered invoke or callback messages due to a transaction rollback in the process instance. Recovery of invoke messages applies to asynchronous BPEL processes only. Synchronous BPEL processes return an error to the calling client and are not recoverable from the Recovery page. Recoverable activities are activities that failed and can be recovered. For example, if you are using the file adapter to initiate an asynchronous BPEL process and your system fails while the instance is processing, you can manually perform recovery when the server restarts to ensure that all message records are recovered.</p>
<p style="text-align: justify;">You can also manage messages that have failed automatic recovery attempts by the BPEL process service engine. To ensure that automatic recovery of these messages is not attempted multiple times, these messages are placed in the exhausted state. You can then perform one of the following actions on these messages:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Return them to the automatic recovery queue</li>
<li>Never attempt a recovery on them again</li>
<li>Attempt to recover them immediately</li>
</ul>
<p style="text-align: justify;">For example, assume you have a BPEL process that writes to a database adapter. If the database is down, these messages are sent to a recovery queue. Automatic recovery of these messages fails while the database is down. Such messages are marked with the exhausted state so that automatic recovery is not attempted on them again. When the database begins running again, you can reset these messages (return them to the automatic recovery queue) so that an automatic recovery is attempted on them again.</p>
<p style="text-align: justify;">To perform BPEL process service engine message recovery:</p>
<ol style="text-align: justify;">
<li>Access this page through one of the following options:</li>
</ol>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>From the SOA Infrastructure Menu...</strong></th>
<th><strong>From the SOA Folder in the Navigator...</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ol style="list-style-type: lower-alpha;">
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
<td>
<ol style="list-style-type: lower-alpha;">
<li value="2">Right-click <strong>soa-infra</strong>.</li>
<li>Select <strong>Service Engines</strong>&gt;<strong>BPEL</strong>.</li>
</ol>
</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">2. &nbsp; &nbsp;Click <strong>Recovery</strong>.</p>
<p style="text-align: justify;">The Recovery page displays the following details:</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>A <strong>Refresh Alarm Table</strong> button for resynchronizing lost, in-memory, Quartz-scheduled jobs in the database. For example, assume a timer on a wait activity or on an onAlarm branch of a pick activity was initiated, but the transaction was rolled back. You can resynchronize these jobs with the BPEL instances residing in the wait activity/onAlarm branch in the database.</li>
<li>A utility for searching for a specific message failure by specifying criteria and clicking <strong>Search</strong>. Click the <strong>Help</strong> icon for details.</li>
</ul>
<p style="text-align: justify;">You can enter the execution context ID (ECID) value in the <strong>ECID</strong> field. The ECID value enables you to track a message flow that crosses instances of different composite applications. If there are BPEL process messages requiring recovery and the <strong>AuditConfig</strong> property in the System MBean Browser is set to <strong>All</strong> (the default value), the following message is displayed in the <strong>Trace</strong> table of the Flow Trace page:</p>
<p style="text-align: justify;">BPEL Message Recovery Required</p>
<p style="text-align: justify;">Clicking <strong>Show Details</strong> or the recovery icon that appears next to this message displays a Warning dialog with information about the number of invoke, callback, and activity recoverable message types and the ECID value. You can copy the ECID value from the Warning dialog, paste it into the <strong>ECID</strong> field, and select the recoverable message type from the <strong>Type</strong> list as part of creating your search criteria on the Recovery page.</p>
<p style="text-align: justify;"><strong>Note:</strong></p>
<p style="text-align: justify;">Oracle recommends that you add an index on the DLV_MESSAGE.ECID column of the DLV_MESSAGE table to improve SQL query performance when searching messages for a specific ECID value. This is because if there are too many entries in the DLV_MESSAGE table, the search query may be slow and may also overload the database. For information on adding an index, see Chapter "Creating Indexes"of the <em>Oracle Database Administrator's Guide</em>.</p>
<ul style="list-style-type: circle; text-align: justify;">
<li>Message failures in the service engine, including the conversation ID, whether you can recover from the message failure, the service component and composite application in which the failure occurred, and the time at which the fault occurred. Depending on the state, you can recover these messages immediately, cancel these messages, or reset these messages for automatic recovery.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone wp-image-1490" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1721-460x345.png" alt="Slide172" width="499" height="374" /> Description of the illustration bpel_se_recov.gif</p>
<p style="text-align: justify;"><strong>Notes:</strong></p>
<ul style="list-style-type: circle; text-align: justify;">
<li>You can recover callback messages in resolved and undelivered states. These messages can be displayed for recovery when you execute search criteria in which you select <strong>Callback</strong> from the <strong>Type</strong> list and either <strong>Resolved</strong> or <strong>Undelivered</strong> from the <strong>Message State</strong> When a callback message first enters the BPEL process service engine, its state is undelivered. When this message
<ul>
<li>for consumption). In other situations, the callback messages can become stranded in both of these states. Messages in these states can also be recovered. However, there is no guarantee that stranded callback messages always remain in an undelivered state.</li>
<li>If you select <strong>Invoke</strong> from the <strong>Type</strong> list and <strong>Undelivered</strong> from the <strong>Message State</strong> list, and then click <strong>Recover</strong>, a recovery is performed. However, the <strong>Last Modified Date</strong> column remains empty for this instance on the Dashboard page of the Oracle BPEL Process Manager Service component or service engine. This is the expected behaviour. The last modified date is not displayed because the initial Oracle BPEL Process Manager instance (for example, <strong>bpel:70004</strong>) is created by the first invocation (that is, it is created, but has not yet been modified). The recovery of the undelivered invocation message always creates a <em>new</em> instance (for example, <strong>bpel:70005</strong>). The previously created instance (bpel:70004) is not used and remains permanently in the same status (the <strong>Last Modified Date</strong> column is empty). This information is provided for auditing purposes only.</li>
</ul>
The <strong>Message States</strong> list is applicable only to callback and invoke message type recovery, and not for activity message type recovery. is resolved to the target BPEL process instance either through matching a conversation ID or a correlation, the state is switched to resolve. In both of these states, the messages have not yet been consumed. Messages in these two states can be recovered (redelivered into the BPEL process service engine</li>
</ul>
<ul style="text-align: justify;">
<li>Select a fault in the table.</li>
<li>Select one of the following options:</li>
</ul>
<table style="width: 100%;" border="1" width="100%" cellspacing="0" cellpadding="0">
<thead>
<tr>
<th><strong>Action</strong></th>
<th><strong>Description</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>Recover</strong></td>
<td>Retries the message in which the fault occurred.If you select messages in the exhausted state and click this button, an attempt is made to recover them immediately. Should this recovery attempt also fail, the message is returned to the exhausted state. You must then select the message and click <strong>Reset</strong> to return the message to the automatic recovery queue. If an asynchronous BPEL process encounters a transaction rollback scenario because of any underlying exception error, it rolls back to the last dehydration activity. If this is a new instance, and a receive activity was the first dehydration activity, the BPEL process service engine creates a recoverable invoke. When you click <strong>Recover</strong> to recover the invoke, the service engine creates a new instance. This instance may run to completion with no exception error. However, you continue to see the older instance identified as faulted.</td>
</tr>
<tr>
<td><strong>Mark Cancelled</strong></td>
<td>Marks the message so it is never delivered. If you select messages in the exhausted state and click this button, recovery is never attempted on them.</td>
</tr>
<tr>
<td><strong>Reset</strong></td>
<td>Select to reset exhausted messages to the undelivered state. This returns the message to the automatic recovery queue. The messages that are displayed in the exhausted state disappear from the messages table. If you select <strong>Undelivered</strong> from the <strong>Message State</strong> list and click <strong>Search</strong>, these messages are displayed. Note that callback messages in the exhausted state can also be reset to the resolved state and still remain recoverable.</td>
</tr>
</tbody>
</table>
<ul style="text-align: justify;">
<li>Once a message is submitted for recovery, the BPEL process service engine may take time to complete the action. This typically takes less than several seconds. During this time, the message remains visible in the Recovery page. Duplicate attempts to recover the same message in that period are ignored. Refresh the page every few seconds to receive the latest recovery status.</li>
</ul>
<p style="text-align: justify;"><strong>Note:</strong></p>
<p style="text-align: justify;">If you define a fault policy in a BPEL process with an ora-retry action and a fault occurs, the BPEL process attempts to recover from the fault the number of times you specified with the retry Count parameter. After this period, the process continues to be in a running state. The status of an activity in the process that has not completed (such as an invoke or receive) shows as pending a manual recovery. This is the expected behaviour.</p>ed:T5096,<h2>Understanding Simple Messaging</h2>
<p>Objective-C methods look substantially different from Java methods. Although the syntax is confusing at first, it&rsquo;s not difficult once you become used to it. Note that you don&rsquo;t say that you ―call a method‖ when using Objective-C. Instead, you ―send a message to a receiver.‖ For instance, using Java you might type the following: objMyObject.getFooUsingID(33); When describing this line, I write that I am calling objMyObject&rsquo;s getFoo method and passing the argument 33. In Objective-C, the same message appears as follows: [objMyObject getFooUsingID : 33]; When describing this line, I write that I am sending a getFooUsingID message, passing the argument 33, and objMyObject is the receiver.The difference between calling a method and sending a message isn&rsquo;t Objective-C&rsquo;s only difference from Java, C++, and other dot-notation languages. Objective-C uses what&rsquo;s called infix notation. Infix notation mixes operands and operators. You don&rsquo;t really need to fully understand infix notation, other than it means Objective-C looks substantially different from Java and C++. An Objective-C message begins with an opening square brace and ends with a closing square brace followed by a semicolon. The object&rsquo;s name follows the opening brace, followed by a space, followed by the message. Arguments passed to the message follow a colon. You can, of course, have multiple-argument methods, as you will see in the next chapter. For now, though, just consider single-argument methods. Figure 3-4 summarizes an Objective-C message with a single argument. &nbsp;</p>
<h3>Using self in a Message</h3>
<p>The term self refers to an object when sending a message, and it is also the receiver. For instance, you might make a mental note to yourself to pick up milk on the way home from work (Listing 3-8). Listing 3-8 A method using the self keyword (void)goHome {[self pickupMilk]; }(Milk*) pickupMilk { } Both methods are in the same object, and so the goHome method sends the message pickupMilk to itself, or self. &nbsp;</p>
<h3>Nested Arguments</h3>
<p>Like Java, you can nest Objective-C messages. For instance, using Java, you might write the following: objMyObject.getFoo(objMyFooIdentifier.getID()); In Objective-C, you would write the same statement as follows: [objMyObject getFoo: [objMyFooIdentifier getID]]; Using Java, you might nest an object&rsquo;s constructor in another method. objTester.testFubar(new Fubar(33)); In Objective-C, you can also nest object constructors in other methods. [objTester testFubar[[Fubar alloc] initWithInteger : 33]]]; In this method, a new Fubar instance is first allocated and then initialized with 33, and the resulting object reference is sent as an argument to the testFubar message.</p>
<h3>Class and Instance Methods</h3>
<p>As discussed earlier, you declare methods in a class&rsquo;s interface and define methods in a class&rsquo;s implementation. Just like C, a method declaration consists solely of the method&rsquo;s signature, while the definition is the method&rsquo;s actual implementation. In both files, there are two method types: instance and class methods. Instance methods begin with a minus sign, while class methods begin with a plus sign. A class method is similar to a Java static method, meaning you don&rsquo;t need to create a class instance to use the method. For instance, the following is an instance method. - (void) sayHello: (NSString*) name Using the method requires creating a class instance first. Although not required, you should also initialize the class. Remember, all classes extend NSObject, which has an init method, so every Objective-C class is guaranteed to implement init. Simple *objSimple = [[Simple alloc] init]; [objSimple sayHello:@"James"]; Now consider class methods. Class methods begin with a plus sign. + (id) sayGoodBye; A class method doesn&rsquo;t require creating a class instance before using the method. For instance, when first allocating space for an object instance, you call a class&rsquo;s alloc method. If the class doesn&rsquo;t implement the alloc method, the runtime traverses up the class&rsquo;s inheritance hierarchy until it finds an alloc method or it reaches NSObject&rsquo;s alloc method and calls it. Simple *mySimple = [Simple alloc]; [mySimple init]; This alloc method is a class method example. You don&rsquo;t instantiate a class instance before calling alloc; rather, you call alloc directly using the class. You create and use class methods just like Java static methods. And like Java static methods, you have the same restrictions. You can&rsquo;t reference that &nbsp; class&rsquo;s instance variables from a static method, as the instance variables haven&rsquo;t been initialized. You also can&rsquo;t refer to other instance methods from the same class as the class method. Remember, like a Java static method, you are using an uninitialized class, not an initialized object. If your class method relies upon a class being initialized, runtime errors will result.</p>
<h2>Adding sayGoodBye as a Class Method to Simple</h2>
<ol>
<li>Open the last example&rsquo;s project in Open Simple.h and add the sayGoodBye method declaration to it). Be certain to use a + and not a &ndash; in the method&rsquo;s signature.</li>
<li><strong>Add the method&rsquo;s definition to m.</strong></li>
<li><strong>Have m call the sayGoodBye method.</strong></li>
<li><strong> Build and run the application, and ―Goodbye...‖ is written to the debugger console.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>Simple.h modified to include sayGoodBye declaration</strong> #import &lt;Foundation/Foundation.h&gt; @interface Simple : NSObject { } + (void) sayGoodBye; -(void) sayHello: (NSString *) name; @end Simple.m modified to include sayGoodBye definition #import "Simple.h" @implementation Simple + (void) sayGoodBye { NSLog(@"Goodbye..."); } - (void) sayHello: (NSString *) name { NSMutableString *message = [[NSMutableString alloc] initWithString:@"Hello there"]; [message appendString:name]; NSLog(message); [message release]; } @end The main.h file modified to call sayGoodBye int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; Simple * mySimple = [[Simple alloc] init]; [mySimple sayHello:@"James"]; [mySimple release]; [Simple sayGoodBye]; int retVal = UIApplicationMain(argc, argv, nil, nil); [pool release]; return retVal; } Debugger console after running ChapThree [Session started at 2008-12-17 21:33:38 -0500.] 2008-12-17 21:33:40.498 ChapThree[851:20b] Hello there James 2008-12-17 21:33:40.501 ChapThree[851:20b] Goodbye... &nbsp;</p>
<h3>The alloc and init Methods</h3>
<p>The alloc method is how you create class instances for all Objective-C classes. This method allocates memory space for the new object instance. It is inherited from the NSObject class, so you don&rsquo;t really need to implement this method yourself.The init method is how you initialize a class once allocated. Unlike the class method alloc, the init method is an instance method. The init method is also a method in NSObject. If a class has no specific initialization requirements, you don&rsquo;t need to override int, nor are you required to call it when instantiating a class. However, if you have specific initialization requirements, you should override this method. Good programming practice, though, is to always call init, usually on the same line as the allocation.The init method returns an id. An id is an Objective-C type that is a pointer to the object instance&rsquo;s address. The id is weakly typed, though, and the runtime treats all ids the same. Overriding an init method should always call the class parent&rsquo;s init method (Listing 3-13). &nbsp; Listing 3-13 A simple init implementation - (id) init { if (self = [super init]){ magicNumber = 5;} return self; } In Listing 3-13, the method assigns itself to its parent&rsquo;s id. If the parent&rsquo;s init method fails, it returns a nil value and the if statement fails. If it succeeds, the evaluation is true and the instance variable, magicNumber, is set to five. The init method ends by returning itself. You can also initialize an object by passing arguments. By convention, initialization methods that take arguments are named init, followed by the data type of the argument. For instance, you could modify the init method in Listing 3-13 to Listing 3-14 if you wanted to initialize with an integer passed as a parameter. Listing 3-14 A simple init method - (id) initWithInt : (int) value { if (self = [super init]) magicNumber = value; return self; }</p>
<h3>Managing Memory Using Retain and Release</h3>
<p>Unlike Java or C#, when programming for the iPhone, you manage memory manually; there is no garbage collection on the iPhone. Although as of OS X 10.5, Cocoa includes an option to use automatic garbage collection, this option is not available on the iPhone. Table 3-1 summarizes Objective-C&rsquo;s memory management methods. Table 3-1 Allocate memory for new object and assign object reference count of one. Add receiver to autorelease pool. Deallocate memory for an object with zero reference count. Decrease object&rsquo;s reference count by one. Increase object&rsquo;s reference count by one. Returns the object as an id. See documentation. NSObject Memory Management Related Methods Objective-C uses reference counts to determine if memory should be released or retained. When you create a class instance, the runtime allocates memory for the object and assigns that object a reference count of one. For instance, suppose you had a class named Simple. You first allocate space for it using NSObject&rsquo;s alloc method. Simple *objSimple = [[Simple alloc] init]; You then use the object. [objSimple sayHello:@"James"]; &nbsp; When finished, you call its release method. If no release method is found, the runtime moves up the classes&rsquo; inheritance hierarchy until it finds a release implementation. As all classes extend NSObject, if no release instance is found, the runtime calls NSObject&rsquo;s release method. [objSimple release]; When an object&rsquo;s reference count reaches zero, the runtime calls the object&rsquo;s dealloc method to deallocate the object. As with retain, if the runtime doesn&rsquo;t find a dealloc method, it moves up the inheritance hierarchy until it finds one. If no dealloc method is found, the runtime calls NSObject&rsquo;s dealloc method and the object is deallocated so the memory can be reclaimed. You&rsquo;ve already seen how alloc, release, and dealloc work; you allocate memory for an object and assign it a reference count of one using the alloc method, and you decrement the reference count by one when calling release. When an object&rsquo;s reference count reaches zero, the program calls NSObject&rsquo;s dealloc method. The retain method increments an object&rsquo;s reference by one and returns the object reference as an id. Unlike Java, this referencing isn&rsquo;t automatic; you must explicitly call retain to increase an object&rsquo;s reference count. For instance, consider the following Objective-C code (Listing 3-15). Listing 3-15 Using retain Simple *objSimple = [[Simple alloc] init]; Simple *objSimpleTwo = objSimple; NSLog(@"retaincount: %d", [objSimple retainCount]); [objSimple release]; //this causes an error because objSimpleTwo is released [objSimpleTwo sayHello:@"James"]; &nbsp; <em>NOTE</em> Typically, there is no reason to call retainCount. In this chapter, I use retainCount to illustrate Objective-C memory management.The first line allocates objSimple, and the runtime assigns the object a reference count of one. The second statement creates a new pointer to the objSimple object; both objSimple and objSimpleTwo point to the same physical object in memory. But because the code doesn&rsquo;t call retain, the physical object&rsquo;s reference count is not incremented. When the object is then released, the reference count is decremented by one and the reference count for the object becomes zero. The object is deallocated, so the next line fails, as objSimpleTwo is pointing to deallocated memory space.Instead, the code should have explicitly retained objSimpleTwo. [objSimpleTwo retain]; Retaining objSimpleTwo would have incremented the object&rsquo;s reference count by one, bringing it to two. Then, when objSimple was released, the object&rsquo;s reference count would still be one and the object would not be deallocated. The subsequent call to sayHello would work just fine, as the object that objSimpleTwo pointed to would still exist. Note, this is a somewhat unrealistic example, as you will never write code like Listing 3-15, but it illustrates retain and release.You can override the NSObject&rsquo;s retain, release, dealloc, and alloc methods. But if you do, be certain to call the object&rsquo;s super method version. The method call for these methods must make it up the inheritance hierarchy to NSObject for memory management to function correctly.</p>
<h3>Using Manual Memory Management</h3>
<ol>
<li><strong>Open the previous Try This project and implement dealloc, retain, release, and alloc in m (Listing 3-16). Note that retain returns an id, and that all these methods are declared in NSObject and don&rsquo;t require you adding their signatures to Simple.h.</strong></li>
<li><strong>Modify m to write log statements of the Simple&rsquo;s retaincount (Listing 3-17).</strong></li>
<li><strong>Build</strong> <strong>and run the The debugger includes the logging added in Listing 3-16 (Listing 3-18).</strong></li>
</ol>
<p>&nbsp; Listing 3-16 Simple.m modified to include memory management methods #import "Simple.h" @implementation Simple + (void) sayGoodBye {NSLog(@"Goodbye..."); } - (void) sayHello: (NSString *) name { NSMutableString *message = [[NSMutableString alloc] initWithString:@"Hello there"]; [message appendString:name]; NSLog(message); [message release]; }</p>
<ul>
<li>(void) dealloc { NSLog(@"deallocating ...");</li>
<li>[super dealloc];</li>
</ul>
<p>}</p>
<ul>
<li>(id) retain {</li>
</ul>
<p>NSLog(@"retaining Simple....."); return [super retain]; }</p>
<ul>
<li>(void) release { NSLog(@"releasing ....");</li>
<li>[super release];</li>
</ul>
<p>} +(id) alloc { NSLog(@"allocating Simple...."); return [super alloc]; } @end Listing 3-17 The main.h file modified to include retainCount logging #import &lt;UIKit/UIKit.h&gt; #import "Simple.h" int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; Simple * mySimple = [[Simple alloc] init]; NSLog(@"retaincount: %d", [mySimple retainCount]); [mySimple sayHello:@"James"]; [mySimple release]; [Simple sayGoodBye]; int retVal = UIApplicationMain(argc, argv, nil, nil); [pool release]; return retVal; } Listing 3-18 Debugger console echoing memory management logging [Session started at 2008-12-17 22:30:02 -0500.] 2008-12-17 22:30:03.894 ChapThree[1062:20b] allocating Simple.... 2008-12-17 22:30:03.895 ChapThree[1062:20b] retaincount: 1 2008-12-17 22:30:03.899 ChapThree[1062:20b] Hello there James 2008-12-17 22:30:03.903 ChapThree[1062:20b] releasing Simple..... 2008-12-17 22:30:03.904 ChapThree[1062:20b] deallocating Simple.... 2008-12-17 22:30:03.904 ChapThree[1062:20b] Goodbye... In main.m, the main method first allocates a new Simple instance and assigns the pointer (mySimple) to point to the newly allocated and initialized object. Simple *mySimple = [[Simple alloc] init]; &nbsp; The reference count to the object mySimple points to is one, and the debug statement in Listing 3-17 prints a retain count of one. Instance Variables and Memory In Chapter 4, you will learn about properties. You should use them and their accessor methods. If you do, you avoid this section&rsquo;s complications. But you should still understand a little about instance variables and how they are handled in memory. Suppose you have an instance variable, personName, you wish to set, as in Listing 3-19. Listing 3-19 An instance variable in Simple.h #import &lt;Foundation/Foundation.h&gt; @interface Simple : NSObject { NSString * personName; } -(void) sayGoodBye; - (void) sayName; -(void) sayHello: (NSString *) name; @end Now suppose you modified sayHello to set personName, as in Listing 3-20. You must retain the variable; otherwise, it goes away at the method&rsquo;s end. Listing 3-20 Retaining an instance variable - (void) sayHello: (NSString*) name { NSMutableString *message = [[NSMutableString alloc] initWithString: @"Hello there "]; [message appendString:name]; NSLog(message); personName = [name retain]; [message release]; } &nbsp; Note that by retaining name, you are increasing its reference count by one, returning it, and then setting personName to it. Thus, retaining name is retaining personName. Not retaining a variable when assigning it to another variable, as in Listing 3-20, is a good example of the type of problem you might encounter when not using properties. The name variable pointer is passed to sayHello. Assume there is only one other pointer pointing to name (a retainCount of one). Then, after assigning personName to name, the retain count remains one. The personName pointer is now at the mercy of the pointer that originally pointed to name outside the sayHello method. When the pointer external to Simple releases the object name points to, the object is deallocated. So the personName pointer now points to deallocated memory space and an error occurs. To correct this problem, you call retain on the instance variable as in Listing 3-20. Anytime you set an instance variable, you should retain it. That way, you ensure that it will not reach a zero reference count while the instance variable still points to the object. Of course, the better solution is to always use accessor methods combined with properties. You learn about accessor methods and properties in the next chapter. NOTE You could have written the code in Listing 3-20 using one of NSString&rsquo;s class methods. But using stringWithString would not illustrate using retain. personName = [NSString stringWithString:name]; Managing Memory Using Autorelease Managing reference counts manually is tiresome and error- prone. NSObject&rsquo;s autorelease method manages an object&rsquo;s reference count for you. The autorelease method uses what&rsquo;s called a release pool to manage an object&rsquo;s references. Refer to Listing 3-17 and note that this method&rsquo;s first step is allocating an NSAutoreleasePool. Its second-to-last step is releasing that pool. Calling autorelease adds the object to the pool, and the pool retains the object for you. Consider the sayHelloTom method in Listing 3-21. &nbsp; Listing 3-21 A method using autorelease - (void) sayHelloTom { Simple *objSimple = [[[Simple alloc] init] autorelease]; [objSimple sayHello:@"Tom"]; } The method allocates a Simple instance and then calls autorelease, assigning objSimple to the autorelease pool. When the method finishes executing, the autorelease pool is deallocated and the Simple instance is subsequently released. &nbsp; NOTE The iPhone Cocoa Touch framework creates an autorelease pool for every event loop and releases it when the loop completes.Using autorelease and accepting the default autorelease pools makes memory management easy. However, the problem is that there&rsquo;s a penalty: The objects persist for the release pool&rsquo;s lifetime. There is one solution, and that is to manage the NSAutoReleasePool yourself. For instance, you could modify Listing 3-22 to manage its own autorelease pool. Listing 3-22 The sayHelloTom method managing its own autorelease pool - (void) sayHelloTom { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; Simple *objSimple = [[[Simple alloc] autorelease] init]; [objSimple sayHello:@"Tom"]; [pool release]; } When the pool is released and deallocated, the pool releases the object pointed to by objSimple. When the physical object pointed to by objSimple is released, the reference count is zero, so the runtime deallocates the object. You should note, though, that in this example, the results are exactly the same as if you had used the default autorelease pool. Unless creating many objects, it&rsquo;s probably best to stick to the default NSAutoreleasePool rather than trying to manage it yourself. After all, how long does an event loop last? Of course, if you are doing an intensive process, involving many objects or unusually large objects, you might consider managing the autorelease pool manually. &nbsp;</p>ee:T3be0,<h2>UIApplication and UIApplicationDelegate</h2>
<h3>Key Skills &amp; Concepts</h3>
<p>Understanding the UIApplication class Understanding the UIApplicationDelegate protocol Handling application startup and termination Handling application interruptions Every iPhone application has one UIApplication. UIApplication is an iPhone application&rsquo;s starting point and is responsible for initializing and displaying your application&rsquo;s UIWindow. It is also responsible for loading your application&rsquo;s first UIView into the UIWindow. Another responsibility UIApplication has is managing your application&rsquo;s life cycle. UIApplication fulfils this management responsibility using a delegate called UIApplicationDelegate.Although UIApplication receives events, it&rsquo;sthe UIApplication Delegate that handles how an application responds to those events. Events the UIApplicationDelegate might handle include application life cycle events, such as startup and shutdown, and system events like incoming phone calls and calendar alerts. In this chapter, after learning how to load an application&rsquo;s root view into the UIWindow, you explore handling system events using the UIApplicationDelegate protocol. Adding a UIView and UIViewController to a UIApplicationDelegate Before continuing, create this chapter&rsquo;s project; this chapter uses the same project throughout. In this project, you start with the simplest iPhone template, a Window-based application and you create an application from scratch. You first create a xib and corresponding view controller. You then modify the application&rsquo;s delegate so it loads the view.</p>
<ol>
<li><strong>Create a new Window-based Application from the New Project Name the project AddViewProject.</strong></li>
<li><strong>In</strong> <strong>Groups</strong> <strong>&amp; Files, expand the Classes This folder contains the AddViewProject AppDelegate.h and AddViewProjectAppDelegate.m files. These two files implement the project&rsquo;s custom class that adopts the UIApplicationDelegate protocol.</strong></li>
<li><strong>Highlight</strong> <strong>the Resources folder. CTRL-Click and Select Add | New File from the popup menu. Select User Interfaces from the New File dialog, and select Empty XIB(Figure6-1).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone wp-image-4381" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide420-460x288.png" alt="Slide4" width="810" height="505" /></strong> <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</strong>Figure 6-1 Creating an Empty XIB Interface Builder &nbsp;</p>
<ol>
<li><strong>Name</strong> <strong>the xib FirstViewController and click </strong></li>
<li><strong>Highlight</strong> <strong>the Classes folder in Groups &amp; Select File | New File from the menu.</strong></li>
<li><strong>Select</strong> <strong>the UIViewController subclass from the Cocoa Touch Classes and click Next (Figure 6-2).</strong></li>
</ol>
<p>NOTE You could have created the view controller first and then checked the ―With XIB for user interface,‖ check box and Xcode would have generated the xib for you.</p>
<ol>
<li><strong>Name the file FirstViewController.m and ensure the Also Create&nbsp;"F</strong><strong>irstViewController.h"</strong>&nbsp;<strong>check</strong> <strong>box is selected. Click Finish.</strong></li>
</ol>
<ol start="2">
<li><strong>Double-click</strong> <strong>FirstViewController.xib</strong> <strong>and open it in Interface Builder</strong><strong>.</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;<img class="alignnone wp-image-4384" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide519-460x415.png" alt="Slide5" width="815" height="733" /></strong> <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong>Figure 6-2 Creating a UIViewController &nbsp;</p>
<ol>
<li><strong>Select</strong> <strong>a view from the library, and drag-and-drop it onto the xib Document window.</strong></li>
<li><strong>In</strong> <strong>the Document window, highlight File&rsquo;s Owner and select FirstViewController as the class in the First View Controller Identity Inspector (Figure 6-3).</strong></li>
<li><strong>In</strong> <strong>the Inspector, set the newly created view as FirstViewController&rsquo;s view outlet (Figure 6-4).</strong></li>
<li><strong>Select</strong> <strong>the view and change its color using the inspector (Figure 6-5).</strong></li>
<li><strong>Save xib and exit Interface Builder.</strong></li>
<li><strong>Open &nbsp;h,&nbsp; &nbsp;import&nbsp; &nbsp;FirstViewController.h,&nbsp; &nbsp;and&nbsp; &nbsp;create&nbsp; &nbsp;a property referencing the FirstViewController class (Listing 6-1).</strong></li>
</ol>
<p>&nbsp; <img class="alignnone wp-image-4387" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide618-460x297.png" alt="Slide6" width="783" height="504" /> Figure 6-3 Select FirstViewController as the file&rsquo;s owner &nbsp; <img class="alignnone wp-image-4389" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide718-460x300.png" alt="Slide7" width="776" height="504" /> &nbsp; Figure 6-4 Setting the view as the File&rsquo;s Owner view &nbsp; <img class="alignnone wp-image-4390" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide818-460x314.png" alt="Slide8" width="732" height="498" /> Figure 6-5 Changing the view&rsquo;s color &nbsp;</p>
<ol>
<li><strong>Open</strong> <strong>m, synthesize first, and modify applicationDidFinish Launching: so it obtains a reference to FirstViewController from FirstViewController.xib and then adds its view as a subview to the window. FirstViewController.m should appear identical to Listing 6-2.</strong></li>
<li><strong>Click Build And Your colored view should load into the iPhone Simulator (Figure 6-6).</strong></li>
</ol>
<p>&nbsp; Listing 6-1 AddViewProjectAppDelegate.h interface #import &lt;UIKit/UIKit.h&gt; #import "FirstViewController.h"; @interface AddViewProjectAppDelegate : NSObject &lt;UIApplicationDelegate&gt; { UIWindow *window; FirstViewController *first; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) FirstViewController *first; @end &nbsp; <img class="alignnone size-full wp-image-4394" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide918.png" alt="Slide9" width="312" height="541" /> &nbsp; Figure 6-6 The application in iPhone Simulator &nbsp; &nbsp; Listing 6-2 AddViewProjectAppDelegate.m implementation #import "AddViewProjectAppDelegate.h" @implementation AddViewProjectAppDelegate @synthesize window; @synthesize first;</p>
<ul>
<li>(void)applicationDidFinishLaunching:(UIApplication *)application { first = [[FirstViewController alloc] initWithNibName:@"FirstViewController" bundle:nil];</li>
</ul>
<p>[window addSubview: [first view]]; [window makeKeyAndVisible]; }</p>
<ul>
<li>(void)dealloc {</li>
<li>[window release];</li>
<li>[first release];</li>
<li>[super dealloc];</li>
</ul>
<p>} @end In steps 10 and 11, you manually connected AddViewProjectAppDelegate to its UIView. Moreover, you placed that view in its own nib. Every nib has an owner. Recall that every application has one UIWindow. UIWindow is in a project&rsquo;s MainWindow.xib. That nib&rsquo;s owner is UIApplication. Also notice that Xcode added the AddViewProjectAppDelegate to MainWindow.xib and connected it to the UIWindow and set the UIApplication&rsquo;s delegate. Nibs you create should have a class adopting the UIViewController protocol as an owner, which is what you did in step 10. In step 9, you tied the UIView created in the nib in Interface Builder to the UIViewController created in Xcode. This is how the two objects ―know‖ about each other. You learn more about UIViewControllers and UIViews&mdash;and connecting them&mdash;in Chapter 7. &nbsp; &nbsp; NOTE Notice that you created FirstViewController&rsquo;s view in its own FirstViewController.xib file. You could have opened MainWindow.xib, dragged a view onto the window, and used this nib for your user interface. But this is not the preferred way of using views in nibs. Apple recommends one nib per view. The reason for this recommendation is that an application must load all views and all controls that reside in the same nib. Using one nib per view reduces your application&rsquo;s memory use because you only load views as needed. Q: What is that initWithNibName line in Listing 6-2? A: This method allows initializing a UIViewController&rsquo;s view from a nib file rather than from code. You use this method when you want to write code that initializes a view controller whose view resides in a nib. You should note that this is just one of several different ways you might load a view from a nib into a class. By book&rsquo;s end, you will be familiar with most of them. In the previous section, I only briefly mentioned the connections in MainWindow.xib. But these connections warrant a closer look if you want to understand what the template actually did. Notice the UIWindow in Listing 6-1 is an IBOutlet. Your first experience with IBOutlets was in Chapter 1, you learn more on it in Chapter 7. But realize the window ―lives‖ in the xib, not in the delegate. Although the window is released by the delegate in the dealloc method, it is neither allocated nor initialized by the delegate&rsquo;s code in Listing 6-2. Remember, all the dealloc method in Listing 6-2 is doing is releasing the class&rsquo;s reference to the window, not deallocating the window. Instead, MainWindow.xib handles allocating, initializing, and deallocating the UIWindow.UIApplication knows to load MainWindow.xib by consulting the NSMainNibFile key in Info.plist file. If you open the AddViewProject project&rsquo;s Info.plist, you will see that the ―Main nib file base name‖ is set to MainWindow. While loading, the nib sets&nbsp; AddViewProjectAppDelegate as UIApplication&rsquo;s delegate and UIWindow as AddViewProjectAppDelegate&rsquo;s window. Both are outlets of their respective class in Interface Builder. Exploring MainWindow.xib</p>
<ol>
<li><strong>Open xib and display the document window.</strong></li>
<li><strong>Highlight</strong> <strong>the File&rsquo;s Notice it is set to UIApplication (Figure 6-7). UIApplication loads MainWindow.xib.</strong></li>
<li><strong>Notice that the template added the AddViewProjectAppDelegate </strong></li>
<li><strong>Notice AddViewProjectAppDelegate&rsquo;s IBOutlet, window, is set to the UIWindow in the nib (Figure 6-8). Also notice that the UIApplication&rsquo;s delegate is set as AddViewProject </strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone wp-image-4399" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1017-460x148.png" alt="Slide10" width="775" height="248" /></strong> <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong>Figure 6-7 UIApplication in the Document window &nbsp; &nbsp; <img class="alignnone wp-image-4400" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1119-460x148.png" alt="Slide11" width="778" height="249" /> Figure 6-8 AddViewProjectAppDelegate&rsquo;s connections &nbsp; Ignore UIApplication&mdash;you almost never modify it. Just know that UIApplication receives system events. It is your job to write code that handles those system events. You write that code in a class adopting the UIApplicationDelegate protocol. This protocol has several life cycle methods that handle application and system events. Table 6-1 lists UIApplicationDelegate&rsquo;s methods. If you begin with a template, Xcode creates the class adopting the UIApplicationDelegate for you, but Xcode does not implement the UIApplicationDelegate&rsquo;s optional event-handling methods. For instance, in this chapter&rsquo;s project, Xcodecreated the AddViewProject &nbsp;AppDelegate.h and AddViewProjectAppDelegate.m files. The Add ViewProject AppDelegate class extends NSObject and adopts the UIApplication Delegate. @interface AddViewProjectAppDelegate : NSObject &lt;UIApplicationDelegate&gt; The application&rsquo;s UIApplication, defined in MainWindow.xib, has a reference to its UIApplicationDelegate as an outlet (Figure 6-8). As UIApplication receives one of the events related to the methods in Table 6-1, it calls the appropriate method in its delegate if implemented.</p>
<h3>Ask the Expert</h3>
<p>Q: What is a delegate? A: A delegate is a way to simplify the separation of processing logic from another class. It also avoids inheritance. For instance, subclassing the UIApplication object would be painful. Instead, Apple provides a UIApplicationDelegate. The UIApplication has a reference to the class implementing the UIApplicationDelegate. If implemented,the UIApplication delegates handling an event to the appropriate method in the UIApplicationDelegate. It appears as if UIApplication is handling the event; in reality, its delegate, UIApplicationDelegate, handles the event. Delegates are a common object- oriented design pattern. For more information on delegates and object-oriented programming, refer to the ―delegation pattern‖ on Wikipedia (<a href="http://www.wikipedia.org/">www.wikipedia.org</a>). &nbsp;</p>
<h3>The main.m file</h3>
<p>In the AddViewProject project, open main.m in the Other Sources folder in Groups &amp; Files. The file&rsquo;s code is listed in Listing 6-3. Listing 6-3 File main.m in project #import &lt;UIKit/UIKit.h&gt; int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv, nil, nil); [pool release]; return retVal; } &nbsp; &nbsp; Main creates one UIApplication instance using the UIApplicationMain method. Every project has exactly one UIApplication object. You can obtain a reference to that object by calling UIApplication&rsquo;s sharedApplication class method. This method returns a singleton reference to your application&rsquo;s UIApplication object. UIApplication * myApplication = [UIApplication sharedApplication]; You usually will not do much with the UIApplication object other than obtain a reference to its UIApplicationDelegate. You obtain a reference to the UIApplicationDelegate through the following code: UIApplicationDelegate * myDelegate = [[UIApplication sharedApplication] delegate];</p>ef:T5f36,<h2><strong>Handling Application Life Cycle Events</strong></h2>
<p>UIApplication forwards several important events to its UIApplicationDelegate to handle. For instance, applicationSignificantTimeChange: handles a significant time change while your application is running. The method didChangeStatusBarOrientation: handles the event fired when the status bar&rsquo;s orientation is changed from portrait to landscape or landscape to portrait. Table 6-1 lists UIApplicationDelegate&rsquo;s application life cycle event-handling methods. With the exception of applicationDidFinishLaunching:, the methods in Table 6-1 are not required, but you should implement most of them if you wish developing a robust application. Two of the more important application life cycle events are your application&rsquo;s startup and shutdown. The applicationDidFinishLaunching: method&mdash;a required method&mdash;is where you initialize your UIViewControllers, your UIWindow, add a UIView to the window, and then launch your application&rsquo;s user interface. The method is also useful for restoring your application&rsquo;s state, and is where you perform application initialization. The applicationWill Terminate: method is useful for saving your application&rsquo;s state. You might also use this method to perform cleanup. &nbsp; application:didChangeStatusBarFrame: application:didChangeStatusBar Orientation: application:handleOpenURL: application:willChangeStatusBarFrame: application:willChangeStatusBar Orientation:duration: applicationDidBecomeActive: applicationDidFinishLaunching: applicationDidReceiveMemoryWarning: applicationSignificantTimeChange: applicationWillResignActive: applicationWillTerminate: -(void) application:(UIApplication *) application didChangeStatusBarFrame: (CGRect) oldStatusBarFrame -(void) application: (UIApplication *) application didChangeStatusBarOrie ntation: (UIInterfaceOrientation) oldStatusBarOrientation</p>
<ul>
<li>(BOOL) application: (UIApplication *)</li>
<li>application handleOpenURL: (NSURL *) url</li>
<li>(void) application: (UIApplication *)</li>
<li>application willChangeStatusBarFrame:</li>
<li>(CGRect) newStatusBarFrame</li>
</ul>
<p>-(void) application: (UIApplication *) application willChangeStatusBarOri entation:(UIInterfaceOrientation) newStatusBarOrientation duration: &nbsp; &nbsp; (NSTimeInterval) duration -(void) applicationDidBecomeActive: (UIApplication *) application - (void) applicationDidFinishLaunching: (UIApplication *) application -(void)applicationDidReceiveMemoryWarning: (UIApplication *) application -(void) applicationSignificantTimeChange: (UIApplication *) application -(void) applicationWillResignActive: (UIApplication *) application -(void) applicationWillTerminate: (UIApplication *) application Xcode offers a feature called Code Sense. As you are typing, Xcode will suggest what it thinks you are typing. If correct, press the TAB key and Xcode finishes typing for you. You can ignore the suggestion by continuing to type. If you are not certain the suggestion is correct, press the ESC key and Xcode presents a drop-down list with possible completions (Figure 6-9). If you do not see this feature, ensure Xcode is configured correctly in Xcode Preferences (Figure 6-10). &nbsp; <img class="alignnone wp-image-4410" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1216-460x276.png" alt="Slide12" width="765" height="459" /> &nbsp; Figure 6-9 Code completion in Xcode &nbsp; <img class="alignnone wp-image-4411" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1317-460x276.png" alt="Slide13" width="765" height="459" /> &nbsp;</p>
<h3>&nbsp;Application Interruptions</h3>
<p>As your application functions, it is likely to receive interruptions. An incoming phone call causes your application to become inactive. If you decide answering the call, your application terminates. Other events that might cause your application to become inactive include calendar alerts and putting your device to sleep (locking your device). The application WillResignActive: method in UIApplicationDelegate executes just prior to your application becoming inactive. The applicationDidBecomeActive: method executes just after your application becomes active again. For instance, if you are running your application and lock the screen, your application&rsquo;s delegate executes the applicationWillResignActive: method. When you later unlock the screen, your application&rsquo;s delegate executes the applicationDid BecomeActive: method.Another important method is applicationDidReceiveMemoryWarning: method. The iPhone has limited memory&mdash;use too much and the operating system will terminate your application. But the operating system warns your application first. When UIApplication receives this event, it forwards the event to its delegate&rsquo;s applicationDidReceiveMemoryWarning: method. The delegate can then handle the application&rsquo;s response to the warning. For instance, it might release a shared data structure or take other memory reclaiming actions.</p>
<h3>Caution</h3>
<p>Although not required, your application should handle these important events in its UIApplicationDelegate. If it does not, Apple might reject your application when submitted for inclusion in the App Store.</p>
<h3>Handling Application Interruptions</h3>
<p>In this task, you explore the applicationDidReceiveMemoryWarning:, applicationWillResign Active:, and applicationDidBecomeActive: methods in UIApplicationDelegate.</p>
<ol>
<li><strong>Add the methods application Did Receive MemoryWarning:,application DidBecomeActive:, andapplication WillResignActive: toAddViewProjectDelegate&rsquo;s implementation (Add m).</strong><strong>Add a single NSLog statement to each method. The methods should appear similar to Listing 6-4.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go, and execute the application in the iPhone </strong></li>
<li><strong>Select</strong> <strong>Hardware</strong> <strong>| Simulate Memory Warning from the iPhone Simulator&rsquo;s </strong></li>
<li><strong>Select</strong> <strong>Hardware</strong> <strong>| Lock from the iPhone Simulator&rsquo;s Unlock and then quit your application.</strong></li>
<li><strong>Review</strong> <strong>the Debugger Console, which should appear similar to Listing 6-5.</strong></li>
</ol>
<p>&nbsp; Listing 6-4 AddViewProjectAppDelegate&rsquo;s three additional methods -(void)applicationDidReceiveMemoryWarning:(UIApplication *) application { NSLog(@"hey got a memory warning...."); } -(void)applicationWillResignActive:(UIApplication *) application { NSLog(@"hey I'm about to resign active status...."); } -(void)applicationDidBecomeActive:(UIApplication *) application { NSLog(@"hey I'm active...."); @end Listing 6-5 Console output from running application [Session started at 2008-12-07 14:56:49 -0500.] 2008-12-07 14:56:50.737 ProjectEight[2465:20b] fired application did finishLaunching... 2008-12-07 14:56:50.740 ProjectEight[2465:20b] added first view controller and made it visible... ---snip--- 2008-12-07 14:57:03.247 AddViewProject[2465:20b] hey I'm active.... 2008-12-07 14:57:08.094 AddViewProject[2465:20b] about to terminate... &nbsp; The application executed the applicationDidBecomeActive: method when you started it and then after you unlocked the Simulator. It called applicationDidReceiveMemoryWarning: when you selected the Simulate Memory Warning menu item. And when the application was about to become inactive after locking, the UIApplicationDelegate executed the application WillResignActive: method. &nbsp;</p>
<h3>UIView and UIViewController</h3>
<p>Key Skills &amp; Concepts</p>
<ul>
<li>Understanding the UIView and UIViewController</li>
<li>Creating a single view application using the View-based Application Template</li>
<li>Creating a single view application using the Window-based Application Template</li>
<li>Understanding an application delegate&rsquo;s root view</li>
<li>Setting an application&rsquo;s root view in Interface Builder</li>
<li>Setting an application&rsquo;s root view using code</li>
<li>Understanding UIView life cycle methods</li>
</ul>
<p>UIViews are how the iPhone displays information on the screen. The UIView class is responsible for displaying a rectangular area on the screen. The UIViewController manages the UIView and is responsible for handling the view&rsquo;s logic. The UIViewController is the glue between the view&mdash;the UIView&mdash;and your data classes&mdash;the model.There are many UIView subclasses you might work with while developing an iPhone application. In fact, every graphical component you use on an iPhone graphical user interface (GUI) is a UIView subclass. Technically speaking, everything is a view. But typically, when documentation or some other material refers to a ―view,‖ it is referring to a content view.A content view is a view that has a view controller and is responsible for presenting a screen&rsquo;s worth of user interface.</p>
<h3>The UIView Class</h3>
<p>The UIView&rsquo;s responsibilities are drawing to the screen and handling events associated with a user&rsquo;s interaction with an application. A UIView has an associated UIViewController. The UIViewController manages the view. The view controller loads and unloads its associated views, manages views, and handles application life cycle events for its views. Every graphical iPhone control you use in Interface Builder is a UIView subclass. Table 7-1 lists the UIView subclasses. Notice that UIScrollView and UIControl both have further subclasses listed in the table&rsquo;s second column. UIViews function as containers, controls, displays, alerts, action sheets, navigation controls, and as the application&rsquo;s window. In future chapters, you consider most of these UIView types. This chapter limits itself to a simple display view and associated view controller. &nbsp;</p>
<h3>The UIViewController Class</h3>
<p>The UIViewController manages UIViews. It is responsible for creating, displaying, hiding, and destroying a view. The UIViewControl is also responsible for responding to a view&rsquo;s life cycle events, handling orientation, and serving as a bridge between your application&rsquo;s view and model. The view controller is your application&rsquo;s controller in the model-view-controller design pattern.</p>
<h3>View-based Application Template</h3>
<p>The easiest route to creating a single view application is using Xcode&rsquo;s View-based Application template. This template creates a single view and view controller for managing the view. While the view-based application is not as useful as Xcode&rsquo;s other project templates, it is useful here, as it generates the most simple iPhone graphical application and provides a simple UIView and UIViewController example. In the next task, you generate an application using this template. But, before continuing, first review IBOutlets and IBActions.</p>
<h3>IBOutlet and IBAction</h3>
<p>You have already used IBOutlets and IBActions in previous chapters. Without really knowing what they are, you probably already have a good idea of what they accomplish; outlets and actions are how you connect things in a nib with things outside a nib. An outlet connects an instance variable outside a nib to an object in a nib.IBOutlet is a preprocessor directive, evaluates to void, and is ignored by the compiler,but all you really need to know is that IBOutlet is how Interface Builder knows the variable was created for its use. When adding a class, Interface Builder scans the class for IBOutlets and knows those variables are intended as outlets. You can then easily connect your graphical component to the variable, as Interface Builder adds the outlets to the inspector automatically for you to select. Note, though, Interface Builder doesn&rsquo;t connect the outlets to anything; it just adds them. You are responsible for adding any connections.Actions are messages sent from objects in the nib to methods outside the nib. You define an action in your code using the IBAction keyword. Like IBOutlet, it&rsquo;s a preprocessor directive and evaluates to void. You define an action in your code using the IBAction keyword. Also, like IBOutlet, when you add a class to Interface Builder, it scans the class for IBActions and adds them to the inspector for you to select. You can then connect user interface events to a specific method in your code. Note that a method designated as an action must not return a value, as the preprocessor replaces IBAction with void, and so all the compiler sees is void.An action also takes a single parameter, sender. The sender is the id of the control calling the action. So if a UIButton instance called changeLabelValue, the sender would be the pointer to the UIButton. - (IBAction) changeLabelValue: (id) sender; IBOutlet and IBAction don&rsquo;t require much explanation, as you use these two directives so frequently they become second nature. Any instance variable external to Interface Builder that must communicate with a control in Interface Builder must be an IBOutlet. Any method that must be called from a control in Interface Builder must be an IBAction.</p>
<h2>Using a View-based Application Template</h2>
<ol>
<li><strong>Create a new View-based Application using the Name the project SimpleView.</strong></li>
<li><strong>Expand</strong> <strong>classes</strong> <strong>and notice Interface Builder created the SimpleViewViewController class for Expand Resources and notice the template generated a separate nib, SimpleViewViewController.xib, for the SimpleViewViewController.</strong></li>
<li><strong>Open h and add a label and method for changing the label&rsquo;s value. Make the label an IBOutlet and the method an IBAction (Listing 7-1).</strong></li>
<li><strong>Open m and add the IBOutlet and IBAction definitions (Listing 7-2).</strong></li>
<li><strong>Open xib in Interface Builder and change the view&rsquo;s color. Add a UILabel and a UIButton to the UIView.</strong></li>
<li><strong>Notice that SimpleViewViewController is the File&rsquo;s Connect SimpleViewView Controller&rsquo;s theLabel outlet to the label.</strong></li>
<li><strong>Connect</strong> <strong>SimpleViewViewController&rsquo;s</strong><strong> changeTheLabel action to the Select Touch Up Inside.</strong></li>
</ol>
<p>&nbsp; Listing 7-1 SimpleViewViewController.h #import &lt;UIKit/UIKit.h&gt; @interface SimpleViewViewController : UIViewController { IBOutlet UILabel * theLabel; } @property (nonatomic, retain) UILabel * theLabel; - (IBAction) changeLabelValue: (id) sender; @end Listing 7-2 SimpleViewViewController.m #import "SimpleViewViewController.h" @implementation SimpleViewViewController @synthesize theLabel; - (IBAction) changeLabelValue : (id) sender { [theLabel setText:@"Hello World."]; UIButton *theBut = sender; NSLog(theBut.currentTitle); theBut.enabled = NO; [theBut setTitle:@"Pressed Already" forState: UIControlStateDisabled]; } - (void)dealloc { [theLabel release]; [super dealloc]; } @end Take a moment to examine what the View-based Application template did for you. It created the SimpleViewViewController.xib and it also created a UIViewController subclass, SimpleView ViewController, by creating the SimpleViewViewController.h and SimpleViewViewController.m files. Moreover, it added the controller to the delegate (Listing 7-3).sIn the delegate, the template created the application&rsquo;s window and view controller as outlets (Listings 7-3 and 7-4). In the delegate&rsquo;s applicationDidFinishLaunching: method, the template added the view controller&rsquo;s view to the window and then displayed the window. Notice that nowhere does the code allocate or initialize its window or view controller. Instead, the Info.plist specifies that MainWindow.xib is the application&rsquo;s main nib, so it knows to load the MainWindow.xib and the nib handles window and view controller initialization.In the MainWindow nib, the template set the nib&rsquo;s file&rsquo;s owner to UIApplication. The template set SimpleViewAppDelegate as the application&rsquo;s delegate and set the delegate&rsquo;s window to the window in MainWindow.xib.The template also added a view controller to MainWindow.xib and set it as the delegate&rsquo;s root view controller. Every delegate must have a root view controller. The root view controller in MainWindow.xib comes from the SimpleViewViewController.xib, also created by the template.The template created the UIView in its own xib, SimpleViewViewController.xib. It set SimpleViewViewController.xib&rsquo;s file&rsquo;s owner to SimpleViewViewController. It also set the controller&rsquo;s view to the view in the xib. Listing 7-3 SimpleViewAppDelegate.h #import &lt;UIKit/UIKit.h&gt; @class SimpleViewViewController; @interface SimpleViewAppDelegate : NSObject &lt;UIApplicationDelegate&gt; { UIWindow *window; SimpleViewViewController *viewController; &nbsp; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet SimpleViewViewController *viewController; @end Listing 7-4 SimpleViewAppDelegate.m #import "SimpleViewAppDelegate.h" #import "SimpleViewViewController.h" @implementation SimpleViewAppDelegate @synthesize window; @synthesize viewController;</p>
<ul>
<li>(void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview:viewController.view];</li>
</ul>
<p>[window makeKeyAndVisible]; }</p>
<ul>
<li>(void)dealloc { [viewController release];</li>
<li>[window release];</li>
</ul>
<p>[super dealloc]; } @end</p>
<h3>Using a Window-based Application Template</h3>
<p>The View-based Application template hides many development details. If new to iPhone programming, chances are the View-based Application template does not help clarify a UIView, UIViewController, and their relationship. To help make their relationship clearer, you should understand what the View-based Application template accomplishes automatically. Unlike a View-based Application template, a Window-based Application template requires understanding UIViews and UIViewControllers. When using the Window-based Application template, you must manually create a view and view controller and wire them together. In this project, you create a single view application starting with a Window-based Application template. Creating a Window-based Application should solidify your understanding of the steps behind its creation.</p>
<ol>
<li><strong>Create a new Window-based Application and name it</strong></li>
<li><strong>Highlight</strong> <strong>Resources</strong><strong> and create an empty Name the xib FirstViewController.xib.</strong></li>
<li><strong>Highlight</strong> <strong>Classes</strong> <strong>and add a UIViewController named Xcode should have created FirstViewController.h and FirstViewController.m. Be certain the checkbox to create a xib is not checked.</strong></li>
<li><strong>Open h and&nbsp;&nbsp;&nbsp; import the FirstViewController. Add a UIViewController property to SimpleWindowAppDelegate.h so it appears the same as</strong></li>
<li><strong>Modify m so it appears like Listing 7-6. Notice you must synthesize rootViewController and add its view to the window as a subview in the delegate&rsquo;s applicationDidFinishLaunching: method.</strong></li>
<li><strong>Build</strong> <strong>the This step is important, if you do not build or save the changes, any added actions or outlets will not appear in Interface Builder.</strong></li>
<li><strong>Open xib&nbsp; in&nbsp; Interface &nbsp;Builder. &nbsp;Open&nbsp; the document &nbsp;window and notice that the File&rsquo;s Owner isn&rsquo;t set. Also notice there is no UIView.</strong></li>
<li><strong>Drag</strong> <strong>a view from the library to the document window. Change the view&rsquo;s </strong></li>
<li><strong>Select</strong> <strong>File&rsquo;s</strong><strong> Owner and change its class to FirstViewController in the Object Identity Inspector </strong></li>
<li><strong>Click</strong> <strong>the Connections Inspector and connect the view outlet to the view you added to the document </strong></li>
<li><strong>Save and close the FirstViewController&rsquo;s document Open MainWindow.xib in Interface Builder.</strong></li>
<li><strong>Notice that there is no UIViewController or view set in the document window.</strong></li>
<li><strong>Drag</strong> <strong>a view controller from the library to the document window (Figure 7-1).</strong></li>
</ol>
<p>&nbsp; <img class="alignnone wp-image-4412" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1417-460x284.png" alt="Slide14" width="663" height="409" /> <strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</strong>Figure 7-1 Adding FirstViewController to Mainwindow.xib &nbsp; <strong>UIView and UIViewController</strong> &nbsp; <img class="alignnone wp-image-4417" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1517-460x159.png" alt="Slide15" width="556" height="191" /> Figure 7-2 Setting Mainwindow.xib&rsquo;s root view controller &nbsp;</p>
<ol>
<li><strong>In</strong> <strong>the view controller&rsquo;s inspector, change its NIB Name to FirstViewController and its type to </strong></li>
<li><strong>Select</strong> <strong>Simple</strong> <strong>Window App Delegate in the document In its connections inspector, notice the rootViewController outlet. Connect this to the view controller just added (Figure 7-2).</strong></li>
<li><strong>Save and quit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the The view in FirstViewController.xib is loaded into the window and displayed.</strong></li>
</ol>
<p>Listing 7-5 SimpleWindowAppDelegate.h #import &lt;UIKit/UIKit.h&gt; @class FirstViewController; @interface SimpleWindowAppDelegate : NSObject &lt;UIApplicationDelegate&gt; { UIWindow *window; FirstViewController *rootViewController; } @property (nonatomic, retain) IBOutlet FirstViewController *rootViewController; @property (nonatomic, retain) IBOutlet UIWindow *window; @end Listing 7-6 SimpleWindowAppDelegate.m #import "SimpleWindowAppDelegate.h" #import "FirstViewController.h" @implementation SimpleWindowAppDelegate @synthesize window; @synthesize rootViewController;</p>
<ul>
<li>(void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview:rootViewController.view];</li>
</ul>
<p>[window makeKeyAndVisible]; }</p>
<ul>
<li>(void)dealloc { [window release];</li>
</ul>
<p>[rootViewController release]; [super dealloc]; } @end In step 15, you connected the FirstViewController to the application&rsquo;s delegate. This was an important step; it allowed the nib to set the delegate&rsquo;s root view controller for you. The root view controller is the UIViewController that is first loaded by an application delegate. Remember, the application knew to load MainWindow.xib because it was in the application&rsquo;s Info.plist. The application loaded MainWindow.xib, saw the FirstViewController object that was added to the document window and saw that the delegate&rsquo;s root view controller was set to FirstViewController. The application also knew the controller came from FirstViewController .xib. Because of the object, variable, and nib setting, the application new to allocate and initialize a FirstViewController instance from FirstViewController.xib when loading MainWindow.xib. Because these relationships were established in Interface Builder, no manual code was necessary. This is how the View-based Application template builds a simple application, which you just duplicated manually using the Window-based application template. NOTE In this example, you manually created a xib and linked it to its associated view controller. Step 3 specifically instructed you to not check the checkbox that also created a xib; had you checked the checkbox, Xcode would have created a xib, and automatically made all the necessary connections for you. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>f0:T15a3,<p style="text-align: justify;">1 . In the BMM layer, right-click F1 Revenue and select New Object &gt; Logical Column to open the Logical Column dialog box.</p>
<p style="text-align: justify;"><img class="size-full wp-image-4649 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2168.png" alt="2" width="428" height="447" /></p>
<p style="text-align: justify;">2 . On the General tab, enter Revenue Rank in the Name field.</p>
<p style="text-align: justify;"><img class="size-full wp-image-4651 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2169.png" alt="2" width="428" height="477" /></p>
<p style="text-align: justify;">3 . Click the Column Source tab.</p>
<p style="text-align: justify;"><img class="wp-image-4652 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2170.png" alt="2" width="449" height="500" /></p>
<p style="text-align: justify;">4 . Select Derived from existing columns using an expression.</p>
<p style="text-align: justify;"><img class="size-full wp-image-4653 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2171.png" alt="2" width="452" height="477" /></p>
<p style="text-align: justify;">5 . Click the Edit Expression button to open Expression Builder.</p>
<p style="text-align: justify;"><img class="size-full wp-image-4654 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2172.png" alt="2" width="430" height="499" /></p>
<p style="text-align: justify;">6 . In the left pane select Functions &gt; Display functions &gt; Rank .</p>
<p style="text-align: justify;"><img class="wp-image-4655 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2173-460x383.png" alt="2" width="449" height="373" /></p>
<p style="text-align: justify;">7 . Click the Insert selected item button to move the Rank function to the right pane.</p>
<p style="text-align: justify;"><img class="wp-image-4656 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2174-460x383.png" alt="2" width="447" height="371" /></p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on OBIEE 11g? Explore the blog post on <a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener">OBIEE 11g training online</a> to become a pro in OBIEE 11g </strong></em></pre>
<p style="text-align: justify;">8 . Click &lt;&lt;numExpr&gt;&gt; in the expression.</p>
<p style="text-align: justify;"><img class="wp-image-4657 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2175-460x383.png" alt="2" width="480" height="398" /></p>
<p style="text-align: justify;">9 . In the left pane select Logical Tables &gt; F1 Revenue and then double-click Revenue to add it to the expression.</p>
<p style="text-align: justify;"><img class="wp-image-4660 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2176-460x382.png" alt="2" width="454" height="377" /></p>
<p style="text-align: justify;">10 . Click OK to close Expression Builder. Notice that the formula is added to the Logical Column dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4661 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2177.png" alt="2" width="445" height="518" /></p>
<p style="text-align: justify;">11 . Click OK to close the Logical Column dialog box. The Revenue Rank calculated measure is added to the business model.</p>
<p style="text-align: justify;"><img class="wp-image-4662 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2178.png" alt="2" width="235" height="217" /></p>
<p style="text-align: justify;">12 . Drag Revenue Rank from the BMM layer to the Base Facts presentation table in the Presentation layer.</p>
<p style="text-align: justify;"><img class="wp-image-4663 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2179-460x202.png" alt="2" width="495" height="216" /></p>
<p style="text-align: justify;">13 . Save the repository and check consistency. Fix any errors or warnings before proceeding.</p>
<p style="text-align: justify;"><img class="wp-image-4676 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/1285.png" alt="1" width="675" height="193" /></p>
<p style="text-align: justify;">14 . Close the repository. Leave the Admin Tool open.</p>
<p style="text-align: justify;"><strong>For indepth understanding of OBIEE click on</strong></p>
<ul style="text-align: justify;">
<li><a href="https://tekslate.com/tutorials/obiee11g/" target="_blank" rel="noopener">OBIEE 11g Tutorials</a></li>
<li><span class="white-back"><a href="https://tekslate.com/new-features-obiee11g/">New Features in OBIEE11g</a></span></li>
<li><a href="https://tekslate.com/checking-out-project-obiee-11g/" target="_blank" rel="noopener">Checking Out a Project in OBIEE 11g</a></li>
<li><a href="https://tekslate.com/making-changes-repository-obiee/" target="_blank" rel="noopener">Making Changes to the Repository in OBIEE</a></li>
<li><a href="https://tekslate.com/setting-multiuser-development-environment/" target="_blank" rel="noopener">Setting Up a Multiuser Development Environment in OBIEE</a></li>
</ul>f1:T288d,<p style="text-align: justify;">1 . Right-click the D5 Sales Rep logical table and select Create Logical Dimension --&gt; Dimension&nbsp;with Parent-Child Hierarchy.</p>
<p style="text-align: justify;"><img class="wp-image-4872 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2264-460x465.png" alt="2" width="458" height="464" /></p>
<p style="text-align: justify;">2 . In the Logical Dimension dialog box, on the General tab, name the logical dimension H5 Sales&nbsp;Rep.</p>
<p style="text-align: justify;"><img class="wp-image-4873 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2265.png" alt="2" width="562" height="646" /></p>
<p style="text-align: justify;">3 . Click Browse next to Member Key. The Browse window shows the physical table and its&nbsp;corresponding key.</p>
<p style="text-align: justify;"><img class="wp-image-4874 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2266-460x490.png" alt="2" width="504" height="538" /></p>
<p style="text-align: justify;">4 . Click View to open the Logical Key dialog box. Confirm that the Sales Rep Number column is&nbsp;selected</p>
<p style="text-align: justify;"><img class="wp-image-4875 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2267.png" alt="2" width="617" height="509" /></p>
<p style="text-align: justify;">5 . Click Cancel to close the Logical Key dialog box. 6 . Click OK to close the Browse window. 7 . Click Browse next to Parent Column. The Browse window shows the columns other than the&nbsp;member key.</p>
<p style="text-align: justify;"><img class="wp-image-4876 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2268-460x466.png" alt="2" width="567" height="575" /></p>
<p style="text-align: justify;">8 . Deselect Show Qualified Names and select Manager Number as the parent column for the&nbsp;parent-child hierarchy.</p>
<p style="text-align: justify;"><img class="wp-image-4877 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2269-460x423.png" alt="2" width="552" height="506" /></p>
<p style="text-align: justify;">9 . Click OK to close the Browse window, but do not close the Logical Dimension dialog box. <strong>Define Parent-Child Settings</strong> 1 . Click Parent-Child Settings to display the Parent-Child Relationship Table Settings dialog box.&nbsp;Note that at this point the Parent-Child Relationship Table is not defined.</p>
<p style="text-align: justify;"><img class="wp-image-4878 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2270-460x353.png" alt="2" width="566" height="434" /></p>
<p style="text-align: justify;">For each parent-child hierarchy defined on a relational table, you must explicitly define the intermember&nbsp;relationships in a separate parent-child relationship table. In the process of creating the&nbsp;parent-child relationship table, you may choose one of the following options: 1. Select a&nbsp;previously-created parent-child relationship table. 2. Use a wizard that will generate scripts to&nbsp;create and populate the parent-child relationship table. In the next set of steps you select a previously created and populated parent-child relationship table.&nbsp;For your information only: To start the wizard you would click the Create Parent-Child Relationship Table button. The wizard creates the appropriate repository metadata objects and&nbsp;generates SQL scripts for creating and populating the parent-child relationship table. At the end&nbsp;of the wizard, Oracle BI Server stores the scripts into directories chosen during the wizard&nbsp;session. The scripts can then be run against the database to create and populate the parent-child&nbsp;relationship table. Running the wizard is not necessary in this tutorial because the parent-child&nbsp;relationship table is already created and populated. 2 . Click the Select Parent-Child Relationship Table button to open the Select Physical Table&nbsp;dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4879 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2271-460x160.png" alt="2" width="568" height="197" /></p>
<p style="text-align: justify;">3 . In the Select Physical Table dialog box, select the D51 Sales Rep Parent Child alias you&nbsp;created.</p>
<p style="text-align: justify;"><img class="wp-image-4880 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2272-460x323.png" alt="2" width="589" height="412" /></p>
<p style="text-align: justify;">4 . The D51 Sales Rep Parent Child alias is now displayed in the Parent-Child Relationship Table&nbsp;column.</p>
<p style="text-align: justify;"><img class="wp-image-4881 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2273-460x342.png" alt="2" width="613" height="456" /></p>
<p style="text-align: justify;">5 . In the Parent-Child Table Relationship Column Details section, set the appropriate columns:</p>
<table style="width: 619px; height: 145px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Member Key</strong></td>
<td>MEMBER_KEY</td>
</tr>
<tr>
<td><strong>Parent Key</strong></td>
<td>ANCESTOR_KEY</td>
</tr>
<tr>
<td><strong>Relationship Distance</strong></td>
<td>DISTANCE</td>
</tr>
<tr>
<td><strong>Leaf Node Identifier</strong></td>
<td>IS_LEAF</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><img class="wp-image-4882 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2274-460x342.png" alt="2" width="585" height="435" /></p>
<p style="text-align: justify;"><strong>Explanation:</strong> Member Key identifies the member. Parent Key identifies an ancestor of the member, The ancestor may be the parent of the member, or a higher-level ancestor. Relationship Distance specifies the number of parent-child hierarchical levels from the member to the ancestor. Leaf Node Identifier indicates if the member is a leaf member (1=Yes, 0=No). 6 . Click OK to close the Parent-Child Relationship Table Settings dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4883 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2275-460x433.png" alt="2" width="500" height="470" /></p>
<pre style="text-align: center;"><strong>At TekSlate, we offer resources that help you in learning various IT courses. 
We avail both written material and demo video tutorials. 
To gain in-depth knowledge and be on par with &nbsp;practical experience, then explore <a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener">OBIEE 11g Training Online.</a></strong></pre>
<p style="text-align: justify;">7 . Click OK to close the Logical Dimension dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4884 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2276.png" alt="2" width="326" height="347" /></p>
<p style="text-align: justify;">8 . Right-click H5 Sales Rep and select Expand All. Note that a parent-child logical dimension has&nbsp;only two levels.</p>
<p style="text-align: justify;"><img class="wp-image-4885 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2277.png" alt="2" width="306" height="493" /></p>
<p style="text-align: justify;">9 . Delete all columns from the Detail level except for Sales Rep Name and Sales Rep Number.</p>
<p style="text-align: justify;"><img class="wp-image-4886 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2278.png" alt="2" width="379" height="437" /></p>
<p style="text-align: justify;">10 . Double-click the Detail level to open the Logical Level dialog box. 11 . On the Keys tab, create a new key named Display Key that maps to the Sales Rep Name&nbsp;column.</p>
<p style="text-align: justify;"><img class="wp-image-4887 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2279-460x402.png" alt="2" width="522" height="456" /></p>
<p style="text-align: justify;">12 . Deselect Use for Display for the Sales Rep Number column and select Use for Display for the&nbsp;Sales Rep Name column.</p>
<p style="text-align: justify;"><img class="wp-image-4888 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2280-460x402.png" alt="2" width="556" height="486" /></p>
<p style="text-align: justify;">13 . Make sure that Member Key is still set to D50 Sales Rep_Key.</p>
<p style="text-align: justify;"><img class="wp-image-4889 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2281-460x402.png" alt="2" width="535" height="467" /></p>
<p style="text-align: justify;">14 . Click OK to close the Logical Level dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4890 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2282.png" alt="2" width="455" height="473" /></p>
<p style="text-align: justify;">15 . Expand F1 Revenue &gt; Sources and double-click LTS1 Revenue to open the Logical Table&nbsp;Source dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4892 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2283.png" alt="2" width="501" height="587" /></p>
<p style="text-align: justify;">16 . On the Content tab, set the logical level to Detail for the H5 Sales Rep logical dimension.</p>
<p style="text-align: justify;"><img class="wp-image-4893 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2284.png" alt="2" width="513" height="602" /></p>
<p style="text-align: justify;">17 . Click OK to close the Logical Table Source dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4895 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2285.png" alt="2" width="429" height="734" /></p>f2:T219c,<p style="text-align: justify;">&bull; Import Metadata and Define Physical Layer Objects &bull; Create Logical Table and Logical Columns &bull; Create a Ragged/Skipped Levels Logical Dimension &bull; Create Presentation Layer Objects &bull; Test Your Work</p>
<p style="text-align: justify;"><strong>Import Metadata and Define Physical Layer Objects</strong></p>
<p style="text-align: justify;">1 . Open the BISAMPLE repository in offline mode. 2 . In the Physical layer, expand orcl.</p>
<p style="text-align: justify;"><img class="wp-image-4905 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2291.png" alt="2" width="418" height="217" /></p>
<p style="text-align: justify;">3 . Right-click Connection Pool and select Import Metadata to open the Import Wizard.</p>
<p style="text-align: justify;"><img class="wp-image-4906 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2292.png" alt="2" width="344" height="479" /></p>
<p style="text-align: justify;">4 . In the Select Metadata Types screen, accept the defaults and click Next.</p>
<p style="text-align: justify;"><img class="wp-image-4907 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2293-460x400.png" alt="2" width="483" height="419" /></p>
<p style="text-align: justify;">5 . In the Select Metadata Objects screen, in the data source view, expand BISAMPLE. 6 . In the data source view, select the SAMP_PRODUCTS_DR table for import:</p>
<p style="text-align: justify;"><img class="wp-image-4908 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2294.png" alt="2" width="381" height="601" /></p>
<p style="text-align: justify;">7 . Click the Import Selected button to move the table to the Repository View. 8 . Expand BISAMPLE in the Repository View and confirm that the SAMP_PRODUCT_DR&nbsp;table is visible.</p>
<p style="text-align: justify;"><img class="wp-image-4909 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2295-460x318.png" alt="2" width="499" height="344" /></p>
<p style="text-align: justify;">9 . Click Finish to close the Import Wizard. 10 . Confirm that the SAMP_PRODUCT_DR table is visible in the Physical layer of the repository.</p>
<p style="text-align: justify;"><img class="wp-image-4910 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2296.png" alt="2" width="403" height="485" /></p>
<p style="text-align: justify;">11 . Create the following alias for the table: D20 Product</p>
<p style="text-align: justify;"><img class="wp-image-4911 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2297.png" alt="2" width="426" height="592" /></p>
<p style="text-align: justify;">12 . Use the Physical Diagram to create the following physical join for the alias table: "orcl".""."BISAMPLE"."D20 Product"."PROD_KEY" = "orcl".""."BISAMPLE"."F1 Revenue"."PROD_KEY"</p>
<p style="text-align: justify;"><img class="wp-image-4912 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2298.png" alt="2" width="542" height="560" /></p>
<p style="text-align: justify;">13 . Right-click D20 Product and select View Data.</p>
<p style="text-align: justify;"><img class="wp-image-4913 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2299-460x392.png" alt="2" width="521" height="443" /></p>
<p style="text-align: justify;">Notice there are skipped levels in the hierarchy. For example, brand A - Brand2 has a NULL&nbsp;value for LOB for the product D - Product 8. 14 . Close View Data. <strong>Create Logical Table and Logical Columns</strong> 1 . Drag D20 Product from the Physical layer to the Sample Sales business model in the BMM&nbsp;layer to create a D20 Product logical table. The logical join to F1 Revenue is created&nbsp;automatically based on the join in the Physical layer.</p>
<p style="text-align: justify;"><img class="wp-image-4914 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2300-460x326.png" alt="2" width="484" height="342" /></p>
<table style="width: 568px; height: 211px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Old Name</strong></td>
<td><strong>New Name</strong></td>
</tr>
<tr>
<td>BRAND</td>
<td>Brand</td>
</tr>
<tr>
<td>LOB</td>
<td>LOB</td>
</tr>
<tr>
<td>PROD_DSC</td>
<td>Product</td>
</tr>
<tr>
<td>PROD_KEY</td>
<td>Product Number</td>
</tr>
<tr>
<td>Type</td>
<td>Product Type</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><img class="wp-image-4915 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2301.png" alt="2" width="331" height="433" /></p>
<p style="text-align: justify;">3 . Rename the D20 Product logical table source to LTS1 Product (Ragged)</p>
<p style="text-align: justify;"><img class="wp-image-4916 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2302.png" alt="2" width="300" height="393" /></p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on OBIEE 11g? 
Explore the blog post on <a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener">OBIEE 11g training online</a> to become a pro in OBIEE 11g </strong></em></pre>
<p style="text-align: justify;"><strong>Create a Ragged/Skipped Level Logical Dimension</strong></p>
<p style="text-align: justify;">1 . Right-click the D20 Product logical table and select Create Logical Dimension &gt; Dimension&nbsp;with Level-Based Hierarchy to automatically create a logical dimension named D20&nbsp;ProductDim.</p>
<p style="text-align: justify;"><img class="wp-image-4917 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2303-460x468.png" alt="2" width="445" height="454" /></p>
<p style="text-align: justify;"><img class="wp-image-4918 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2304.png" alt="2" width="330" height="373" /></p>
<p style="text-align: justify;">2 . Rename D20 ProductDim to H20 Product.</p>
<p style="text-align: justify;"><img class="wp-image-4919 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2305.png" alt="2" width="339" height="383" /></p>
<p style="text-align: justify;">3 . Double-click the H20 Product logical dimension to open the Logical Dimension dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4920 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2306.png" alt="2" width="519" height="568" /></p>
<p style="text-align: justify;">4 . On the General tab, select both Ragged and Skipped Levels.</p>
<p style="text-align: justify;"><img class="wp-image-4921 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2307.png" alt="2" width="469" height="513" /></p>
<p style="text-align: justify;">5 . Click OK to close the Logical Dimension dialog box. 6 . Expand H20 Product.</p>
<p style="text-align: justify;"><img class="wp-image-4922 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2308.png" alt="2" width="341" height="460" /></p>
<p style="text-align: justify;">7 . Create the following hierarchy:</p>
<table style="width: 611px; height: 232px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Level</strong></td>
<td><strong>Column</strong></td>
<td><strong>Key</strong></td>
<td><strong>Use for&nbsp;Display</strong></td>
</tr>
<tr>
<td>Product&nbsp;Total</td>
<td>&lt;none&gt;</td>
<td>&lt;none&gt;</td>
<td>&lt;none&gt;</td>
</tr>
<tr>
<td>Product&nbsp;Brand</td>
<td>Brand</td>
<td>Brand</td>
<td>Yes</td>
</tr>
<tr>
<td>Product LOB</td>
<td>LOB</td>
<td>LOB</td>
<td>Yes</td>
</tr>
<tr>
<td>Product&nbsp;Type</td>
<td>Product Type</td>
<td>Product Type</td>
<td>Yes</td>
</tr>
<tr>
<td>Product</td>
<td>Product</td>
<td>Product</td>
<td>Yes</td>
</tr>
<tr>
<td>Product&nbsp;Detail</td>
<td>Product&nbsp;Number</td>
<td>Product&nbsp;Number</td>
<td>Yes</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><img class="wp-image-4926 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2309.png" alt="2" width="412" height="562" /></p>f3:T20f2,<p style="text-align: justify;">1 . In the Physical layer, expand D1 Time Quarter Grain.</p>
<p style="text-align: justify;"><img class="wp-image-4944 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2326.png" alt="2" width="372" height="409" /></p>
<p style="text-align: justify;">2 . In the BMM layer, expand D1 Time.</p>
<p style="text-align: justify;"><img class="wp-image-4945 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2327-460x533.png" alt="2" width="422" height="491" /></p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>D1 Time Quarter Grain</strong></td>
<td><strong>D1 Time</strong></td>
</tr>
<tr>
<td>CAL_HALF</td>
<td>Cal Half</td>
</tr>
<tr>
<td>CAL_QTR</td>
<td>Cal Qtr</td>
</tr>
<tr>
<td>CAL_YEAR</td>
<td>Cal Year</td>
</tr>
<tr>
<td>DAYS_IN_QTR</td>
<td>Days in Qtr</td>
</tr>
<tr>
<td>JULIAN_QTR_NUM</td>
<td>Julian Qtr Num</td>
</tr>
<tr>
<td>PER_NAME_HALF</td>
<td>Per Name Half</td>
</tr>
<tr>
<td>PER_NAME_QTR</td>
<td>Per Name Qtr</td>
</tr>
<tr>
<td>PER_NAME_YEAR</td>
<td>Per Name Year</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">This action creates a new logical table source named D1 Time Quarter Grain for D1 Time.</p>
<p style="text-align: justify;"><img class="wp-image-4946 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2328.png" alt="2" width="337" height="368" /></p>
<p style="text-align: justify;">4 . Rename the D1 Time Quarter Grain logical table source to LTS2 Time Quarter Grain.</p>
<p style="text-align: justify;"><img class="wp-image-4947 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2329.png" alt="2" width="352" height="385" /></p>
<p style="text-align: justify;">5 . Double-click LTS2 Time Quarter Grain to open the Logical Table Source dialog box. 6 . On the Column Mapping tab make sure show mapped columns is selected and note the column&nbsp;mappings. The logical columns now map to columns in two physical tables: D1 Time and D1&nbsp;Time Quarter Grain.</p>
<p style="text-align: justify;"><img class="wp-image-4948 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2330-460x517.png" alt="2" width="466" height="526" /></p>
<p style="text-align: justify;">7 . Click OK to close the Logical Table Source dialog box. 8 . In the Physical layer expand F2 Revenue Aggregate.</p>
<p style="text-align: justify;"><img class="wp-image-4949 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2331.png" alt="2" width="330" height="447" /></p>
<p style="text-align: justify;">9 . In the BMM layer expand F1 Revenue.</p>
<p style="text-align: justify;"><img class="wp-image-4950 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2332-460x310.png" alt="2" width="527" height="355" /></p>
<p style="text-align: justify;">10 . Drag the following physical columns from F2 Revenue Aggregate to their corresponding&nbsp;logical columns in F1 Revenue: Note: Do not add them as new columns.</p>
<table style="width: 592px; height: 130px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>F2 Revenue Aggregate</strong></td>
<td><strong>F1 Revenue</strong></td>
</tr>
<tr>
<td>UNITS</td>
<td>Units</td>
</tr>
<tr>
<td>REVENUE</td>
<td>Revenue</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">This action creates a new logical table source named F2 Revenue Aggregate for F1 Revenue.</p>
<p style="text-align: justify;"><img class="wp-image-4951 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2333.png" alt="2" width="330" height="494" /></p>
<p style="text-align: justify;">11 . Rename the F2 Revenue Aggregate logical table source to LTS2 Revenue Aggregate.</p>
<pre style="text-align: center;"><em><strong>These core tutorials will help you to learn the fundamentals of OBIEE 11g. 
For an in-depth understanding and practical experience, &nbsp;explore<a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener"> OBIEE 11g&nbsp;</a><a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener">Training</a>.</strong></em></pre>
<p style="text-align: justify;"><img class="wp-image-4952 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2334.png" alt="2" width="310" height="467" /></p>
<p style="text-align: justify;">12 . Double-click LTS2 Revenue Aggregate to open the Logical Table Source dialog box. 13 . On the Column Mappings tab make sure show mapped columns is selected and note the column&nbsp;mappings. The Revenue and Units logical columns now map to columns in two physical tables: F1 Revenue and F2 Revenue Aggregate.</p>
<p style="text-align: justify;"><img class="wp-image-4953 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2335.png" alt="2" width="549" height="236" /></p>
<p style="text-align: justify;">14 . Leave the Logical Table Source - LTS2 Revenue Aggregate dialog box open.</p>
<p style="text-align: justify;"><strong>Set Aggregate Content</strong></p>
<p style="text-align: justify;">1 . Click the Content tab. 2 . Set the following logical levels for the logical dimensions:</p>
<table style="width: 615px; height: 226px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Logical Dimension</strong></td>
<td><strong>Logical Level</strong></td>
</tr>
<tr>
<td>H1 Time</td>
<td>Quarter</td>
</tr>
<tr>
<td>H2 Product</td>
<td>Product Total</td>
</tr>
<tr>
<td>H20 Product</td>
<td>Product Total</td>
</tr>
<tr>
<td>H3 Customer</td>
<td>Customer Total</td>
</tr>
<tr>
<td>H5 Sales Rep</td>
<td>Total</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><img class="wp-image-4954 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2336.png" alt="2" width="530" height="632" /></p>
<p style="text-align: justify;">Explanation: You are setting aggregation content for the fact table to the corresponding levels in&nbsp;the dimension hierarchies. In a subsequent step, you set similar levels for the aggregate logical&nbsp;table source for the Time dimension. Note that all levels are set to the total level except for the&nbsp;H1 Time logical dimension, which is set to Quarter. The result is, when a user queries against a&nbsp;particular level, Oracle BI Server will &ldquo;know&rdquo; to access the aggregate tables instead of the detail&nbsp;tables. For example, if a user queries for total sales by product by quarter, the server will access the F2&nbsp;Revenue Aggregate fact table and the corresponding aggregate dimension table, D1 Time&nbsp;Quarter Grain. If a user queries for a level lower than the level specified here, for example&nbsp;Month instead of Quarter, then the server will access the detail tables (F1 Revenue and D1&nbsp;Time). If a user queries for higher level (year instead of quarter) the aggregate tables will be&nbsp;used, because whenever a query is run against a logical level or above, the aggregate tables are&nbsp;used.</p>
<p style="text-align: justify;">3 . Click OK to close the Logical Table Source dialog box. 4 . Double-click the LTS2 Time Quarter Grain logical table source to open the Logical Table&nbsp;Source dialog box. 5 . On the Content tab, set the logical level to Quarter.</p>
<p style="text-align: justify;"><img class="wp-image-4955 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2337.png" alt="2" width="624" height="744" /></p>
<p style="text-align: justify;">6 . Click OK to close the Logical Table Source dialog box. 7 . Save the repository and check global consistency. Fix any errors or warnings before proceeding. 8 . Close the repository. Leave the Administration Tool open. Note that you did not need to change&nbsp;the Presentation layer. You made changes in the business model that impact how queries are&nbsp;processed and which sources are accessed. However, the user interface remains the same, so&nbsp;there is no need to change the Presentation layer. Oracle BI Server will automatically use the&nbsp;appropriate sources based on the user query.</p>f4:T21ba,<p style="text-align: justify;">You can use variables in a repository to streamline administrative tasks and modify metadata&nbsp;content dynamically to adjust to a changing data environment. A variable has a single value at&nbsp;any point in time. Variables can be used instead of literals or constants in the Expression Builder&nbsp;in the Administration Tool or in end-user analyses. At run time, Oracle BI Server substitutes the&nbsp;value of the variable. In this set of steps you create a new initialization block, Current Periods, and three new dynamic&nbsp;repository variables&mdash;CurrentYear, CurrentMonth, and CurrentDay. You then use the variables&nbsp;as column filters in an Oracle BI analysis. You use the Variable Manager in the Administration&nbsp;Tool to define variables and initialization blocks.</p>
<p style="text-align: justify;">To set up and use initialization blocks and variables, perform the following steps: &bull; Create an Initialization Block &bull; Create Variables &bull; Test Your Work</p>
<p style="text-align: justify;"><strong>Create an Initialization Block</strong></p>
<p style="text-align: justify;">1 . Open the BISAMPLE repository in offline mode. 2 . Select Manage &gt; Variables to open the Variable Manager.</p>
<p style="text-align: justify;"><img class="wp-image-4958 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2338.png" alt="2" width="688" height="325" /></p>
<p style="text-align: justify;">3 . Select Action &gt; New &gt; Repository &gt; Initialization Block.</p>
<p style="text-align: justify;"><img class="wp-image-4959 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2339.png" alt="2" width="559" height="389" /></p>
<p style="text-align: justify;">4 . Name the initialization block Current Periods.</p>
<p style="text-align: justify;"><img class="wp-image-4960 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2340-460x219.png" alt="2" width="513" height="243" /></p>
<p style="text-align: justify;">5 . Click the Edit Data Source button to open the Repository Variable Initialization Block Data&nbsp;Source dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4961 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2341-460x319.png" alt="2" width="490" height="340" /></p>
<p style="text-align: justify;">6 . Click the Browse button to open the Select Connection Pool dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4962 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2342-460x324.png" alt="2" width="526" height="370" /></p>
<p style="text-align: justify;">7 . Double-click the Connection Pool object to select it.</p>
<p style="text-align: justify;"><img class="wp-image-4963 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2343-460x323.png" alt="2" width="579" height="405" /></p>
<p style="text-align: justify;">The connection pool is added.</p>
<p style="text-align: justify;"><img class="wp-image-4964 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2344-460x317.png" alt="2" width="561" height="385" /></p>
<p style="text-align: justify;">8 . Enter the following SQL to determine the value of the current day, month, and year by finding&nbsp;the maximum value of the period key (BILL_DAY_DT) in the fact table: SELECT CALENDAR_DATE, PER_NAME_MONTH, PER_NAME_YEAR FROM BISAMPLE.SAMP_TIME_DAY_D WHERE CALENDAR_DATE = (SELECT MAX(BILL_DAY_DT) FROM BISAMPLE.SAMP_REVENUE_F)</p>
<p style="text-align: justify;"><img class="wp-image-4965 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2345-460x292.png" alt="2" width="594" height="376" /></p>
<p style="text-align: justify;">9 . Click Test and confirm the expected results are returned. In this example, the results are&nbsp;determined by the data in the sample database used for this tutorial, which holds data through&nbsp;December 2010.</p>
<p style="text-align: justify;"><img class="wp-image-4966 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2346.png" alt="2" width="564" height="350" /></p>
<p style="text-align: justify;">10 . Close the Results window. 11 . Click OK to close the Repository Variable Initialization Block Data Source dialog box. Check&nbsp;your work:</p>
<p style="text-align: justify;"><img class="wp-image-4967 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2347-460x557.png" alt="2" width="466" height="566" /></p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on OBIEE 11g ? 
Explore the blog post on <a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener">OBIEE 11g training</a> to become a pro in OBIEE 11g.</strong></em></pre>
<p style="text-align: justify;"><strong>Create Variables</strong></p>
<p style="text-align: justify;">1 . Click Edit Data Target to open the Repository Variable Initialization Block Variable Target&nbsp;dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4968 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2348-460x404.png" alt="2" width="502" height="440" /></p>
<p style="text-align: justify;">2 . Use the New button to create three new variables: CurrentDay, CurrentMonth, CurrentYear.&nbsp;The order is important. The value returned from the first column in the initialization block SQL,&nbsp;CALENDAR_DATE, is assigned to the CurrentDay variable. The value of the second column,&nbsp;PER_NAME_MONTH, is assigned to CurrentMonth (the second variable), and the value of the&nbsp;third column, PER_NAME_YEAR, is assigned to CurrentYear (the third variable). If necessary,&nbsp;use the Up and Down buttons to arrange the variables.</p>
<p style="text-align: justify;"><img class="wp-image-4969 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2349-460x404.png" alt="2" width="501" height="439" /></p>
<p style="text-align: justify;">3 . Click OK to close the Repository Variable Initialization Block Variable Target dialog box. 4 . Leave the default refresh interval set to every hour. This means that the variables will be&nbsp;reinitialized every hour.</p>
<p style="text-align: justify;"><img class="wp-image-4970 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2350-460x558.png" alt="2" width="534" height="649" /></p>
<p style="text-align: justify;">5 . Click the Test button and check the results:</p>
<p style="text-align: justify;"><img class="wp-image-4971 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2351.png" alt="2" width="644" height="403" /></p>
<p style="text-align: justify;">In this example, the results are determined by the data in the sample database used for this&nbsp;tutorial, which holds data through December 2010. 6 . Close the Results window. 7 . Click OK to close the Repository Variable Initialization Block dialog box. 8 . Check your work in the Variable Manager:</p>
<p style="text-align: justify;"><img class="wp-image-4972 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2352-460x334.png" alt="2" width="637" height="461" /></p>
<p style="text-align: justify;">9 . Close the Variable Manager. 10 . Save the repository and check consistency. Fix any errors or warnings before proceeding. 11 . Close the repository. Leave the Administration Tool open.</p>
<p style="text-align: justify;"><strong>For indepth understanding of OBIEE click on</strong></p>
<ul>
<li style="text-align: justify;"><span class="white-back"><a href="https://tekslate.com/new-features-obiee11g/">New Features in OBIEE11g</a></span></li>
<li style="text-align: justify;"><a href="https://tekslate.com/checking-out-project-obiee-11g/" target="_blank" rel="noopener">Checking Out a Project in OBIEE 11g</a></li>
<li style="text-align: justify;"><a href="https://tekslate.com/making-changes-repository-obiee/" target="_blank" rel="noopener">Making Changes to the Repository in OBIEE</a></li>
<li style="text-align: justify;"><a href="https://tekslate.com/setting-multiuser-development-environment/" target="_blank" rel="noopener">Setting Up a Multiuser Development Environment in OBIEE</a></li>
</ul>f5:T207b,<p style="text-align: justify;">In this topic you create time series calculation measures using Oracle BI time series functions.</p>
<p style="text-align: justify;">Time series functions include AGO, TODATE, and PERIODROLLING. These functions let you&nbsp;use Expression Builder to call a logical function to perform time series calculations instead of&nbsp;creating aliases for physical tables and modeling logically. The time series functions calculate&nbsp;AGO, TODATE, and PERIODROLLING functions based on the calendar tables in your data&nbsp;warehouse, not on standard SQL date manipulation functions.</p>
<p style="text-align: justify;">To create time series measures, you perform the following steps: &bull; Identify a Logical Dimension as a Time Dimension &bull; Identify Level Keys as Chronological Keys &bull; Create a Measure Using the AGO Function &bull; Create a Measure Using the TODATE Function &bull; Create a Measure Using the PERIODROLLING Function &bull; Test Your Work</p>
<p style="text-align: justify;"><strong>Identify a Logical Dimension as a Time Dimension</strong></p>
<p style="text-align: justify;">1 . Return to the Administration Tool and open the BISAMPLE repository in offline mode. 2 . In the BMM layer, double-click the H1 Time logical dimension to open the Logical Dimension&nbsp;dialog box.</p>
<p style="text-align: justify;"><img class="wp-image-4975 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2353.png" alt="2" width="523" height="580" /></p>
<p style="text-align: justify;">3 . In the Structure section, select Time.</p>
<p style="text-align: justify;"><img class="wp-image-4976 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2354.png" alt="2" width="542" height="600" /></p>
<p style="text-align: justify;">Time series functions operate on time-oriented dimensions. To use these functions on a&nbsp;particular dimension, you must designate the dimension as a Time dimension. 4 . Click OK to close the Logical Dimension dialog box.</p>
<p style="text-align: justify;"><strong>Identify Level Keys as Chronological Keys</strong> 1 . Expand the H1 Time logical dimension and double-click the Time Detail level to open the&nbsp;Logical Level dialog box. 2 . Click the Keys tab.</p>
<p style="text-align: justify;"><img class="wp-image-4979 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2355-460x402.png" alt="2" width="594" height="519" /></p>
<p style="text-align: justify;">3 . Select the Chronological Key check box for Calendar Date.</p>
<p style="text-align: justify;"><img class="wp-image-4981 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2356-460x402.png" alt="2" width="562" height="491" /></p>
<p style="text-align: justify;">4 . Click OK to close the Logical Level dialog box. 5 . Repeat and set chronological keys for the following levels:</p>
<table style="width: 578px; height: 192px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Logical Level</strong></td>
<td><strong>Chronological Key</strong></td>
</tr>
<tr>
<td>Year</td>
<td>Per Name Year</td>
</tr>
<tr>
<td>Half</td>
<td>Per Name Half</td>
</tr>
<tr>
<td>Quarter</td>
<td>Per Name Qtr</td>
</tr>
<tr>
<td>Month</td>
<td>Per Name Month</td>
</tr>
<tr>
<td>Week</td>
<td>Per Name Week</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">It is best practice to designate a chronological key for every level of a time logical dimension.</p>
<p style="text-align: justify;"><strong>&nbsp;Create a Measure Using the AGO Function</strong></p>
<p style="text-align: justify;">1 . Right-click the F1 Revenue logical table and select New Object &gt; Logical Column. 2 . On the General tab, name the column Month Ago Revenue.</p>
<p style="text-align: justify;"><img class="wp-image-4983 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2357.png" alt="2" width="568" height="662" /></p>
<p style="text-align: justify;">3 . On the Column Source tab, select "Derived from existing columns using an expression."</p>
<p style="text-align: justify;"><img class="wp-image-4990 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2358.png" alt="2" width="557" height="649" /></p>
<p style="text-align: justify;">4 . Open the Expression Builder. 5 . Select Functions &gt; Time Series Functions &gt; Ago.</p>
<p style="text-align: justify;"><img class="wp-image-4992 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2359-460x404.png" alt="2" width="571" height="501" /></p>
<p style="text-align: justify;">6 . Double-click Ago or click Insert selected item to add the Ago function to the Expression&nbsp;Builder.</p>
<p style="text-align: justify;"><img class="wp-image-5001 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2360-460x404.png" alt="2" width="604" height="530" /></p>
<p style="text-align: justify;">7 . Click &lt;&lt;Measure&gt;&gt;in the expression.</p>
<pre style="text-align: center;"><em><strong>These core tutorials will help you to learn the fundamentals of OBIEE 11g. 
For an in-depth understanding and practical experience, &nbsp;explore<a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener"> OBIEE 11g&nbsp;</a><a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener">Training</a>.</strong></em></pre>
<pre style="text-align: center;">&nbsp;</pre>
<p style="text-align: justify;"><img class="wp-image-5004 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2361-460x404.png" alt="2" width="540" height="473" /></p>
<p style="text-align: justify;">8 . Select Logical Tables &gt; F1 Revenue and then double-click Revenue to add it to the expression.</p>
<p style="text-align: justify;"><img class="wp-image-5005 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2362-460x398.png" alt="2" width="500" height="432" /></p>
<p style="text-align: justify;">9 . Click &lt;&lt;Level&gt;&gt; in the expression.</p>
<p style="text-align: justify;"><img class="wp-image-5006 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2363-460x398.png" alt="2" width="517" height="446" /></p>
<p style="text-align: justify;">10 . Select Time Dimensions &gt; H1 Time and then double-click Month to add it to the expression.</p>
<p style="text-align: justify;"><img class="wp-image-5007 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2364-460x398.png" alt="2" width="581" height="502" /></p>
<p style="text-align: justify;">11 . Click &lt;&lt;Number of Periods&gt;&gt; and enter 1. The Ago function will calculate the Revenue value &nbsp;one month before the current month.</p>
<p style="text-align: justify;"><img class="wp-image-5008 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2365-460x398.png" alt="2" width="539" height="465" /></p>
<p style="text-align: justify;">12 . Click OK to close the Expression Builder. Check your work in the Logical Column dialog box:</p>
<p style="text-align: justify;"><img class="wp-image-5009 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2366.png" alt="2" width="550" height="639" /></p>
<p style="text-align: justify;">13 . Click OK to close the Logical Column dialog box. The Month Ago Revenue time series&nbsp;measure is added to the F1 Revenue logical table.</p>
<p style="text-align: justify;"><img class="wp-image-5010 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2367.png" alt="2" width="377" height="630" /></p>
<p style="text-align: justify;">14 . Drag the Month Ago Revenue logical column to the Base Facts presentation folder.</p>
<p style="text-align: justify;"><img class="wp-image-5012 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2368-460x329.png" alt="2" width="544" height="388" /></p>f6:T544c,<h2>Tables Using UITableView and UITableViewController</h2>
<h3>Key Skills &amp; Concepts</h3>
<ul>
<li>Understanding table views</li>
<li>Understanding table view delegates</li>
<li>Understanding table view data sources</li>
<li>Grouping and indexing table rows</li>
<li>Selecting table rows</li>
<li>Modifying a table&rsquo;s appearance</li>
<li>Using a table in a navigation controller</li>
<li>Editing a table&rsquo;s rows</li>
</ul>
<p>&nbsp; TableViews display content in a list. Tables have a single column and multiple rows. They can scroll vertically and display large data sets. For example, the Notes application is a good example of an application containing a table. Note&rsquo;s first screen is a list comprised of zero or more notes. In Figure 10-1, the list contains three notes. Each row presents the note&rsquo;s text, transcription time, and a disclosure arrow. &nbsp;</p>
<p style="text-align: center;">Figure 10-1 The Notes application consists of a UITableView and UINavigationBar.</p>
<p>&nbsp; <img class="aligncenter wp-image-4977 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide534.png" alt="Slide53" width="800" height="457" /> &nbsp; <img class="aligncenter wp-image-4978 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide544.png" alt="Slide54" width="777" height="508" /></p>
<p style="text-align: center;">Figure 10-2 Creating a new note using the Notes application</p>
<p>&nbsp; &nbsp; The disclosure arrow indicates that details are on the next screen. Upon tapping a row, the application takes the user to the detail view for that particular row&rsquo;s note (Figure 10-2). Tables can be grouped and indexed. For instance, the Music application on an iPod touch uses an index (Figure 10-3). The Settings application&rsquo;s rows are grouped (Figure 10-4). Table rows might also contain a picture and other customizations, as the YouTube and App Store applications illustrate (Figure 10-5). As the applications in the first five figures illustrate, the table view is a powerful control for listing items. You can modify rows, add images, select rows, and edit them. In this chapter, you learn how to use tables. You learn how to build a table, change its style to grouped, add an index to it, and accessorize it. You also learn how to place a table in a navigation controller and how to edit a table&rsquo;s rows. It is a long chapter, but the table view is a powerful control. &nbsp;</p>
<h3>UITableView</h3>
<p>The UITableView class represents a table view. This class is for displaying and editing information lists. It consists of a single column of multiple rows. Users can scroll vertically to navigate through a table&rsquo;s rows. Each row contains a cell. You can customize that cell&rsquo;s appearance considerably. You can index tables and create tables with zero or more sections. When you create a table, you have a choice of two styles: UITableViewStylePlain or UITableViewStyleGrouped. A plain table style presents a table like that in Figure 10-3. A grouped table presents a table like that in Figure 10-4. You see examples implementing both styles later in this chapter. &nbsp; <img class="aligncenter wp-image-4980 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide554.png" alt="Slide55" width="722" height="459" /></p>
<p style="text-align: left;">Figure 10-3 The Music application on an ipod &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; Figure 10-4 The Settings application uses a&nbsp; grouped UITableView &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; touch uses a UITableView with an index.</p>
<p>&nbsp; <img class="aligncenter wp-image-4982 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide565.png" alt="Slide56" width="708" height="454" /></p>
<p style="text-align: center;">Figure 10-5 The YouTube and App Store applications use images and custom cells.</p>
<p>&nbsp; UITableView classes have an associated UITableViewController, a UITableViewDelegate, and a UITableViewDataSource. The UITableViewController is the controller class for a table view. You create an instance of this class to manage the UITableView. The UITableViewDelegate is a protocol you adopt in a custom class you write. This protocol allows you to manage selections, configure headers and footers, and manage cells. The UITableViewDataSource is also a protocol you adopt in a custom class. This protocol allows you to manage a table&rsquo;s data source.</p>
<h3>Adopting the UITableViewDelegate and UITableViewDataSource</h3>
<p>In this first task, you create a UIViewController and have it manage the table view. You also implement a custom class that adopts the UITableViewDelegate and UITableViewDataSource. <strong>Creating an Empty Table</strong></p>
<ol>
<li><strong>Create</strong> <strong>a new Window-based Name the application TableProjectOne.</strong></li>
<li><strong>Create</strong> <strong>a new UIViewController Name the class MyViewController.</strong></li>
<li><strong>Create</strong> <strong>a new empty xib named </strong></li>
<li><strong>Open xib.</strong></li>
<li><strong>Add a view to the document window and add a table view to the view (Figure 10-6). Be certain to resize the table view to completely fill the </strong></li>
<li><strong>Change the File&rsquo;s Owner to Connect the File&rsquo;s Owner view to the view in the document window.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Add a MyViewController as an IBOutlet to TableProjectOneAppDelegate (Listings 10-1 and 10-2).</strong></li>
<li><strong>Modify applicationDidFinishLaunching so it adds the viewController property&rsquo;s Build the application.</strong></li>
<li><strong>Open xib and drag a View Controller to the document window. Change its class and Nib Name to MyViewController.</strong></li>
<li><strong>Connect </strong><strong>the TableProjectOneAppDelegate&rsquo;s </strong><strong>viewController </strong><strong>outlet to </strong><strong>the MyViewController added to the document </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Build</strong> <strong>and run the The application loads an empty table into the iPhone</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5003 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/sa.png" alt="sa" width="687" height="684" /></strong> &nbsp; <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 10-6 Adding a UITableView to an Interface Builder project &nbsp; NOTE In steps 1&ndash;13, you added the table view as a subview to the view in the MyViewController Nib. If you preferred, you could omit the extra view and just add the table view directly as the nib&rsquo;s view. But note, you would also change MyViewController from a UIViewController, to a UITableViewController. Point is, you don&rsquo;t have to put the UITableView inside a UIView in order to use it. A UITableView can be added directly to the XIB and connected to a table view controller&rsquo;s view outlet, and it will work the same way. The next Try This example illustrates. &nbsp; &nbsp; <img class="aligncenter wp-image-4985 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide574.png" alt="Slide57" width="299" height="548" /></p>
<p style="text-align: center;">Figure 10-7 An application with an empty UITableView</p>
<p>&nbsp; Listing 10-1 TableProjectOneAppDelegate.h #import &lt;UIKit/UIKit.h&gt; #import "MyViewController.h" @interface TableProjectOneAppDelegate : NSObject &lt;UIApplicationDelegate&gt; { UIWindow *window; IBOutlet MyViewController * viewController; } @property (nonatomic, retain) IBOutlet MyViewController * viewController; @property (nonatomic, retain) IBOutlet UIWindow *window; @end Listing 10-2 TableProjectOneAppDelegate.m #import "TableProjectOneAppDelegate.h" @implementation TableProjectOneAppDelegate @synthesize window; @synthesize viewController;(void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview:self.viewController.view]; [window makeKeyAndVisible]; }(void)dealloc { [window release]; [viewController release]; [super dealloc]; } @end &nbsp; In this task&rsquo;s first step, you created a UITableView as a subview of a UIView. When the UIViewController loads and displays its view, the view automatically displays its subview, the table view. But all it loads is an empty table. To actually load data into the table, you must implement a delegate and a data source. Moreover, the data source must actually provide data for the table. In the next few steps, you create a delegate and data source for the table. <strong>Adding a Delegate and Data Source</strong></p>
<ol>
<li><strong>Create</strong> <strong>a new NSObject named Change TableHandler so it adopts the UITableViewDelegate and UITableViewDataSource protocols (Listings 10-3 and 10-4).</strong></li>
<li><strong>Add an NSArray property and a method named fillList for filling the </strong></li>
<li><strong>Implement</strong> <strong>the fillArray method so the application has data to load into the table&rsquo;s </strong></li>
<li><strong>Implement </strong><strong>the&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong><strong>tableView:numberOfRowsInSection:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong><strong>and&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong><strong>tableView:</strong> <strong>cellForRowAtIndexPath:</strong></li>
<li><strong>Modify MyViewController to have a TableHandler property (Listings 10-5 and 10-6). Ensure the property is an </strong></li>
<li><strong>Implement</strong><strong> the viewDidLoad method in MyViewController so that it calls its TableHandler&rsquo;s fillList </strong></li>
<li><strong>Save and </strong></li>
<li><strong>Open xib and drag an object to the document window. Change the object&rsquo;s class to TableHandler (Figure 10-8).</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner myHandler outlet to the newly added TableHandler (Figure 10-9).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-4984" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide585.png" alt="Slide58" width="450" height="214" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 10-8 Adding a TableHandler reference to Interface Builder &nbsp;</p>
<ol>
<li><strong>Connect the table view&rsquo;s dataSource and delegate outlets to the newly added table handler. </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And The application displays 20 rows (Figure 10-10).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-4986 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide595-768x365.png" alt="Slide59" width="633" height="301" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 10-9 Connecting the controller to TableHandler &nbsp; <img class="aligncenter wp-image-4988 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide604.png" alt="Slide60" width="291" height="549" /> &nbsp;</p>
<p style="text-align: center;">Figure 10-10 The project running in iPhone Simulator</p>
<p>&nbsp; &nbsp; Listing 10-3 TableHandler.h #import &lt;Foundation/Foundation.h&gt; @interface TableHandler : NSObject &lt;UITableViewDelegate, UITableViewDataSource&gt; { NSArray * tableDataList; } @property (nonatomic, retain) NSArray * tableDataList; - (void) fillList; @end Listing 10-4 TableHandler.m #import "TableHandler.h" @implementation TableHandler @synthesize tableDataList; - (void) fillList { NSArray * tempArray = [[[NSArray alloc] initWithObjects:@"Item One", @"Item Two", @"Item Three", @"Item Four", @"Item Five", @"Item Six", @"Item Seven", @"Item Eight", @"Item Nine", @"Item Ten", @"Item Eleven", @"Item Twelve", @"Item Thirteen", @"Item Fourteen", @"Item Fifteen", @"Item Sixteen", @"Item Seventeen", @"Item Eighteen", @"Item Nineteen", @"Item Twenty", nil] autorelease]; self.tableDataList = tempArray; } -(NSInteger) tableView : (UITableView *) tableView numberOfRowsInSection: (NSInteger) section { return [self.tableDataList count]; } -(UITableViewCell *) tableView : (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"acell"]; if(cell == nil) { &nbsp; cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyle Default reuseIdentifier:@"acell"] autorelease]; } cell.textLabel.text = [self.tableDataList objectAtIndex:[indexPath row]]; return cell; } - (void)dealloc { [tableDataList release]; [super dealloc]; } @end &nbsp; Listing 10-5 MyViewController.h #import &lt;UIKit/UIKit.h&gt; #import "TableHandler.h" @interface MyViewController : UIViewController { IBOutlet TableHandler * myHandler; } @property (nonatomic, retain) IBOutlet TableHandler * myHandler; @end &nbsp; &nbsp; Listing 10-6 TableProjectOneAppDelegate.m #import "MyViewController.h" @implementation MyViewController @synthesize myHandler;(void) viewDidLoad { [self.myHandler fillList]; }(void)dealloc { [self.myHandler release]; [super dealloc]; } @end</p>
<h3>UITableViewController</h3>
<p>The UITableViewController manages a table view. The UITableView can use objects defined in a table&rsquo;s nib to define a table&rsquo;s delegate and data source, or it can use itself as the delegate and data source. For instance, in the previous example, you set the table&rsquo;s delegate and data source properties to the TableHandler class. You could have added a UITableViewController, set it as the table&rsquo;s File&rsquo;s Owner, and then set its outlets to TableHandler. If you do not provide a delegate and data source in a table&rsquo;s nib, a UITableViewController sets its data source and delegate to itself. By doing this, the UITableViewController saves you the work of having to create your own classes so they adopt the delegate and data source. You still must implement any data source and delegate methods desired. However, rather than implementing these methods in separate custom classes, you implement them in a UITableViewController subclass. The UITableViewController then functions as the table&rsquo;s controller, delegate, and data source.</p>
<h3>Using a UITableViewController</h3>
<p>In the last Try This task, you did things the hard way. However, the task&rsquo;s purpose was to illustrate adding a table view as a subview, with no controller. In this Try This task, you use a UITableViewController. Moreover, rather than adding a table view as a subview, you add it directly to the xib as the primary view. &nbsp;</p>
<ol>
<li><strong>Create a new Window-based Name the application TableProjectTwo.</strong></li>
<li><strong>Create</strong> <strong>a new UITableViewController Name the class MyTableViewController (Listings 10-9 and 10-10).</strong></li>
<li><strong>Create</strong> <strong>a new empty xib named </strong></li>
<li><strong>Open xib.</strong></li>
<li><strong>Add a table view to the document window (Figure 10-11).</strong></li>
<li><strong> Change the File&rsquo;s Owner to MyTableViewController if it is not already. Connect the File&rsquo;s Owner view to the table view in the document window.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5014 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PowerPoint-Presentation2.png" alt="New Microsoft PowerPoint Presentation" width="576" height="289" /></strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 10-11 Adding a UITableView to an Interface Builder project &nbsp;</p>
<ol>
<li><strong>Connect</strong><strong> the newly added table view&rsquo;s dataSource and delegate outlets to the File&rsquo;s </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Add a MyTableViewController as an IBOutlet to TableProjectTwoAppDelegate (Listings 10-7 and 10-8). Do not forget to import </strong></li>
<li><strong>Modify applicationDidFinishLaunching so it adds the viewController property&rsquo;s Build the application.</strong></li>
<li><strong>Open xib and drag a Table View Controller to the document window. Change its class and Nib Name to MyTableViewController.</strong></li>
<li><strong>Connect </strong><strong>the TableProjectTwoAppDelegate&rsquo;s viewController outlet to </strong><strong>the MyTableViewController added to the document </strong></li>
<li><strong>Save and exit Interface builder.</strong></li>
<li><strong>Implement</strong><strong> the table delegate and datasource methods the same as you did in TableHandler </strong><strong>in this chapter&rsquo;s first Try This task.</strong></li>
</ol>
<ol start="9">
<li><strong>Modify MyTableViewController so that it has an NSArray called tableDataList and have it populated in the viewDidLoad </strong></li>
<li><strong> Build and run the application. The application loads an empty table into the iPhone Simulator. The results should match the previous task&rsquo;s results (Figure 10-10).</strong></li>
</ol>
<p><strong>Listing</strong> <strong>10-7 TableProjectTwoAppDelegate.</strong> #import &lt;UIKit/UIKit.h&gt; #import "MyTableViewController.h" @interface TableProjectTwoAppDelegate : NSObject &lt;UIApplicationDelegate&gt; { UIWindow *window; IBOutlet MyTableViewController * viewController; } @property (nonatomic, retain) IBOutlet MyTableViewController * viewController; @property (nonatomic, retain) IBOutlet UIWindow *window; @end &nbsp; Listing 10-8 TableProjectTwoAppDelegate.m #import "TableProjectTwoAppDelegate.h" @implementation TableProjectTwoAppDelegate @synthesize window; @synthesize viewController; (void)applicationDidFinishLaunching:(UIApplication *)application { [window addSubview:self.viewController.view]; [window makeKeyAndVisible]; }(void)dealloc { [window release]; [viewController release]; [super dealloc]; } #import &lt;Foundation/Foundation.h&gt; @interface MyTableViewController : UITableViewController { NSArray * tableDataList; } @property (nonatomic, retain) NSArray * tableDataList; @end Listing 10-9 MyTableViewController.m #import "MyTableViewController.h" @implementation MyTableViewController @synthesize tableDataList; - (void) viewDidLoad { NSArray * tempArray = [[[NSArray alloc] initWithObjects:@"Item One", &nbsp; @"Item Two", @"Item Three", @"Item Four", @"Item Five", @"Item Six", @"Item Seven", @"Item Eight", @"Item Nine", @"Item Ten", @"Item Eleven", @"Item Twelve", @"Item Thirteen", @"Item Fourteen", @"Item Fifteen", @"Item Sixteen", @"Item Seventeen", @"Item Eighteen", @"Item Nineteen", @"Item Twenty", nil] autorelease]; self.tableDataList = tempArray; }(NSInteger) tableView : (UITableView *) tableView numberOfRowsInSection: (NSInteger) section { return [self.tableDataList count]; }(UITableViewCell *) tableView : (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"acell"]; if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyle Default reuseIdentifier:@"acell"] autorelease]; } cell.textLabel.text = [self.tableDataList objectAtIndex:[indexPath row]]; return cell; }(void)dealloc { [tableDataList release]; [super dealloc];} @end &nbsp;</p>f7:T6122,<p>Tables have two main styles: grouped and plain. Figure 10-3 illustrates a table with a plain style, while Figure 10-4 illustrates a table with a grouped style. Plain tables might also be indexed. An index sorts the rows and makes navigation quicker by letting a user jump to different locations in the index.</p>
<h3>Grouped Table Style</h3>
<p>Grouping is accomplished by changing a UITableView&rsquo;s style to grouped. You then tell a UITableView&rsquo;s data source how many sections belong in the table and how many rows belong in each section. The class adopting the UITableViewDataSource protocol informs the table how many sections via the numberOfSectionsInTableView method. It informs the table how many rows are in each section via the tableView:numberOfRowsInSection: method.</p>
<ul>
<li>(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView</li>
<li>(NSInteger)tableView:(UITableView *) tableView numberOfRowsInSection: (NSInteger)section</li>
</ul>
<p>Each grouping might have a title. You add titles by having your UITableViewDataSource protocol adoption implement the tableView:titleForHeaderInSection method. This method provides a table view with a title for a section&rsquo;s header. You might also wish adding a footer to each grouping by implementing the tableView:titleForFooterInSection: method.</p>
<ul>
<li>(NSString *)tableView:(UITableView *)tableView titleForHeaderIn Section:(NSInteger)section</li>
<li>(NSString *)tableView:(UITableView *)tableView titleForFooterIn Section:(NSInteger)section</li>
</ul>
<h3>Grouping</h3>
<ol>
<li>Copy TableProjectOne from the first task to a new Open the newly copied TableProjectOne in Xcode.</li>
<li>Modify the array in TableHandler so tableDataList consists of an array of five arrays (Listing 10-10).</li>
<li>Add the numberOfSectionsInTableView and titleForHeaderInSection methods to m (Listing 10-11).</li>
<li>Modify numberOfRowsInSection to return 2.</li>
<li>Modify cellForRowAtIndexPath so it uses the section and the row (Listing 10-12).</li>
<li>Open xib in Interface Builder.</li>
<li>Change the table view&rsquo;s Style from Plain to Grouped (Figure 10-12).</li>
<li>Save and exit Interface Click Build And Go. The table&rsquo;s rows are grouped (Figure 10-13).</li>
</ol>
<p>&nbsp; The fillList method initializes an NSArray of five NSArrays. The numberOfSectionsInTable View method simply returns five. Although not realistic, this number matches the number of data arrays (tempArrayA through tempArrayB). The tableView:titleForHeaderInSection is hard-coded to return A, B, C, D, or E, depending upon the current section. When the table loads, five sections are created, each with a title from the titleForHeaderInSection method. Each row&rsquo;s content is determined from the cellForRowAtIndexPath method. &nbsp; <strong>&nbsp;<img class="alignright wp-image-5028 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide64-Copy.png" alt="Slide64 - Copy" width="280" height="521" /><img class="alignleft wp-image-5027 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide624.png" alt="Slide62" width="353" height="521" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong>Figure 10-13 The application running in iPhone Simulator<strong> </strong> &nbsp; Listing 10-10 Table&rsquo;s list modified to an array of arrays(void) fillList { NSArray * tempArrayA = [[[NSArray alloc] initWithObjects:@"AItem One", @"AItem Two", nil] autorelease]; NSArray * tempArrayB = [[[NSArray alloc] initWithObjects:@"BItem Three", @"BItem Four", nil] autorelease]; NSArray * tempArrayC = [[[NSArray alloc] initWithObjects:@"CItem Five", @"CItem Six", nil] autorelease]; NSArray * tempArrayD = [[[NSArray alloc] initWithObjects:@"DItem Seven", @"DItem Eight", nil] autorelease]; NSArray * tempArrayE = [[[NSArray alloc] initWithObjects:@"EItem Nine", @"EItem Ten", nil] autorelease]; NSArray * tempArray = [[[NSArray alloc] initWithObjects:tempArrayA, tempArrayB, tempArrayC, tempArrayD, tempArrayE, nil] autorelease]; self.tableDataList = tempArray; } Listing 10-11 Modifications to TableHandler.m to support grouping</p>
<ul>
<li>(NSInteger) numberOfSectionsInTableView: (UITableView *) tableView { return 5;</li>
</ul>
<p>}</p>
<ul>
<li>(NSString *) tableView: (UITableView *) tableView titleForHeaderInSection: (NSInteger) section {</li>
</ul>
<p>switch (section) { case 0: return @"A"; break; case 1: return @"B"; break; case 2: return @"C"; break; case 3: return @"D"; break; case 4: return @"E"; break;} &nbsp; return nil; }(NSInteger) tableView : (UITableView *) tableView numberOfRowsInSection: (NSInteger) section { return 2; } Listing 10-12 The cellForRowAtIndexPath modified to use row and section(UITableViewCell *) tableView : (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier: @"acell"]; if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyle Default reuseIdentifier: @"acell"] autorelease]; } cell.textLabel.text = [[self.tableDataList objectAtIndex:indexPath. section] objectAtIndex:indexPath.row]; return cell; }</p>
<h3>Indexing</h3>
<p>Tables can be indexed. To index a table, a table&rsquo;s style should be plain. As with grouping, you implement the numberOfSectionsInTableView: and tableView:numberOfRowsInSection: methods, but you also implement a third method: sectionIndexTitlesForTableView:. This method, implemented in your UITableViewDataSource adoptee, creates the titles that appear along a table&rsquo;s right side. Upon clicking one of these values, a user is taken directly to the group with the corresponding title. - (NSArray *) sectionIndexTitlesForTableView:(UITableView *) tableView</p>
<h3>Indexing</h3>
<ol>
<li><strong>Open the TableProjectOne from the grouping Try This task. </strong></li>
<li><strong>Open xib and change the table view&rsquo;s style to Plain.</strong></li>
<li><strong>Save and exit Interface Click Build And Go. Notice the application is still grouped, but the table&rsquo;s appearance is changed (Figure 10-14).</strong></li>
</ol>
<p style="text-align: center;">Figure 10-14 A plain table with groupings</p>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5032 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PowerPoint-Presentation3.png" alt="New Microsoft PowerPoint Presentation" width="304" height="546" /> &nbsp; &nbsp;</p>
<ol>
<li><strong>Implement the sectionIndexTitlesForTableView method, as in Listing 10-13, in m.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And The application has an index (Figure 10-15).</strong></li>
</ol>
<p>Listing 10-13 The sectionIndexTitlesForTableView method(NSArray *) sectionIndexTitlesForTableView: (UITableView *) tableView { NSArray * keys = [[[NSArray alloc] initWithObjects: @"A", @"B", @"C", @"D", @"E",nil] autorelease]; &nbsp; return keys; } &nbsp; <img class="aligncenter wp-image-5040 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PowerPoint-Presentation3.png" alt="New Microsoft PowerPoint Presentation" width="300" height="555" /> &nbsp;</p>
<p style="text-align: center;">&nbsp; Figure 10-15 The indexed table running in iPhone Simulator</p>
<p><strong>NOTE</strong> Don&rsquo;t let this chapter&rsquo;s reliance on simple NSArrays fool you into thinking you must use this collection class to hold a table&rsquo;s data. You can use any collection class, or any other method you deem appropriate, provided you implement methods to obtain the data correctly.</p>
<h3>Images in Tables</h3>
<p>Adding an image to a table, provided you are happy with the image appearing in the row&rsquo;s upper-left corner, is not difficult. Simply add an image to the cell in the tableView: cellForRowAtIndexPath: method. Remember, this method loads a UITableViewCell into a row. You can use this method to initialize a table cell with an image using the UITableViewCell&rsquo;s imageView.image property. The image is then displayed in the table&rsquo;s row.</p>
<h3>Adding an Image</h3>
<ol>
<li><strong>Open the last task&rsquo;s From the book&rsquo;s Resources folder, add the images power.png,icon.png, package.png, web.png, and colorize.png to the project&rsquo;s Resources folder.</strong></li>
<li><strong>Modify the tableView:cellForRowAtIndexPath: method to match Listing 10-14.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Notice the images overrun the table cell bounds (Figure 10-16).</strong></li>
</ol>
<p>&nbsp; Listing 10-14 The tableView:cellForRowAtIndexPath: method added to TableHandler.m - (UITableViewCell *) tableView : (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath { UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"acell"]; if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier:@"acell"] autorelease]; } cell.textLabel.text = [[self.tableDataList objectAtIndex: indexPath. section] objectAtIndex: indexPath.row]; UIImage * image; switch (indexPath.section) { case 0: image = [UIImage imageNamed:@"power.png"]; break; case 1: image = [UIImage imageNamed:@"Icon.png"]; break; case 2: image = [UIImage imageNamed:@"package_graphics.png"]; break; case 3: image = [UIImage imageNamed:@"colorize.png"]; break; case 4: image = [UIImage imageNamed:@"web.png"]; break; } cell.imageView.image = image; return cell; }</p>
<ol>
<li><strong>Scale the images in Make the images 32 &times; 32 pixels.</strong></li>
<li><strong>Re-import</strong> <strong>the images into the </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And The images display correctly (Figure 10-17).</strong></li>
</ol>
<p style="text-align: center;">Figure 10-16 Images are too large to display in the application&rsquo;s table rows.</p>
<p>&nbsp; <img class="alignnone size-full wp-image-5049" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide644.png" alt="Slide64" width="308" height="564" /><img class="alignright wp-image-5051" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide655.png" alt="Slide65" width="295" height="568" /> &nbsp;</p>
<p style="text-align: right;">&nbsp;Figure 10-17 Resized images displayed correctly</p>
<p>&nbsp;</p>
<h3>Selecting Rows</h3>
<p>The UITableView allows you to select a row. Typically, a table presents rows to a user, where each row is an item in a hierarchical list. Upon selecting a row, the user is generally taken to another view presenting the item&rsquo;s details. You implement the tableView: willSelectRowAtIndex: and tableView:didSelectRowAtIndexPath: methods if you wish to allow a user to select a row. (NSIndexPath *) tableView:(UITableView *) tableView willSelectRowAtIndexPath: (NSIndexPath *) indexPath(void) tableView:(UITableView *) tableView didSelectRowAtIndexPath: (NSIndexPath *) indexPath The tableView:willSelectRowAtIndexPath: method allows the delegate to react to a row about to be selected. The tableView:didSelectRowAtIndexPath: method allows a reactionto a row&rsquo;s selection. These methods are useful because they allow you to implement custom behavior in a table&rsquo;s delegate when a row is selected.</p>
<h3>Row Selection</h3>
<ol>
<li><strong>Open the last task&rsquo;s project in Xcode.</strong></li>
<li><strong>Add the tableView:willSelectRowAtIndexPath: and the tableView: didSelectRowAtIndexPath: methods in Listing 10-15 to m.</strong></li>
<li><strong>Click</strong><strong> Build And The application looks the same as the previous task&rsquo;s results. Clicking the items should result in logging similar to Listing 10-16.</strong></li>
</ol>
<p>Listing 10-15 The tableView:willSelectRowAtIndexPath: and tableView: didSelectRowAtIndexPath: methods -(NSIndexPath *) tableView: (UITableView *) tableView willSelectRowAt IndexPath: (NSIndexPath *) indexPath { NSLog(@"I selected the item at the %d array and %d item, the value is: %@", indexPath.section, indexPath.row, [[self.tableDataList objectAtIndex: indexPath.section] objectAtIndex: indexPath.row]); return indexPath; } -(void)tableView:(UITableView *) tableView didSelectRowAtIndexPath: (NSIndexPath *) index { NSLog(@"Yes I did...."); } Listing 10-16 Debugger Console logging [Session started at 2009-01-09 13:25:41 -0500.] 2009-01-09 13:25:45.453 TableProjectOne[2089:20b] I selected the item at the 0 array and 0 item, the value is: AItem One 2009-01-09 13:25:45.454 TableProjectOne[2089:20b] Yes I did.... 2009-01-09 13:25:48.372 TableProjectOne[2089:20b] I selected the item at the 1 array and 0 item, the value is: BItem Three 2009-01-09 13:25:48.373 TableProjectOne[2089:20b] Yes I did.... Changing Row Height A couple of sections ago, you added images that were too large to display in a table&rsquo;s row. The correct way to fix this is usually to resize the images. However, sometimes you want to display a larger image, text with a large font, or a custom cell. One way you can add space in a table&rsquo;s row is by increasing the row&rsquo;s height. You increase a row&rsquo;s height using the heightForRowAtIndexPath method. Changing Row Height</p>
<ol>
<li><strong>Open the previous task project in Xcode.</strong></li>
<li><strong>Add the heightForRowAtIndexPath: method in Listing 10-17 to m.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go, and the rows are 90 pixels tall (Figure 10-18).</strong></li>
</ol>
<p>&nbsp;</p>
<p style="text-align: center;">Figure 10-18 The application running with 90-pixel-high rows in iPhone Simulator</p>
<p>&nbsp; <img class="aligncenter wp-image-5071 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PowerPoint-Presentation6.png" alt="New Microsoft PowerPoint Presentation" width="255" height="479" /></p>
<p style="text-align: center;">&nbsp; Listing 10-17 The heightForRowAtIndexPath method added to TableView</p>
<p>-(CGFloat) tableView : (UITableView *) tableView heightForRowAtIndexPath: (NSIndexPath *) indexPath { return 90; } <strong>Accessorizing Table Cells</strong> You can tell a cell to place a check mark, disclosure arrow, or detailed disclosure button in the cell by setting the cell&rsquo;s accessoryView or accessoryType properties. Accessories are visual user interface clues for users. For instance, the check mark might inform a user that he or she has already selected a row. A disclosure arrow or a detailed disclosure button might hint to a user that he or she can select the row to view the row&rsquo;s details in another view. The check mark and disclosure button are visual clues for a user and do not provide events that respond to a user tapping them. However, the detailed disclosure button can respond to a user tapping it.</p>
<h3>Accessorizing a Table Cell</h3>
<ol>
<li><strong>Open the previous project in Xcode and comment the section Index Titles For TableView method in m.</strong></li>
<li><strong>Add the tableView:accessoryButtonTappedForRowWithIndexPath: method to m(Listing10-18).Also modify the tableView:cellForRowAtIndexPath: method to add the accessories to the table cells.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And The rows contain accessories (Figure 10-19). When you tap the detailed disclosure button, the table calls the tableView:accessoryButtonTappedForRow WithIndexPath: method.</strong></li>
</ol>
<p><strong>&nbsp;</strong> Listing&nbsp; 10-18 The tableView:cellForRowAtIndexPath: and tableView:accessoryButton TappedForRowWithIndexPath: methods - (UITableViewCell *) tableView : (UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath { NSUInteger section = [indexPath section]; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier: @"acell"]; &nbsp; &nbsp; <img class="aligncenter wp-image-5077 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide664.png" alt="Slide66" width="305" height="569" /></p>
<p style="text-align: center;">&nbsp; Figure 10-19 Accessorized table rows</p>
<p>if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier:@"acell"] autorelease]; } cell.textLabel.text = [[self.tableDataList objectAtIndex:section] objectAtIndex:[indexPath row]]; UIImage * image; switch (indexPath.section) { case 0: image = [UIImage imageNamed:@"power.png"]; break; case 1: image = [UIImage imageNamed:@"Icon_resize.png"]; break; case 2: image = [UIImage imageNamed:@"package_graphics_resize.png"]; break; case 3: image = [UIImage imageNamed:@"colorize.png"]; break; case 4: image = [UIImage imageNamed:@"web.png"]; break; } cell.imageView.image = image; if(indexPath.section == 0) { cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator; } else if(indexPath.section == 1) { cell.accessoryType = UITableViewCellAccessoryDetailDisclosureButton; } else { cell.accessoryType = UITableViewCellAccessoryCheckmark; } return cell; } -(void)&nbsp;&nbsp;&nbsp; tableView:(UITableView&nbsp;&nbsp;&nbsp; *)&nbsp;&nbsp;&nbsp; tableView&nbsp;&nbsp;&nbsp; accessoryButtonTappedForRowWithIndexPath: (NSIndexPath *) indexPath { NSLog(@"hey now...."); } &nbsp;</p>
<h3>Customizing a Table Cell</h3>
<p>Tables can be customized. Sometimes you might wish to format data differently than provided by the default UITableViewCell. The most direct way to accomplish formatting a table cell is by adding a view to the UITableViewCell. You do this in code, by adding a subview to a cell when initializing it in the tableView:cellForRowAtIndexPath method. Another technique is to create a subclass of a UITableViewCell and then create its graphical layout using Interface Builder.</p>
<h3>Customizing a Cell Using Interface Builder</h3>
<ol>
<li><strong>Create a new Navigation-based Name the application CustomizedCell.</strong></li>
<li><strong>Create</strong> <strong>a new subclass of Note that Xcode provides a template for this class. Name the class MyCellView. Be certain to deselect the Use Core Data for storage checkbox if selected.</strong></li>
<li><strong>In</strong> <strong>MyCellView,</strong> <strong>create</strong> <strong>a new UILabel outlet named theTextLabel (Listings 10-19 and 10- 20).</strong></li>
<li><strong>Click</strong> <strong>Save And </strong></li>
<li><strong>Drag</strong> <strong>the image png from this book&rsquo;s Resources folder to the Resources folder in the</strong><strong>project.</strong> <strong>Save.</strong></li>
</ol>
<ol start="6">
<li><strong>Create</strong> <strong>a new Empty Name the file MyCellView.xib and open it in Interface Builder.</strong></li>
<li><strong> Add a Table View Cell from the library to the document window.</strong></li>
</ol>
<p><strong>&nbsp;</strong></p>
<ol>
<li><strong>Change the cell&rsquo;s class from UITableViewCell to </strong></li>
<li><strong>Double-click</strong> <strong>My</strong> <strong>Cell</strong> <strong>View</strong> <strong>in the document window to open the cell&rsquo;s </strong></li>
<li><strong>In</strong> <strong>the Inspector, select png as the cell&rsquo;s image. Change the cell&rsquo;s background to yellow. Also, be certain to set the Identifier to MyCell (Figure 10-20).</strong></li>
</ol>
<p style="text-align: center;">Figure 10-20 Setting the identifier to MyCell</p>
<p>&nbsp; <img class="aligncenter wp-image-5078 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide674.png" alt="Slide67" width="292" height="687" /> &nbsp; &nbsp; <img class="aligncenter wp-image-5081 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide684.png" alt="Slide68" width="454" height="191" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 10-21 Adding UIImageView and UILabels to a view canvas</p>
<p>&nbsp;CAUTION If you do not set a cell&rsquo;s identifier, the cell can never be reused. This means every call to tableView:cellForRowAtIndexPath: results in a new table cell.</p>
<ol>
<li><strong>Drag a UIImageView and two UILabels to the canvas (Figure 10-21). Type some text in one label; delete the other label&rsquo;s Set the image view&rsquo;s image to money.png.</strong></li>
<li><strong>Connect</strong> <strong>the MyCellView&rsquo;s theTextLabel outlet to the newly added </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open xib in Interface Builder and change the table view&rsquo;s background to yellow. Save and exit Interface Builder.</strong></li>
<li><strong>Modify RootViewController to implement the UITableViewController methods needed so they match Listings 10-21 and 10-22.</strong></li>
<li><strong>Modify the tableView:cellForRowAtIndexPath: method to set the cell&rsquo;s accessory, background color, and </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And The table cells have the customized appearance (Figure 10-22).</strong></li>
</ol>
<p>Listing 10-19 MyCellView.h #import &lt;UIKit/UIKit.h&gt; @interface MyCellView : UITableViewCell { IBOutlet UILabel * theTextLabel; } @property (nonatomic, retain) IBOutlet UILabel * theTextLabel; @end &nbsp; Listing 10-20 MyCellView.m #import "MyCellView.h" @implementation MyCellView @synthesize theTextLabel; &nbsp; - (void)dealloc { [theTextLabel release]; [super dealloc]; } @end Listing 10-21 RootViewController.h #import &lt;UIKit/UIKit.h&gt; #import "MyCellView.h" @interface RootViewController : UITableViewController { } @end &nbsp;</p>
<p style="text-align: center;">Figure 10-22 Application with background color</p>
<p>&nbsp; <img class="aligncenter wp-image-5082 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide692.png" alt="Slide69" width="307" height="573" /> &nbsp; Listing 10-22 RootViewController.m #import "RootViewController.h" #import "CustomizedCellAppDelegate.h" @implementation RootViewController</p>
<ul>
<li>(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1; }</li>
<li>(NSInteger)tableView: (UITableView *) tableView numberOfRowsInSection: (NSInteger) section { return 5; }</li>
<li>(CGFloat) tableView : (UITableView *) tableView heightForRowAtIndexPath: (NSIndexPath *) indexPath { return 110; }</li>
<li>(UITableViewCell *)tableView:(UITableView *) tableView cellForRowAtIndexPath: (NSIndexPath *) indexPath { MyCellView *cell = (MyCellView *) [tableView dequeueReusableCellWithIdentifier: @"MyCell"];</li>
</ul>
<p>if(cell == nil) { cell = [[[NSBundle mainBundle] loadNibNamed:@"MyCellView" owner:self options:nil] objectAtIndex:0]; } [cell.theTextLabel setText:@"Just some static text."]; NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"money" ofType:@"png"]; cell.imageView.image = [UIImage imageWithContentsOfFile:imagePath]; [cell setAccessoryType:UITableViewCellAccessoryCheckmark]; cell.contentView.backgroundColor = [UIColor yellowColor]; cell.backgroundView.backgroundColor = [UIColor yellowColor]; return cell; } - (void)dealloc { [super dealloc];}@end &nbsp; Notice in the previous example that you initialize the cell every time it&rsquo;s called in the tableView:CellForRowAtIndexPath: method. This initialization is per Apple&rsquo;s documentation, Table View Programming Guide for iPhone OS. The ―tableView:cellForRowAtIndexPath should always reset all content when reusing a cell.‖ That is why in the tableView: cellForRowAtIndexPath: you set the cell&rsquo;s background color, image, and label text. In a more realistic example, you would probably vary a cell&rsquo;s content depending upon the row. Implementing a UITableViewCell in its own nib does not require implementing a UITableViewCell class, as you did in the example. However, if you wish to override a UITableViewCell&rsquo;s method, such as setSelected, you must implement your own custom class. You then set the UITableViewCell&rsquo;s type in Interface Builder to be your custom subclass. In this example, that class is MyCellView. Implementing a custom UITableViewCell subclass is also a convenient location to place IBOutlets and IBActions for the controls on your custom UITableViewCell control. NOTE For more information on table-view cells, refer to the "A Closer Look at Table-View Cells" in Apple&rsquo;s "Table View Programming Guide" for iPhone OS.</p>f8:T14bb,<p style="text-align: justify;">You can also review default security settings by using the Administration Tool.</p>
<p style="text-align: justify;">1 . Open the Administration Tool. Click Start --&gt; All Programs --&gt; Oracle Business Intelligence --&gt; BI&nbsp;Administration.</p>
<p style="text-align: justify;"><img class="wp-image-5080 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2400-460x304.png" alt="2" width="676" height="446" /></p>
<p style="text-align: justify;"><strong>Note:</strong> When you first start the Administration Tool, a DOS window appears. Keep this window open while&nbsp;you work. You can minimize the window to avoid accidentally closing it. 2 . Click File &gt; Open &gt; Offline.</p>
<p style="text-align: justify;"><img class="wp-image-5083 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2401-460x351.png" alt="2" width="593" height="451" /></p>
<p style="text-align: justify;">3 . The repositories are located in &lt;ORACLE_INSTANCE&gt;\bifoundation\OracleBIServerComponent\coreappplication_obips1\repository (for example,&nbsp;c:\bi11g\instances\instance3\bifoundation\OracleBIServerComponent\coreappplication_obips1\repository). In the Open dialog box, select the SampleApp repository (for example, SampleApp_BI0010.rpd) and&nbsp;click Open.</p>
<p style="text-align: justify;"><img class="wp-image-5084 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2402-460x336.png" alt="2" width="614" height="448" /></p>
<p style="text-align: justify;">Note that Oracle BI Release 11g (11.1.1.5) automatically appends a numeric, incremental suffix to each&nbsp;version of the .rpd file. 4 . A message box appears, indicating that this repository must be opened in read-only mode. This is because&nbsp;the repository has been loaded into the Oracle BI Server. Click Yes when the message box appears.</p>
<p style="text-align: justify;"><img class="wp-image-5085 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2403-460x88.png" alt="2" width="868" height="165" /></p>
<p style="text-align: justify;">5 . In the Open Offline dialog box, enter the Repository Password (for example, Admin123) and click OK. If&nbsp;you are unsure of this password, you can verify it with your local administrator.</p>
<p style="text-align: justify;"><img class="wp-image-5089 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/2404.png" alt="2" width="648" height="282" /></p>
<p style="text-align: justify;">The repository opens in read-only mode.</p>
<p style="text-align: justify;"><img class="wp-image-5090 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/370-460x346.png" alt="3" width="624" height="468" /></p>
<p style="text-align: justify;">6 . Click Manage &gt; Identity.</p>
<p style="text-align: justify;"><img class="wp-image-5091 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/380-460x346.png" alt="3" width="577" height="433" /></p>
<p style="text-align: justify;">The Identity Manager dialog box appears. You can review each user authorized for this repository and also&nbsp;each application role.</p>
<p style="text-align: justify;"><img class="wp-image-5092 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/390-460x329.png" alt="3" width="625" height="446" /></p>
<pre style="text-align: center;"><em><strong>At TekSlate, we offer resources that help you in learning various IT courses. 
We avail both written material and demo video tutorials. 
To gain in-depth knowledge and be on par with &nbsp;practical experience, then exploer<a href="https://tekslate.com/tableau-training/">&nbsp;</a><a href="https://tekslate.com/obiee-training/" target="_blank" rel="noopener">OBIEE Training</a>.</strong></em></pre>
<p style="text-align: justify;">7 . Double-click hmayes to view the roles that are assigned to Helen.</p>
<p style="text-align: justify;"><img class="wp-image-5093 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3100-460x329.png" alt="3" width="688" height="491" /></p>
<p style="text-align: justify;">8 . These roles are precisely the same as those identified in Oracle WebLogic Server. Click Cancel.</p>
<p style="text-align: justify;"><img class="wp-image-5094 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3101.png" alt="3" width="683" height="820" /></p>
<p style="text-align: justify;">You can similarly view Adam's application roles, if you so choose. 9 . Click Application Roles. Examine the roles available in the Administration Tool.</p>
<p style="text-align: justify;"><img class="wp-image-5095 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/3102-460x385.png" alt="3" width="657" height="550" /></p>
<p style="text-align: justify;">10&nbsp;.&nbsp;Click Action &gt; Close to close Identity Manager. 11&nbsp;.&nbsp;Click File &gt; Close to close the repository. Leave the Administration Tool open.</p>
<p>&nbsp;</p>f9:T1e22,<h2>The Web View</h2>
<p>This chapter wraps up its discussion of controls by discussing the web view. The UIWebView is the class you use to add a web browser to your application. It&rsquo;s based upon the same code foundation as Safari, and so you can use CSS and JavaScript. Using the web view can be easy, or more difficult, depending upon how much you wish your application to interact with the browser. In this chapter you keep it simple.</p>
<h3>UIWebView</h3>
<p>The UIWebView is responsible for the web view&rsquo;s display. It is an easy means of embedding web content in your application. The loadRequest: method is how you load web content. You can check on the control&rsquo;s progress loading a resource using the loading property. You might also wish moving forward or backward through the user&rsquo;s browsing history; you do this using the goBack and goForward methods. And of course, you can first check to see if the control can move backwards or forwards by checking the canGoBack or canGoForward properties. If you own an iPhone, then I am certain you have noticed that you can tap telephone numbers in the Safari browser and it automatically dials the number. The UIWebView automatically implements this behavior unless you specifically inform it not to by setting the detectsPhoneNumbers property to NO. Another method that is subtle, yet powerful is the stringByEvaluatingJavaScriptFromString: method. - (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script Why is this method so powerful? The stringByEvaluatingJavaScriptFromString: method allows evaluating any JavaScript string. You can access a page&rsquo;s Document Object Model (DOM) through JavaScript, and so you can manipulate an HTML page&rsquo;s content. The HTML DOM is a W3C standard for manipulating HTML documents. HTML DOM is outside this book&rsquo;s scope, but for more information refer to the W3C School&rsquo;s HTML DOM Tutorial, available online at <a href="http://www.w3schools.com/">www.w3schools.com.</a> If you wish programming using the web browser you would be well served by learning the HTML DOM. The following Try This example, illustrates using the stringByEvaluatingJavaScriptFromString: method to print a page&rsquo;s HTML content.You navigate to a specific page by using the UIWebView&rsquo;s loadRequest method. - (void) loadRequest: (NSURLRequest *) request The loadRequest method takes a URL request as a parameter and navigates to the resource represented by the underlying URL. A NSURL class wraps the NSURLRequest&rsquo;s underlying URL. Both the NSURLRequest and NSURL are part of the Foundation framework. You use both in the next Try This example application. &nbsp;</p>
<h3>UIWebViewDelegate</h3>
<p>UIWebViews can also have a delegate. You create a delegate for a UIWebView by creating a class that adopts the UIWebViewDelegate protocol and then assigning the UIWebView&rsquo;s delegate property to the custom class. The UIWebViewDelegate handles key events when loading a web page. When an event occurs, the web view calls the appropriate delegate method. For instance, when a web view is about to load a page it calls the webView:should StartLoadWithRequest:navigationType: method.</p>
<ul>
<li>(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURL Request *)</li>
</ul>
<p>request navigationType:(UIWebViewNavigationType)navigationType When a web view starts loading a page it calls the webViewDidStartLoad: method.</p>
<ul>
<li>(void)webViewDidStartLoad:(UIWebView *)webView</li>
</ul>
<p>&nbsp; When a web view finishes loading a page it calls the webViewDidFinishLoad: method, unless an error occurs, and instead it calls the webView:didFailLoadWithError: method.</p>
<ul>
<li>(void)webViewDidFinishLoad:(UIWebView *)webView</li>
<li>(void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error</li>
</ul>
<p>&nbsp;</p>
<h3>Creating a Simple Web Browser</h3>
<p><strong>1. Create a new View-based Application named MyWeb.</strong> <strong>2. Create a new class called MyWebViewDelegate and have it adopt the UIWebViewDelegate protocol (Listings 12-10 and&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12-11).</strong> <strong>3. Open MyWebViewController.xib in Interface Builder.</strong> <strong>4. Add a Web View from the Library to the canvas. Also add a text field and a button</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5298 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1193.png" alt="Slide119" width="304" height="478" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 12-29 A simple web browser in Interface Builder</p>
<ol>
<li><strong>Change the text field&rsquo;s keyboard type to URL. </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open MyWebViewController and add IBOutlets for the text field and the web view (Listings 12-12 and 12-13). Add and IBAction called Add the MyWebViewDelegate as a property and implement the viewDidLoad method.</strong></li>
<li><strong>Save and return to Interface </strong></li>
<li><strong>Connect</strong> <strong>the button&rsquo;s Touch Up Inside action to the changeLocation Connect the text field and web view to their respective outlets.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Build</strong> <strong>and </strong></li>
<li><strong>Type</strong> <a href="http://www.apple.com/"><strong>http://www.apple.com</strong> </a><strong>in the text field and tap GO and the web page loads in the web view (Figure 12-30). The web page&rsquo;s HTML is also logged to the debugger console (not provided as a listing due to its length).</strong></li>
</ol>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5300 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1203.png" alt="Slide120" width="311" height="577" /> &nbsp;</p>
<p style="text-align: center;">Figure 12-30 A simple web browser displaying Apple&rsquo;s home page</p>
<p>&nbsp; Listing 12-10 MyWebViewDelegate.h #import &lt;Foundation/Foundation.h&gt; @interface MyWebViewDelegate : NSObject &lt;UIWebViewDelegate&gt; { } @end Listing 12-11 MyWebViewDelegate.m #import "MyWebViewDelegate.h" @implementation MyWebViewDelegate - (void)webViewDidFinishLoad: (UIWebView *) webView { NSLog(@"%@", [webView stringByEvaluatingJavaScriptFromString: @"document.documentElement.textContent"]); } @end Listing 12-12 MyWebViewController.h #import &lt;UIKit/UIKit.h&gt; #import "MyWebViewDelegate.h" @interface MyWebViewController : UIViewController { IBOutlet UITextField * myTextField; IBOutlet UIWebView * myWebView; MyWebViewDelegate * myWebViewDelegate; } @property(nonatomic, retain) UIWebView * myWebView; @property(nonatomic, retain) UITextField * myTextField; @property(nonatomic, retain) MyWebViewDelegate * myWebViewDelegate; - (IBAction) changeLocation: (id) sender; @end Listing 12-13 MyWebViewController.m #import "MyWebViewController.h" @implementation MyWebViewController @synthesize myWebView; @synthesize myTextField; @synthesize myWebViewDelegate;</p>
<ul>
<li>(void) viewDidLoad {</li>
</ul>
<p>myWebViewDelegate = [[MyWebViewDelegate alloc] init]; myWebView.delegate = myWebViewDelegate; }</p>
<ul>
<li>(void)dealloc { delegate = nil; [myWebViewDelegate release]; [myTextField release]; [myWebView release];</li>
</ul>
<p>[super dealloc]; }</p>
<ul>
<li>(IBAction) changeLocation: (id) sender { [myTextField resignFirstResponder];</li>
</ul>
<p>NSURL * url = [NSURL URLWithString: myTextField.text]; NSURLRequest * request = [NSURLRequest requestWithURL:url]; [myWebView loadRequest:request]; } @end</p>fa:T3e23,<h2><strong>&nbsp;I/O Redirection with Examples</strong></h2>
<ul>
<li>Sometimes you need to use the output from a command more than once. To accomplish this, you can redirect the output of commands using some neat command &ndash; line tricks.</li>
<li>There are also a few characters you can use to direct or redirect output of commands. These characters are</li>
</ul>
<p>&gt; &nbsp; ----&gt; &nbsp;Directs output to a file or device (override if the file exists) &lt;&nbsp;&nbsp;&nbsp;&nbsp; ----&gt; &nbsp; Directs Input from the file or device. &gt;&gt; &nbsp;&nbsp; ----&gt; &nbsp;&nbsp;Appends output or text to a file (creates if the file doesn&rsquo;t exist) | &nbsp;&nbsp;&nbsp;&nbsp; ----&gt; &nbsp;&nbsp;pipes the output of one command to another. &amp;&amp;&nbsp; &nbsp; ----&gt; &nbsp;&nbsp;combines commands . &nbsp; STDIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File Description (FD) &nbsp; --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 STDOUT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File Description (FD) --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 STDERR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File Description (FD) --&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 &nbsp; <strong>Examples:</strong><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>1) $cat file &gt; backup $cat backup &nbsp;---&gt;&nbsp; &nbsp;To verify 2) $cat &gt; test2 &lt; test2 &nbsp;---&gt;&nbsp;&nbsp; &nbsp;Input from the test1 $cat test2 &nbsp; &nbsp;---&gt;&nbsp;&nbsp; &nbsp; To verify 3) $cat test1 test2 test3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&gt; Error ---&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File not exist $ cat Error &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To verify 4)&nbsp; $cat sample test test3&nbsp; &gt; out &ndash;file 2&gt;&gt; error ---&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;File not exist &nbsp; &nbsp; $ cat out- file &nbsp; &amp; &nbsp;$ cat Error ----&gt; &nbsp;To verify &nbsp; &nbsp;</p>
<ul>
<li><strong>Echo :</strong> Outputs or displays a string</li>
</ul>
<p><strong>EX: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>$echo &ldquo;this is some sample text&rdquo;</p>
<ul>
<li><strong>To output some text to a file:</strong></li>
</ul>
<p>$echo &ldquo;this is some sample text&rdquo; &gt; file_example $cat file_example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To verify</p>
<ul>
<li><strong>CUT:</strong> Divides a string or output.</li>
</ul>
<p><strong>Syn:</strong> &nbsp;cut [option] file --- d &nbsp;&nbsp;&nbsp; Specifies a delimiter --- f displays a particular field --- c displays a character.</p>
<ul>
<li><strong>Displays the third field of the text using space as a delimiter:</strong></li>
</ul>
<p>$cut &ndash;d &ldquo;&rdquo;&nbsp;&nbsp; -f3 file_example</p>
<ul>
<li><strong>Displays third &amp; fourth fields:</strong></li>
</ul>
<p>$cut&nbsp;&nbsp; f3,4 file_example</p>
<ul>
<li><strong>Displays 1<sup>st</sup> to 5<sup>th</sup> characters:</strong></li>
</ul>
<p>$cut&nbsp;&nbsp; - c 1-5 file_example</p>
<ul>
<li><strong>Past:</strong> To join two or more files horizontally by using delimiters</li>
<li><strong>To join two files horizontally:</strong></li>
</ul>
<p>$ paste states capitals AP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HYD MP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOPAL KN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BANGLORE</p>
<ul>
<li><strong>To join two files using delimiter:</strong></li>
</ul>
<p>$ paste&nbsp; - d &ldquo; : &rdquo;States capitals AP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HYD MP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bopal KN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bangalore $Paste&nbsp;&nbsp; --d&nbsp; &ldquo; : &rdquo;&nbsp; states capitals &gt; example</p>
<ul>
<li><strong>WC:</strong> Provides a word or line count</li>
</ul>
<p><strong>Syn:</strong> WC [options] file --- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; l&nbsp;&nbsp; lines ---&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w&nbsp; words ---&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c&nbsp;&nbsp; characters $WC Example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays lines words and characters $WC&nbsp;&nbsp;&nbsp; - l&nbsp; Example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; only lines $WC &nbsp;&nbsp; - w Example&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; only words.</p>
<ul>
<li><strong>Diff:</strong> Displays different lines between two files</li>
</ul>
<p>$diff file1 file2</p>
<ul>
<li><strong>Cmp:</strong> It compares two files character by character.</li>
</ul>
<p>$ cmp file1 file2 <strong>Note:</strong> If files are same it doesn&rsquo;t return any output otherwise it displays line numbers and character position</p>
<ul>
<li><strong>tr:</strong> It translate character by character.</li>
</ul>
<p>$tr &ldquo;aeiou&rdquo; &ldquo;AEIOU&rdquo; &lt;sample $tr &ldquo;a-z&rdquo; &ldquo;A-Z&rdquo; &lt;sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Translate lower to upper. $ tr &ldquo;A-Z&rdquo; &ldquo;a-z&rdquo; &lt; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Upper to lower $tr&nbsp; -&nbsp; s &ldquo;&nbsp; &ldquo;&nbsp; &lt;sample &nbsp; Squeeze $tr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -d&nbsp; &ldquo;aeiou&rdquo; &lt;sample&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To delete aeiou $tr &ldquo;,&rdquo;&nbsp; &ldquo;\t&rdquo; &lt; sample&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Replaced with tab space.</p>
<ul>
<li><strong>A spell check:</strong> To check the spelling mistakes but not grammatical mistakes.</li>
</ul>
<p>$a spell check sample $a spell check test</p>
<ul>
<li><strong>Head:</strong> Displays top 10 lines of the file</li>
</ul>
<p>$ head sample $ head -5 sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Top 5 lines</p>
<ul>
<li><strong>Tail:</strong> Displays last 10 lines of the file</li>
</ul>
<p>$ tail sample $ tail&nbsp; -5 sample &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; last 5 lines $tail&nbsp; - f sample &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file is open continuously</p>
<ul>
<li><strong>Piping(|):</strong> Combine the two or more commands in to a single line.</li>
<li>Here the first command output is taken as the next command input.</li>
</ul>
<p>$ ls&nbsp;&nbsp; - l/ wc &ndash; l $cat example / cut &ndash;d&nbsp; &ldquo; &ldquo;&nbsp; - f3 file _ example $ cat example / head -20</p>
<ul>
<li><strong>&amp;&amp;:</strong> combines commands</li>
</ul>
<p>$ echo &ldquo; this is text file&rdquo; &gt; file_example &amp;&amp; cut &ndash;f3 example $ cat file_example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To verify $ echo &ldquo; My original text: &gt;&gt; file _example &amp;&amp; cat file_example</p>
<ul>
<li><strong>More:</strong> To see the contents of a file in the form of page wise.</li>
</ul>
<p>$ more example</p>
<ul>
<li><strong>Less:</strong> To display file contents in page wise. But we can go to all directions.</li>
</ul>
<p>$ Less example <strong>Options:</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; f &nbsp; ----&gt;&nbsp;&nbsp;forward direction B &nbsp; &nbsp; ----&gt;&nbsp;&nbsp; Backward direction V &nbsp; &nbsp; ----&gt;&nbsp;&nbsp;vi editor mode q &nbsp; &nbsp; ----&gt;&nbsp;&nbsp;To quit &agrave; <strong>Tee:</strong> It is used to write the data into the files as well as on the screen. $cat sample / tee file1 file2 file3 $cat file1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;To verify $cat file 2</p>
<ul>
<li><strong>Sort:</strong> Sorts the output of a command or file.</li>
</ul>
<p><strong>Syn:</strong> &nbsp;Sort [options} FILE --- R &nbsp; ----&gt;&nbsp;sorts in reverse order --- B &nbsp; ----&gt;&nbsp;Ignores leading blanks --- n &nbsp; ----&gt;&nbsp;compares according to numerical storing value</p>
<table>
<tbody>
<tr>
<td width="169">
<table width="100%">
<tbody>
<tr>
<td><strong>ASCII Values</strong> 0 - 9&nbsp;&nbsp; =&gt; 48-57 A - Z&nbsp;&nbsp; =&gt; 65-90 a- z&nbsp;&nbsp; =&gt;&nbsp; 97-122</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>$ sort example $ sort &ndash;r example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reverse order $ sort &ndash;n example&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Display numeric $ sort &ndash;u example&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unique lines $ sort&nbsp; --f&nbsp;&nbsp; Example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ignores case</p>
<pre style="text-align: center;"><em><strong>Inclined to build a profession as Linux Developer? Then here is the blog post on&nbsp;<a href="https://tekslate.com/linux-training/" target="_blank" rel="noopener">Linux</a><a href="https://tekslate.com/linux-training/" target="_blank" rel="noopener">&nbsp;Training&nbsp;Online</a>.</strong></em></pre>
<ul>
<li><strong>Uniq:</strong> Lists all the unique lines in a file or command output.</li>
</ul>
<p>$ uniq example $ Uniq &ndash;u&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays non duplicated lines $ Uniq &ndash;d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays only duplicated lines $ Uniq file_ Example &gt; uniq_file &amp;&amp; cat uniq &ndash; file</p>
<ul>
<li>In above command go view uniq lines in the sample file, create a new file based on the output, and view the contents of this new file,</li>
<li><strong>Sed (Stream editor):</strong> To search and replace strings or patterns in the given file</li>
<li>Sed is a multipurpose filter command</li>
</ul>
<p><strong>Syn:</strong> sed &ldquo;s/old string name/new string name/g&rdquo; &lt;filename&gt; S &nbsp;&nbsp;---&gt;&nbsp;substitution G &agrave; global occurrence in every line. $sed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;s/unix/linux/g&rdquo; sample $sed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;s/unix/linux/gi&rdquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Ignore case $sed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;s/unix/linux/&rdquo; sample $sed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;s/˄unix/linux/gi sample $sed &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;s/unix//gi sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Delete a word from a file $sed &ndash;e&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;s/unix/sas/gi&rdquo;&nbsp;&nbsp;&nbsp; -e &ldquo;s/linux/dba/gi&rdquo;&nbsp;&nbsp; sample $sed &ndash;n &nbsp;&nbsp;&nbsp; &ldquo;2p&rdquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To print 2<sup>nd</sup> row $sed &ndash;n &nbsp;&nbsp;&nbsp; &ldquo;3,5p&rdquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To print 3<sup>rd</sup>, 4<sup>th</sup>, 5<sup>th</sup> rows $sed &ndash;n &nbsp;&nbsp;&nbsp; &ldquo;IP &gt;$p&rdquo; &nbsp;&nbsp; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point 1<sup>st</sup> and last rows $ sed &lsquo;3d&rsquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Delete 3<sup>rd</sup> row $sed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lsquo;2,5d&rsquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Delete 2 to 5 lines $ sed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lsquo;2,5 w file&rsquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; It copies 2<sup>nd</sup> to 5<sup>th</sup> rows from sample file to file $ sed &lsquo;=&rsquo; sample&nbsp;&nbsp; &nbsp; &nbsp;To get line numbers.</p>
<ul>
<li><strong>Regular Expressions (or) Regex (Grep):</strong></li>
<li>Globally research a regular expression &amp; print</li>
<li>To search a string or regular expression in a file(s)</li>
</ul>
<p><strong>Syn:</strong> grep [options] PATTERN FILE (S) $ grep root sample $ grep root sample example backup $grep root *&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; search all files in a current directory $grep&nbsp; --i root sample &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ignore case $grep&nbsp; --c root sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COUNTS NO. OF LINES $grep &ndash;n root sample &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print the lines along with line no&rsquo;s $grep &ndash;l root sample &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; list file names only he given pattern $grep &ndash;r root * &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; search the pattern recursively $grep &ndash;v root sample &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prints non matching lines $grep &ndash;o root sample &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;prints only the given pattern. $grep root sample&nbsp; -- color&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; displays output in color $grep &nbsp; &ldquo;it technology&rdquo; sample $grep &ldquo;exam*&rdquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Prints start with exam pattern. $grep &nbsp; &ldquo;b[aeiou] ll&rdquo; sample o/p: &nbsp;&nbsp;&nbsp; ball bell bill boll &nbsp; $grep&nbsp;&nbsp; &ldquo;b..d&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sample o/p:&nbsp;&nbsp;&nbsp;&nbsp; band book ba#d bad-d <strong>Note:</strong><strong>&nbsp;&nbsp; </strong>&ldquo;.&rdquo; &amp; &ldquo;*&rdquo; are wild card characters, it matcher any single character. $grep c[on]&nbsp;&nbsp;&nbsp;&nbsp; example $grep [0-9]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; example &nbsp; <strong>Word pattern:</strong> <strong>&nbsp;</strong> \&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /&gt; &THORN;&nbsp;&nbsp; word boundary \&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &THORN;&nbsp;&nbsp; starting of the word \&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &THORN;&nbsp;&nbsp; Ending of the word $grep&nbsp;&nbsp; &ldquo;/&lt;root/&gt;&rdquo; &nbsp;&nbsp;&nbsp;&nbsp; sample $grep&nbsp;&nbsp; &ldquo;\,root&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sample <strong>o/p:</strong> rootP Root 123O $grep&nbsp;&nbsp; &ldquo;root/&gt;&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sample <strong>o/p:</strong> &nbsp;rootP root123P xroot123O $ grep &ldquo;\&lt;[0-9][0-9][0-9][0-9]&gt;&rdquo;&nbsp; sample 1025P 112O 1356P</p>
<div class="tags">&nbsp;</div>fb:T2848,<h2>Line pattern in Unix</h2>
<p><strong>Anchors:</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ˄ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &THORN;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; start of the line. $&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &THORN;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End of the line . $grep &ldquo;˄d&rdquo;&nbsp;&nbsp; &nbsp;&nbsp; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line start with d $grep &ldquo;˄me&rdquo;&nbsp;&nbsp; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line start with me. $grep &ldquo;me$&rdquo;&nbsp;&nbsp; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line end with me $grep &ldquo;˄[˄aei]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Not start with a,e,i $grep&nbsp;&nbsp; &ldquo;[0-9]$&rdquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line ending with digit $grep&nbsp;&nbsp; &ldquo;˄unix$&rdquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line should contain only unix $grep&nbsp;&nbsp; &ldquo;˄$&rdquo;&nbsp;&nbsp;&nbsp;&nbsp; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; displays empty lines $grep &nbsp; &ldquo;˄&hellip;..$&rdquo; sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line should contain three characters &nbsp; <strong>Fgrep:</strong>&nbsp; To search the string more faster than the grep command $fgrep &ldquo;unix &gt;sas &gt;dba&rdquo;&nbsp; sample <strong>Egrep (extended grep):</strong> It is a combination of grep &amp; fgrep plus some additional regular expressions. $egrep &ldquo;(unix/oracle/sas)&rdquo;&nbsp;&nbsp;&nbsp;&nbsp; sample $ egrep ab{3}c sample&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exact occurrence of preceding character $egrep &ldquo;\&lt;[0-9] {4,7}/&gt;&rdquo; sample $egrep&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ab{3} c &THORN; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abbbc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; abbbbbc O&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; O <strong>&THORN;</strong><strong> Find:</strong> This filter is used to search the results by depending on requirements may be on name,inode, permissions, user &hellip;&hellip;&hellip;..etc. <strong>Syn:</strong> &nbsp;&nbsp;&nbsp; Find &lt;search path&gt; &lt;criteria&gt; &lt;action&gt; (a)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Based on name:</strong> $find&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -name passwd $find&nbsp;&nbsp; /home -name passwd $find&nbsp;&nbsp; /etc&nbsp;&nbsp;&nbsp;&nbsp; -name &lsquo;pass*&rsquo; $find&nbsp;&nbsp; .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -name linux (b)&nbsp; &nbsp;<strong>Based on size:</strong> +n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &THORN;&nbsp; for greater than n. -n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &THORN; for less than n. N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &THORN; for exactly n. $ find /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -size&nbsp;&nbsp;&nbsp;&nbsp; 4c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 character files $ find / -size&nbsp;&nbsp; +4c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; More than 4 character files $find /-size&nbsp;&nbsp;&nbsp;&nbsp; -4c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; less than 4 characters $find.-size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +50M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; More than 50M $find&nbsp;&nbsp; /etc/backup&nbsp;&nbsp;&nbsp; -size&nbsp;&nbsp;&nbsp;&nbsp; -50M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; less than 50m $find&nbsp;&nbsp; / -size&nbsp;&nbsp;&nbsp; +30M -size&nbsp;&nbsp;&nbsp;&nbsp; -50M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Between 30 to 50M &nbsp; (c) <strong>Based on permissions:</strong> $find&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -perm&nbsp; 644 $find&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -perm&nbsp; 665 $find&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -perm&nbsp; 777 (d) <strong>Based on Type:</strong> $find&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -type &nbsp; f &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To find files $find&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -type&nbsp;&nbsp; d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to find directories &nbsp; (e) <strong>Based on inode:</strong> $ find&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -inum&nbsp; 15253 $ find&nbsp; / root&nbsp; -inum&nbsp; 32512 $ find&nbsp; / home &ndash;inum&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 130123 &nbsp; (f) <strong>Based on time:</strong> M time &agrave; Modification time. C time &agrave; change time. A time &agrave; Access time. $ find / -m time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +10 $ find / -m time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -10 $find / -m time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 10</p>
<pre style="text-align: center;"><em><strong>Learn more about Linux&nbsp;Interview Questions in this blog post. Interested in mastering Linux&nbsp;? Check out this blog post to learn more <a href="https://tekslate.com/linux-training/" target="_blank" rel="noopener">Linux Training Videos</a></strong></em></pre>
<ul>
<li><strong>To find the file with access time:</strong></li>
</ul>
<p>$find&nbsp;&nbsp; / root&nbsp; -a time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 days ago $find&nbsp;&nbsp; / root -a time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -5 $ find&nbsp; / root&nbsp; -a time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 5 &nbsp;</p>
<ul>
<li><strong>To find the file with change time:</strong></li>
</ul>
<p>$ find&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +5 &ldquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -5 &ldquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 5 $find&nbsp;&nbsp; / &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -amin +5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File was last accessed 5 minutes ago $find &nbsp; / root&nbsp; -cmin&nbsp;&nbsp; +5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; File&rsquo;s status was last change 5 minutes ago $find&nbsp;&nbsp; / home&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -m min+5 $find&nbsp;&nbsp; .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -amin&nbsp; 5 &nbsp; (g) <strong>Based on user:</strong> $ find /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -user&nbsp;&nbsp;&nbsp; &lt;username&gt; $ find /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -user raju&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; particular user files. (h) <strong>Based on group</strong> $find&nbsp;&nbsp; / &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group&nbsp; &lt;group name&gt; $find&nbsp;&nbsp; /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group sales&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Particular group files. <strong>*</strong><strong>Path:</strong> It is the way of representing files &amp; directories in the system</p>
<ul>
<li>There are two types of paths.</li>
<li><strong>Absolute path:</strong> It is the way of representing files and directories from the top of hierarchy</li>
</ul>
<p>EX: &nbsp;&nbsp;&nbsp;&nbsp; $ls&nbsp; /root/world/asia/india/ap/hyd/ $cp&nbsp; /home/raju/linux/root/world/asia (ii) <strong>Relative path:</strong> It is the way of representing files and directories which are related to current directory. <strong>EX:</strong>&nbsp; $cd /home/raju/desktop $cp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linux&nbsp;&nbsp;&nbsp; unix/SQS $cd&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unix/sas $ls</p>fc:T3bde,<h2>Controls-Part Two: Using Pickers and Using the Camera</h2>
<h3>Key Skills &amp; Concepts</h3>
<ul>
<li>Using a UIDatePicker to select dates</li>
<li>Using a UIPickerView to select values</li>
<li>Using a UIPickerView with multiple components</li>
<li>Using a UIPickerView with UIImageView</li>
<li>Using the UIImagePickerController to control the camera and access the photo library</li>
<li>Using simple NSNotifications</li>
</ul>
<p>&nbsp; what do the UIPickerView and the UIImagePicker classes have in common? Nothing, really, other than they are both ultimately UIViews. But they are both controls you might use in an iPhone application, and so they are covered together in this second chapter on iPhone controls. This chapter&rsquo;s first half covers using the UIDatePicker and UIPickerView classes. These classes create visual controls that appear similar to Las Vegas slot machines. This chapter&rsquo;s second half covers using the UIImagePickerController. This class allows programmatically accessing an iPhone&rsquo;s camera, camera roll, and photo library. &nbsp;</p>
<h3>Using Pickers-Date Pickers and Pickers</h3>
<p>You use pickers to select one of several values. There are two types of pickers: Date Pickers and Pickers. Date pickers are used for selecting a date, time, or countdown interval. Pickers are used for selecting one of many values. &nbsp;</p>
<h3>Date Pickers</h3>
<p>Date pickers pick dates and times, placing the selected values in an NSDate class, and are implemented using the<a href="https://developer.apple.com/documentation/uikit/uidatepicker" target="_blank"> UIDatePicker</a> class. If using Interface Builder to develop an iPhone application, you drag a date picker onto your view&rsquo;s canvas from the library and modify the picker&rsquo;s properties in the Inspector. You then create an IBOutlet for the picker in your view&rsquo;s associated view controller and connect it to the picker on your view&rsquo;s canvas. The view controller uses this outlet to obtain the UIDatePicker object&rsquo;s selected date. The example later in this section illustrates this process. &nbsp;</p>
<h3>UIDatePicker</h3>
<p>A UIDatePicker has rotating wheels, allowing a user to select the date and time. If using a date picker to pick a date and time, valid modes are Date &amp; Time, Time, and Date. If using a date picker to pick a countdown time, the valid mode is Timer. Figure 13-1 illustrates the picker&rsquo;s visual appearance for the different modes. &nbsp; <img class="aligncenter wp-image-5305 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1217.png" alt="Slide121" width="691" height="529" /> &nbsp;</p>
<p style="text-align: center;">Figure 13-1 UIDatePicker has four modes: Date &amp; Time, Time, Date, and Timer.</p>
<p>There are several attributes you might change from the default when using a UIDatePicker. Figure 13- 2 illustrates the mode, locale, timeZone, date, minimumDate, maximumDate, and interval properties, as viewed in the Inspector. The locale is an NSLocale. This class encapsulates how the date should be formatted for a different date or culture. The timeZone is an NSTimeZone; its default value is the operating system&rsquo;s time zone. The minuteInterval is the minute intervals displayed by the picker. For instance, Figure 13- 3 illustrates a UIDatePicker using 30-minute intervals and a UIDatePicker using 1-minute intervals.</p>
<h3>NSDate</h3>
<p>UIDatePickers return values as an NSDate. You access a date picker&rsquo;s value through its date property. For instance, the following sets an NSDate from a UIDatePicker&rsquo;s date property. NSDate * theDate = self.datePicker.date; An NSDate is a date and time. Several NSDate methods you might use include isEqualToDate:, earlierDate:, compare:, and laterDate:. For a more complete understanding of date and time programming, refer to Apple&rsquo;s ―Date and Time Programming Guide for Cocoa,‖ available online. &nbsp; <img class="aligncenter wp-image-5307 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1223.png" alt="Slide122" width="615" height="620" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 13-2 Several UIDatePicker properties you might change in the Inspector</p>
<p>&nbsp; &nbsp; <img class="aligncenter wp-image-5310 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1233.png" alt="Slide123" width="317" height="577" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 13-3 A UIDatePicker showing 30-minute intervals and a UIDatePicker showing 1-minute intervals</p>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<h3>NSDateFormatter</h3>
<p>When you wish to display a date, you use an NSDateFormatter. An NSDateFormatter allows a date to be displayed as a formatted NSString. There are many formats you might use. For instance, consider the two formatters. NSDateFormatter * dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; [dateFormatter setDateFormat:@"MM/dd/yyyy"]; The ―MM/dd/yyyy‖ format outputs August 26, 2008, as ―08/26/2008." [dateFormatter setDateFormat:@"EEEE MMMM d',' yyyy"]; The ―EEEE MMMM d&rsquo;,&rsquo; yyyy‖ format outputs ―Tuesday August 26, 2008,‖ as the date. These are only two of many choices you might select to format dates and times. For more formats, refer to Apple&rsquo;s ―Data Formatting Programming Guide for Cocoa,‖ available online.</p>
<h3>Using a Date Picker</h3>
<ol>
<li>Create a new View-based Name the application DatePickerProject.</li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Add a date picker to the canvas and add a label (Figure 13-4).</strong></li>
<li><strong>Change the date picker&rsquo;s mode to Date (Figure 13-5).</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Open DatePickerProjectViewController and add an IBOutlet for the UIDatePicker and an IBOutlet for the UILabel (Listings 13-1 and 13-2). Also add an IBAction called Don&rsquo;t forget to release the two outlets in the dealloc method.</strong></li>
<li><strong>Save and Open DatePickerProjectViewController.xib in Interface Builder.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner datePicker outlet to the UIDatePicker on the Connect the File&rsquo;s Owner theLabel to the UILabel on the canvas.</strong></li>
</ol>
<p style="text-align: center;">Figure 13-4 Adding a UIDatePicker and UILabel to the view</p>
<p>&nbsp; <img class="aligncenter wp-image-5317 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1244.png" alt="Slide124" width="303" height="473" /> &nbsp; &nbsp;</p>
<p style="text-align: center;"><img class="alignleft wp-image-5318 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1253.png" alt="Slide125" width="250" height="600" /><img class="aligncenter wp-image-5321 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1263.png" alt="Slide126" width="299" height="461" /></p>
<p style="text-align: center;">Figure 13-5 Change a UIDatePicker&rsquo;s mode to Date</p>
<p style="text-align: center;"><img class="aligncenter wp-image-5322 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1273.png" alt="Slide127" width="628" height="683" /></p>
<p style="text-align: center;">Figure 13-6 Connecting to the UIDatePicker&rsquo;s value changed event</p>
<p>&nbsp;</p>
<ol>
<li><strong>Connect the File&rsquo;s Owner changeValue action to the UIDatePicker&rsquo;s Value Changed event</strong> <strong>(Figure</strong> <strong>13-6).</strong></li>
<li><strong>Save and exit Interface builder.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go and run the application in iPhone Simulator (Figure 13-7). The Debugger Console should have logging similar to Listing 13-3.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5323 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1283.png" alt="Slide128" width="301" height="562" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 13-7 The application running in iPhone Simulator</p>
<p>Listing 13-1 DatePickerProjectViewController.h #import &lt;UIKit/UIKit.h&gt; @interface DatePickerProjectViewController : UIViewController { IBOutlet UIDatePicker * datePicker; IBOutlet UILabel * theLabel; } @property (nonatomic, retain) IBOutlet UIDatePicker * datePicker; @property (nonatomic, retain) IBOutlet UILabel * theLabel; - (IBAction) changeValue: (id) sender; @end Listing 13-2 DatePickerProjectViewController.m #import "DatePickerProjectViewController.h" @implementation DatePickerProjectViewController @synthesize datePicker; @synthesize theLabel; - (IBAction) changeValue: (id) sender { NSDate * theDate = self.datePicker.date; NSLog(@"the date picked is: %@", [theDate description]); NSDateFormatter * dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; [dateFormatter setDateFormat:@"MM/dd/yyyy"]; NSLog(@"formatted: %@", [dateFormatter stringFromDate:theDate]); [dateFormatter setDateFormat:@"EEEE MMMM d',' yyyy"]; NSLog(@"formatted: %@", [dateFormatter stringFromDate:theDate]); [theLabel setText:[theDate description]]; } - (void)dealloc { [datePicker release]; [theLabel release]; &nbsp; [super dealloc]; } @end Listing 13-3 Debugger console output 2009-02-02 19:38:03.794 DatePickerProject[1033:20b] the date picked is: 2008-11-26 21:00:00 -0500 2009-02-02 19:38:03.795 DatePickerProject[1033:20b] formatted: 11/26/2008 2009-02-02 19:38:03.796 DatePickerProject[1033:20b] formatted: Wednesday November 26, 2008</p>
<h3>Using a UIDatePicker in Timer Mode</h3>
<p>UIDatePicker classes are also useful for selecting a duration for an NSTimer. A UIDatePicker selects an NSDate, which consists of a date and a time; therefore, you can create a timer using an NSDate&rsquo;s time. But a UIDatePicker does not implement a timer; it only provides a visual way to pick duration. You must then use this duration with an NSTimer. This task illustrates using a UIDatePicker to select a duration for an NSTimer and, in the process, illustrates using the NSCalendar, NSDateFormatter, and NSDateComponents classes.</p>
<ol>
<li><strong>Create a new View-based Application in Xcode named A Timer. </strong></li>
<li><strong>Create</strong> <strong>a new IBOutlet named timePicker for a UIDateTime and an IBAction called echoTime (Listing 13-4).</strong></li>
<li><strong>Implement</strong> <strong>the echoTime method so it implements an NSTimer that fires a timer every second (Listing 13-5).</strong></li>
<li><strong>Add a method called echoIt for the timer to call when </strong></li>
<li><strong>Open xib in Interface Builder and place a UIDatePicker on the canvas. Set the interval to one minute. Place a button on the canvas (Figure 13-8).</strong></li>
<li><strong>Change the picker&rsquo;s mode to Timer in the </strong></li>
<li><strong>Connect</strong> <strong>the file&rsquo;s owner timePicker property to the </strong></li>
<li><strong>Connect</strong> <strong>the file&rsquo;s owner echoTime action to the button&rsquo;s Touch Up Inside </strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5324 size-big" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1293-768x534.png" alt="Slide129" width="768" height="534" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 13-8 Adding a button to the canvas&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Figure 13-9 Running the application in iPhone Simulator &nbsp;</p>
<ol>
<li><strong>Save and exit Interface Builder.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go (Figure 13-9). The output to the Debugger Console should appear like Listing 13-6.</strong></li>
</ol>
<p>Listing 13-4 ATimerViewController.h #import &lt;UIKit/UIKit.h&gt; @interface ATimerViewController : UIViewController { IBOutlet UIDatePicker * timePicker; } @property (nonatomic, retain) IBOutlet UIDatePicker * timePicker;</p>
<ul>
<li>(IBAction) echoTime: (id) sender;</li>
<li>(void) echoIt: (NSTimer *) timer;</li>
</ul>
<p>@end Listing 13-5 ATimerViewController.m #import "ATimerViewController.h" @implementation ATimerViewController @synthesize timePicker; NSInteger seconds = 0; - (IBAction) echoTime: (id) sender { NSDate * time = timePicker.date; NSDateFormatter * dateFormatter = [[[NSDateFormatter alloc] init] autorelease]; [dateFormatter setDateFormat:@"HH:MM:SS"]; NSLog(@"date: %@",[dateFormatter stringFromDate:time]); NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier: NSGregorianCalendar]; NSDateComponents * comps = [gregorian components:(NSHourCalendarUnit | NSMinuteCalendarUnit) fromDate:time]; NSInteger hour = [comps hour]; NSInteger minute = [comps minute]; NSLog(@"Hour: %i", hour); NSLog(@"minute: %i", minute); NSInteger secs = hour * 60 * 60 + minute * 60; NSNumber * elapsedSeconds = [[NSNumber alloc] initWithInt:secs]; NSDictionary * myDict = [NSDictionary dictionaryWithObject: elapsedSeconds forKey:@"TotalSeconds"]; [NSTimer scheduledTimerWithTimeInterval:1 target: self selector: @selector(echoIt:) userInfo: myDict repeats: YES]; } - (void) echoIt: (NSTimer *) timer { NSNumber * num = (NSNumber *) [[timer userInfo] valueForKey:@"Total Seconds"]; seconds++; NSInteger secs = [num integerValue] - seconds; NSLog(@"elapsed: %i, remaining: %i", seconds, secs); }(void)dealloc { [timePicker release]; [super dealloc]; } @end Listing 13-6 The ATimer application logging to debugger console 2009-02-06 07:35:21.813 ATimer[540:20b] date: 01:12:00 2009-02-06 07:35:21.814 ATimer[540:20b] Hour: 1 &nbsp; 2009-02-06 07:35:21.814 ATimer[540:20b] minute: 11 2009-02-06 07:35:22.815 ATimer[540:20b] elapsed: 1, remaining: 4259 2009-02-06 07:35:23.815 ATimer[540:20b] elapsed: 2, remaining: 4258 --- snip --- 2009-02-06 07:35:31.815 ATimer[540:20b] elapsed: 10, remaining: 4250 This example code involves several concepts not covered elsewhere in this book. Notice the NSDictionary, NSCalendar, and NSDateComponents classes. The UIDatePicker picks the hours and minutes for the timer. Upon clicking the button, the echoTime method creates an NSCalendar and obtains date components from the time. After obtaining the total seconds, echoTime adds the seconds to an NSDictionary and creates a timer that fires every second. When firing, the timer calls the echoIt method, passing itself and the dictionary as parameters. The echoIt method obtains the seconds from the userInfo parameter. The echoIt method then determines the elapsed seconds and logs it to the Debugger Console.</p>fd:T1d89,<p><strong>&nbsp;</strong></p>
<ul>
<li>One of the key elements of connecting to different systems in the network configuration involved</li>
<li>A Network is a set of hardware devices connected together, either physically or logically to allow them to exchange information.</li>
<li>Network management is fairly easy when it comes to Ret Hat.</li>
<li>Most of the network configuration is kept in files; therefore, adjusting these settings is simple.</li>
<li>In the network system maintains the fully qualified domain name</li>
</ul>
<p>&nbsp;</p>
<table>
<tbody>
<tr>
<td width="582">\ F.Q.D.N = Hostname&nbsp;&nbsp;&nbsp; +&nbsp; Domain name</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Let&rsquo;s start by looking at the information about hostname &amp; networking</strong> &nbsp;</p>
<ul>
<li>To check the hostname: #hostname</li>
<li>To Managing hostname temporarily: &nbsp;---&gt;#hostname &nbsp;&nbsp;&nbsp; server254</li>
</ul>
<ul>
<li>To Managing permanently: #vim /etc/sysconfig/network</li>
</ul>
<p>NETWORKING &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =YES HOSTNAME &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = SERVER254 NETWORKING_IPV6=YES</p>
<ul>
<li>For avoiding graphical problems:</li>
</ul>
<p>#vi /etc/hosts 192.168.0.254 &nbsp;&nbsp; Server254. Example.com&nbsp;&nbsp;&nbsp; server254 :wq!</p>
<ul>
<li><strong>To Manging IP &ndash; Address:</strong></li>
<li><strong>To check the ipaddress:</strong></li>
</ul>
<p><strong>Syn:</strong> &nbsp;if config [options]&nbsp;&nbsp; [interface] <strong>Options:</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; netmask Up Down <strong>Ex: </strong><strong>&nbsp;</strong># if config&nbsp; ethʘ</p>
<ul>
<li>To display all interfaces on the system</li>
</ul>
<p>#ifconfig</p>
<ul>
<li><strong>To change ip address temporarily:</strong></li>
</ul>
<p>Syn: &nbsp;&nbsp;&nbsp; #if config ethʘ &lt;ip-address&gt; net mask &lt;sub net mask&gt; &lt;up/down&gt; #if config ethʘ 192.168.0.254 net mask&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 255.255.255.0 up #ifconfig ethʘ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To verify</p>
<ul>
<li><strong>To change permanently:</strong></li>
</ul>
<p>(a) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #setup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (b)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System-config-network-tui --&gt;&nbsp;you could also check the output of the interface config file #vim /etc/sysconfig/network-scripts/ifcfg- ethʘ Device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ethʘ BOOTPROTO&nbsp;&nbsp; =None ONBOOT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =Yes IPADDR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =192.168.0.254 NETMASK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 255.255.255.0 :wq &nbsp;</p>
<ul>
<li><strong>To check the interface detected (or) not:</strong></li>
</ul>
<p><strong>Syn:</strong> &nbsp;&nbsp;&nbsp; # eth tool &lt;interface&gt; # eth tool eth ʘ</p>
<ul>
<li><strong>To bring the signle interface down:</strong></li>
</ul>
<p>#ifdown eth ʘ</p>
<ul>
<li><strong>To restore the interface that you just brought down:</strong></li>
</ul>
<p>#ifup eth ʘ *<strong>Note:</strong></p>
<ul>
<li>Any time you make a change to an interface&rsquo;s settings, you need to bring dwon that interface and then bring it back u again.</li>
</ul>
<p><strong>WARNING:</strong><strong> &nbsp;</strong>Restarting the network service interrupts all network connections and any client that is currently connected.</p>
<ul>
<li><strong>Restart the network service as follows:</strong></li>
</ul>
<p><strong>Syn:</strong> # service &lt;service name&gt; &lt;stop/start/restart/status&gt; # service network restart</p>
<ul>
<li><strong>To check the all services status:</strong></li>
</ul>
<p># service &ndash; status &ndash; all</p>
<ul>
<li><strong>To Manage permanently:</strong></li>
</ul>
<p><strong>Syn:</strong> &nbsp;&nbsp;&nbsp; #chkconfig&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --level &lt;run levels&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;service name&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;on/off&gt; #chkconfig&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; network on</p>
<ul>
<li><strong>To check the status of the service:</strong></li>
</ul>
<p># chkconfig &ndash;list network</p>
<ul>
<li><strong>To disable the service at boot time:</strong></li>
</ul>
<p>#chkconfig network off &nbsp; &nbsp; <strong>Routing:</strong> &nbsp;&nbsp;When you have a system that has two or more network interfaces, they are called dual-bomed &nbsp;(or) multi bomed systems. You need to make sure that each interface has a gateway that&nbsp; it can route through. <strong>Syn:</strong> &nbsp;&nbsp;&nbsp; route &nbsp; [options, Add &nbsp;&nbsp;&nbsp; Add a net route Del&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Deletes an Existing route Flush&nbsp;&nbsp; Flushes any temporary routes</p>
<ul>
<li><strong>Let&rsquo;s look at the current routes on the system:</strong></li>
</ul>
<p># route</p>
<ul>
<li><strong>To set default gateway:</strong></li>
</ul>
<p>#route add default gw 192.168.0.1 ethʘ</p>
<ul>
<li><strong>To verify:</strong></li>
</ul>
<p># route</p>
<pre style="text-align: center;"><em><strong>Learn more about Linux&nbsp;Interview Questions in this blog post. 
Interested in mastering Linux&nbsp;? Check out this blog post to learn more <a href="https://tekslate.com/linux-training/" target="_blank" rel="noopener">Linux Training Videos</a></strong></em></pre>
<p><strong>Networking utilities:</strong> <strong>Ping:</strong> &nbsp;Tests the connectivity between two hosts #ping 192.168.0.254</p>
<ul>
<li>When you ping something on a linux host, unlike in windows, the ping continues until you cancel it. You can limit the number of ping requests sent by prefixing &ndash;c number &ndash; count in front of the destination host.</li>
</ul>
<p>#ping &ndash;c 3 192.168.0.254 <strong>Net stat:</strong> Shows information about connections (open, closed and listening).</p>
<ul>
<li>Using net stat command to obtain information on routing tables, listening sockets, and established connections.</li>
</ul>
<p><strong>Syn:</strong> net stat [options] <strong>Options:</strong> -r&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays the routing table. -I&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays interface statistics -t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shows tcp connections -U&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shows UDP connections -a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays all sockets (tcp, udp, or local) -p&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays process Id&rsquo;s -e&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Displays Extended information. &nbsp; --&gt;&nbsp;<strong>To check that the connection is available for your clients:</strong> # netstat&nbsp; - tuape&nbsp; / grep ssh <strong>Client DNS Troubleshooting:</strong> /etc/sysconfig/network : contains the hostname of the system /etc/hosts&nbsp; : contains the local IP to hostname mappings /etc/resolu.cong : contains the IP address of the DNS servers Nslookup : queries (or) looks up a domain name or system Ping&nbsp;&nbsp;&nbsp;&nbsp; : Test connectivity between two hosts. <strong>Ethernet Bonding:</strong> Ethernet bonding is used to combine multiple interfaces into one, creating an increase in available bandwidth and redundancy. This is done by creating a special network interface file called as a channel bonding interface.</p>fe:T4408,<h2>UIPickerView</h2>
<p>A UIPickerView allows the selection of one or more value sets. A UIPickerView consists of rows and components. Think of the component as the column and the row as the row. So ifyou had a three-wheel UIPickerView, the third wheel is the third component. A UIPickerView must have an associated class that adopts the UIPickerViewDelegate and a class that adopts the UIPickerViewDataSource. The same class can adopt both protocols. &nbsp;</p>
<h3>UIPickerViewDelegate</h3>
<p>The UIPickerViewDelegate protocol dictates how a UIPickerView is to construct itself. This protocol contains five methods a class might implement when adopting this protocol: the pickerView:rowHeightForComponent:, pickerView:widthForComponent:, pickerView :titleForRow:forComponent:, pickerView:viewForRow:forComponent:reusingView, and pickerView:didSelectRow:inComponent: methods. Width and Height The pickerView:rowHeightForComponent: and pickerView:widthFor Component: methods set a picker&rsquo;s component dimensions. Remember, a picker&rsquo;s component can contain rows of strings or view controls, like a UIImageView. These methods accommodate controls by allowing you to set a component&rsquo;s height and width. Each method&rsquo;s signature follows.</p>
<ul>
<li>(CGFloat)pickerView:(UIPickerView *) pickerView rowHeightForComponent:</li>
</ul>
<p>(NSInteger) component</p>
<ul>
<li>(CGFloat)pickerView:(UIPickerView *) pickerView widthForComponent:</li>
</ul>
<p>(NSInteger) component &nbsp; Content The pickerView:titleForRow:forComponent: and pickerView:viewForRow:for Component: methods provide a component&rsquo;s title or view. The title or the view is what is displayed as the rows in a picker. You must implement one of the two methods. If using a string, implement the pickerView:titleForRow:forComponent: method; if using a view, implement the pickerView:viewForRow:forComponent: method. Each method&rsquo;s signature follows.(NSString *)pickerView:(UIPickerView *)pickerView titleForRow: (NSInteger) row forComponent: (NSInteger) component(UIView *)pickerView:(UIPickerView *)pickerView viewForRow: (NSInteger) row forComponent:(NSInteger)component reusingView: (UIView *)view Selecting The UIPickerView calls the pickerView:didSelectRow:inComponent: method when a user selects a component&rsquo;s row. It takes the component&rsquo;s index number and the row&rsquo;s index number as parameters, so you can determine the component selected and the component&rsquo;s row. The method&rsquo;s signature follows.(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component UIPickerViewDatasource &nbsp; A UIPickerViewDatasource handles a UIPickerView&rsquo;s data. It contains two methods you should define when adopting this protocol: the numberOfComponentsInPickerView: and pickerView:numberOfRowsInComponent: methods. The numberOfComponentsInPickerView: method returns how many components, or columns, a picker must display.(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent: (NSInteger) component The pickerView:numberOfRowsInComponent: method returns a component&rsquo;s row count.(NSInteger)pickerView:(UIPickerView *)pickerView numberOfRowsInComponent: (NSInteger) component</p>
<h3>Using a Picker</h3>
<ol>
<li><strong>Create a new View-based Application named A Picker. </strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Drag</strong> <strong>a picker view from the library to the canvas. Right-click and notice that the control doesn&rsquo;t have the choices a UIDatePicker has (Figure 13-10).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5340 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1302.png" alt="Slide130" width="508" height="502" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Figure 13-10 A UIPickerView has less outlets and actions than a UIDatePicker &nbsp;</p>
<ol>
<li><strong>Add a button to the canvas.</strong></li>
<li><strong>Save and exit Interface Builder. </strong></li>
<li><strong>Create</strong> <strong>a new NSObject named MyPickerDelegate and change it to adopt the UIPickerViewDelegate and UIPickerViewDataSource Have MyPickerDelegate implement the needed methods (Listings 13-7 and 13-8).</strong></li>
<li><strong>Open APickerViewController and add IBOutlets for UIPickerView and MyPickerDelegate (Listing 13-9). Add an IBAction called </strong></li>
<li><strong>Implement</strong> <strong>the changeColor action (Listing 13-10).</strong></li>
<li><strong>Save and Open APickerViewController.xib in Interface Builder.</strong></li>
<li><strong>Connect</strong> <strong>File&rsquo;s</strong><strong> Owner changeColor action to the button&rsquo;s Touch Up Inside </strong></li>
<li><strong>Connect</strong> <strong>File&rsquo;s</strong><strong> Owner myPicker outlet to the </strong></li>
<li><strong>Drag</strong> <strong>an object from the library to the document Change the object&rsquo;s type to MyPickerDelegate.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner myPickerDelegate outlet to the object just added.</strong></li>
<li><strong>Connect</strong> <strong>the UIPickerView&rsquo;s dataSource and delegate outlets to the newly added </strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone size-full wp-image-5344" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1318.png" alt="Slide131" width="305" height="567" /></strong> <strong>&nbsp;</strong> Figure 13-11 Running the application in iPhone Simulator</p>
<ol>
<li><strong>Save and exit Interface Builder.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the application in iPhone Upon pushing the button, the debugger console logs the picker&rsquo;s chosen color (Figure 13-11 and Listing 13-11).</strong></li>
</ol>
<p>Listing 13-7 MyPickerDelegate.h #import &lt;Foundation/Foundation.h&gt; @interface MyPickerDelegate : NSObject &lt;UIPickerViewDelegate, UIPickerViewDataSource&gt; { &nbsp; NSArray * myData; } @property (nonatomic, retain) NSArray * myData; @end Listing 13-8 MyPickerDelegate.m #import "MyPickerDelegate.h" @implementation MyPickerDelegate @synthesize myData; - (id) init { if([super init] == nil) return nil; myData = [[NSArray alloc] initWithObjects:@"Red",@"Yellow",@"Green",@"Blue", @"Purple", @"Orange", @"Black", @"Gray", @"Tan", @"Pink", @"Coral", nil]; return self; }</p>
<ul>
<li>(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component {</li>
</ul>
<p>NSLog(@"picked row: %i, component: %i", row, component); NSLog(@"the value: %@", [self.myData objectAtIndex:row]); } (NSInteger) numberOfComponentsInPickerView: (UIPickerView *) pickerView { return 1; }(NSInteger) pickerView: (UIPickerView *) pickerView numberOfRowsInComponent: (NSInteger) component { return [self.myData count]; }(NSString *) pickerView: (UIPickerView *) pickerView titleForRow: (NSInteger) row forComponent: (NSInteger) component { return [self.myData objectAtIndex:row]; }(void)dealloc { [myData release]; [super dealloc]; } @end Listing 13-9 APickerViewController.h #import &lt;UIKit/UIKit.h&gt; #import "MyPickerDelegate.h" @interface APickerViewController : UIViewController { IBOutlet UIPickerView * myPicker; IBOutlet MyPickerDelegate * myPickerDelegate; } @property (nonatomic, retain) IBOutlet UIPickerView * myPicker; @property (nonatomic, retain) IBOutlet MyPickerDelegate * myPickerDelegate; - (IBAction) changeColor: (id) sender; @end Listing 13-10 APickerViewController.m #import "APickerViewController.h" @implementation APickerViewController @synthesize myPicker; @synthesize myPickerDelegate; NSLog(@"the color is: %@", (NSString *)[myPickerDelegate.myData objectAtIndex: [myPicker selectedRowInComponent:0]]); }(void)dealloc { [myPickerDelegate release]; [myPicker release]; [super dealloc]; } @end Listing 13-11 Debug console output from running APicker application [Session started at 2009-02-06 22:57:09 -0500.] 2009-02-06 22:57:13.007 APicker[429:20b] picked row: 1, component: 0 2009-02-06 22:57:13.008 APicker[429:20b] the value: Yellow 2009-02-06 22:57:14.687 APicker[429:20b] picked row: 3, component: 0 2009-02-06 22:57:14.687 APicker[429:20b] the value: Blue 2009-02-06 22:57:16.540 APicker[429:20b] picked row: 8, component: 0 2009-02-06 22:57:16.541 APicker[429:20b] the value: Tan 2009-02-06 22:57:17.499 APicker[429:20b] the color is: Tan 2009-02-06 22:57:21.215 APicker[429:20b] picked row: 10, component: 0 2009-02-06 22:57:21.215 APicker[429:20b] the value: Coral 2009-02-06 22:57:22.547 APicker[429:20b] the color is: Coral &nbsp; A UIPickerView must have helper classes adopting the UIPickerViewDelegate and UIPickerViewDataSource protocols. In this example, you had one class, MyPickerDelegate, adopt both protocols. The delegate uses a simple NSArray to hold NSString objects. Because the data is simple strings, the delegate implements the titleForRow method. When a user selects a row, the didSelectRow method logs the row, component, and value to the debugger console.</p>
<ol>
<li><strong>Open APicker application in Xcode.</strong></li>
<li><strong>Modify MyPickerDelegate&rsquo;s numberOfComponentsInPickerView to return the number 2 (Listing 13-13).</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Notice the picker now shows two independent spinning wheels (Figure 13-12).</strong></li>
<li><strong>Add a second value Call the array myData2 and initialize it in the init method, as you did before with myData (Listings 13-12 and 13-13).</strong></li>
<li><strong>Create</strong> <strong>two constants representing the different wheels: COLOR_WHEEL for the wheel containing the myData values and SHADE_WHEEL for the wheel containing the myData2 Remember, you define constants in a class&rsquo;s header file (Listing 13-12).</strong></li>
<li><strong>Modify the numberOfRowsInComponent method and titleForRow method to reflect the newly added </strong></li>
<li><strong>Open m and modify the changeColor method to reflect the second wheel (Listing 13-14).</strong></li>
</ol>
<p>&nbsp;</p>
<p style="text-align: left;">Figure 13-12 A UIPickerView with two components</p>
<p>&nbsp; <img class="alignleft wp-image-5361 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1319.png" alt="Slide131" width="301" height="551" /><img class="aligncenter wp-image-5362 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1323.png" alt="Slide132" width="301" height="574" /> &nbsp; Figure 13-13 Running the application in iPhone Simulator &nbsp;</p>
<ol start="8">
<li>Click Build And The application shows two wheels. Upon clicking the button, the debugger console logs the first wheel&rsquo;s color and the second wheel&rsquo;s shade (Figure 13-13 and Listing 13-15). Listing 13-12 MyPickerDelegate.h modified to reflect two wheels</li>
</ol>
<p>#import &lt;Foundation/Foundation.h&gt; #define COLOR_WHEEL 0 #define SHADE_WHEEL 1 @interface MyPickerDelegate : NSObject &lt;UIPickerViewDelegate, &nbsp; UIPickerViewDataSource&gt; { &nbsp; NSArray * myData; NSArray * myData2; } @property (nonatomic, retain) NSArray * myData; @property (nonatomic, retain) NSArray * myData2; @end Listing 13-13 MyPickerDelegate.m modified to reflect two wheels #import "MyPickerDelegate.h" @implementation MyPickerDelegate @synthesize myData; @synthesize myData2; - (id) init { if([super init] == nil) return nil; myData = [[NSArray alloc]initWithObjects: @"Red", @"Yellow", @"Green", @"Blue", @"Purple", @"Orange", @"Black", @"Gray", @"Tan", @"Pink", @"Coral", nil]; myData2 = [[NSArray alloc] initWithObjects: @"Very Dark", @"Dark", @"Normal", @"Light", @"Very Light", nil]; return self; }(NSInteger) numberOfComponentsInPickerView: (UIPickerView *) pickerView { return 2; }(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component { NSLog(@"picked row: %i, component: %i", row, component); if(component == COLOR_WHEEL) NSLog(@"the value: %@", [self.myData objectAtIndex:row]); else NSLog(@"the value: %@", [self.myData2 objectAtIndex:row]); } - (NSInteger) pickerView: (UIPickerView *) pickerView numberOfRowsInComponent: (NSInteger) component { if(component == COLOR_WHEEL) return [self.myData count]; else return [self.myData2 count]; } - (NSString *) pickerView: (UIPickerView *) pickerView titleForRow: (NSInteger) row forComponent: (NSInteger) component { if(component == COLOR_WHEEL) return [self.myData objectAtIndex:row]; else return [self.myData2 objectAtIndex:row]; } - (void)dealloc { [myData release]; [myData2 release]; [super dealloc]; } @end &nbsp; Listing 13-14 The changeColor method modified to reflect two wheels - (IBAction) changeColor: (id) sender { NSLog(@"the color is: %@ and the shade is: %@", (NSString *) [myPickerDelegate.myData objectAtIndex: [myPicker selectedRowInComponent: COLOR_WHEEL]], (NSString *)[myPickerDelegate .myData2 objectAtIndex: [myPicker selectedRowInComponent:SHADE_ WHEEL]]); } Listing 13-15 Debugger console logging from running APicker application [Session started at 2009-02-06 23:01:29 -0500.] 2009-02-06 23:01:32.630 APicker[550:20b] picked row: 7, component: 0 2009-02-06 23:01:38.632 APicker[550:20b] the value: Orange --- snip --- 2009-02-06 23:01:39.508 APicker[550:20b] the color is: Orange and the shade is: Very Light Using more components involves adding code to check which component was selected. But note, rather than using the raw integers, in this task, you created constants for both components. Each delegate&rsquo;s method then checks which component the user selected. if(component == COLOR_WHEEL) return [self.myData objectAtIndex:row]; else return [self.myData2 objectAtIndex:row]; &nbsp;</p>
<h3>Loading UIImageViews into a UIPickerView</h3>
<ol>
<li><strong>Open the APicker application created earlier&mdash;not the project with two components, but the </strong><strong>earlier</strong> <strong>project</strong> <strong>with only one component.</strong></li>
</ol>
<ol start="2">
<li><strong>Replace</strong> <strong>the pickerView:titleForRow:forComponent: method in MyPickerDelegate with pickerView:viewForRow:forComponent: (Listing 13-16).</strong></li>
<li><strong>Add the images png, wizard.png, and tux.png to the project. You can find these images in the book&rsquo;s resources folder.</strong></li>
</ol>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modify the MyPickerDelegate&rsquo;s init: method so it loads UIImageViews rather than strings into myData (Listing 13-16).</strong></p>
<ol start="4">
<li><strong>Modify the pickerView:didSelectRow:inComponent: so it only logs the row and component to the debugger console (Listing 13-16).</strong></li>
<li><strong>Save and build.</strong></li>
<li><strong>Open xib and remove the button.</strong></li>
<li><strong>Save and exit Interfacebuilder.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And The application loads the images into the UIPickerView (Figure 13- 14).</strong></li>
</ol>
<p>NOTE Notice that the pickerView:viewForRow:forComponent method takes a UIView. So, similar to custom table cells, you can also create custom picker rows using a UIView. &nbsp;</p>
<p style="text-align: left;">Figure 13-14 A UIPickerView that uses UIImageView objects as its components</p>
<p>&nbsp; <img class="alignnone size-full wp-image-5364" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1324.png" alt="Slide132" width="315" height="563" /> &nbsp; &nbsp; &nbsp; Listing 13-16 MyPickerDelegate.m modified to load images into the UIPickerView #import "MyPickerDelegate.h" @implementation MyPickerDelegate @synthesize myData; - (id) init { if([super init] == nil) return nil; UIImageView * one = [[UIImageView alloc] initWithImage:[[UIImage alloc] initWithContentsOfFile: [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"wizard.png"]]]; UIImageView * two =[[UIImageView alloc] initWithImage:[[UIImage alloc] initWithContentsOfFile: [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: @"tux.png"]]]; UIImageView * three =[[UIImageView alloc] initWithImage:[[UIImage alloc] initWithContentsOfFile: [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"money.png"]]]; myData = [[NSArray alloc] initWithObjects:one,two,three,nil]; return self; }(void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent: (NSInteger)component { NSLog(@"picked row: %i, component: %i", row, component); }(NSInteger) numberOfComponentsInPickerView: (UIPickerView *) pickerView { return 1; }(NSInteger) pickerView: (UIPickerView *) pickerView numberOfRowsInComponent: (NSInteger) component { &nbsp; return [self.myData count]; }(UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger) row forComponent:(NSInteger)component reusingView:(UIView *)view { return [self.myData objectAtIndex:row]; } @end</p>ff:T45e2,<h2>Using the Camera-UIImagePickerController</h2>
<p>Rather than working directly with an iPhone&rsquo;s camera, you use the UIImagePickerController to manipulate an iPhone&rsquo;s camera and photo library. Using the UIImagePickerController, you take, or select, a photo, optionally edit the photo, and then dismiss the UIImagePickerController, returning control back to your application. &nbsp;</p>
<h3>UIImagePickerController</h3>
<p>The UIImagePickerController is different from other view controllers. Rather than developers creating the controller&rsquo;s view and adding components to the view&rsquo;s canvas, the UIImage PickerController&rsquo;s views are already created and are part of the UIKit library. Developers simply determine the controller&rsquo;s source type and implement a delegate for the controller. The controller creates and manages the views while the delegate responds to the view being dismissed by a user.</p>
<h3>Source</h3>
<p>The iPod touch, as of this book&rsquo;s publication, does not have a camera. The iPhone Simulator also lacks a camera. If you attempted to use an iPod touch&rsquo;s nonexistent camera, you would obtain an exception. Attempting to use the camera on an iPhone Simulator results in a nonresponsive application after it logs a message to the debugger console (Figure 13-15). 2009-02-09 06:50:30.164 CameraProject[216:20b] photos can only be captured on HW To avoid an exception or nonresponsive application, the UIImagePickerController provides the isSourceTypeAvailable: method. + (BOOL)isSourceTypeAvailable:(UIImagePickerControllerSourceType) sourceType This method returns YES if a source type is available and NO if unavailable. Valid source types are UIImagePickerControllerSourceTypePhotoLibrary, for selecting images from the photo library; UIImagePickerControllerSourceTypeCamera, for selecting images from the camera; and UIImagePickerControllerSourceTypeSavedPhotosAlbum, for selecting images from a camera roll, or from the photo library if the device doesn&rsquo;t have a camera. After ensuring a device has a source type, you set the UIImagePickerController&rsquo;s sourceType property. This property determines what controls the UIImagePickerController displays. Allowable source types are the same as with the isSourceTypeAvailable: method. &nbsp;</p>
<h3>Editing and Delegating</h3>
<p>The controller also has an allowsImageEditing property and delegate property. The allowsImageEditing property determines if a user should be allowed to edit an image after taking or selecting the image. The delegate property specifies the class&rsquo;s UIImagePicker ControllerDelegate. &nbsp; <img class="aligncenter wp-image-5403 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1333.png" alt="Slide133" width="718" height="579" /> &nbsp;</p>
<p style="text-align: center;">&nbsp;Figure 13-15 Using a camera on the iPhone Simulator results in a nonresponsive application.</p>
<p>&nbsp;</p>
<h3>&nbsp;</h3>
<h3>UIImagePickerControllerDelegate</h3>
<p>The UIImagePickerControllerDelegate&rsquo;s protocol has two methods your delegate should implement for the image picker. The imagePickerController:didFinishPickingMediaWithInfo :info: method is called after a user selects an image. This could be selecting an image from a camera roll or photo library, or after taking a photo using the camera. The method&rsquo;s signature follows.(void)imagePickerController:(UIImagePickerController *) picker didFinishPickingMediaWithInfo: (NSDictionary *) info; If you cancel a photo selected, the imagePickerControllerDidCancel: method is called. The method&rsquo;s signature follows.(void)imagePickerControllerDidCancel:(UIImagePickerController *)picker The imagePickerController:didFinishPickingMediaWithInfo: info: has three parameters. The first parameter holds a reference to the image picker, the second to the image picked, and the third parameter references an NSDictionary containing editing information. If editing is disabled, the third parameter holds nil. If editing is enabled, the parameter holds the unedited image and the cropped rectangle. For more information on the imagePickerController:didFinish PickingMediaWithInfo:info method, refer to Apple&rsquo;s online UIImagePickerControllerDelegate Reference. &nbsp; &nbsp;</p>
<h3>Using the UIImagePickerController</h3>
<h3>NOTE</h3>
<p>Using the camera or camera roll requires having an iPhone, a developer&rsquo;s membership, and a provision for this example application. You can select a photo from a photo album using the iPhone Simulator, however. To accommodate more readers, this task limits itself to the iPhone Simulator&rsquo;s photo library.</p>
<ol>
<li><strong>Create a new View-based Name the project CameraProject.</strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Drag</strong> <strong>a toolbar from the library onto the view&rsquo;s </strong></li>
<li><strong>Rename</strong> <strong>the first button Take Add another button to the toolbar and call it Select Photo. Add a UIImageView to the canvas (Figure 13-16).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5407 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1343.png" alt="Slide134" width="304" height="476" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 13-16 The application&rsquo;s canvas</p>
<ol>
<li><strong>Save and quit Interface Builder.</strong></li>
<li><strong>Create</strong> <strong>a new NSObject called Modify the class so it adopts the UINavigationControllerDelegate and UIImagePickerControllerDelegate protocols (Listing 13-17). Add a property that contains the UIImage that the image picker will select.</strong></li>
<li><strong>Implement</strong> <strong>the imagePickerController methods (Listing 13-18).</strong></li>
<li><strong>Open h and import MyImagePickerDelegate. Add an IBOutlet for MyImagePickerDelegate and add an IBOutlet for the UIImageView added to the canvas (Listing 13-19).</strong></li>
<li><strong>Add two IBActions to Name one action takePicture and the other selectPicture (Listing 13-20). Implement both methods as shown in Listing 13- 20.</strong></li>
<li><strong>Implement</strong> <strong>the viewDidLoad method in CameraProjectViewController so the method ensures the camera is supported (Listing 13-20).</strong></li>
</ol>
<p>NOTE If running on the iPhone Simulator, comment the code in viewDidLoad that checks if a camera is available. Be certain to only click the Select Photo button. &nbsp;</p>
<ol>
<li><strong>Save and build.</strong></li>
<li><strong>Open xib in Interface Builder.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner theImageView outlet to the UIImageView on the </strong></li>
<li><strong>Connect</strong> <strong>the selectPicture action to the Select Photo button and the takePicture action to the Take Photo </strong></li>
<li><strong>Drag</strong><strong> an object from the library to the Document Change its type to MyImagePickerDelegate.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner imagePickerDelegate outlet to the newly created </strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>If</strong> <strong>you wish to use the camera, follow the necessary steps to register and provision the application so you can install it on your Otherwise, use the Select Photo button and select a photo from the SDK&rsquo;s photo albums.</strong></li>
<li><strong> Run the application. Everything works as expected, except notice that the view&rsquo;s image is not set to the image selected by the image picker.</strong></li>
</ol>
<p>Listing 13-17 MyImagePickerDelegate.h #import &lt;Foundation/Foundation.h&gt; @interface MyImagePickerDelegate : NSObject &lt;UINavigationController Delegate, UIImagePickerControllerDelegate&gt; { UIImage * selectedImage; } @property (nonatomic, retain) UIImage * selectedImage; @end Listing 13-18 MyImagePickerDelegate.m #import "MyImagePickerDelegate.h" @implementation MyImagePickerDelegate @synthesize selectedImage; - (void) imagePickerControllerDidCancel: (UIImagePickerController *) picker { [picker.parentViewController dismissModalViewControllerAnimated: YES]; [picker release]; }(void)imagePickerController:(UIImagePickerController *) picker didFinishPickingMediaWithInfo:(NSDictionary *) info { selectedImage = (UIImage*)[info objectForKey:UIImagePickerControllerOriginalImage]; [picker.parentViewController dismissModalViewControllerAnimated: YES]; [picker release]; }(void) dealloc { [selectedImage release]; [super dealloc]; } @end Listing 13-19 CameraProjectViewController.h #import &lt;UIKit/UIKit.h&gt; #import "MyImagePickerDelegate.h" @interface CameraProjectViewController : UIViewController { IBOutlet MyImagePickerDelegate * imgPickerDelegate; IBOutlet UIImageView * theImageView; } &nbsp; @property (nonatomic, retain) MyImagePickerDelegate * imgPickerDelegate; @property (nonatomic, retain) UIImageView * theImageView;</p>
<ul>
<li>(IBAction) takePicture: (id) sender;</li>
<li>(IBAction) selectPicture: (id) sender;</li>
</ul>
<p>@end Listing 13-20 CameraProjectViewController.m #import "CameraProjectViewController.h" @implementation CameraProjectViewController @synthesize imgPickerDelegate; @synthesize theImageView; - (void) viewDidLoad { [super viewDidLoad]; if(!([UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeCamera])) { NSLog(@"Camera not supported....quitting application"); UIAlertView * myAlert = [[UIAlertView alloc] initWithTitle:@"Camera Error" message:@"Camera Not Supported. Application will terminate." delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil]; [myAlert show]; [myAlert release]; //warning - terminate is undocumented api [[UIApplication sharedApplication] terminate]; } } - (IBAction) takePicture: (id) sender { UIImagePickerController * pickCont = [[UIImagePickerController alloc] init]; pickCont.delegate = imgPickerDelegate; pickCont.allowsImageEditing = YES; pickCont.sourceType = UIImagePickerControllerSourceTypeCamera; [self presentModalViewController:pickCont animated:YES]; NSLog(@"heynow"); } - (IBAction) selectPicture: (id) sender { UIImagePickerController * pickCont = [[UIImagePickerController alloc] init]; pickCont.delegate = imgPickerDelegate; pickCont.allowsImageEditing = YES; pickCont.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; [self presentModalViewController:pickCont animated:YES]; NSLog(@"heynow"); if(self.imgPickerDelegate.selectedImage != nil) self.theImageView.image = self.imgPickerDelegate.selectedImage; } - (void)dealloc { [theImageView release]; [imgPickerDelegate release]; [super dealloc]; } @end &nbsp; &nbsp; Nothing happens after selecting or taking a photo, unless you click one of the application&rsquo;s buttons a second time. The photo previously selected is then displayed (Figure 13-17). What is supposed to happen is that the theImageView in CameraProjectViewController should display the newly taken photo. You might think that placing the following lines in the selectPicture would solve the problem, but they do not. if(self.imgPickerDelegate.selectedImage != nil) self.theImageView.image = self.imgPickerDelegate.selectedImage; Notice the ―heynow‖ logging added to the delegate&rsquo;s methods. Immediately after displaying the image picker, the debugger console logs ―heynow.‖ If the logging does not wait for the image picker to finish, the two lines setting the image don&rsquo;t wait either, and so the image isn&rsquo;t set correctly until the next time you push one of the application&rsquo;s two buttons. CameraProjectController must be changed so it is notified when a picture is taken so it can update its view. There are two ways you might fix the image not displaying. First, you could add a reference to the CameraProjectViewController in MyImagePickerDelegate, but I dislike this solution. Why? Adding a CameraProjectViewController to MyImagePickerDelegate as a property introduces close coupling between the two classes. You can never again reuse MyImagePickerDelegate, unless you reuse CameraProjectViewController. Unacceptable. A better solution, in my humble opinion, is using a notification.</p>
<h3>Notifications</h3>
<p>If you have ever used Java listeners, you already know a notification&rsquo;s basic workings. Cocoa&rsquo;s notifications are similar to Java&rsquo;s listeners, only easier and more flexible. Every Cocoa application has a notification center, NSNotificationCenter. Classes in your application can post notifications, NSNotification, to the notification center. Other classes can register with the notification center to listen for notifications. Through notifications, classes can communicate with each other without even knowing about one another&rsquo;s existence. Although this book doesn&rsquo;t present notifications with any detail, in the next few steps, you add a notification to the CameraProjectViewController. &nbsp; <img class="alignleft wp-image-5411 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1344.png" alt="Slide134" width="272" height="495" /><img class="alignright wp-image-5414 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1353.png" alt="Slide135" width="276" height="497" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <img class="alignleft wp-image-5419 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/New-Microsoft-PowerPoint-Presentation8.png" alt="New Microsoft PowerPoint Presentation" width="260" height="480" /> &nbsp; <img class="alignright wp-image-5415 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1354.png" alt="Slide135" width="280" height="499" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <img class="aligncenter wp-image-5416 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1363.png" alt="Slide136" width="286" height="498" /> Figure 13-17 Running the application in iPhone Simulator and using the provided photo library Refer to Apples Introduction to Notification Programming Topics for more information on using notifications. &nbsp; &nbsp;</p>
<ol>
<li><strong>Open CameraProject in Xcode.</strong></li>
<li><strong>Modify the imagePickerController;didFinishPickingMediaWithInfo:info: method to post a</strong></li>
</ol>
<p><strong>notification</strong> <strong>(Listing</strong> <strong>13-21).</strong></p>
<ol start="3">
<li><strong>Add a method called changeImage to CameraProjectViewController (Listing 13-22).</strong></li>
<li><strong>Modify viewDidLoad so it observes the notification (Listing 13-23). Also, modify dealloc so it unregisters itself as a notification </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Now the application sets the UIImageView&rsquo;s image as expected.</strong></li>
</ol>
<p>&nbsp; Listing 13-21 The didFinishPickingMediaWithInfo modified to post a notification - (void)imagePickerController:(UIImagePickerController *) picker didFinishPickingMediaWithInfo:(NSDictionary *) info { self.selectedImage = (UIImage*)[info objectForKey:UIImagePickerControllerOriginalImage]; [[NSNotificationCenter defaultCenter] postNotificationName:@"Image Picked" object:nil]; [picker.parentViewController dismissModalViewControllerAnimated:YES]; [picker release]; } Listing 13-22 The changeImage method - (void) changeImage { NSLog(@"IMAGE CHANGED"); self.theImageView.image = self.imgPickerDelegate.selectedImage; } Listing 13-23 The viewDidLoad method modified to have CameraViewController observe the notification - (void) viewDidLoad { [super viewDidLoad]; if(!([UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeCamera])) { NSLog(@"Camera not supported....quitting application"); UIAlertView * myAlert = [[UIAlertView alloc] initWithTitle:@"Camera Error" message:@"Camera Not Supported. Application will terminate." delegate:nil cancelButtonTitle:nil otherButtonTitles:@"OK", nil]; [myAlert show]; [myAlert release]; //warning - terminate is undocumented api [[UIApplication sharedApplication] terminate]; } [[NSNotificationCenter defaultCenter] addObserver:self selector: @selector(changeImage) name:@"ImagePicked" object:nil]; } - (void) dealloc { [super dealloc]; [theImageView release]; [imgPickerDelegate release]; [ [NSNotificationCenter defaultCenter] removeObserver:self]; } In this task, you created an application that uses the UIImagePickerController to control an iPhone&rsquo;s camera. You created two buttons, one for taking a photo using the camera and one for selecting an image from the photo library. If you obtained provisioning for the application and installed the provisioning on your iPhone, you could install the application on your iPhone and use the camera (Figure 13-18). But instead, you selected photos from the photo library and ran the application on the iPhone Simulator. &nbsp;</p>
<p style="text-align: center;">Figure 13-18 Using the camera on an iPhone</p>
<p>&nbsp; <img class="aligncenter wp-image-5423 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1372.png" alt="Slide137" width="694" height="405" /> &nbsp; &nbsp; <img class="aligncenter wp-image-5424 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1382.png" alt="Slide138" width="267" height="402" /></p>100:T5c3f,<h2>Data Persistence Using SQLite</h2>
<h3>Key Skills &amp; Concepts</h3>
<ul>
<li>Creating a database and adding data to it</li>
<li>Including the database in Xcode</li>
<li>Reading from a database</li>
<li>Making a database writable</li>
<li>Inserting a record</li>
<li>Updating a record</li>
<li>Deleting a record</li>
</ul>
<p>&nbsp; The SQLite database is a popular open-source database written in C. The database is small and designed for embedding in an application. Unlike a database such as Oracle, SQLite is a C library included when compiling a program. SQLite is part of the standard open-source Linux/BSD server stack, and as OS X is essentially FreeBSD, it was only natural Apple chose SQLite as the iPhone&rsquo;s embedded database.</p>
<h3>Adding a SQLite Database</h3>
<p>Adding a SQLite database to your project involves two steps. First, you must create the database. In this chapter&rsquo;s first task, you create a database using the Firefox SQLite Manager plug-in. Second, you must add the SQLite library to your Xcode project. The first task also illustrates adding the SQLite library to your Xcode project. After creating the database and loading it, you can then use the database programmatically using its C programming interface.</p>
<h3>Creating a Simple Database Using FireFox SQLite Manager</h3>
<ol>
<li><strong>If you don&rsquo;t already have Firefox, download and install it.</strong></li>
<li><strong>Select Add-ons from the Tools menu (Figure 16-1).</strong></li>
<li><strong>Select</strong> <strong>Get Add-ons, type SQLite in the search box, and install SQLite </strong></li>
<li><strong>Once installed and you have restarted Firefox, select Tools | SQLite </strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5436 size-big" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1392-768x570.png" alt="Slide139" width="768" height="570" /></strong></p>
<p style="text-align: center;"><strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 16-1 Adding SQLite Manager to Firefox</p>
<p>&nbsp; &nbsp;</p>
<ol>
<li><strong>Select</strong> <strong>the New icon (the blank paper graphic), and create a new database named Note SQLite Manager automatically adds the .sqlite extension.</strong></li>
<li><strong>Click</strong> <strong>Create</strong> <strong>Table</strong> <strong>and create a new table named </strong></li>
<li><strong>Add three columns: id, name, and Make id an INTEGER and check Primary Key and Autoinc check boxes.</strong></li>
<li><strong>Make</strong> <strong>name</strong> <strong>a VARCHAR and check only Allow </strong></li>
<li><strong>Make</strong> <strong>photo a BLOB and check only Allow </strong></li>
<li><strong>Your screen should resemble Figure 16-2.</strong></li>
<li><strong>Click</strong> <strong>OK and the SQLite Manager generates the database table.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="aligncenter wp-image-5437 size-big" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1402-768x435.png" alt="Slide140" width="768" height="435" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;"><strong>&nbsp;</strong>Figure 16-2 Creating a database using SQLite Manager</p>
<p>&nbsp; NOTE SQLite does not enforce foreign key relationships. You must instead write triggers manually to enforce foreign key relationships. SQLite does not support right outer joins or full outer joins. SQLite views are read-only. &nbsp;</p>
<ol>
<li><strong>Click the Browse &amp; Search tab, and then click the Add Record Button.</strong></li>
<li><strong>In</strong> <strong>the action sheet, leave id Name the name Icon One. Notice the small paperclip beside photo. Move your mouse over the paperclip, and the tooltip should say ―Add File as a Blob‖ (Figure 16-3). Click the paperclip and add a photo from the book&rsquo;s Resources folder. If the photo column doesn&rsquo;t say something like BLOB (Size: 65984), the file was not added as a blob.</strong></li>
<li><strong>Click</strong> <strong>OK,</strong> <strong>and the record is Add another record, selecting any image from this book&rsquo;s Resources folder.</strong></li>
<li><strong>From</strong> <strong>the menu, select Database | Close Database and close the Exit and quit Firefox.</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;<img class="aligncenter wp-image-5438 size-big" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1418-768x434.png" alt="Slide141" width="768" height="434" /></strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;">Figure 16-3 Adding a record using SQLite Manager</p>
<p>&nbsp;</p>
<ol>
<li><strong>Open Xcode and create a new View-based Name the application MyDBProject.</strong></li>
<li><strong>Select</strong> <strong>Frameworks</strong> <strong>in Groups &amp; Right-click Frameworks and select Add | Existing Frameworks from the pop-up menu.</strong></li>
<li><strong>Navigate to your iPhone Simulator&rsquo;s sdk</strong></li>
<li><strong>Navigate to usr/lib and add 0.dylib to the project.</strong></li>
<li><strong>Add the database file to the Resources in Groups &amp; Like a photo, check the Copy Items check box.</strong></li>
<li><strong>This</strong> <strong>task</strong> <strong>is Do not delete the project or database, as you use them for this chapter&rsquo;s remainder.</strong></li>
</ol>
<p>NOTE On my computer, adding binary data using SQLite Manager is buggy. Sometimes it works, sometimes not. If getting the file&rsquo;s content added is problematic, a workaround is to add the record and insert Null for the blob&rsquo;s value. After inserting, update the row, and add the file&rsquo;s content. Updating the blob seems more stable in SQLite Manager.</p>
<h3>Basic SQLite Database Manipulation</h3>
<p>If you have ever used a database from within a programming language, SQLite database manipulation using C should seem intuitive. You open the database. You create a prepared statement containing an SQL string. That statement might have one or more parameters you bind values to. After binding, you execute the statement. If the statement returns results, you loop through each record and load the record&rsquo;s column values into your program&rsquo;s variables. After looping through all records, you finalize the statement, and, if you are finished with the database, you close the database. The steps are similar for most languages and databases.</p>
<h3>Opening the Database</h3>
<p>You open a database using the sqlite3_open, sqlite_open16, or sqlite3_open_v2 commands. This chapter uses the sqlite3_open command exclusively. The sqlite3_open command takes a database filename as a UTF-8 string and opens the database. Listing 16-1, taken from the SQLite&rsquo;s online documentation, lists the sqlite_open3 method signature. &nbsp; &nbsp; Listing 16-1 The sqlite3_open method signature (from SQLite online documentation) int sqlite3_open( const char *filename, /* Database filename (UTF-8) * / sqlite3 **ppDb /* OUT: SQLite db handle */ ); The method returns an integer as the method&rsquo;s success or failure code. Listing 16-2, from the SQLite online documentation, lists several common result codes. Listing 16-2 SQLite return codes (taken from SQLite online documentation) #define SQLITE_OK #define SQLITE_ERROR #define SQLITE_READONLY database */ #define SQLITE_INTERRUPT #define SQLITE_IOERR occurred */ #define SQLITE_CANTOPEN #define SQLITE_MISMATCH #define SQLITE_ROW ready */ #define SQLITE_DONE executing */ 0 /* Successful result */ 1 /* SQL error or missing database */ 8/* Attempt to write a readonly 9/* Operation terminated by 10/* Some kind of disk I/O error 14 /* Unable to open the database file */ 20 /* Data type mismatch */ 100/* sqlite3_step() has another row 101/* sqlite3_step() has finished</p>
<h3>Statements, Preparing Statements,and Executing Statements</h3>
<p>There are two primary ways of executing SQL statements using SQLite&rsquo;s C interface. One method is the sqlite3_exec method. Although a powerful method, it is more advanced C programming, and so this chapter uses the sqlite3_stmt structure and the sqlite3_prepare_v2 and sqlite3_step statements instead of the sqlite3_exec function.</p>
<h3>The SQLite sqlite3_stmt</h3>
<p>The sqlite3_stmt encapsulates a SQL statement. For instance, ―select * from photos‖ is a SQL statement. In your program, you encapsulate this SQL string using a statement. For instance, the following code snippet illustrates creating a SQL string, initializing a statement, and loading the statement (Listing 16-3). Listing 16-3 Using a sqlite3_stmt in a C program const char *sqlselect = "SELECT id,name,photo FROM photos"; static sqlite3_stmt *statement = nil; sqlite3_prepare_v2(database, sqlselect, -1, &amp;statement, NULL);</p>
<h3>The SQLite sqlite3_prepare_v2 Method</h3>
<p>You load a SQL string into a statement using sqlite3_prepare methods. The prepare methods are sqlite3_prepare, sqlite3_prepare_v2, sqlite3_prepare_16, and sqlite3_prepare16_v2. This chapter uses only the sqlite3_prepare_v2 method. Notice the prepare statement takes a C string, not an NString, but getting the C string from an NString is not difficult&mdash;simply call the NSString&rsquo;s UTF8String method. The sqlite3_prepare_v2 method&rsquo;s signature is in Listing 16-4. Notice, like the open statements, the prepare statement returns an integer result code you should check when calling the method. &nbsp; Listing 16-4 The sqlite3_prepare_v2 method signature (taken from the SQLite online documentation) int sqlite3_prepare_v2( sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt **ppStmt, /* OUT: Statement handle */ const char **pzTail&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* OUT: Pointer to unused portion of zSql */ ); /* Database handle */ /* SQL statement, UTF-8 encoded */ /* Maximum length of zSql in bytes. */</p>
<h3>The SQLite sqlite3_step Method</h3>
<p>The sqlite3_step method executes a prepared statement. You must call this method at least once. For instance, when calling insert or update, you call sqlite3_step once. You only call it once because these statements do not result in a record set being returned from the database. When selecting data, you typically call this method multiple times until you receive no more results. The following is the method&rsquo;s signature. int sqlite3_step(sqlite3_stmt*); Like the other SQLite methods, this method returns a response code you should check after calling the method.</p>
<h3>Select</h3>
<p>You select one or more records from a SQL database using a select statement. Because a select statement usually returns multiple rows, you must loop through the row set if you wish to obtain all records. while (sqlite3_step(statement) == SQLITE_ROW){ //process row here }</p>
<h3>Obtaining SQLite Column Values</h3>
<p>You obtain column values through a method in Listing 16-5. Using these methods will become more apparent after the next task. Listing 16-5 Methods for obtaining column data (from SQLite online documentation) const void *sqlite3_column_blob(sqlite3_stmt*, int iCol); int sqlite3_column_bytes(sqlite3_stmt*, int iCol); int sqlite3_column_bytes16(sqlite3_stmt*, int iCol); double sqlite3_column_double(sqlite3_stmt*, int iCol); int sqlite3_column_int(sqlite3_stmt*, int iCol); sqlite3_int64 sqlite3_column_int64(sqlite3_stmt*, int iCol); const unsigned char *sqlite3_column_text(sqlite3_stmt*, int iCol); const void *sqlite3_column_text16(sqlite3_stmt*, int iCol); int sqlite3_column_type(sqlite3_stmt*, int iCol); sqlite3_value *sqlite3_column_value(sqlite3_stmt*, int iCol); <strong>Opening </strong><strong>and</strong><strong> Querying a Database</strong></p>
<ol>
<li><strong>Open MyDBProject in Open MyDBProjectAppDelegate.h.</strong></li>
<li><strong>In</strong> <strong>Classes,</strong> <strong>create</strong> <strong>a new group called </strong></li>
<li><strong>Add a new Objective-C class called PhotosDAO to Create another Objective-C class called PhotoDAO.</strong></li>
<li><strong>Add a name, photoID, and photo property to h and PhotoDAO.m (Listings 16-6 and 16-7).</strong></li>
<li><strong>Open h and import SQLite3 and PhotoDAO. Add a reference to the database you will use (Listing 16-8).</strong></li>
<li><strong>Add a getAllPhotos method to PhotosDAO and implement the method (Listing 16-9).</strong></li>
<li><strong>Open h and import PhotosDAO and PhotoDAO (Listing 16-10).</strong></li>
<li><strong>Add an NSMutableArray property to hold the Add an IBOutlet for a UIImageView. Add a UILabel named theLabel, add an IBAction, and name the method changeImage.</strong></li>
<li><strong>Open m and synthesize photos and theImageView (Listing 16-11).</strong></li>
<li><strong>Implement</strong> <strong>the viewDidLoad and changeImage methods so they match Listing 16-11.</strong></li>
<li><strong>Save or build the </strong></li>
</ol>
<p>&nbsp; Listing 16-6 PhotoDAO.h #import &lt;Foundation/Foundation.h&gt; @interface PhotoDAO : NSObject { NSString * name; NSInteger photoID; UIImage * photo; } @property (nonatomic, retain) NSString * name; @property (nonatomic, assign) NSInteger photoID; @property (nonatomic, retain) UIImage * photo; @end Listing 16-7 PhotoDAO.m #import "PhotoDAO.h" @implementation PhotoDAO @synthesize name; @synthesize photoID; @synthesize photo; - (void) dealloc { [name release]; [photo release]; [super dealloc]; } @end Listing 16-8 PhotosDAO.h #import &lt;Foundation/Foundation.h&gt; #import &lt;sqlite3.h&gt; #import "PhotoDAO.h" @interface PhotosDAO : NSObject { sqlite3 *database; } - (NSMutableArray *) getAllPhotos; @end Listing 16-9 PhotosDAO.m #import "PhotosDAO.h" @implementation PhotosDAO - (NSMutableArray *) getAllPhotos { NSMutableArray * photosArray = [[NSMutableArray alloc] init]; @try { NSFileManager *fileManager = [NSFileManager defaultManager]; NSString *theDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"myDatabase.sqlite"]; BOOL success = [fileManager fileExistsAtPath:theDBPath]; if (!success) { NSLog(@"Failed to find database file '%@'.", theDBPath);} if (!(sqlite3_open([theDBPath UTF8String], &amp;database) == SQLITE_ &nbsp; OK)) { NSLog(@"An error opening database, normally handle error here."); } const char *sql = "SELECT id,name,photo FROM photos"; sqlite3_stmt *statement; if (sqlite3_prepare_v2(database, sql, -1, &amp;statement, NULL) != SQLITE_OK){ NSLog(@"Error, failed to prepare statement, normally handle error here."); } while (sqlite3_step(statement) == SQLITE_ROW) { PhotoDAO * aPhoto = [[PhotoDAO alloc] init]; aPhoto.photoID = sqlite3_column_int(statement, 0); aPhoto.name = [NSString stringWithUTF8String:(char *) sqlite3_column_text(statement, 1)]; const char * rawData = sqlite3_column_blob(statement, 2); int rawDataLength = sqlite3_column_bytes(statement, 2); NSData *data = [NSData dataWithBytes:rawData length: rawDataLength]; aPhoto.photo = [[UIImage alloc] initWithData:data]; [photosArray addObject:aPhoto]; [aPhoto release]; } if(sqlite3_finalize(statement) != SQLITE_OK){ NSLog(@"Failed to finalize data statement, normally error handling here."); } if (sqlite3_close(database) != SQLITE_OK) { NSLog(@"Failed to close database, normally error handling here."); } } @catch (NSException *e) { NSLog(@"An exception occurred: %@", [e reason]); return nil; } return photosArray; } @end Listing 16-10 MyDBProjectViewController.h #import &lt;UIKit/UIKit.h&gt; #import "PhotoDAO.h"; #import "PhotosDAO.h"; @interface MyDBProjectViewController : UIViewController { NSMutableArray * photos; IBOutlet UIImageView * theImageView; IBOutlet UILabel * theLabel; } @property (nonatomic, retain) NSMutableArray * photos; @property (nonatomic, retain) IBOutlet UIImageView * theImageView; @property (nonatomic, retain) IBOutlet UILabel * theLabel; - (IBAction) changeImage: (id) sender; @end &nbsp; &nbsp; Listing 16-11 MyDBProjectViewController.m #import "MyDBProjectViewController.h" @implementation MyDBProjectViewController @synthesize photos; @synthesize theImageView; @synthesize theLabel; - (void)viewDidLoad { PhotosDAO * myPhotos = [[PhotosDAO alloc] init]; self.photos = [myPhotos getAllPhotos]; [self.theImageView setImage:((PhotoDAO *)[self.photos objectAtIndex:0]).photo]; [self.theLabel setText:((PhotoDAO *)[self.photos objectAtIndex:0]). name]; [myPhotos release]; [super viewDidLoad]; } - (IBAction) changeImage: (id) sender { static NSInteger currentElement = 0; if(++currentElement == [self.photos count]) currentElement = 0; PhotoDAO * aPhoto = (PhotoDAO *) [self.photos objectAtIndex: currentElement]; [self.theLabel setText:aPhoto.name]; [self.theImageView setImage:aPhoto.photo]; } - (void)dealloc { [photos release]; [theImageView release]; [theLabel release]; [super dealloc]; } @end &nbsp; <img class="aligncenter wp-image-5439 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1423.png" alt="Slide142" width="305" height="474" /> &nbsp;</p>
<p style="text-align: center;">Figure 16-4 Adding a UIImageView and a UIToolBar to the view&rsquo;s canvas</p>
<p>&nbsp;</p>
<ol>
<li><strong>Open xib in Interface Builder. Add a toolbar, a label, and a UIImageView (Figure 16-4). Change the button&rsquo;s title to Next. Remove the text from the label.</strong></li>
<li><strong>Connect</strong> <strong>the File&rsquo;s Owner theLabel outlet to the label added to the Connect the theImageView outlet to the UIImageView. Connect the changeImage action to the Next button. Save and exit Interface Builder.</strong></li>
<li><strong>Build</strong> <strong>and run the application in iPhone As I am a registered developer, I deployed the application to my iPhone and ran the application (Figures 16-5 and 16-6). Aren&rsquo;t they cute? Excuse my obligatory computer book author&rsquo;s inclusion of his or her kids into the book</strong><strong>.</strong></li>
</ol>
<p>NOTE You should never load an entire database at once when creating a real application, especially when using a large blob, like this example. Only load what you need. But for simplicity, you loaded all records in this task. &nbsp; &nbsp; <img class="alignleft wp-image-5440 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1424.png" alt="Slide142" width="304" height="451" /><img class="aligncenter wp-image-5441 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Slide1433.png" alt="Slide143" width="307" height="453" /></p>
<p style="text-align: left;">Figure 16-5 Running the application&nbsp; on my iphone&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Figure 16-6 Running the application on my iPhone</p>
<p style="text-align: left;">&nbsp; (first image) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (secondimage)</p>
<h3>The Model-View-Controller</h3>
<p>When writing a program for any platform, you should adhere to the MVC design pattern as closely as possible. Rather than placing the database logic in a view or view controller, you created separate classes, insulating the view and controller layers from the database layer. The MyDBProjectViewController knows nothing about the underlying SQLite3 library; the view controller only knows about PhotosDAO and PhotoDAO. Notice you further separated the code by placing it in its own group, Model, under Classes. All this separation makes debugging and maintaining the program easier. It also makes reading and understanding this chapter&rsquo;s example code easier.</p>
<h3>Opening the Database</h3>
<p>To keep the task&rsquo;s length manageable and focused, rather than creating several data access methods in PhotosDAO, you only created one. - (NSMutableArray *) getAllPhotos; This method returns an array of PhotoDAO objects. The getAllPhotos method first finds the database and opens it. Because the database is in the resources folder, you can access it directly using the bundle&rsquo;s resourcePath. &nbsp; NSFileManager *fileManager = [NSFileManager defaultManager]; NSString *theDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: @"chapter18.sqlite"]; After obtaining the database&rsquo;s path, you open it. if (!(sqlite3_open([theDBPath UTF8String], &amp;database) == SQLITE_OK)) Notice that you obtain the UTF8String from the NSString before passing the sqlite3_open method the path.</p>
<h3>Querying the Data</h3>
<p>After opening the database, you query it for the photo records. If you have ever worked with a database using code, for instance, Java Database Connectivity (JDBC), then this code should look familiar. The getAllPhotos method first creates the SQL select string. Next, the method places the string in a statement and then queries the database. After obtaining the data, getAllPhotos loops through each record.For each new record, getAllPhotos creates a new PhotoDAO. The newly created PhotoDAO object&rsquo;s values are then set to the appropriate values from the current record. After initializing the PhotoDAO object, getAllPhotos places the object into PhotosDAO&rsquo;s photosArray.</p>
<h3>Loading a Blob into NSData</h3>
<p>This code snippet is useful. It shows you a quick, easy way to load a blob, any blob, into an NSData object. First, load the blob into a C string. const char * rawData = sqlite3_column_blob(statement, 2); Second, obtain the blob&rsquo;s byte size. int rawDataLength = sqlite3_column_bytes(statement, 2); Third, create an NSData class using the C string and size variables. NSData *data = [NSData dataWithBytes:rawData length:rawDataLength]; As you already know the database blob is an image, you initialize the PhotoDAO&rsquo;s photo property using the UIImage&rsquo;s initWithData method. aPhoto.photo = [[UIImage alloc] initWithData:data]; This same technique works for other binary data as well (replacing UIImage with the appropriate class).</p>
<h3>Closing the Database</h3>
<p>When finished using a statement, you release its resources by finalizing the statement. if(sqlite3_finalize(statement) != SQLITE_OK) After you no longer need the database, you close it. if (sqlite3_close(database) != SQLITE_OK) Selecting all records only has limited value. Rarely will you use SQL statements where you do not wish to limit the results returned. For this, you typically add parameters to your SQL statements and then replace the parameters with values in your program. This is called binding your program&rsquo;s values to the statements&rsquo; parameters. Programs must also usually allow more than simply selecting data; most applications allow users to add, edit, and delete records. In the next section, you learn about binding, inserting, updating, and deleting records.</p>101:T40d5,<h2>SQLite Binding, Inserting, Updating, and Deleting</h2>
<p>SQL allows limiting data to only the data needed via the where clause. For instance, the following statement only selects records whose age column is greater than 30. select * from mytable where age &gt; 30 When placing SQL statements like this into a SQLite statement, you can parameterize the where clause&rsquo;s value. For instance, to parameterize age&rsquo;s value, write the following code. select * from mytable where age &gt; ? You then bind your program&rsquo;s value to the SQL statement&rsquo;s parameter. Binding You bind one of your program&rsquo;s values to a SQL statement&rsquo;s parameter using a bind method (Listing 16-12). Different data types have different bind methods. Listing 16-12 SQLite bind methods (from the SQLite online documentation) int sqlite3_bind_blob(sqlite3_stmt*, int, const void*, int n, void(*)(void*)); int sqlite3_bind_double(sqlite3_stmt*, int, double); int sqlite3_bind_int(sqlite3_stmt*, int, int); int sqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64); int sqlite3_bind_null(sqlite3_stmt*, int); int sqlite3_bind_text(sqlite3_stmt*, int, const char*, int n, void(*)(void*)); int sqlite3_bind_text16(sqlite3_stmt*, int, const void*, int, void(*)(void*)); int sqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*); int sqlite3_bind_zeroblob(sqlite3_stmt*, int, int n); NOTE Bindings start with 1 rather than 0. For instance, the following code snippet shows a SQL statement and its subsequent binding. const char * select_statement = ‖Select * from photos where name = ?‖; sqlite3_bind_text(select_statement, 1, [photo.name UTF8String], -1, SQLITE_TRANSIENT); The first argument is a pointer to the prepared statement. The second argument is the SQL statement&rsquo;s parameter number. The third argument is the value that should be bound to the SQL statement&rsquo;s parameter. The fourth argument is the number of bytes in the value&mdash;if negative, the length is automatically determined from the C string</p>
<h3>Insert, Update, and Delete</h3>
<p>There is little difference between the steps for inserting, updating, or deleting records using the SQLite C library. The primary difference is you only call the sqlite3_step method once. Usually, you use insert, update, or delete with binding. For instance, insert into customers (name, age, company, location) values (?, ?, ?,?); or update customers set location = ? where company = ?; or delete customers where company = ?; In the following task, you insert, update, and delete a record.</p>
<h3>Inserting, Updating, and Deleting Records</h3>
<h3>Making a Database Writable</h3>
<ol>
<li><strong>Open the MYDBProject project in Xcode.</strong></li>
<li><strong>Add a class method named moveDatabase to Remember, a class method uses a plus rather than a minus.</strong></li>
<li><strong>Implement</strong> <strong>the method in m as in Listing 16-13.</strong></li>
<li><strong>Modify the getAllPhotos method in PhotosDAO to obtain the records from the documents </strong></li>
<li><strong>Open m and add a call to the moveDatabase method to the first line of viewDidLoad (Listing 16-14).</strong></li>
</ol>
<p>Listing 16-13 The moveDatabase and getAllPhotos methods + (void) moveDatabase { NSFileManager *fileManager = [NSFileManager defaultManager]; NSString *theDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"myDatabase.sqlite"]; NSError *error; BOOL success; &nbsp; NSArray * paths = NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES); NSString * docsDir = [paths objectAtIndex:0]; NSString * newPath = [docsDir stringByAppendingPathComponent:@"chapter18.sqlite"]; [fileManager removeItemAtPath:newPath error: &amp;error]; success = [fileManager copyItemAtPath:theDBPath toPath:newPath error: &amp;error]; if (!success) { NSLog(@"Failed to copy database...error handling here %@.", [error localizedDescription]); } } - (NSMutableArray *) getAllPhotos { NSMutableArray * photosArray = [[NSMutableArray alloc] init]; @try { NSFileManager *fileManager = [NSFileManager defaultManager]; NSArray * paths = NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES); NSString * docsDir = [paths objectAtIndex:0]; NSString * theDBPath = [docsDir stringByAppendingPathComponent: @"myDatabase.sqlite"]; BOOL success = [fileManager fileExistsAtPath:theDBPath]; if (!success) { NSLog(@"Failed to find database file '%@'."); } if (!(sqlite3_open([theDBPath UTF8String], &amp;database) == SQLITE_OK)) { NSLog(@"An error opening database, normally handle error here."); } const char *sql = "SELECT id,name,photo FROM photos"; sqlite3_stmt *statement; if (sqlite3_prepare_v2(database, sql, -1, &amp;statement, NULL) != SQLITE_OK) { NSLog(@"Error, failed to prepare statement, normally handle error here."); } while (sqlite3_step(statement) == SQLITE_ROW) { PhotoDAO * aPhoto = [[PhotoDAO alloc] init]; aPhoto.photoID = sqlite3_column_int(statement, 0); aPhoto.name = [NSString stringWithUTF8String:(char *) sqlite3_column_text(statement, 1)]; const char * rawData = sqlite3_column_blob(statement, 2); int rawDataLength = sqlite3_column_bytes(statement, 2); NSData *data = [NSData dataWithBytes:rawData length: rawDataLength]; aPhoto.photo = [[UIImage alloc] initWithData:data]; [photosArray addObject:aPhoto]; } if(sqlite3_finalize(statement) != SQLITE_OK) { NSLog(@"Failed to finalize data statement, normally error handling here."); } &nbsp; if (sqlite3_close(database) != SQLITE_OK) { NSLog(@"Failed to close database, normally error handling here."); } } @catch (NSException *e) { NSLog(@"An exception occurred: %@", [e reason]); return nil; } return photosArray; } Listing 16-14 The viewDidLoad method - (void)viewDidLoad { [PhotosDAO moveDatabase]; PhotosDAO * myPhotos = [[PhotosDAO alloc] init]; self.photos = [myPhotos getAllPhotos]; [self.theImageView setImage:((PhotoDAO *)[self.photos objectAtIndex:0]).photo]; [self.theLabel setText:((PhotoDAO *)[self.photos objectAtIndex:0]) .name]; [myPhotos release]; [super viewDidLoad]; } The first thing you do is make the database writeable. The Resources folder is read-only. Saving changes requires the database to be writable, so you copied the database to your documents directory. You also modified the getAllPhotos method so it obtained the database from the application&rsquo;s document directory rather than the resources directory. <strong>Inserting Records</strong> &nbsp;</p>
<ol>
<li><strong>Add png to the project&rsquo;s Resources group. You can find this photo in the book&rsquo;s Resources folder.</strong></li>
<li><strong>Add a new method to PhotosDAO called Implement the method (Listing 16- 15).</strong></li>
<li><strong>Create</strong> <strong>a new IBAction in MyDBProjectViewController called addKidPhoto (Listing 16- 16).</strong></li>
<li><strong>Build</strong> <strong>and save the </strong></li>
<li><strong>Open xib and add a new Bar Button item to the toolbar. Change the bar button&rsquo;s title to Add.</strong></li>
<li><strong>Connect</strong> <strong>the addKidPhoto action to the Add \</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go to run the application in the iPhone Simulator (Figure 16-7).</strong></li>
</ol>
<p>&nbsp; Listing 16-15 The addPhoto method - (void) addPhoto : (PhotoDAO *) photo { const char * sql = "insert into photos (name, photo) values (?, ?)"; sqlite3_stmt *insert_statement = nil; NSArray * paths = NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES); &nbsp; <img class="alignleft wp-image-5461 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide143.png" alt="Slide143" width="307" height="453" /><img class="alignright wp-image-5462 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide144.png" alt="Slide144" width="307" height="456" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p style="text-align: center;">Figure 16-7 Running the application on my iPhone</p>
<p>&nbsp; NSString * docsDir = [paths objectAtIndex:0]; NSString * thePath = [docsDir stringByAppendingPathComponent: @"myDatabase.sqlite"]; sqlite3_open([thePath UTF8String], &amp;database); sqlite3_prepare_v2(database, sql, -1, &amp;insert_statement, NULL); sqlite3_bind_text(insert_statement, 1, [photo.name UTF8String], -1, SQLITE_TRANSIENT); NSData * binData = UIImagePNGRepresentation(photo.photo); sqlite3_bind_blob(insert_statement, 2, [binData bytes], [binData length], SQLITE_TRANSIENT); sqlite3_step(insert_statement); sqlite3_finalize(insert_statement); sqlite3_close(database); } Listing 16-16 The addKidPhoto IBAction - (IBAction) addKidPhoto: (id) sender { static BOOL wasAdded; if(!wasAdded) { PhotosDAO * myPhotos = [[PhotosDAO alloc] init]; PhotoDAO * aPhoto = [[PhotoDAO alloc] init]; NSString * imgPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"kids.png"]; aPhoto.name = @"Kids Both"; aPhoto.photo = [[UIImage alloc] initWithContentsOfFile:imgPath]; [myPhotos addPhoto:aPhoto]; &nbsp; &nbsp; [self.photos release]; self.photos = [myPhotos getAllPhotos]; [myPhotos release]; wasAdded = YES; } } The addPhoto method (Listing 16-15) allows new photos to be inserted. As it is a simple example, the method merely gets the photo from your resources group. The addPhoto method first creates a SQL string with parameters. The method then replaces the question marks by binding them to the appropriate value. For instance, the name column is text, so addPhoto binds it to a C string. The UIImage is binary, so it is bound to a blob. After binding, addPhoto then inserts the record by calling the sqlite3_step method. This method is called only once, as no data is returned from the insert statement. Notice, for brevity, an examination of the return code is omitted, as is other error handling from Listing 16-6 forward. <strong>Updating Records</strong></p>
<ol>
<li><strong>Return to the Xcode project.</strong></li>
<li><strong>Drag</strong> <strong>png from the book&rsquo;s Resources folder to the Resources group in Xcode.</strong></li>
<li><strong>Add a new NSInteger called currentID to m. Change the changeImage method to update this new variable with the current photo&rsquo;s id from the database (Listing 16-17).</strong></li>
<li><strong>Add a new method called changeAPhotoImage to PhotosDAO (Listing 6-18).</strong></li>
<li><strong>Add a new IBAction called changePhotosImage to MyDBProjectViewController (Listing 16-19). Save and build the </strong></li>
<li><strong>Open xib in Interface Builder and add another bar button to the toolbar. Change the button&rsquo;s title to Change.</strong></li>
<li><strong>Connect</strong> <strong>the changePhotosImage action to the Change </strong></li>
<li><strong>Save and exit Interface Click Build And Go to run the application in the iPhone Simulator (Figure 16-8).</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone size-full wp-image-5463" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide1441.png" alt="Slide144" width="292" height="437" /></strong></p>
<p style="text-align: left;"><strong>&nbsp;</strong></p>
<p style="text-align: left;">Figure 16-8 Changing the image</p>
<p>&nbsp; Listing 16-17 The currentID variable, and modified changeImage NSInteger currentID = 0; - (IBAction) changeImage: (id) sender { static NSInteger currentElement = 0; if(++currentElement == [self.photos count]) currentElement = 0; PhotoDAO * aPhoto = (PhotoDAO *) [self.photos objectAtIndex: currentElement]; currentID = aPhoto.photoID; [self.theLabel setText:aPhoto.name]; [self.theImageView setImage:aPhoto.photo]; } Listing 16-18 The changeAPhotoImage method</p>
<ul>
<li>(void) changeAPhotoImage: (UIImage *) image theID: (NSInteger) photoID { const char * sql = "update photos set photo = ? where id = ?"; sqlite3_stmt *update_statement = nil;</li>
</ul>
<p>NSArray * paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString * docsDir = [paths objectAtIndex:0]; NSString * thePath = [docsDir stringByAppendingPathComponent:@"chapter18.sqlite"]; sqlite3_open([thePath UTF8String], &amp;database); sqlite3_prepare_v2(database, sql, -1, &amp;update_statement, NULL); NSData * binData = UIImagePNGRepresentation(image); sqlite3_bind_blob(update_statement, 1, [binData bytes], [binData length], SQLITE_TRANSIENT); sqlite3_bind_int(update_statement, 2, photoID); sqlite3_step(update_statement); sqlite3_finalize(update_statement); sqlite3_close(database); } Listing 16-19 The changePhotosImage method -(IBAction) changePhotosImage: (id) sender { PhotosDAO * myPhotos = [[PhotosDAO alloc] init]; NSString * imgPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"woman.png"]; [myPhotos changeAPhotoImage:[[UIImage alloc] initWithContentsOfFile: imgPath] theID: currentID]; [self.photos release]; self.photos = [myPhotos getAllPhotos]; [myPhotos release]; } Updating a record is as straightforward as inserting it. The changeAPhotoImage first creates a SQL string with parameters. It then binds a file&rsquo;s binary data to photo and an integer to id. After binding, it then calls the step function once, finalizes the statement, and closes the database. Notice that updating requires the record&rsquo;s id, as SQLite uses the id to update the correct record. To accommodate this requirement, you added a currentID variable and changed the changeImage method to set the currentID with the currently selected photo record. Deleting Records</p>
<ol>
<li><strong>Quit the application and return to Xcode.</strong></li>
<li><strong>Add a new method called deletePhoto to PhotosDAO (Listing 16-20).</strong></li>
<li><strong>Create</strong> <strong>a new IBAction called deletePhoto to MyDBProjectViewController (Listing 16- 21).</strong></li>
<li><strong>Move the static NSInteger currentElement from the changeImage method in Listing 16- 11 to just below the currentID variable (Listing 16-22). Remove the static </strong></li>
<li><strong>Save and build.</strong></li>
<li><strong>Open MyDBProjectViewController.xib in Interface Builder.</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone size-full wp-image-5465" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide145.png" alt="Slide145" width="291" height="454" /></strong> <strong>&nbsp;</strong>Figure 16-9 The MyDBProjectViewController view&rsquo;s canvas &nbsp;</p>
<ol>
<li><strong>Add another button to the toolbar and change its title to Delete.</strong></li>
<li><strong>Resize</strong> <strong>the image and move the label to above the toolbar, as you are running out of space on the toolbar (Figure 16-9).</strong></li>
<li><strong>Connect</strong> <strong>the button to the deletePhoto </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go and try deleting a photo.</strong></li>
</ol>
<p>Listing 16-20 The deletePhoto method in PhotosDAO(void) deletePhoto: (NSInteger) photoID { const char * sql = "delete from photos where id = ?"; sqlite3_stmt *delete_statement = nil; NSArray * paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString * docsDir = [paths objectAtIndex:0]; NSString * thePath = [docsDir stringByAppendingPathComponent: @"chapter18.sqlite"]; sqlite3_open([thePath UTF8String], &amp;database); sqlite3_prepare_v2(database, sql, -1, &amp;delete_statement, NULL); sqlite3_bind_int(delete_statement, 1, photoID); &nbsp; sqlite3_step(delete_statement); sqlite3_finalize(delete_statement); sqlite3_close(database); } Listing 16-21 The deletePhoto IBAction in MyDBProjectViewController - (IBAction) deletePhoto : (id) sender { PhotosDAO * myPhotos = [[PhotosDAO alloc] init]; [myPhotos deletePhoto:currentID]; [self.photos release]; self.photos = [myPhotos getAllPhotos]; currentElement = 0; [myPhotos release]; } &nbsp; Listing 16-22 Placing currentElement at the class&rsquo;s top so it shared in the class @implementation MyDBProjectViewController @synthesize photos; @synthesize theImageView; @synthesize theLabel; NSInteger currentID = 0; NSInteger currentElement = 0; The delete statement follows the same pattern as insert and update. The only real difference is the SQL string. const char * sql = "delete from photos where id = ?";</p>102:T94d6,<h2>Multimedia</h2>
<h3>Key Skills &amp; Concepts</h3>
<p>Playing system sounds Playing songs Using the Media Player to interact with a device&rsquo;s multimedia Playing video Up until the release of the iPhone OS 3.0, the iPhone was a difficult platform for developing multimedia applications. The capabilities were there, as you could always resort to using low-level C APIs to program audio and video, but the higher-level APIs were strictly undocumented and off limits. And as for the multimedia on a device that was placed there by iTunes? Forget it, off limits. Any media you wished playing in your application had to either be packaged as part of your application or streamed from a server. That restriction changed with iPhone OS 3.0; now you can access and play a user&rsquo;s audio iTunes multimedia, making the iPhone and iPod touch the most programmable portable music players ever released.In this chapter, you explore the basic multimedia capabilities of the iPhone and iPod touch. You first learn how to play system sounds and longer sounds. You then move to the Media Player framework, where you use the framework to select and play a user&rsquo;s iTunes audio multimedia. After learning to play iTunes media, you then learn how to play a video using the Media Player framework&rsquo;s video player.</p>
<h3>Playing Sounds</h3>
<p>Playing short sounds on an iPhone or iPod touch is easy. Simply load the song as a system sound, obtain the sound&rsquo;s id, and use the AudioServicesPlaySystemSound method to play the sound. Playing a longer sound using the AVAudioPlayer is not difficult, but a little more involved. However, there is one important limitation you must realize when using sound on your device using the AudioServicesPlaySystemSound function or AVAudioPlayer: Any media you play must be packaged as part of your application or must be streamed from a server. So, although these two classes are good for adding sound to your application or for developing an interface to a server that streams multimedia, they are not good classes for developing a music player. Instead, you should use the Media Player Framework, covered later in this chapter.</p>
<h3>AudioServicesPlaySystemSound</h3>
<p>The AudioServicesPlaySystemSound function plays a short system sound. Although security restrictions prevent your application from playing a device&rsquo;s OS system sounds, you can load and play your own short (30 seconds or less) sounds and play them using this function. The AudioServicesPlaySystemSound function can only play a sound with the following format: .caf, if, or .wav. The sound plays at whatever audio level the device is set to, and the sound plays immediately upon its id being passed to the There is no pausing, rewinding, fast-forwarding, or other sound manipulation functionality. You load a sound, and the function plays it. void AudioServicesPlaySystemSound (SystemSoundID inSystemSoundID); The function takes a SystemSoundID as a parameter. A SystemSoundID is an unsigned integer that uniquely identifies the sound. You obtain a SystemSoundID by loading a sound into the AudioServicesCreateSystemSoundID function. OSStatus AudioServicesCreateSystemSoundID (CFURLRef inFileURL, SystemSoundID * outSystemSoundID); The AudioServicesCreateSystemSoundID function takes a reference to the file&rsquo;s URL and the SystemSoundID to assign the value to. A CFURLRef is simply a lower-level pointer to a URL. You can ignore creating a CFURL (what the CFURLRef points to) and instead cast an NSURL as a &nbsp; CFURLRef. After obtaining a sound&rsquo;s URL, you pass it to the create system sound function. It assigns the value to the system sound ID variable you defined; you pass that ID to the system sound player function; and it plays the sound.</p>
<h3>Ask the Expert</h3>
<p>Q:<strong> What&rsquo;s a CFURLRef? What&rsquo;s an NSURL?</strong> <strong>A: </strong>A CFURLRef is a reference to a CFURL object. A CFURL is part of the Core Foundation framework, meaning it is C, not Objective-C, and provides functions to create and parse URLs. An NSURL is a higher-level, Cocoa Objective-C class for working with URLs. It encapsulates a URL and provides many functions for manipulating URLs. Refer to the NSURL Class Reference for more information. You can cast an NSURL * as a CFURLRef because of Apple&rsquo;s ―toll-free bridging‖ functionality. The term ―toll-free bridging‖ refers to certain Core Foundation types being interchangeable with their higher-level Cocoa counterparts. Remember, a pointer to an NSURL is equivalent to a CFURL reference. TIP You can use the AudioServicesPlaySystemSound to vibrate a user&rsquo;s iPhone. Pass the kSystemSoundID_Vibrate identifier constant to the function. Currently, only the iPhone can vibrate; this code does not do anything on an iPod touch. AudioServicesPlaySystemSound(kSystemSoundID_Vibrate); &nbsp;</p>
<h3>AVAudioPlayer and AVAudioPlayerDelegate</h3>
<p>The AVAudioPlayer plays sounds. The audio player does not have the limitations of the AudioSer vicesPlaySystemSound function. It can play any length sound, loop a sound, play multiple sounds at the same time, and allows control over a sound&rsquo;s volume. Methods you might use include prepareToPlay, play, pause, and stop. Each method&rsquo;s functionality should be intuitive. Notice that prepareToPlay and play return a BOOL, so you can evaluate if the call was successful.</p>
<ul>
<li>(BOOL)prepareToPlay</li>
<li>(BOOL)play</li>
<li>(void)pause</li>
<li>(void)stop</li>
</ul>
<p>You can initialize an AVAudioPlayer with data or a URL. The initWithData:error: function initializes an audio player using data encapsulated in an NSData object. The initWithContentsOfURL:error: initializes an audio player using the sound file referenced by the URL. That sound file can be in your application&rsquo;s bundle, or it can be a resource on a server and streamed. If streamed, note that the prepareToPlay method discussed previously takes more importance, as it buffers the content and helps lessen a user&rsquo;s wait when playing an external resource.</p>
<ul>
<li>(id)initWithData:(NSData *) data error:(NSError **) outError</li>
<li>(id)initWithContentsOfURL:(NSURL *) url error:(NSError **) outError</li>
</ul>
<p>Properties you might use include the currentTime, data, delegate, duration, playing, volume, and numberOfLoops. The currentTime property returns the playback in seconds as an NSTimeInterval. The duration property returns a sound&rsquo;s duration in seconds as an NSTimeInterval. The volume returns the player&rsquo;s playback gain as a float between 0.0 and 1.0. The playing property returns a BOOL, while the numberOfLoops property returns an unsigned int. There are also more advanced properties, such as numberOfChannels and peakPowerForChannel. For a more complete listing of AVAudioPlayer&rsquo;s properties and methods, refer to the AVAudioPlayer Class Reference. An AVAudioPlayer&rsquo;s delegate property refers to an audio player&rsquo;s AVAudioPlayerDelegate protocol. As with all protocols, you implement a custom class that adopts the protocol. Protocol methods you might implement are listed in Table 18-1. &nbsp; &nbsp;</p>
<h3>Playing a Sound and an MP3</h3>
<ol>
<li><strong>Create a new View-based Application and name it Avplayer.</strong></li>
<li><strong>From</strong> <strong>the Resources folder, add the mp3, charleston1925_64kb.mp3, to the application&rsquo;s Resources Also add the burp_2.aif file.</strong></li>
<li><strong>Add the framework to the application&rsquo;s frameworks. Also add the AVFoundation.framework. Remember, you add a framework by choosing File | Add | Existing Frameworks, and then navigating to the framework. Remember to select the framework for the iPhone OS version you are compiling for. For instance, in my project, I navigated to iPhoneSimulator3.0.sdk/System/Library/Frameworks to find the frameworks.</strong></li>
<li><strong>Open h and import the AudioToolbox and AVFoundation header files (Listing 18-1). Have the class adopt the AVAudioPlayerDelegate protocol.</strong></li>
<li><strong>Add a SystemSoundID as a variable to AvplayerViewController; name it Also add an AVAudioPlayer as a variable and name it player.</strong></li>
<li><strong>Add two IBActions to AvplayerViewController named playSound and Do not forget to add the actions to AvplayerViewController&rsquo;s header and implementation (Listing 18-2). Don&rsquo;t implement the actions yet, you do that in step nine. Save the application.</strong></li>
<li><strong>Open xib in Interface Builder and add two buttons. Connect one button to playSound and one button to playSong. Label both buttons appropriately.</strong></li>
<li><strong>Save and exit Interface </strong></li>
<li><strong>Implement</strong> <strong>playSound, playSong,</strong> <strong>and Also implement the audioPlayerDid FinishPlaying:successfully: method from the AVAudioPlayerDelegate protocol.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Tap the button connected to playSong to begin playing the song. After the song starts playing, tap the button connected to playSound, and the iPhone Simulator belches simultaneously (Figure 18-1).</strong></li>
</ol>
<p><strong>&nbsp;</strong> This task is straightforward; first, you loaded the sound and obtained its id. As system sounds are 30 seconds or less, loading it into memory and keeping it there should not tax your device&rsquo;s memory. Notice you do not load the longer song into memory until you actually play it in the playSong method, as it takes more memory.You initialize the system sound in the viewDidLoad method. Don&rsquo;t let the one line of code be intimidating; it&rsquo;s actually doing something quite simple. It gets the path to the file, creates an NSURL using the path, casts it as a CFURLRef, and creates a system sound from the resource.The playSong method creates a new AVAudioPlayer instance every time the application calls it. If an error occurs, the method logs the error; otherwise, it plays the song. When the song is finished playing, it calls the audioPlayerDidFinishPlaying:successfully: method and releases the player. &nbsp; <img class="alignnone size-full wp-image-5473" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide1451.png" alt="Slide145" width="291" height="454" /> &nbsp; Figure 18-1 The finished application in the iPhone Simulator &nbsp; Listing 18-1 AvplayerViewController.h #import &lt;UIKit/UIKit.h&gt; #import &lt;AudioToolbox/AudioToolbox.h&gt; #import &lt;AVFoundation/AVFoundation.h&gt; @interface AvplayerViewController : UIViewController &lt;AVAudioPlayerDelegate&gt; { SystemSoundID burpSoundID; AVAudioPlayer * player; }</p>
<ul>
<li>(IBAction) playSound: (id) sender;</li>
<li>(IBAction) playSong: (id) sender;</li>
</ul>
<p>@end Listing 18-2 AvplayerViewController.m #import "AvplayerViewController.h" @implementation AvplayerViewController</p>
<ul>
<li>(void) viewDidLoad { AudioServicesCreateSystemSoundID((CFURLRef)[NSURL fileURLWithPath: [[NSBundle mainBundle] pathForResource:@"burp_2" ofType:@"aif"]],</li>
</ul>
<p>&amp;burpSoundID); }</p>
<ul>
<li>(IBAction) playSound: (id) sender { AudioServicesPlaySystemSound (burpSoundID);</li>
</ul>
<p>}</p>
<ul>
<li>(IBAction) playSong: (id) sender { NSError *error = nil;</li>
</ul>
<p>player = [[AVAudioPlayer alloc] initWithContentsOfURL: [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource: @"charleston1925_64kb" ofType:@"mp3"]] error:&amp;error]; player.delegate = self; if(error != NULL) { NSLog([error description]); [error release]; } [player play]; }</p>
<ul>
<li>(void) audioPlayerDidFinishPlaying: (AVAudioPlayer *) theplayer successfully:(BOOL)flag {</li>
</ul>
<p>[theplayer release]; }</p>
<ul>
<li>(void)dealloc { [player release]; [super dealloc];</li>
</ul>
<p>} @end NOTE The mp3 song is entitled The Charleston, and is a digital copy of the 1925 recording. I obtained the mp3 from the Internet Archive&rsquo;s 78RPMS &amp; Cylinder Recordings Collection. The mp3 is licensed under the Creative Commons Commercial license. The burp_2.aif is also public domain. Hopefully, I am not violating any software patents by playing burp sounds on a mobile device...</p>
<h3>Media Player Framework</h3>
<p>Before iPhone OS 3.0, a device&rsquo;s multimedia loaded by iTunes was off limits for application developers. The Media Player framework released with OS 3.0 removes that restriction by providing several classes that work with a device&rsquo;s iTunes-loaded multimedia. NOTE Running the Media Player audio applications in this chapter require installing the application on an iPod touch or iPhone running iPhone OS 3.0 or later.</p>
<h3>Media Data Classes</h3>
<p>An MPMediaLibrary class represents a device&rsquo;s multimedia library loaded from iTunes. An MPMediaItem object represents every multimedia item in the media library. The MPMediaItem class contains metadata such as title, artist, and length about a media item.When working with the MPMediaLibrary, you usually execute an MPMediaQuery that returns an MPMediaItemCollection. Although the Media Player framework offers several methods for accessing a device&rsquo;s media programmatically, another way is by using an MPMediaPickerController. An MPMediaPickerController is a class that presents a view much like the current iPod application. A user can then select one or more media items, and the picker returns an MPMediaItemCollection.After selecting the media items to play, you pass them to an MPMusicController to play. The MPMusicController class is responsible for playing music, rewinding, forwarding, and other playback functionality.</p>
<h3>MPMediaItem and MPMediaItemCollection</h3>
<p>An MPMediaItem encapsulates a single audio multimedia element in a device&rsquo;s iTunes multimedia collection. The MPMediaItem contains one method for obtaining a media item&rsquo;s properties, the valueForProperty: method. - (id)valueForProperty:(NSString *)property The valueForProperty: method takes a constant representing the property for which to obtain a value. Notice that the method returns an id; this means the function&rsquo;s return value is tied to the property constant passed to the method. Listing 18-3 lists the properties you might pass to the valueForProperty: method. Listing 18-3 Media Item properties NSString *const MPMediaItemPropertyPersistentID; NSString *const MPMediaItemPropertyAlbumTrackNumber; NSString *const MPMediaItemPropertyAlbumTrackCount; NSString *const MPMediaItemPropertyDiscNumber; NSString *const MPMediaItemPropertyDiscCount; NSString *const MPMediaItemPropertyArtwork; NSString *const MPMediaItemPropertyLyrics; NSString *const MPMediaItemPropertyPodcastTitle; You can also use user-defined properties. These properties have a variable value, depending upon a user&rsquo;s multimedia collection use. Listing 18-4 lists the user-defined properties. Listing 18-4 User-defined properties NSString *const MPMediaItemPropertyPlayCount; NSString *const MPMediaItemPropertySkipCount; NSString *const MPMediaItemPropertyRating; NSString *const MPMediaItemPropertyLastPlayedDate; The MPMediaItemCollection class is a collection of media items. You obtain a collection&rsquo;s media items through its items property. This property returns an NSArray of MPMediaItem objects. Other properties include count, mediaTypes, and the representativeItem properties. The count property returns a count of the collection&rsquo;s multimedia items as an NSUInteger. You use the mediaTypes property and representativeItem property to obtain a collection&rsquo;s media types.</p>
<h3>Selecting Multimedia</h3>
<p>&nbsp; Before playing multimedia, a user must select the media items. The easiest way to allow a user to do this is through the MPMediaPickerController. Similar to the UIImagePickerController, the view it controls is hidden from developers. Also, like the image picker, you can define a delegate for the media picker. That delegate, the MPMediaPickerControllerDelegate, responds to a user&rsquo;s interaction with the media picker.</p>
<h3>MPMediaPickerController</h3>
<p>The MPMediaPickerController class manages the media picker view. Like the UIImagePickerController, you present this controller&rsquo;s view as a modal view that overlays the currently displaying view. [self presentModalViewController:mediaController animated:YES]; You can initialize a media picker to only display certain media types using the initWithMediaTypes method. This method takes an MPMediaType; valid types are MPMediaTypeMusic, MPMediaTypePodcast, MPMediaTypeAudioBook, and MPMediaTypeAnyAudio. Notice there is no MPMediaTypeVideo; you cannot select or play an iTunes-loaded video.You can also initialize a media picker to allow a user to select multiple items by setting the allowsPickingMultimediaItems property to YES. If you don&rsquo;t set this property, its default value is NO.</p>
<h3>MPMediaPickerControllerDelegate</h3>
<p>A media picker requires an MPMediaPickerControllerDelegate if it is to do anything interesting. An MPMediaPickerControllerDelegate has two methods you implement when adopting this protocol: the mediaPicker:didPickMediaItems: and mediaPickerDidCancel: methods.</p>
<ul>
<li>(void) mediaPicker: (MPMediaPickerController *)mediaPicker didPickMediaItems: (MPMediaItemCollection *) mediaItemCollection</li>
<li>(void) mediaPickerDidCancel: (MPMediaPickerController *) mediaPicker</li>
</ul>
<p>The mediaPickerDidCancel: method responds to a user canceling the media picker, while the mediaPicker:didPickMediaItems: method responds to a user clicking the Done button after selecting media in the media picker.</p>
<h3>Playing Multimedia - MPMusicPlayerController</h3>
<p>A user will probably wish to play multimedia after selecting it. You play an MPMediaItemsCollection using the MPMusicPlayerController. This class is responsible for playing audio media items. There are two player types to choose from: an iPodMusicPlayer and applicationMusicPlayer. An iPodMusicPlayer replaces an iPod&rsquo;s state, while an applicationMusicPlayer is independent of a user&rsquo;s iPod. For instance, if you are using an iPodMusicPlayer and set it to shuffle mode, the user&rsquo;s iPod application will be in shuffle mode the next time he or she uses it. When using the applicationMusicPlayer, this does not happen because it does not modify the iPod&rsquo;s state.You initialize a music player&rsquo;s media collection using the setQueueWithQuery:, setQueueWithItems:, or setQueueWithItemCollection: methods. The set with query method takes an MPMediaQuery, the set with items method takes an NSArray of MPMediaItems, and the set with collection method takes an MPMediaItemCollection. You can initialize a media player&rsquo;s state using the repeatMode and shuffleMode properties. If you do not set these properties, your player&rsquo;s state is the user&rsquo;s iPod application state. Other properties you can use to obtain information about a media player are the nowPlayingItem, currentPlaybackTime, and playbackState properties. The nowPlayingItem property is an MPMediaItem that represents the currently playing media item. The currentPlaybackTime is an NSInterval containing the now-playing item&rsquo;s playback location in seconds. The playbackState property returns the music player&rsquo;s playback state as an MPMusicPlaybackState. Valid values for these statesincludeMPMusicPlaybackStateStopped, MPMusicPlaybackStatePlaying,MPMusicPlaybackStatePaused,MPMusicPlaybackState Interrupted,MPMusicPlaybackStateSeekingForward,andMPMusicPlaybackStateSeekingBackward.Methods you can use to control a&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; media&nbsp; player are play, pause, stop, beginSeekingForward,beginSeekingBackward,endSeeking,skipToNextItem, skipToBeginning, and skipToPreviousItem. The play, pause, and stop methods should be self-explanatory. The beginSeekingForward and beginSeekingBackward methods are for fast-forwarding and rewinding, respectively, while the endSeeking method stops fast-forwarding or rewinding. The skipToNextItem, skipToPreviousItem, and skipToBeginning methods should also be self-explanatory. The MPMusicPlayerController has no delegate protocol for responding to its events. Instead it provides two notifications: the MPMusicPlayerControllerPlaybackStateDidChange and MPMusicPlayerControllerNowPlayingItemDidChange notifications. The first notification posts when an MPMusicPlayerController&rsquo;s playback state changes. The second notification posts when an&nbsp; MPMusicPlayerController&rsquo;s now-playing media item changes. By using these two notifications, your application can respond to the media player&rsquo;s state, as the next example task illustrates.</p>
<h3>Using the Media Picker and Media Player</h3>
<ol>
<li><strong>Create a new View-based Application; name it iPod songs.</strong></li>
<li><strong>Add the Media Player framework (MediaPlayer.framework) to the project&rsquo;s </strong></li>
<li><strong>Add the png, player_pause.png, player_begin1.png, player_play.png, player_ rew.png, player_fwd.png, and player-end.png images from the Resources folder to the project&rsquo;s Resources folder.</strong></li>
<li><strong>Open iPodSongsViewController and add four IBOutlets: three for UILabels and one for a Name the outlets currentTitle, currentArtist, currentLengthInSeconds, and volumeView.</strong></li>
<li><strong>Add an IBAction named Don&rsquo;t implement selectSongs yet. Add an IBAction named changeState (Listings 18-5 and 18-6).</strong></li>
<li><strong>Open iPodSongsViewController.xib in Interface Builder. Create a button and connect its Touch Up Inside event to the selectSongs method.</strong></li>
<li><strong>Create</strong> <strong>five</strong> <strong>buttons and add an image to each button (Figure 18-2). Assign each button a unique tag in the Connect the five buttons to the changeState action.</strong></li>
<li><strong>Add three labels to the Also add a UIView to the view&rsquo;s canvas and connect it to the volumeView outlet.</strong></li>
<li><strong>Connect</strong> <strong>the three labels to the currentTitle, currentArtist, and currentLengthInSeconds </strong></li>
<li><strong>Exit</strong> <strong>Interface</strong> <strong>Builder</strong> <strong>and return to </strong></li>
<li><strong>Create</strong> <strong>a new Objective-C class that is a subclass of NSObject named MyMediaPickerDelegate and have it adopt the MPMediaPickerControllerDelegate protocol (Listings 18-7 and 18-8). Don&rsquo;t forget to import the MediaPlayer header file.</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> &nbsp; <strong><img class="alignleft wp-image-5481 size-full" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide147.png" alt="Slide147" width="307" height="475" /></strong> <strong>&nbsp;</strong> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p style="text-align: left;">Figure 18-2 The application&rsquo;s canvas in Interface Builder</p>
<p>&nbsp;</p>
<ol>
<li><strong>Open iPodSongsViewController and add properties for the MyMediaPickerDelegate, MPMediaLibrary, and Name the properties mediaPickerDelegate, mediaLib, and player.</strong></li>
<li><strong>Add a variable for MPVolumeView named </strong></li>
<li><strong>Be </strong><strong>certain</strong> <strong>that iPodSongsViewController imports MyMediaPickerDelegate and do not forget to synthesize the three </strong></li>
<li><strong>Return</strong> <strong>to MyMediaPickerDelegate and implement the didPickMediaItems delegate </strong></li>
<li><strong>Return</strong> <strong>to iPodSongsViewController and implement the selectSongs and changeState </strong></li>
<li><strong>Implement</strong> <strong>the viewDidLoad method and the songsPicked method, pay particular attention to the </strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And The application runs, displays the control, and allows selecting multimedia. Upon tapping Done, the music player starts playing and displays the currently playing item in the labels (Figure 18-3).</strong></li>
</ol>
<p>&nbsp; <strong>&nbsp;<img class="alignright wp-image-5486 size-small" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide148-310x419.png" alt="Slide148" width="310" height="419" /><img class="alignleft wp-image-5485 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/New-Microsoft-PowerPoint-Presentation.png" alt="New Microsoft PowerPoint Presentation" width="265" height="415" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-5487" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide149.png" alt="Slide149" width="271" height="410" /></p>
<p style="text-align: center;">Figure 18-3 The application running on an iPod touch</p>
<p>&nbsp; This is perhaps the coolest application in this entire book. The user interface isn&rsquo;t pretty, but the application works well as a simple music player. In fact, I like it more than my iPod touch&rsquo;s Music application, as I can quickly select all the songs I am interested in and then play them. I have used the application several times for over an hour each time while exercising, so the application works. In the viewDidLoad method, notice the code for initializing a volume control. Although the MPVolumeView class provides a sizeThatFits method, in my opinion, it is better to do it the way presented here. Simply add a UIView as a subview, size it to the desired size, and then add the volume view to the subview. Easy, and it is guaranteed to size correctly. mpVolumeView = [[MPVolumeView alloc] init]; [mpVolumeView setFrame:[self.volumeView bounds]]; [self.volumeView addSubview:mpVolumeView]; As the MPMediaPlayerController does not have a delegate, you made the iPodSongsViewController a listener for the MPMusicPlayerControllerNowPlayingItemDid ChangeNotification event. When a player&rsquo;s now-playing item changes, the player fires this event. You set the songChanged method as the method called when the event fires. After being called, the songChanged method obtains the now- playing item and updates the view&rsquo;s labels. The changeState method handles any one of the five control buttons being tapped. Because each button has a different tag, the method can distinguish which button fires the Touch Up Inside Event and handle the message appropriately. In a real-world application, you woulddisable the buttons as appropriate. For instance, when paused, the Pause button should be disabled and only the Play button enabled. However, here, the extra code would have detracted from the example&rsquo;s intended purpose. In addition to the player&rsquo;s notification, you created your own notification in MyMediaPickerDelegate. Upon selecting an MPMediaItemCollection using the media picker, this notification is fired. The songsPicked method in iPodSongsViewController responds to this notification. The method takes the NSNotification as a parameter; remember, notifications can contain an object. Here, that object is the selected MPMediaItemCollection. After initializing the media player with the collection, the songsPicked method tells the media player to begin generating playback notifications and then starts playing. Listing 18-5 iPodSongsViewController.h #import &lt;UIKit/UIKit.h&gt; #import &lt;MediaPlayer/MediaPlayer.h&gt; #import "MyMediaPickerDelegate.h" @interface iPodSongsViewController : UIViewController { &nbsp; MyMediaPickerDelegate * mediaControllerDelegate; MPMediaLibrary * mediaLib; IBOutlet UILabel * currentTitle; IBOutlet UILabel * currentArtist; IBOutlet UILabel * currentLengthInSeconds; MPMusicPlayerController * player; IBOutlet UIView * volumeView; MPVolumeView * mpVolumeView; } @property (nonatomic, retain) MyMediaPickerDelegate * mediaControllerDelegate; @property (nonatomic, retain) MPMediaLibrary * mediaLib; @property (nonatomic, retain) UILabel * currentTitle; @property (nonatomic, retain) UILabel * currentArtist; @property (nonatomic, retain) UILabel * currentLengthInSeconds; @property (nonatomic, retain) MPMusicPlayerController * player; @property (nonatomic, retain) IBOutlet UIView * volumeView;</p>
<ul>
<li>(IBAction) selectSongs : (id) sender;</li>
<li>(IBAction) changeState: (id) sender;</li>
</ul>
<p>@end Listing 18-6 iPodSongsViewController.m #import "iPodSongsViewController.h" @implementation iPodSongsViewController @synthesize mediaControllerDelegate; @synthesize mediaLib; @synthesize currentTitle; @synthesize currentArtist; @synthesize currentLengthInSeconds; @synthesize player; @synthesize volumeView; int currentItem = 0; - (void) viewDidLoad { [MPMediaLibrary defaultMediaLibrary]; [[NSNotificationCenter defaultCenter] addObserver:self selector: @selector(songsPicked:) name:@"SongsPicked" object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector: @selector(songChanged) name: @"MPMusicPlayerControllerNowPlayingItemDidChangeNotification" object:nil]; mpVolumeView = [[MPVolumeView alloc] init]; [mpVolumeView setFrame:[self.volumeView bounds]]; [self.volumeView addSubview:mpVolumeView]; } - (void) songsPicked: (NSNotification *) notification { player = [MPMusicPlayerController applicationMusicPlayer]; player.repeatMode = MPMusicRepeatModeNone; player.shuffleMode = MPMusicShuffleModeOff; [player setQueueWithItemCollection:(MPMediaItemCollection *) [notification object]]; [player beginGeneratingPlaybackNotifications]; [player play]; } &nbsp; - (void) songChanged { MPMediaItem * tempMediaItem = (MPMediaItem *)player.nowPlayingItem; [self.currentTitle setText:[tempMediaItem valueForProperty: MPMediaItemPropertyTitle]]; [self.currentArtist setText: [tempMediaItem valueForProperty: MPMediaItemPropertyArtist]]; [self.currentLengthInSeconds setText: [NSString stringWithFormat:@"%i", [tempMediaItem valueForProperty:MPMediaItemPropertyPlaybackDuration]]]; }</p>
<ul>
<li>(IBAction) changeState: (id) sender { NSInteger num = ((UIControl*)sender).tag; switch (num) {</li>
</ul>
<p>case 1: [player pause]; break; case 2: [player play]; break; case 3: [player stop]; break; case 4: [player skipToPreviousItem]; break; case 5: [player skipToNextItem]; break; } }</p>
<ul>
<li>(IBAction) selectSongs: (id) sender { MPMediaPickerController * mediaController = [[MPMediaPickerController alloc] init] ; allowsPickingMultipleItems = YES;</li>
<li>mediaController.delegate = [[MyMediaPickerDelegate alloc] init];</li>
<li>[self presentModalViewController:mediaController animated:YES];</li>
</ul>
<p>}</p>
<ul>
<li>(void)dealloc {</li>
</ul>
<p>[[NSNotificationCenter defaultCenter] removeObserver:self]; [mediaControllerDelegate release]; [player stop]; [mpVolumeView release]; [super dealloc]; } @end Listing 18-7 MyMediaPickerDelegate.h #import &lt;Foundation/Foundation.h&gt; #import &lt;MediaPlayer/MediaPlayer.h&gt; @interface MyMediaPickerDelegate : NSObject &lt;MPMediaPickerController Delegate&gt; { } @end Listing 18-8 MyMediaPickerDelegate.m #import "MyMediaPickerDelegate.h" @implementation MyMediaPickerDelegate - (void) mediaPicker: (MPMediaPickerController *) mediaPicker didPickMediaItems: (MPMediaItemCollection *) mediaItemCollection { NSArray * mediaItems = [mediaItemCollection items]; NSEnumerator * enumer = [mediaItems objectEnumerator]; id myObject; while (myObject = [enumer nextObject]) { MPMediaItem * tempMediaItem = (MPMediaItem *) myObject; NSLog(@"Title: %@", [tempMediaItem valueForProperty: MPMediaItemPropertyTitle]); NSLog(@"id:%@",[tempMediaItem valueForProperty:MPMediaItemProperty Artist]); NSLog(@"id: %i", [tempMediaItem valueForProperty: MPMediaItemPropertyPersistentID]); &nbsp; NSLog(@"-----------------------"); } [mediaPicker.parentViewController dismissModalViewControllerAnimated :YES]; [mediaPicker release]; [[NSNotificationCenter defaultCenter] postNotificationName: @"SongsPicked" object: mediaItemCollection]; }</p>
<ul>
<li>(void) dealloc {</li>
</ul>
<p>[[NSNotificationCenter defaultCenter] removeObserver: self]; [super dealloc]; }@end</p>
<h3>MPMoviePlayerController</h3>
<p>The MPMoviePlayerController plays video bundled as part of your application. It can also stream video from a server. However, despite its name, it cannot use video loaded on a user&rsquo;s device by iTunes. The MPMoviePlayerController presents a modal, full-screen video when it plays. You can only minimally modify its appearance using properties. What you can change are a movie player&rsquo;s background color, a movie&rsquo;s scaling, and the controls presented to the user when playing a movie. You change a movie&rsquo;s background color using the backgroundColor property. You change a movie&rsquo;s scaling using the scalingMode property, and you change the controls presented using the movieControlMode property. The backgroundColor property changes the movie player&rsquo;s background color when playing a movie. For instance, when you watch a video using the Video application on an iPod touch, the background is black. If you wish, you can change that color using this property. The scalingMode property changes a movie&rsquo;s scaling. Valid values for scalingMode are MPMovieScalingModeNone, MPMovieScalingModeAspectFit, MPMovieScalingModeAspect Fill, and MPMovieScalingModeFill. The movieControlMode property determines the visible controls when a movie plays. For instance, when playing a movie using the Video application, if you tap the screen, it presents a control showing the volume, a control showing the location in the video, a scaling control, and a Done button. You can modify which control a player presents using this property. Valid values are MPMovieControlModeDefault, MPMovieControlModeVolumeOnly, and MPMovie ControlModeHidden. You initialize a movie player using the initWithContentURL: method. This method takes an NSURL to the movie&rsquo;s location. This location must be within your application&rsquo;s sandbox or available via an Internet server (it&rsquo;s a URL). After initializing the player, you call the prepareToPlay and play methods. If you wish to be notified that the player has stopped playing, you register as a notification listener, listening for the player&rsquo;s MPMoviePlayerPlay backDidFinishNotification notification.</p>
<h3>Play a Video</h3>
<ol>
<li><strong>Create a new View-based Application called Add the Media Player framework to the application.</strong></li>
<li><strong>Add the movie 3gp from the Resources folder to the project&rsquo;s Resources folder.</strong></li>
<li><strong>Open MoviePlayerController and add an MPMoviePlayerController as a property; name it moviePlayer (Listings 18-9 and 18-10). Do not forget to import the </strong></li>
<li><strong>Add a method called playingDone and an IBAction called playMovie to MoviePlayerView Implement both methods the same as in Listing 18-10. Also implement the viewDidLoad method.</strong></li>
<li><strong>Save or Open MovieplayerViewController.xib in Interface Builder.</strong></li>
<li><strong>Add a button to the canvas and connect it to the playMovie Save and exit Interface Builder.</strong></li>
<li><strong>Click</strong> <strong>Build</strong> <strong>And Go.</strong></li>
</ol>
<p>&nbsp; Like the music player, you register to listen to the finished playing event in the viewDidLoad method. Notice that unlike the previous task, you didn&rsquo;t place the event&rsquo;s name in quotations. This omission was intentional. The event and the event&rsquo;s NSString name are the same, and you can use either. The viewDidLoad method also initializes the movie player with the short.3gp movie&rsquo;s location. In a real- world application, loading a movie when a view loads is probably not a good idea, as movies are usually quite large.When a user taps the button, the movie player begins playing the movie in landscape mode (Figure 18-4). Upon tapping the Done button, the user returns to the application&rsquo;s view in portrait mode. The controller also receives the notification that the player stopped playing and releases the player. Listing 18-9 MovieplayerViewController.h #import &lt;UIKit/UIKit.h&gt; #import &lt;MediaPlayer/MediaPlayer.h&gt; @interface MovieplayerViewController : UIViewController { MPMoviePlayerController * movieplayer; } @property (nonatomic, retain) MPMoviePlayerController * movieplayer; -(IBAction) playMovie: (id) sender; - (void) playingDone; @end &nbsp; <img class="aligncenter wp-image-5488 " src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Slide150-460x243.png" alt="Slide150" width="454" height="239" /></p>
<p style="text-align: center;">Figure 18-4 The application running in iPhone Simulator</p>
<p>&nbsp; Listing 18-10 MovieplayerViewController.m #import "MovieplayerViewController.h" @implementation MovieplayerViewController @synthesize movieplayer; - (void) viewDidLoad { [[NSNotificationCenter defaultCenter] addObserver:self selector: @selector (playingDone) name:MPMoviePlayerPlaybackDidFinishNotification object:nil]; }</p>
<ul>
<li>(IBAction) playMovie: (id) sender {</li>
</ul>
<p>movieplayer = [[MPMoviePlayerController alloc] initWithContentOfURL: [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"short" ofType:@"3gp"]]]; [movieplayer play]; }</p>
<ul>
<li>(void) playingDone { [movieplayer release];</li>
<li>movieplayer = nil;</li>
</ul>
<p>}</p>
<ul>
<li>(void)dealloc {</li>
</ul>
<p>[[NSNotificationCenter defaultCenter] removeObserver:self]; [movieplayer release]; [super dealloc]; } @end</p>103:T3096,<h2 style="text-align: justify;">OLEDB&nbsp; COMMAND TRASFORMATION</h2>
<p style="text-align: justify;">It is used to Execute SQL Command that Works&nbsp; For each and every record (or) row in a dataset.</p>
<p style="text-align: justify;"><strong>Note:</strong> OLEDB Command Works like cursor in the SQL (or)T-SQL.</p>
<p style="text-align: justify;"><strong>Steps to configure OLEDB Command:</strong></p>
<p style="text-align: justify;">Open <a href="https://tekslate.com/tutorials/msbi-tutorials/" target="_blank" rel="noopener">Business Intelligence Development Studio</a> &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Create a new package and rename it as OLEDB Command. dtsx &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Data Flow drag and drop OLEDB source&nbsp;&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Double click on OLEDB Source to configure it &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Provide connection manager if exists and select <a href="https://tekslate.com/sql-server-integration-in-ssis/" target="_blank" rel="noopener">SQL Command</a> option from &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Data access mode drop down list. &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Provide the following SQL Command text Select * from Human Resources. Employee &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Where Employee ID = 1&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select columns and click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Drag and Drop OLEDB Command and make a connection from&nbsp; OLEDB source to OLEDB Command &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Double click on OLEDB Command to configure it. &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Connection Manager Tab Select the Connection manager</p>
<p style="text-align: justify;">In components property tab, set</p>
<p style="text-align: justify;">SQL Command - SQL Command ----- update Human Resources. Employee,</p>
<p style="text-align: justify;">Set Martial Status =&rsquo;D&rsquo; Where employee ID = 1 &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click Refresh and click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Execute package</p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on MSBI? Explore the blog post on <a href="https://tekslate.com/msbi-training/" target="_blank" rel="noopener">MSBI Training</a> to become a pro in MSBI.</strong></em></pre>
<p style="text-align: justify;"><strong>FUZZY Look up Transformation :</strong></p>
<p style="text-align: justify;">I t is used to compare the data from source to reference dataset by usingFuzzy matching [closely matching]</p>
<p style="text-align: justify;"><strong>Note:</strong></p>
<p style="text-align: justify;">IT can be spelled customers in customer&rsquo;s dimensions table.</p>
<p style="text-align: justify;">Fuzzy Look up uses To leant Index (ETI) to find matching rows in the reference table.</p>
<p style="text-align: justify;">Each record in the reference table is broken up into tokens or words. If you take the</p>
<p style="text-align: justify;">Name as an Example from the customer Dimension Table and if your reference dataset</p>
<p style="text-align: justify;">Contains Rama&nbsp; Rao, the ETI will Contain Rama Rao. By using Token delimiters.</p>
<p style="text-align: justify;"><strong>Steps to Configure Fuzzy Look Up</strong></p>
<p style="text-align: justify;">Open Business Intelligence Development Studio &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Create a new package and rename it as Fuzzy Look Up. dtsx &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Control Flow drag and drop Data FLOW Task&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Data Flow drag and drop OLEDB source &nbsp;&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Double click on OLEDB Source to configure it &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Provide connection manager if exists &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select Production.&nbsp; Product category table from the drop down list&nbsp;&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select Columns &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Drag and Drop Fuzzy Look Up transformation&nbsp; and make a connection from Source to Fuzzy Look Up&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Double Click on fuzzy look up to Configure it. &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Reference Tab,</p>
<p style="text-align: justify;">Connection - Provide destination connection Manager</p>
<p style="text-align: justify;">Reference Table - Select [Production].[Product Sub category] &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Columns Tab,</p>
<p style="text-align: justify;">Make a Join or Mapping between Product Category Id from input</p>
<p style="text-align: justify;">Column to output column &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Drag and Drop OLEDB destination and make a connection from Look up to OLEDB destination &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Provide destination Connection Manager and click new to create a new table &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Rename it as Fuzzy Look up &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select Mapping&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Execute Package</p>
<p style="text-align: justify;"><strong>Import Column Transformation:</strong></p>
<p style="text-align: justify;">It is used to load binary data (photos, documents and media etc) from the file System in to data flow. From the data flow it can then be loaded in to a table.</p>
<p style="text-align: justify;"><strong>Steps to Configure Import Column Transformation</strong></p>
<p style="text-align: justify;">Open Business Intelligence Development Studio &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Create a new package and rename it as Import column. dtsx &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Control flow drag and drop data flow task and it as DFT. import column.&nbsp;&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Data Flow drag and drop OLEDB source&nbsp;&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Double click on OLEDB Source to configure it &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Provide connection manager if exists&nbsp; &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select Production. Product Photo &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select Columns and Click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Drag and drop import column transformation and make a connection from Source to import column &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Double click on import column transformation to configure it &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select input columns and check thumb nail photo file name. Input column &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">(The input Column must be of type DT_STR or DT_WSTR) &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select input and output Properties tab and expand input column &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Output and expand output columns &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click add Column to add a new output Column and rename it as image &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">File and note down the ID of image file output column &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Expand Import Column Input and Expand Input Columns &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select thumbnail photo file name and set, &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">File Data Column ID &ndash; 65</p>
<pre style="text-align: center;"><em><strong>Learn more about <a href="https://tekslate.com/msbi-interview-questions-answers" target="_blank" rel="noopener">MSBI Interview Questions</a> in this blog post.</strong></em></pre>
<p style="text-align: justify;"><strong>Script Component:</strong>&nbsp; &nbsp;It is used to Execute Scripts on micro Soft Visual basics.Net to Perform certain Operations.</p>
<p style="text-align: justify;"><strong>Steps to configure script component</strong></p>
<p style="text-align: justify;">Open Business Intelligence Development studio &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Create a new package and Rename it as script component dtsx. &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In control flow drag and drop Data flow task &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Data Flow drag and drop script component and select &ldquo;source&rdquo; radio button as script component type [Here script component is a source in the data flow and provides data to the output column] &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In inputs and outputs page Expand output o &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select output column and click add columns to add new output columns which will be carry for word it to next level &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Rename the column o as SNO and column 1 as SName &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select script page and click design script &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">In Microsoft visual studio for application editor providing the fall code to add new rows by adding Add row () method .</p>
<p style="text-align: justify;">Output O Buffer. Add Row ()</p>
<p style="text-align: justify;">Out put O Buffer . SNo&nbsp; = 123</p>
<p style="text-align: justify;">Output O Buffer. SName= &ldquo;Rama&rdquo;</p>
<p style="text-align: justify;">Click ok and close Vs for application Editor</p>
<p style="text-align: justify;">Drag and drop OLEDB destination and make a connection from script component to OLEDB destination. &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Double click on destination to configure it and provide destination connection manager. &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click new to create destination table and rename it as script component &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click ok &nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Select <a href="https://tekslate.com/mapping-parameter-informatica/" target="_blank" rel="noopener">mapping </a>&nbsp; &nbsp; ---------&gt;</p>
<p style="text-align: justify;">Click</p>
<p style="text-align: justify;"><strong>For an Indepth knowledge on MSBI&nbsp;click on:</strong></p>
<ul style="text-align: justify;">
<li><span class="white-back"><a href="https://tekslate.com/steps-to-onfigure-create-data-cube/" target="_blank" rel="noopener">SQL Server Analysis Services</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/report-server-in-ssrs/" target="_blank" rel="noopener">Report Server</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/transfer-sql-server-objects-task/" target="_blank" rel="noopener">Transfer SQL server Objects Task</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/flat-file-source-msbi/" target="_blank" rel="noopener">Flat file source</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/ssis-slowly-changing-dimension-scd/" target="_blank" rel="noopener">Slowly Changing Dimension</a></span></li>
</ul>104:Tf35,<h2>WMI&nbsp; Data reader task</h2>
<p>It is used to read the Data about a system using WMI Query language &nbsp; <strong>Steps to Configure WMI Data reader task</strong> Open <a href="https://tekslate.com/tutorials/msbi-tutorials/" target="_blank" rel="noopener">Business Intelligence Development studio</a> &nbsp; &nbsp; &nbsp;-----------&gt; Create a new package and Rename it as WMI Data reader task .dtsx &nbsp; &nbsp; &nbsp;-----------&gt; In control How drag and drop WMI data reader task &nbsp; &nbsp; &nbsp;-----------&gt; Double click on it to configure and set WMI Connection&nbsp; -- New Connection &nbsp; &nbsp; &nbsp;-----------&gt; Check Windows authentication check box &nbsp; &nbsp; &nbsp;-----------&gt; Click text to evaluate the connection &nbsp; &nbsp; &nbsp;-----------&gt; Click ok WQL Query source Type &ndash; Direct input default WQL Query source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Select name, star Mode form Win 32 &ndash; Service Destination Type &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- File connection (default) Destination &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- New connection &nbsp; &nbsp; &nbsp;-----------&gt; Create File &nbsp; &nbsp; &nbsp;-----------&gt; Click Browse &nbsp; &nbsp; &nbsp;-----------&gt; Provide file name as WIN 32 &ndash; service details .csv &nbsp; &nbsp; &nbsp;-----------&gt; Click open &nbsp; &nbsp; &nbsp;-----------&gt; Click Ok</p>
<pre style="text-align: center;"><em><strong>Interested in mastering MSBI Training? Enroll now for FREE demo on <a href="https://tekslate.com/msbi-training/" target="_blank" rel="noopener">Online MSBI Training</a>.</strong></em></pre>
<p>&nbsp; <strong>Example WMI queries:</strong> Below query used to display the installed soft wares list from Microsoft Manufacturer Select * from Win 32&nbsp; -- Pn P entity, where Manufacturer = Microsoft &nbsp; <strong>Deployed project (SSIS) to integration services server:</strong> In BIDS select &ldquo;project Menu&rdquo; and select properties (last option) &nbsp; &nbsp; &nbsp;-----------&gt; Select deployment utility and set create deployment utility &ndash; true deployment output path&nbsp;&nbsp; -- bin / deployment&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;-----------&gt; In solution explorer select project and right click &nbsp; &nbsp; &nbsp;-----------&gt; Select Rebuild &nbsp; &nbsp; &nbsp;-----------&gt; Open windows Explorer and navigate to the project go to bin folder and go to deployment folder, select integration services deployment manifest file with name as project [Morning 8:30] &nbsp; &nbsp; &nbsp;-----------&gt; Select Manifest file and right click and select deployee &nbsp; &nbsp; &nbsp;-----------&gt; In welcome to the package installation wizard &nbsp; &nbsp; &nbsp;-----------&gt; Click next &nbsp; &nbsp; &nbsp;-----------&gt; Check file system deployment radio button and also check validate packages after installation check box &nbsp; &nbsp; &nbsp;-----------&gt;</p>
<pre style="text-align: center;"><em><strong>Learn more about <a href="https://tekslate.com/msbi-interview-questions-answers" target="_blank" rel="noopener">MSBI Interview Questions</a> in this blog post.</strong></em></pre>
<p>Click next &nbsp; &nbsp; &nbsp;-----------&gt; Click next &nbsp; &nbsp; &nbsp;-----------&gt; Click next &nbsp; &nbsp; &nbsp;-----------&gt; Click finish &nbsp; &nbsp; &nbsp;-----------&gt; Open SSMS &nbsp; Connect to integration services Expand stored packages and also expand file system you would observe that the morning 8:30 project deployed to server.</p>105:T15b4,<p>&nbsp;</p>
<ul>
<li>WSDL are 2 types</li>
</ul>
<ol>
<li>Abstract <a href="https://tekslate.com/wsdlweb-service-description-language/" target="_blank" rel="noopener">WSDL</a></li>
<li>Concrete WSDL</li>
</ol>
<table>
<tbody>
<tr>
<td width="308">Abstract WSDL</td>
<td width="308">Concrete WSDL</td>
</tr>
<tr>
<td width="308">ElementsMessagesPort type Operation</td>
<td width="308">Abstract + Binding/service end point URL</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;</strong> <strong>Synchronous:</strong> Single port is called synchronous, it has (input ,output) , (Receive, reply) <strong>Asynchronous:</strong> Multiple ports is called asynchronous, it has (input, input), (receive, call-back) <strong>One way:</strong> single port and no response is called one-way , it has (input),(Receive) <strong>Sample WSDL:</strong> &lt;? XML version = &ldquo;1.0&rdquo; encoding = &ldquo;UTF-8&rdquo;?&gt; &lt;Schema&gt; &lt;element name=&rdquo;add request element&rdquo; &gt; &lt;complex Type&gt; &lt;Sequence&gt; &lt;element name=&rdquo;n1&rdquo;&nbsp; Type = &ldquo;int&rdquo;/&gt; &lt;element name=&rdquo;n2&rdquo;&nbsp; Type = &ldquo;int&rdquo;/&gt; &lt;/Sequence&gt; &lt;/complex Type&gt; &lt;/element&gt; &lt;element name=&rdquo;add Response element&rdquo; &gt; &lt;complex Type&gt; &lt;Sequence&gt; &lt;element name=&rdquo;result&rdquo;&nbsp; Type = &ldquo;int&rdquo;/&gt; &lt;/Sequence&gt; &lt;/complex Type&gt; &lt;/element&gt; &lt;/schema&gt; &lt;message name =&rdquo;addition request message&rdquo;&gt; &lt;part name =&rdquo;payload&rdquo; element =&rdquo;Add request element&rdquo;&gt; &lt;/message&gt; &lt;message name =&rdquo;addition response message&rdquo;&gt; &lt;part name =&rdquo;payload&rdquo; element =&rdquo;Add response element&rdquo;&gt; &lt;/message&gt;</p>
<pre style="text-align: center;"><em><strong>Interested in mastering Oracle SOA&nbsp;Training? Enroll now for FREE demo on <a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA&nbsp;Training</a>.</strong></em></pre>
<p><strong>Note:</strong> Synchronous and asynchronous same for here, after then <strong>Synchronous WSDL:</strong> &lt;port type name =&rdquo;Addition port type&rdquo;&gt; &lt;operation name =&rdquo;Add&rdquo;&gt; &lt;input message =&rdquo;addition request message&rdquo;&gt; &lt;output message =&rdquo;addition response message&rdquo;&gt; &lt;/operation&gt; &lt;/port type&gt; <strong>Asynchronous WSDL:</strong> &lt;port type name =&rdquo;Addition port type&rdquo;&gt; &lt;operation name =&rdquo;Add&rdquo;&gt; &lt;input message =&rdquo;addition request message&rdquo;&gt; &lt;/operation&gt; &lt;/port type&gt; &lt;port type name =&rdquo;Addition port type result&rdquo;&gt; &lt;operation name =&rdquo;result&rdquo;&gt; &lt;input message =&rdquo;addition response message&rdquo;&gt; &lt;/operation&gt; &lt;/port type&gt;</p>
<pre style="text-align: center;"><em><strong>Learn more about <a href="https://tekslate.com/oracle-soa-interview-questions-answers" target="_blank" rel="noopener">Oracle SOA Interview Questions</a> in this blog post.</strong></em></pre>
<p><strong>Concrete WSDL contains:</strong></p>
<ol>
<li>IP Address</li>
<li>Port number</li>
<li>Application name</li>
</ol>
<p>&nbsp; &nbsp; <strong>Instruction pattern/templates/message exchange patterns(MEPS):</strong></p>
<table>
<tbody>
<tr>
<td width="205">synchronous</td>
<td width="205">Asynchronous</td>
<td width="205">One way</td>
</tr>
<tr>
<td width="205">
<ol>
<li>Immediate Response</li>
</ol>
</td>
<td width="205">Delay response</td>
<td width="205">No response</td>
</tr>
<tr>
<td width="205">
<ol start="2">
<li>Contains only single port and defined input, output and fault message under operation</li>
</ol>
</td>
<td width="205">Contains multiple ports and defined only input message under operation.</td>
<td width="205">Contains single port type and only input message inside operation</td>
</tr>
<tr>
<td width="205">
<ol start="3">
<li>BPEL contains &ldquo;receive and reply&rdquo; activities</li>
</ol>
</td>
<td width="205">BPEL process contains &ldquo;receive and call back activities&rdquo;</td>
<td width="205">Only &ldquo;receive&rdquo; activity</td>
</tr>
<tr>
<td width="205">
<ol start="4">
<li>maximum default waiting time &ldquo;45sec&rdquo;</li>
</ol>
</td>
<td width="205">No time limit</td>
<td width="205">No time</td>
</tr>
<tr>
<td width="205">
<ol start="5">
<li>State less process</li>
</ol>
</td>
<td width="205">State full process</td>
<td width="205">No stateNote: There is no reply that&rsquo;s why no state.</td>
</tr>
</tbody>
</table>
<p><strong>For an Indepth knowledge on Oracle SOA click on:</strong></p>
<ul>
<li><span class="white-back"><a href="https://tekslate.com/osb-oracle-service-bus/" target="_blank" rel="noopener">Oracle service bus in SOA</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/business-rule-engine-bre/" target="_blank" rel="noopener">Oracle SOA Business rule engine</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/jms-java-messaging-service11g/" target="_blank" rel="noopener">Java messaging service in Oracle SOA 11g</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/11g-installation/" target="_blank" rel="noopener">Oracle 11g installation step by step process</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/ftpfile-transfer-protocol/" target="_blank" rel="noopener">How to work with FTP(File transfer protocol) in Oracle SOA</a></span></li>
</ul>
<p>&nbsp;</p>106:Td5e,<p><strong>10g Installation steps: (10g &ndash; windows XP 32 bit)</strong></p>
<ol>
<li>Install Data base XE</li>
<li>SOA 10g install (Note: included OAS)</li>
<li>J developer (No need of install J developer in 10g, just copy it paste)</li>
</ol>
<p><strong>10g installation steps (own):</strong></p>
<ol>
<li>Database : password&nbsp; = welcome1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User manual</li>
</ol>
<p>re enter password = welcome1</p>
<ol start="2">
<li>SOA 10g : Instance Name = Home User manual</li>
</ol>
<p>password = welcome1</p>
<pre style="text-align: center;"><em><strong>Inclined to build a profession as Oracle SOA Developer? Then here is the blog post on
&nbsp;<a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training</a>.</strong></em></pre>
<p><strong>Starting and stopping server(10g)</strong></p>
<ul>
<li>C:/product/10.1.3.1/ Oracle AS-1/bin/Opmnctl start all</li>
<li>C:/product/10.1.3.1/ Oracle AS-1/bin/Opmnctl stop all</li>
<li>C:/product/10.1.3.1/ Oracle AS-1/bin/Opmnctl status</li>
</ul>
<p><strong>Server URL (10g)</strong></p>
<ul>
<li>http: //local host:8888/ BPEL console &ndash; (Deployed SOA projects)</li>
<li>http: //local host:8888/ESB&ndash; (Deployed ESB projects)</li>
<li>http: //local host:8888/EM&ndash; (configuring adapters and deployed java projects)</li>
</ul>
<pre style="text-align: center;"><em><strong>Learn more about <a href="https://tekslate.com/oracle-soa-interview-questions-answers" target="_blank" rel="noopener">Oracle SOA Interview Questions</a> in this blog post.</strong></em></pre>
<p><strong>Projects Deploy steps(10g)</strong></p>
<ol>
<li>BPEL projects -&gt; Right click on project &ndash;(Deploy)</li>
<li>ESB projects -&gt; Right click on project &ndash;(Register with ESB)</li>
</ol>
<p><strong>Patch</strong> SOA 10g (10.1.3.1.0) + patch (10.1.3.4.0)</p>
<ol>
<li>solutions for the Bugs (Defects) n the product</li>
<li>Extending the functionality.</li>
</ol>
<ul>
<li>Data base 10g User name = system welcome1</li>
<li>Data base 11g User name = system</li>
<li>SOA 10g user name = OC4jamin welcome1</li>
<li>SOA 11g user name = web logic</li>
<li>SOA 10g default port no =8888</li>
<li>SOA 11g default port no =7001(for web logic),8001(for SOA)</li>
<li>SOA 10g SID =XE</li>
<li>SOA 11g SID =Orcl</li>
</ul>
<p><strong>For an Indepth knowledge on Oracle SOA click on:</strong></p>
<ul>
<li><span class="white-back"><a href="https://tekslate.com/osb-oracle-service-bus/" target="_blank" rel="noopener">Oracle service bus in SOA</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/business-rule-engine-bre/" target="_blank" rel="noopener">Oracle SOA Business rule engine</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/jms-java-messaging-service11g/" target="_blank" rel="noopener">Java messaging service in Oracle SOA 11g</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/11g-installation/" target="_blank" rel="noopener">Oracle 11g installation step by step process</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/ftpfile-transfer-protocol/" target="_blank" rel="noopener">How to work with FTP(File transfer protocol) in Oracle SOA</a></span></li>
</ul>
<p>&nbsp; &nbsp;</p>107:T3e98,<p><strong>10g &ndash; BPEL Console(Mozilla fire fox)</strong></p>
<ol>
<li><strong>Dash Board:</strong></li>
</ol>
<p>The dash board tab contains all the deploy <a href="http://tekslate.com/administering-bpel-process-service-components-engines/" target="_blank" rel="noopener">BPEL process</a> projects and latest instances. &nbsp; <strong>Project Retried Operation:</strong> Dash board <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;click on project <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />click on &ldquo;manage&rdquo;-&gt; select retried <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;apply [Note: Retired operation used to hide the project, means we will not done the over ride and execution but project saved n process]. &nbsp; <strong>Dash board Contains: (After double click on project)</strong></p>
<ul>
<li>Manage</li>
<li>Initiate</li>
<li>Descriptor</li>
<li><a href="http://tekslate.com/wsdlweb-service-description-language/" target="_blank" rel="noopener">WSDL</a></li>
<li>Sensors</li>
<li>Source</li>
<li>Test Suites</li>
<li>Reports</li>
</ul>
<p>&nbsp; <strong>Manage:</strong> <strong>&nbsp;</strong>&nbsp;It contains active and retired options &nbsp; <strong>Initiate:</strong> It contains test the project means give input values. &nbsp; <strong>Descriptor:</strong> It contains project details. &nbsp; <strong>WSDL:</strong> It contains project URL, end point URL &nbsp; <strong>Sensors:</strong> <strong>Source:</strong> It contains 1) created date, time 2)&nbsp; Author/sai teja 3) Purpose/synchronous &nbsp; <strong>Test Suites:</strong> Save as unit test (.XML) , save as composite test (.Zlp) &nbsp; <strong>Reports:</strong> Report the information</p>
<ol start="2">
<li><strong>BPEL process:</strong></li>
</ol>
<p>It shows all projects (active and retried)</p>
<ol start="3">
<li><strong>Instances:</strong></li>
</ol>
<ul>
<li>Already tested or executed files shows in this folder(starting to till now)</li>
<li>When you are over ride the project without change the version then previous version is hidden.</li>
</ul>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on Oracle SOA? Explore the blog post on <a href="http://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training
</a> to become a pro in Oracle SOA.</strong></em></pre>
<ol start="4">
<li><strong>Activities:</strong></li>
</ol>
<p>It shows the individual activities. Receive, invoke, assign <strong>Testing:</strong></p>
<ol>
<li>EM <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;for 11g/ BPEL console 10g</li>
<li>End point URL <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;copy the URL and directly paste into the browser</li>
</ol>
<ul>
<li>SOAPU</li>
</ul>
<ol>
<li>J meter</li>
</ol>
<p>&nbsp; <strong>Partner link(invoke and receive, activities)</strong></p>
<ul>
<li>Invoke activity use for synchronous</li>
<li>Invoke and receive activities are use for asynchronous.</li>
<li>invoke activity use for</li>
</ul>
<ol>
<li>Call concrete WSDL&rsquo;s</li>
<li>Call adopters</li>
</ol>
<ul>
<li>1<sup>st</sup> receive activity use for -&gt; call adaptor(ex: fill poll, db poll)</li>
</ul>
<p><strong>&nbsp;</strong> <strong>Synchronous partner link:</strong> <img class="alignnone wp-image-5603" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/2-460x222.png" alt="2" width="621" height="298" /> &nbsp; <strong>Asynchronous partner link:</strong> &nbsp; <img class="alignnone wp-image-5604" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/3-460x223.png" alt="3" width="465" height="225" /> &nbsp;</p>
<table>
<tbody>
<tr>
<td width="308"><strong>Synchronous partner link</strong></td>
<td width="308"><strong>Asynchronous partner link</strong></td>
</tr>
<tr>
<td width="308">
<ol>
<li>You should maintain partner role</li>
</ol>
</td>
<td width="308">You should maintain my role</td>
</tr>
<tr>
<td width="308">
<ol start="2">
<li>Invoke having input , output variable</li>
</ol>
</td>
<td width="308">Invoke having only input variable</td>
</tr>
<tr>
<td width="308">
<ol start="3">
<li>Here no receive activity</li>
</ol>
</td>
<td width="308">Receive activity use for receive the response from asynchronous WSDL</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;</strong> <strong>Service requests&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service Provider</strong></p>
<ol>
<li>Asynchronous - Asynchronous &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> good connection</li>
<li>synchronous -&nbsp; synchronous &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;good connection</li>
<li>Asynchronous -&nbsp; synchronous &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> good connection</li>
<li>synchronous -&nbsp; Asynchronous &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;Bad connection</li>
</ol>
<p>&nbsp; <strong>Additional BPEL Process:</strong> <img class="alignnone wp-image-5605" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/4-460x254.png" alt="4" width="491" height="270" /> &nbsp; <strong>Switch Activity: It&rsquo;s a condition</strong> <img class="alignnone wp-image-5606" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/5-460x308.png" alt="5" width="482" height="321" /> &nbsp; &nbsp; <strong>XSD:</strong> Input &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> n<sub>1 </sub>,n<sub>2</sub> &ndash; int output <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;result<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> int <strong>Note:</strong> Instead of A<sub>4, </sub>A<sub>5,</sub>A<sub>6 </sub>&nbsp;we are using only one above switch <strong>Switch: </strong> <strong>Case 1: </strong>Operation =&rsquo;Add&rsquo; <strong>Case 2: </strong>Operation =&lsquo;sub&rsquo; <strong>otherwise: </strong>Operation =&rsquo;mul&rsquo; <strong>&nbsp;</strong><strong>&nbsp;</strong> <strong>Parallel flow process : &ldquo;Bank services&rdquo;</strong> &nbsp; <img class="alignnone wp-image-5607" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/6-460x444.png" alt="6" width="480" height="462" /> &nbsp; <strong>ICICI:</strong></p>
<table>
<tbody>
<tr>
<td width="205"><strong>Input</strong></td>
<td width="205"><strong>Output</strong></td>
<td width="205"><strong>XSD</strong></td>
</tr>
<tr>
<td width="205">A<sub>3</sub></td>
<td width="205">ICICIROI</td>
<td width="205">Input -&gt; Amount, Duration -&gt; int</td>
</tr>
<tr>
<td width="205">A<sub>4</sub></td>
<td width="205">ICICIROI</td>
<td width="205">Output-&gt; ICICIROI -&gt; float</td>
</tr>
<tr>
<td width="205">A<sub>5</sub></td>
<td width="205">ICICIROI</td>
<td width="205"><strong>&nbsp;</strong></td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; <strong>Switch:</strong> <strong>Case 1: </strong>Amount &gt;0 and amount &lt;20,000 or duration &gt;0 and duration &lt;5 <strong>Case2: </strong>Amount &gt;20,000 and amount &lt;21,00,000 or duration &gt;=5 and duration &lt;10 Bank services: XSD: Input: Amount, duration } int Output : ICICIROI, HDFC ROI,HSBC ROI } float <strong>A<sub>1</sub></strong></p>
<table>
<tbody>
<tr>
<td width="308"><strong>Input</strong></td>
<td width="308"><strong>Output</strong></td>
</tr>
<tr>
<td width="308">
<ol>
<li>Amount, duration</li>
</ol>
</td>
<td width="308">ICICI invoke input</td>
</tr>
<tr>
<td width="308">
<ol start="2">
<li>Amount, duration</li>
</ol>
</td>
<td width="308">HDFC invoke input</td>
</tr>
<tr>
<td width="308">
<ol start="3">
<li>Amount, duration</li>
</ol>
</td>
<td width="308">HSBC invoke input</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>A<sub>2</sub></strong></p>
<table>
<tbody>
<tr>
<td width="308"><strong>Input</strong></td>
<td width="308"><strong>Output</strong></td>
</tr>
<tr>
<td width="308">ICICI invoke output</td>
<td width="308">Output</td>
</tr>
<tr>
<td width="308">HDFC invoke output</td>
<td width="308">Output</td>
</tr>
<tr>
<td width="308">HSBC invoke output</td>
<td width="308">Output</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>POC (Proof of Concept)</strong> <strong>Question:</strong> First name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 -20 characters last name loan Amount Address</p>
<ol>
<li>state 8 -20 characters</li>
<li>city</li>
<li>Zip code &ndash; 10 digits</li>
</ol>
<p><strong>Required output:</strong> Loan Amount &lt; 10,000 First name + Last name is approved Loan Amount &gt; 10,000 First name + Last name is rejected <strong>Answer:</strong> Project Name/Loan Approval process http://www.wipro.com/loan approval process/1.0 <strong>change the XSD:</strong> <strong>Input :</strong> First name &nbsp; &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> &ldquo;String&rdquo; last name &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&ldquo;String&rdquo; loan Amount <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;&ldquo;int&rdquo; Address <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;add: Address</p>
<pre style="text-align: center;"><em><strong>Learn more about <a href="http://tekslate.com/oracle-soa-interview-questions-answers" target="_blank" rel="noopener">Oracle SOA Interview Questions</a> in this blog post.</strong></em></pre>
<p><strong>Output: </strong> Result&nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> &ldquo;String&rdquo; XML NS: Add =http://www. example.org</p>
<table width="100%">
<tbody>
<tr>
<td>Reply</td>
</tr>
</tbody>
</table>
<table width="100%">
<tbody>
<tr>
<td>Receive</td>
</tr>
</tbody>
</table>
<table width="100%">
<tbody>
<tr>
<td>Client</td>
</tr>
</tbody>
</table>
<table width="100%">
<tbody>
<tr>
<td>Case&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case</td>
</tr>
</tbody>
</table>
<table width="100%">
<tbody>
<tr>
<td>A1</td>
</tr>
</tbody>
</table>
<table width="100%">
<tbody>
<tr>
<td>A2</td>
</tr>
</tbody>
</table>
<p>&lt;import name space =&rdquo;http://www. example.org&rdquo; schema location = &ldquo;Address details. XSD&rdquo; &nbsp; <img class="alignnone size-full wp-image-5612" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/7.png" alt="7" width="361" height="326" /> &nbsp; &nbsp; &nbsp; &lt;Simple type name = &ldquo;First name type&rdquo;&gt; &lt;restriction base /type = &ldquo;String&rdquo;&gt; &lt;min length value =&rdquo;8&rdquo;/ &lt;Max length value &ldquo;20&rdquo;/ &lt;/restriction&gt; &lt;/Simple type&gt; &nbsp; <strong>Create one more XSD:</strong> Right click on BPEL (It shows in project inside)(10g) &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;new &nbsp; &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> Select XML -&gt; <a href="http://tekslate.com/xml/" target="_blank" rel="noopener">XML Schema </a><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;click&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;ok &nbsp; &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> File name/ address details.XSD &nbsp; <strong>Address details .XSD:</strong> Already it contains target name space = http:// www. example.org &lt;XSD: complex type name = &ldquo;Add Type&rdquo; &gt; &lt;XSD: Sequence&gt; &lt;XSD : element name =&rdquo;city&rdquo;&nbsp;&nbsp; Type =&rdquo;city Type&rdquo;/&gt; &lt;XSD : element name =&rdquo;state&rdquo;&nbsp;&nbsp; Type =&rdquo;state Type&rdquo;/&gt; &lt;XSD : element name =&rdquo;Zip code&rdquo;&nbsp;&nbsp; Type =&rdquo;Zip code Type&rdquo;/&gt; &lt;/XSD : Sequence&gt; &lt;/XSD: complex type&gt; &lt;XSD : simple Type name =&rdquo;city type&rdquo;&gt; &lt;XSD : restriction base =&rdquo;XSD:string&rdquo;&gt; &lt;XSD: min length value =&rdquo;8&rdquo;/&gt; &lt;XSD: max length value =&rdquo;20&rdquo;/&gt; &lt;/XSD: restriction&gt; &lt;/XSD: simple Type&gt; &lt;XSD : simple Type name =&rdquo;Zip type&rdquo;&gt; &lt;XSD : restriction base =&rdquo;int&rdquo;&gt; &lt;XSD: Total digits =&rdquo;10&rdquo;/&gt; &lt;/XSD: restriction&gt; &lt;/XSD: Simple type&gt; <strong>For an Indepth knowledge on Oracle SOA click on:</strong></p>
<ul>
<li><span class="white-back"><a href="http://tekslate.com/osb-oracle-service-bus/" target="_blank" rel="noopener">Oracle service bus in SOA</a></span></li>
<li><span class="white-back"><a href="http://tekslate.com/business-rule-engine-bre/" target="_blank" rel="noopener">Oracle SOA Business rule engine</a></span></li>
<li><span class="white-back"><a href="http://tekslate.com/jms-java-messaging-service11g/" target="_blank" rel="noopener">Java messaging service in Oracle SOA 11g</a></span></li>
<li><span class="white-back"><a href="http://tekslate.com/11g-installation/" target="_blank" rel="noopener">Oracle 11g installation step by step process</a></span></li>
<li><span class="white-back"><a href="http://tekslate.com/ftpfile-transfer-protocol/" target="_blank" rel="noopener">How to work with FTP(File transfer protocol) in Oracle SOA</a></span></li>
</ul>
<p>&nbsp;</p>108:T3bd9,<p><strong>Installation steps:</strong></p>
<ol>
<li>Data base [10g/11g]</li>
</ol>
<ul>
<li>Increase data base performance</li>
</ul>
<ol start="2">
<li>Run 11g[MDS, Dehydration tables]</li>
<li>J-developers /web logic 11g</li>
</ol>
<ul>
<li>Jre &ndash; 64 bit/JDk -32 bit</li>
</ul>
<ol start="4">
<li>SOA generic 11g/OSB generic 11g</li>
<li>Domain creation</li>
<li>Mds update</li>
<li>start web logic and SOA servers</li>
<li>update j- developers</li>
<li>J- developers &ndash;(Source code numbers</li>
<li>create boot file(user name, password)</li>
<li>start managed server with the help of console</li>
<li>servers desktop shortcuts</li>
<li>Table creation</li>
<li>partition(-:7001/EM)</li>
<li>-: 7001/Em (instance completed)</li>
</ol>
<p>&nbsp; <strong>DB Installation:</strong></p>
<ul>
<li>password = welcome 1</li>
<li>Re- enter password = welcome1</li>
<li>Increase data base performance:</li>
<li>All programs &ndash;Oracle Data base 10g expression edtion &nbsp; &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /></li>
</ul>
<p>Run <a href="https://tekslate.com/sql-server-integration-in-ssis/" target="_blank" rel="noopener">SQl command line</a>&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> SQL &gt; Connect sys/welcome1 xe as sysdba; SQL&gt; alter system reset session scope =spfile&nbsp; sid =&rsquo;*&rsquo;; SQL&gt; alter system set process = 500 scope =spfile; SQL &gt; Shutdown immediate; &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> Exit</p>
<ul>
<li>All programs -&gt; Oracle data base 10g express edition <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />start data base <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />exit</li>
</ul>
<ul>
<li>All programs -&gt; oracle data base 10g express edition&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;Run SQL command line &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /></li>
</ul>
<p>&nbsp; SQL &gt; Connect sys /welcome Xe as sys dba; SQL&gt; show parameter session; SQL&gt; show parameter process; SQL&gt; exit; RCU &ndash; Installation:</p>
<ul>
<li>ofm &ndash;rcu &ndash;wn -&gt; rcu Home<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> BIN -<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />rcu <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;double click<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> next &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /></li>
</ul>
<p>Create<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />next <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;service name(Xe[DRCL]),Host name(local host),port (1521),username (sys),password(welcome1)<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />next<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> ignore <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;ok &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> create a new prefx (dev) &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;SOA and BPM infra structure &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;next <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />ok &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> next<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> ok &nbsp; &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;pass word (welcome1),conform password(welcome1)<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />next <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />next <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />ok <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />ok <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;create <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;close</p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on Oracle SOA? Explore the blog post on 
<a href="https://tekslate.com/oracle-soa-training/" target="_blank" rel="noopener">Oracle SOA Training in Hyderabad</a> to become a pro in Oracle SOA.</strong></em></pre>
<p><strong>3) J &ndash; Developer:</strong></p>
<ul>
<li>J develop studio 11115 install<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Double click next</li>
</ul>
<p>Create a new middleware home&nbsp; next&nbsp; next&nbsp; next &ldquo;All users&rdquo; start menu&nbsp; next&nbsp; next&nbsp; 100%&nbsp; done</p>
<ul>
<li>Install JRE:</li>
</ul>
<p>64 bit&nbsp; JRE 32 bit&nbsp; JDK &nbsp; <strong>4) $oa Installation:</strong> Ofm &ndash; soa &ndash; generic&nbsp; Disk 1&nbsp; [set up&nbsp; yes]&nbsp; paste URL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next&nbsp; next (skip software updates)&nbsp; next&nbsp; next [web logic server&nbsp; next]&nbsp; install&nbsp; 100%&nbsp; next&nbsp; finish C: programfiles/java/jre6&nbsp; 64 bit C: Oracle/middleware_24/jdk 160&nbsp; 32 bit &nbsp; <strong>5) Domain creation:</strong> All programs&nbsp; oracle (SOA 11g &ndash; Home 1)&nbsp; configuration App server &ndash; click&nbsp; create a new web logic domain&nbsp; next select (4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Oracle SOA suite 11.1.1.0) Oracle_SOA1) Automatically:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Oracle WSM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; created Oracle_JRE (5)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Oracle Enterprise manager (6)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Oracle Business Activity monitoring next&nbsp; next&nbsp; name (web logic), password (welcome1), confirm password (welcome1)&nbsp; next&nbsp; available JDK&lsquo;s, next BAM schema&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (schema password / welcome 1), SOA Infrastructure&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (DBMS\server / XE [ORCL]), User message&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (Host name / local host), OWSM MDS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (port / 1521) SOA MDS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; next&nbsp; next&nbsp; next&nbsp; create&nbsp; 100%&nbsp; done <strong>&nbsp;</strong> <strong>6) Mds Update:</strong> URL &ndash; (1) C: Oracle\middleware\Oracle_common\reu\integration\mds\sq1 URL &ndash; (2) C: Oracle\app\Oracle\product\10.2.0\server\bin All programs&nbsp; cmd&nbsp; C: \&gt; cd paste URL &ndash; (1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; then it shows&nbsp; C: \&gt; Oracle\middleware\Oracle_common\rcu\integration\mds\sql&gt;&nbsp; Beside above URL, paste URL &ndash;(2) &amp; type&nbsp; sql\plus.exe&nbsp; Dev_mds/welcome1@XE&nbsp;&nbsp; then it shows&nbsp; C: \&gt; Oracle\middleware\Oracle_common\rcu\integration\mds\sql&gt; C:\Oracle\app\Oracle\product\10.2.0\server\bin\sqlplus.exe Dev_mds/welcome1@XE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SQL &gt; @upgmds.sql&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit &nbsp; <strong>7) Start web logic &amp; SQL server:</strong> Run&nbsp; cmd C: Oracle/middleware/user_projects/domain/base_domains/start web logic.cmd C: Oracle/middleware/user_projects/domain/base_domains/start managed web logic SOQ_server1 &nbsp; <strong>8) Update J &ndash; developer:</strong> J developer&nbsp; help&nbsp; check for updates&nbsp; next Install from local file&nbsp;&nbsp; [D: \SOA\SOA11g\SOQ-j dev-extension.zip (j developer zip file) Browse]&nbsp; next&nbsp; finish. &nbsp; <strong>Note: </strong>Unable to connect to the internet to check for updates.&nbsp; Cancel &nbsp; <strong>9) Add source code number to J developer:</strong> J developer&nbsp; tools&nbsp; preferences&nbsp; click&nbsp;&nbsp; [code editor&nbsp; expand]&nbsp; [line gutter&nbsp; select]&nbsp; show line numbers&nbsp; ok</p>
<pre style="text-align: center;"><em><strong>Learn more about <a href="https://tekslate.com/oracle-soa-interview-questions-answers" target="_blank" rel="noopener">Oracle SOA Interview Questions</a> in this blog post.</strong></em></pre>
<p><strong>10) Create boot file: </strong> It&rsquo;s automatically takes username and password C: \ Oracle\middleware\user_project1\domains\base_domains\server\soa_server1 Create one folder security inside SOA_server 1 Create one text file inside security folder Open text file &amp; write username = web logic, password = welcome1 Save as&nbsp; [file name/boot.properties], [save as type / all file]&nbsp; save Delete dummy text file (ok) &nbsp; <strong>11) Start managed server with the help of console:</strong> C: Oracle\middleware\ wlserver_10.3\server\bin\start nodemc naget Double click&nbsp;&nbsp; [port 5556]&nbsp; it means running mode. Console(7001/console)&nbsp; expand environment&nbsp; server &ndash; click&nbsp;&nbsp; soa_server 1- click Control&nbsp; start&nbsp; it will not start Oracle\middleware\w1server\common\node manager.properties file&nbsp; open It file last shown&nbsp; start script enable = false X&nbsp;&nbsp; [change property] Start script enable = true _/ &nbsp; <strong>12) Server desktop shortcuts: (.bat)</strong> TITLE WEBLOGIC C: / Oracle/middleware/user_projects/domains/base_domains/start web logic cmd</p>
<ul>
<li>Copy above path and write into the text file.</li>
<li>Save as &ldquo;web logic.bat&rdquo;, all files.</li>
</ul>
<p>&nbsp; <img class="alignnone wp-image-5640" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/18-460x235.png" alt="18" width="386" height="197" /> &nbsp; &nbsp; <strong>13) Table creation:</strong></p>
<ul>
<li>J &ndash; Developer tools&nbsp; data base&nbsp; SQL worksheet&nbsp; [connection/DB_RAMESH]&nbsp; ok</li>
<li>Create table employees (empid numbers(20), empname varchar2(20), empsal number(20), emplocation varchar2(20));</li>
</ul>
<p>Insert into employees values (101, &lsquo;Ram&rsquo;, 100000,&rsquo;Hyd&rsquo;); Insert into employees values (102, &lsquo;Sai&rsquo;, 200000,&rsquo;Hyd&rsquo;); Insert into employees values (103, &lsquo;Teja&rsquo;, 300000,&rsquo;Hyd&rsquo;); Commit;</p>
<ul>
<li>Select * from employees;</li>
<li>Select * from tab;</li>
</ul>
<p><strong>For an Indepth knowledge on Oracle SOA click on:</strong></p>
<ul>
<li><span class="white-back"><a href="https://tekslate.com/osb-oracle-service-bus/" target="_blank" rel="noopener">Oracle service bus in SOA</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/business-rule-engine-bre/" target="_blank" rel="noopener">Oracle SOA Business rule engine</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/jms-java-messaging-service11g/" target="_blank" rel="noopener">Java messaging service in Oracle SOA 11g</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/ftpfile-transfer-protocol/" target="_blank" rel="noopener">How to work with FTP(File transfer protocol) in Oracle SOA</a></span></li>
<li><a href="https://tekslate.com/db-adapter-configuration-11g/" target="_blank" rel="noopener">DB Adapter configuration-11g in Oracle SOA</a></li>
</ul>
<p>&nbsp; &nbsp;</p>109:Te73,<p style="text-align: justify;">When the application is Stable We can go for Automation to perform Regression testing to all the iterative/ Incremental builds.</p>
<p style="text-align: justify;">If we are using Agile process to develop the project then we can't wait untill the project/ application in stable. The recruitments [test cases] Which are stable can be Automated.</p>
<p style="text-align: justify;">What kind of application can be Automated by using <a href="https://tekslate.com/tutorials/selenium-tutorials/" target="_blank" rel="noopener">Selenium</a></p>
<p style="text-align: justify;">Selenium Supports all kinds of web Applications</p>
<p style="text-align: justify;">Selenium Supports Multiple languages like Java, C#, PHP, <a href="https://tekslate.com/tutorials/html-tutorials/" target="_blank" rel="noopener">HTML</a> e.t.c to write the scripts.</p>
<p style="text-align: justify;">We can choose any languages to write the scripts</p>
<pre style="text-align: center;"><em><strong>Interested in mastering Selenium Training? Enroll now for FREE demo on <a href="https://tekslate.com/selenium-training/" target="_blank" rel="noopener">Selenium Training</a>.</strong></em></pre>
<p style="text-align: justify;"><img class="alignnone wp-image-5851" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/410-460x174.png" alt="4" width="611" height="230" /></p>
<pre style="text-align: center;"><em><strong>Check out the top <a href="https://tekslate.com/selenium-interview-questions-and-answers" target="_blank" rel="noopener">Selenium Interview Questions</a> now!</strong></em></pre>
<p style="text-align: justify;"><strong>Selenium components :</strong></p>
<p style="text-align: justify;">Selenium is majorly build on 4 components</p>
<p style="text-align: justify;">1) Selenium IDE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Integrated Development Environment</p>
<p style="text-align: justify;">2) Selenium Rc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Remote control</p>
<p style="text-align: justify;">3) Selenium Web Driver</p>
<p style="text-align: justify;">4) Selenium Grid.</p>
<p style="text-align: justify;"><strong>For an Indepth knowledge on Selenium, click on below</strong></p>
<ul style="text-align: justify;">
<li style="text-align: justify;"><span class="white-back"><a href="https://tekslate.com/introduction-io-streams-external-files-selenium/" target="_blank" rel="noopener">Io streams /external files in Selenium</a></span></li>
<li style="text-align: justify;"><a href="https://tekslate.com/explain-selenium-grid/" target="_blank" rel="noopener">Selenium Grid</a></li>
<li style="text-align: justify;"><span class="white-back"><a href="https://tekslate.com/conditional-statements-in-selenium/" target="_blank" rel="noopener">Conditional statements in Selenium</a></span></li>
<li style="text-align: justify;"><a href="https://tekslate.com/different-flavors-of-selenium-2/" target="_blank" rel="noopener">Different flavors of Selenium</a></li>
<li style="text-align: justify;"><a href="https://tekslate.com/selenium-webdrivers-features/" target="_blank" rel="noopener">Selenium WebDriver Features</a></li>
</ul>10a:T7e1,<h3><strong>&nbsp;What is MVC and why we use MVC?</strong></h3>
<ul>
<li>MVC is originally a design pattern.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>What is a design pattern?</strong></h3>
<ul>
<li>A design pattern is a blue point. Which is used to solve a problem in a standard approach</li>
<li>Software engineering a design pattern is a reusable solution to a commonly accruing problem, within a given context of a software development.</li>
</ul>
<pre style="text-align: center;"><em><strong>Aspired to become an ASP.Net?
Explore the post to discover the know-hows on <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.Net Training</a>.</strong></em></pre>
<h3><strong>MVC pattern:-</strong></h3>
<ul>
<li>MVC pattern was invented by &lsquo;try give Reenskang&rsquo;, in the year 1978.</li>
<li>MVC pattern was first implemented as a part of smaltalk-80 class library.</li>
<li>The MVC has proven very successful pattern today in building web based application.</li>
<li>Example of web application frame work the follows MVC patterns are</li>
<li>net MVC, Ruby on Rails, Merb, diango.</li>
<li>In java struct, springs wicket, JSF.</li>
</ul>
<p><strong>For indepth understanding click on</strong></p>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
<div class="tags">&nbsp;</div>10b:T163d,<h2><strong>MVC HTML helper class controllers</strong></h2>
<p>&nbsp;</p>
<table>
<tbody>
<tr>
<td width="452">
<table style="height: 514px;" width="602">
<tbody>
<tr>
<td width="223">Enter user name</td>
</tr>
<tr>
<td width="223">Enter user name</td>
</tr>
<tr>
<td width="223">Enter pass word</td>
</tr>
<tr>
<td width="223">Select gender</td>
<td width="223">
<ul>
<li>Male</li>
<li>female</li>
</ul>
</td>
</tr>
<tr>
<td width="223">Select Hobbies</td>
<td width="223">
<ul>
<li>Dancing</li>
<li>Playing</li>
</ul>
</td>
</tr>
<tr>
<td width="223">Select skills</td>
<td width="223">
<ul>
<li>C</li>
<li>C++</li>
<li>JAVA</li>
</ul>
</td>
</tr>
<tr>
<td width="223">Describe your experience</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; Go to sample .asp x source path of the page write the follows code in &lt;div&gt; tag &lt;table align= &lsquo;center&rsquo; border=&rdquo;2&rdquo;&gt; &lt;tr&gt;&lt;td&gt;&lt;%= HTML.label(&ldquo;enter your name&rdquo;)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox(&ldquo;t1&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;%=HTML.label(&ldquo;enter user name&rdquo;)%&gt;&lt;/td&gt; &lt;tr&gt;&lt;td&gt;&lt;%=HTML.textbox (&ldquo;t2&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;%=HTML.label (&rdquo;enter password&rdquo;)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox(&ldquo;t3&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;%=HTML.label(&ldquo;text gender&rdquo;)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.radiobutton(&ldquo;gender&rdquo;, &rdquo;male&rdquo;)%&gt;male &lt;%-HTML.radiobutton(&ldquo;gender&rdquo;, &ldquo;female&rdquo;)%&gt;female &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;%=HTML.label(&ldquo;select hobbies&rdquo;)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.checkbox(&ldquo;dancing&rdquo;)%&gt;dancing &lt;%=HTML.checkbox(&ldquo;playing&rdquo;)%&gt;playing &gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;%=HTML.label (&rdquo;select qualification&rdquo;)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.dropdownlist (&ldquo;CB1&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;%=HTML.label (&rdquo;select skill set&rdquo;)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.listbox(&ldquo;LB1&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;%=HTML.load (&ldquo;describe your experience&rdquo;)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML2.textbox(&ldquo;TA!1&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; Go to home controller .cs <img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /> Write the following code ---&gt; to display the data in combo box and list box Public action result sample () { List &lt;string&gt; L1=new list &lt;string&gt; (); L1.add (&rdquo;SSC&rdquo;); L1.add (&rdquo;10+2&rdquo;); L1.add (&rdquo;Degree&rdquo;); List &lt;string&gt;L2=new list &lt;string&gt; (); L2.add (&rdquo;C#.net&rdquo;); L2.add (&rdquo;C&rdquo;); L2.add (&rdquo;ASP.net&rdquo;); View data [&ldquo;CB1&rdquo;] =new select list (L1); View data [&ldquo;LB1&rdquo;] =new select list (L2); Return view (); } <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>Redirecting the user request using HTML helper class:</strong> To redirect the user request from one page to other page use action link method from HTML helper class.</p>
<table>
<tbody>
<tr>
<td width="143">
<table style="height: 62px;" width="162">
<tbody>
<tr>
<td>Sample view</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>Samples</p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on ASP.Net?
Explore the blog post on <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.Net training</a> to become a pro in ASP.Net.</strong></em></pre>
<p>Create new view page with the name samples <img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /> Go to source part and write the following code &lt;body&gt; &lt;div&gt; &lt;h1&gt;welcome to satya technologies&lt;/h1&gt; &lt;%=HTML.actionlink (&ldquo;sample view&rdquo;, &ldquo;sample&rdquo;,&rdquo;home&rdquo;) %&gt; &lt;/div&gt; &lt;/body&gt; //&lt;%#HTML.actionlink ( &ldquo;(&ldquo;sample view&rdquo;, &ldquo;sample&rdquo;,&rdquo;home&rdquo;) %&gt; <img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<img class="alignnone size-full wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /> Display text&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; action name&nbsp;&nbsp;&nbsp; controller name <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />go to home controller create an action method like Public action result sample () { Return view (); } Go to globel. Asax file change action name With samples and run the application Create an action link to redirect user requires to some website</p>
<div class="tags">&nbsp;</div>10c:T1441,<h2><strong>How to work with MVC models with an example</strong></h2>
<p>Create a new MVC2 application with the name &ldquo;examples&rdquo;; Go to solution explorer</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select the models folder</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click with RM button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on new item</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select data option from visual C# in installed template</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>S elect entity data model</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type the EDM name (employee.EOMX)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select the option generate from data base</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on next</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on new connection</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type the server name (&ldquo;dot net&rdquo; or satya)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Activate the radio button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Use SQL authentication</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p><strong>--&gt;</strong> Type username (&ldquo;Sa&rdquo;);</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type password (&ldquo;ABC&rdquo;);</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select the D/B as employee</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on ok</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Active the radio button <strong>&nbsp;--&gt;</strong> yes includes the sensitive data in the connection string</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Connection string name you find as employee entity</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on next &nbsp; This will retrieve complete D/B objects and</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>From select emp details table</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on finish</p>
<ol>
<li>Employee entities</li>
<li>Emp details</li>
</ol>
<p>The model for data is ready</p>
<pre style="text-align: center;"><em><strong>Learn the core features of <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.NET Training</a>&nbsp;and become master with our expertise tutorials.</strong></em></pre>
<p><strong>Creation action method in control class</strong></p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Go to home controller.cs file</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code Using examples models;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;name space Public action result sample data () { Employee entities.obj=new employee entities (); View data [&ldquo;Emp&rdquo;] = obj.Emp details to list(); Return views (); } &nbsp; <strong>Creating view:</strong> Go to home folder;</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Add new view page (sample data)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code &lt;%@ import name space = &ldquo;examples.models&rdquo;%&gt; &lt;body&gt; &lt;h1&gt;welcome to satya&lt;/h1&gt; &lt;div&gt; &lt;table align = &ldquo;center&rdquo; border = &ldquo;2&rdquo;&gt; &lt;tr&gt; &lt;th&gt;Emp id &lt;/th&gt;&lt;th&gt;Ename&lt;/th&gt;&lt;th&gt;Designation&lt;/th&gt;&lt;th&gt;DOJ&lt;/th&gt;&lt;th&gt;salary&lt;/th&gt;&lt;th&gt;Deptno&lt;/th&gt; &lt;/tr&gt; &nbsp; &lt;% for each (var x in (Enumerable&lt;Emp class detail&gt;) view data [&ldquo;Emp&rdquo;] {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&nbsp;// &nbsp;C# code</strong> %&gt; &lt;tr&gt; &lt;td&gt;&lt;%=HTML.Encode(x.Emp Id)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(x.Ename)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(x.designation)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(DOJ)%&gt;&lt;/td&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <strong>&nbsp;// MVC code&nbsp;</strong> &lsquo; &lsquo; &lt;/tr&gt; &nbsp; &lt;%}%&gt; &nbsp; &nbsp; &nbsp;<strong> &nbsp;//C# code</strong> &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; Run the application and check</p>
<div id="post-cont" class="content">&nbsp;</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>10d:Tf5e,<h2><strong>Integrating c# code in views</strong></h2>
<p>To integrity the C# code in a view we write the code complicity in source part of .asp x file by enclosing in server side decimeters&rsquo; &lt;% C# code %&gt; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />To write some C# code in index .asp x use the follows steps. Go to solution explorer</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Double click index.asp x from home folder of view</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Go to source of index .asp x</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code within the content place order &nbsp; &lt;Content-id&gt; &lt;br/&gt; &lt;% Response.write (&lsquo;welcome to MVC class&rsquo;);%&gt; &lt;br/&gt; &lt;% Response.write (Date.time.now.to string1);% &gt; &lt;br/&gt; &lt;% for (int i=0; i&lt;=10; i++) { Respons.write (&ldquo;satya&rdquo;); } %&gt; &lt;/content&gt;</p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on ASP.Net? Explore the blog post on <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.Net training</a> to become a pro in ASP.Net.</strong></em></pre>
<p><strong>Example to create a view and calling in form browser</strong> Go to solution explore</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Go to select home folder from views</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click with RM button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on ADD</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on view</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Add view dialogue box will appear</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type the view name (sample)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Deactivate the check box select master page</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>This will create a view with the name sample .asp x (no .cs file will be create)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Go to source</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code &lt;div&gt; &lt;h1&gt;satya technologies&lt;/h&gt; &lt;/div&gt; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Any view will create is a class which is inherited from system.web.MVC.view page class. To access this view from the web browser we can create an action method with the same name as view in home controller .cs file mandatorily. Go to home controller .cs file</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code Public action result example () { Return view (); } Run the application by default index page will appear to see the sample view you type in the address bar home/sample at the end of the address bar http:// local host: 1974 (application name)/Home (control name)/sample (action method name)</p>
<div id="post-cont" class="content"><strong>For indepth understanding click on</strong>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
<div class="tags">&nbsp;</div>
</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>10e:Taf4,<h2><strong>Working with HTML forms in MVC</strong></h2>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />To work with HTML forms in MVC we use begin form () and end form () in HTML helper classes <strong>&nbsp;<img class="alignnone wp-image-6083" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/510.png" alt="5" width="402" height="269" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /></strong>Go to home folder in view</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Create a new page with the name sample2</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<pre style="text-align: center;"><em><strong>Learn ASP.Net&nbsp;by Tekslate - Fastest growing sector in the industry.
Explore Online <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.Net Training</a> and course is aligned with industry needs &amp; developed by industry veterans.
Tekslate will turn you into ASP.Net Expert.</strong></em></pre>
<p>Go to source part Write the following code to create the design of the form &lt;body&gt; &lt;div&gt; &lt;h1&gt;welcome to satya technologies&lt;/h1&gt; &lt;%HTML.begin form();%&gt; &lt;%=HTML.label(&ldquo;enter user name&rdquo;)%&gt; &lt;%=HTML.text box(&ldquo;T1&rdquo;)%&gt;&lt;/br&gt; &lt;button id=&rdquo;B1&rdquo; type =&rdquo;submit&rdquo;&gt;submit&lt;/button&gt; &lt;%HTML.end form();%&gt; Go to home control.cs write the following code for create an action method for sample2 Public action result sample2() { Return view (); } Go to global.asax change action name to sample2 and sum the application and check</p>
<div id="post-cont" class="content"><strong>For indepth understanding click on</strong>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>10f:T2a64,<h2><strong>Add a new record into a data base table using MVC</strong></h2>
<p>Emp display .aspx</p>
<table style="height: 326px;" width="363">
<tbody>
<tr>
<td width="238">
<table style="height: 224px;" width="333">
<tbody>
<tr>
<td width="44">EMP ID</td>
<td width="60">EName</td>
<td width="66">Address</td>
<td width="54">Salary</td>
</tr>
<tr>
<td width="44">101</td>
<td width="60">&nbsp;</td>
<td width="66">&nbsp;</td>
<td width="54">&nbsp;</td>
</tr>
<tr>
<td width="44">102</td>
<td width="60">&nbsp;</td>
<td width="66">&nbsp;</td>
<td width="54">&nbsp;</td>
</tr>
<tr>
<td width="44">103</td>
<td width="60">&nbsp;</td>
<td width="66">&nbsp;</td>
<td width="54">&nbsp;</td>
</tr>
</tbody>
</table>
Technologies &nbsp; Add name Employee</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<img class="alignnone wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="24" height="89" /></strong> <strong>&nbsp;</strong>Link button1</p>
<table style="height: 399px;" width="421">
<tbody>
<tr>
<td width="322">
<table style="height: 340px;" width="396">
<tbody>
<tr>
<td width="153">Enter EmpID</td>
<td width="153">&nbsp;</td>
</tr>
<tr>
<td width="153">Enter Ename</td>
<td width="153">&nbsp;</td>
</tr>
<tr>
<td width="153">Enter Design</td>
<td width="153">&nbsp;</td>
</tr>
<tr>
<td width="153">Enter DOJ</td>
<td width="153">&nbsp;</td>
</tr>
<tr>
<td width="153">Enter salary</td>
<td width="153">&nbsp;</td>
</tr>
<tr>
<td width="153">Enter Dept</td>
<td width="153">&nbsp;</td>
</tr>
<tr>
<td width="153">&nbsp;</td>
<td width="153">&nbsp; Save</td>
</tr>
</tbody>
</table>
Technologies &nbsp; Back to EmpDetails</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<img class="alignnone wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="24" height="89" /></strong> Link Button</p>
<h2><strong>Step1:</strong></h2>
<p>Creating the data model</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Crate a new MVC application with the name (Example 4)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Go to solution explorer</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select the folder model</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;<strong><img class="alignnone wp-image-5846" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/310.png" alt="3" width="13" height="48" /></strong></h2>
<p>Click with RM button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on new item</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select data from visual C# in installed template</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select ADO.net entity data model template</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type the name (Employee.EDMX)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Select generate from D/B &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;click on next</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on new connection button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type the server name as (.:)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select radio button use SQL server authentication</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type username, password (&ldquo;sa&rdquo;,&rdquo;abc&rdquo;)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Activate the checkbox save my password</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select the D/B employee</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on ok</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Activate radio button (yes include sensitive data)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on next</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>This will retrieve all data base table</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select Emp details table]</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on finish &nbsp;</p>
<h3><strong>Step2:&nbsp; </strong></h3>
<h3><strong>Creating action method in home controller for Emp display</strong></h3>
<p>Go to home controller.cs</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code Using example. Models&nbsp; <strong>--&gt;</strong> &nbsp;name space Public action result Emp display () { Employee entities.obj=new employee entities (); Return view (obj.empdetailes.to list ()); }</p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on ASP.Net?
Explore the blog post on <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.Net training</a> to become a pro in ASP.Net.</strong></em></pre>
<h3><strong>Step3:&nbsp; </strong></h3>
<h3><strong>Creating view page for employee display:</strong></h3>
<p>Go to solution explorer</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select the home folder from views</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click with RM button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on view</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type the view page name (emp display)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p><strong>Note: </strong>Do not activate select master page</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;Go to source of emp display.aspx</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code &lt;%@ import name space = &ldquo;examples.models&rdquo;%&gt; &lt;body&gt; &lt;h2&gt;satya technologies&lt;/h2&gt; &lt;div&gt; &lt;table border =&ldquo;2&rdquo; align = &ldquo;center&rdquo; &gt; &lt;tr&gt; &lt;th&gt;Emp id &lt;/th&gt;&lt;th&gt;Ename&lt;/th&gt;&lt;th&gt;Designation&lt;/th&gt;&lt;th&gt;DOJ&lt;/th&gt;&lt;th&gt;salary&lt;/th&gt;&lt;th&gt;Deptno&lt;/th&gt; &lt;/tr&gt; &lt;% for each (var x in (Enumerable&lt;Emp detail&gt;) model) { %&gt; &lt;tr&gt; &lt;td&gt;&lt;%=HTML.Encode(x.Emp Id)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(x.Ename)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(x.designation)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(x.DOJ)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(x.salary)%&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.Encode(x.Deptno)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;%}%&gt; &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; &nbsp; <strong>Step4:</strong> Creating view for adding a new record i.e. addnew.aspx Go to solution explorer</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select home folder from views</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on view</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Type the view name (add new)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Activate the check box strongly typed view</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select the view data class as &ldquo;example.models.emp detailes&rdquo; Uncheck the check box Select the master page Click on add Go to source and write the following code &lt;h2&gt; welcome to sathya technologies&lt;/h2&gt; &lt;dir&gt; &lt;%HTML.begin.form();%&gt; &lt;Field set&gt; &lt;table align=&rdquo;center&rdquo;border=&rdquo;2&rdquo;&gt; &lt;tr&gt; &lt;td&gt;&lt;label for=&rdquo;EmpId&rdquo;&gt;Enter EmpId&lt;/label&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox(&ldquo;EmpId&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;Label for =&rdquo;Ename&rdquo;&gt;enter Emp name&lt;/Label&gt; &lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox (&ldquo;Empname&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;label for =(&rdquo;designation&rdquo;)&gt;enter designation&lt;/label&gt; &lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox(&ldquo;Designetion&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;label for= &ldquo;DOJ&rdquo;&gt;enter DOJ&lt;/label&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox (&ldquo;DOJ&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;label for= &ldquo;salary&rdquo;&gt;enter salary&lt;/label&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox (&ldquo;salary&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;label for= &ldquo;Deptno&rdquo;&gt;enter Deptno&lt;/label&gt;&lt;/td&gt; &lt;td&gt;&lt;%=HTML.textbox (&ldquo;Deptno&rdquo;)%&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;/td&gt; &lt;td&gt;&lt;input type=&rdquo;submit&rdquo; value=&rdquo;save&rdquo;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/field set&gt; &lt;%HTML End form();%&gt; &lt;%=HTML.actionlink (&ldquo;back to Emp details &rdquo;,&rdquo;Emp display&rdquo;)%&gt; &lt;/div&gt; &lt;/body&gt; &nbsp;</p>
<h3><strong>Step5:</strong></h3>
<h3><strong>Writing code for adds new action method:-</strong></h3>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to home controller.cs</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code for action methods Public action result add new () { Return value(); } [Accept verbs (http verbs.post)] Public action result add new([bind]Emp details.obj add) { Employee entities.obj=new employee entities (); Obj.add to emp details (obj add); Obj.save changes (); Return redirect to action (&ldquo;Emp display&rdquo;); } Run the application end check</p>
<div id="post-cont" class="content"><strong>For indepth understanding click on</strong>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>110:Tc23,<h3><strong>Understanding action method execution:</strong></h3>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Whenever first time request is coming to sample2 view the request will go to global.asax file check the action method name and control name then control will go to the that action method in the controller execute that action method lode them controller will be return view. After executing the view result will be delivered to client. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Even when user client on button also same action method will be called <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />If we want to call the other action method from the control we use the following procedure.</p>
<pre style="text-align: center;"><em><strong>Learn more about <a href="https://tekslate.com/asp-dot-net-training/">ASP.net</a>&nbsp;Interview Questions in this blog post.
Interested in mastering ASP.net? Check out this blog post to learn more ASP.net Tutorials.</strong></em></pre>
<p><strong>Step1: &nbsp;&nbsp;</strong>create action method with same name as view name with one argument of string type as button name Function name is we find me action method like [accept verbs (http verbs.post)] Public action result view name (string button name) { Code Return view (); } &agrave;In the above example to call the own action method from button &ldquo;B1&rdquo;, use the following steps Go to home controller.cs</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Write the following code [accept verbs (http.verbs.post)] Public action result sample2 (string B1) { View data [&ldquo;a&rdquo;] =&rdquo;welcome sai&rdquo;; Return view (); } Go to sample2.aspx Write the add the following code in the HTML form &lt;%: view data [&ldquo;a&rdquo;] %&gt; Run the application and check</p>
<div id="post-cont" class="content"><strong>For indepth understanding click on</strong>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>
<div id="malwarebytes-root"></div>111:Ta6b,<h2><strong>Example to trap the user entered data in text box</strong></h2>
<p>Create a new view with the name sample1 Sample 1 <strong>&nbsp;</strong> <strong>&nbsp;<img class="alignnone wp-image-6088" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/69.png" alt="6" width="382" height="254" /></strong> <strong>&nbsp;</strong> &nbsp; Go to source part Writ the following code to create the design of the form &lt;div&gt; &lt;%HTML.begin form();%&gt; &lt;%=HTML.label(&ldquo;enter user name&rdquo;)%&gt; &lt;%=HTML.text box(&ldquo;T1&rdquo;)%&gt;&lt;/br&gt; &lt;button id=&rdquo;B1&rdquo; type =&rdquo;submit&rdquo;&gt;submit&lt;/button&gt;&lt;/br&gt; &lt;%HTML.end form();%&gt; Go to home control.cs write code for two action method [Accept verbs [http verbs.post]] Public action result sample3 (string B, string T1) { View data [&ldquo;a&rdquo;]=&rdquo;user name is:-&rdquo;+T1; Return view (); } In the above home if user is entering any data in text box T1 and clicking on button B1, then user entered data in text box T1 will be passed to argument &ldquo;T1&rdquo; of action method sample3 action method.</p>
<pre style="text-align: center;"><em><strong>Interested in mastering ASP.net?Learn more about <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.net Tutorial</a> in this blog post.</strong></em></pre>
<h2><strong>Example to trap the data to perform the operations:</strong></h2>
<p>Create a new view with the name sample2 <strong>&nbsp;<img class="alignnone wp-image-6089" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/710.png" alt="7" width="397" height="307" /></strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong>Write the following code to create the code &lt;body&gt; &lt;div&gt; &lt;h1&gt;welcome to satya technologies&lt;/h1&gt; &lt;%HTML.begin form();%&gt; &lt;%=HTML.label(&ldquo;enter first number&rdquo;)%&gt; &lt;%=HTML.text box(&ldquo;T1&rdquo;)%&gt;&lt;/br&gt; &lt;%=HTML.label(&ldquo;enter second number&rdquo;)%&gt; &lt;button id=&rdquo;B1&rdquo; type =&rdquo;submit&rdquo;&gt;add&lt;/button&gt; &lt;%=HTML.encode (view data [&ldquo;R&rdquo;])%&gt; &lt;%HTML.end form();%&gt; &lt;/div&gt; &lt;/body&gt; Go to home control.cs write the following code for action method [Accept verbs (http verbs.post)] Public action result sample4 (string B1, string T1, string T2) { Int c= convert to int3 (T1)+c.to int (T2); View data [&ldquo;R&rdquo;] =&rdquo;sum is:-&rdquo;C; Return view (); } Run the application and check.</p>
<div id="post-cont" class="content">&nbsp;</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>112:T14a7,<h2><strong>Implementing LINQ&nbsp; Queries&nbsp;on Collection Data</strong></h2>
<p>Create&nbsp; a new Console Application&nbsp;&nbsp; (CA Sample 2)&nbsp; &agrave;Add a new class (Name) &agrave; Employee <strong>Write the following code using Auto implemented properties.</strong></p>
<pre>Name Space CA Sample 2
{
Class Employee
{
Public Int PEMP ID {set; get;}
Public String PE name&nbsp; {set; get ;}
Public String Designation&nbsp; {set; get ;}
Public Date time PDOJ&nbsp; {set; get ;}
Public Double Salary&nbsp; {set; get ;}
Public Int p Dept no {set; get ;}
}
}

</pre>
<pre style="text-align: center;"><strong><em>Learn the core features of <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.NET Training</a>&nbsp;and become master with our expertise tutorials.</em></strong></pre>
<h3><strong>Create a new class in this Application with the name Examples:-</strong></h3>
<p>Write the following code</p>
<pre>Namespace CA Sample 2
{
Class Example2
{
Static void Main ()
{
List &lt;Employee&gt; emp list = new list &lt;Employee&gt; ()
{
New&nbsp; employee&nbsp; (P emp id = 101, P Ename = &ldquo;naveen&rdquo;, Pdesigen = &ldquo;pl&rdquo;, p Doj = new date (2012,03,02),p salary = 1200, pdeptno =10);
New&nbsp; employee&nbsp; (P emp id = 102, P Ename = &ldquo;raj&rdquo;, Pdesigen = &ldquo;tl&rdquo;, p Doj = new date (2012,04,01),p salary = 1300, pdeptno =20);
New&nbsp; employee&nbsp; (P emp id = 103, P Ename = &ldquo;sai&rdquo;, Pdesigen = &ldquo;ds&rdquo;, p Doj = new date (2012,05,03),p salary = 1300, pdeptno =10);
};
Var R = from X in Emp list where x.pdept no = 10&nbsp; Select x;
Console. Write line (&ldquo;Dept no 10 employee data is :-&rdquo;);
Console. Write line (&ldquo;Empid/t, ename/t, designation/t, doj/t salary/t&hellip;&hellip;&hellip;&hellip;&hellip;&rdquo;);
Foreach (var I in R)
{
Console. Write line (i.pempid +&rsquo;/t&rsquo;&nbsp; + i. pename +&rsquo;/t&rsquo; +i.pdesig +&rsquo;/t&rsquo;+ i.p doj +&rsquo;/t&rsquo;+ i.p salary);
}
Console. Read ();
}
}
}</pre>
<h3><strong>Output :-</strong></h3>
<p>Emp id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; E name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; designation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Doj&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; salary 101&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1200 103&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1400 &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />If we want to only required fields we use query like. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Var R = from&nbsp; x in emplist where x. p dept no = 10 select&nbsp; x.ename, x. designation, x.esalary;</p>
<div id="post-cont" class="content"><strong>For indepth understanding click on</strong>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
<div class="tags">&nbsp;</div>
</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>113:T114e,<h2><strong>LAMBDA&nbsp;EXPRESSION&nbsp;IN LINQ </strong></h2>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Lambda expression are used to work on same group of data in general used with agitate function. <strong>Def :-</strong> A lambda expression is a function with out a name calculates and returns a single value.</p>
<ul>
<li>Lambda Expression is represented by lambda&nbsp; operator&nbsp; (=&gt;) to be read as &ldquo;Goes to&rdquo;</li>
<li>Lambda Expression can be device as 2 categories</li>
</ul>
<ol>
<li>Expression lambda</li>
<li>Statement lambda</li>
</ol>
<h3><strong>Expression lambda :-</strong></h3>
<p>Input parameters <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;Expression <strong>Statement lambda :-</strong> Input parameters <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; { Expression; }</p>
<h3><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example with Expression Lambdas :-</strong></h3>
<pre style="padding-left: 30px;">Namespace CA Sample 2
{
Class Example2
{
Static void Main ()
{
List &lt;int&gt; L1 = new Lint&nbsp; &lt;int&gt; {1,2,3,4,5,6,7,8,9,10};
Int c = L1.count&nbsp; (x =&gt;x &gt;4);
Int E count&nbsp; = L1.count&nbsp; (x =&gt; xy = z ==0);
C.W.L (&ldquo;Count of values grater than 4 is :- &rdquo; + c);
C.W.L (&ldquo;Count of values Even numbers&nbsp; is :- &rdquo; + E count);
Console. Read ();
}
}
}</pre>
<h3><strong>Output :-</strong></h3>
<p>Count of values grater than 4 is :-&nbsp;&nbsp;&nbsp; 6 Count of values Even numbers are&nbsp; :-&nbsp; 5</p>
<pre style="text-align: center;"><em><strong>At TekSlate, we offer resources that help you in learning various IT courses.
We avail both written material and demo video tutorials. 
To gain in-depth knowledge and be on par with practical experience, then explore&nbsp;<a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.net&nbsp;Training Videos</a>.</strong></em></pre>
<p><strong>Example&nbsp; to implement&nbsp; lambda expression on employee class :-</strong> <strong>Example to count particular dept no and print on the column :-</strong></p>
<pre style="padding-left: 30px;">Namespace CA Sample 2
{
Class Example3
{
Static void Main ()
{
List &lt;Employee&gt; emp list = new list &lt;Employee&gt; ()
{
New&nbsp; employee&nbsp; (P emp id = 101, P Ename = &ldquo;N&rdquo;, Pdesigen = &ldquo;pl&rdquo;, p Doj = new date (2012,03,02),p salary = 1200, pdeptno =10);
New&nbsp; employee&nbsp; (P emp id = 102, P Ename = &ldquo;R&rdquo;, Pdesigen = &ldquo;tl&rdquo;, p Doj = new date (2012,04,01),p salary = 1300, pdeptno =20);
New&nbsp; employee&nbsp; (P emp id = 103, P Ename = &ldquo;P&rdquo;, Pdesigen = &ldquo;ds&rdquo;, p Doj = new date (2012,05,03),p salary = 1400, pdeptno =30);
};
Var&nbsp; R = from&nbsp; x in Emplist. Select x. p dept no;
Int c1 = R.count&nbsp; (I =&gt; i. 10);
Int c2 = R.count&nbsp; (I =&gt; i. 20);
Int c3 = R.count&nbsp; (I =&gt; i. 30);
C.W.L&nbsp;&nbsp; (&ldquo;Deptno /t : count /n&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&rdquo;);
C.W.L (&ldquo;10/t&rdquo;&nbsp; + C1);
C.W.L (&ldquo;20/t&rdquo;&nbsp; + C2);
C.W.L (&ldquo;30/t&rdquo;&nbsp; + C3);
C.W.L (&ldquo;total/t&rdquo;&nbsp; + R.count ());
}
}
}</pre>
<div id="post-cont" class="content"><strong>For indepth understanding click on</strong>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
</div>114:T1bbb,<h2><strong>Example to edit the record in MVC :-</strong></h2>
<p><strong>EmpDisplay.aspx</strong> <strong>&nbsp;&nbsp;<img class="alignnone wp-image-6138" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/121.png" alt="12" width="371" height="439" /></strong> &nbsp;</p>
<h3><strong>Create&nbsp; a new view . with name (EMP display aspx)</strong></h3>
<p><img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />&nbsp; Go to Source write the following code &lt;% @ import name space = &ldquo;example modes&rdquo; @%&gt; &lt;body&gt; &lt;h2&gt; technologies &lt;/h2&gt; &lt;div&gt; &lt;% HTML . Begin Forms %&gt; &lt;table Border = &ldquo;2&rdquo; align = &ldquo;center&rdquo;&gt; &lt;tr&gt; &lt;th&gt; Edit&nbsp; &lt;/th&gt; &lt;th&gt;emp id &lt;/th&gt;&lt;th&gt;ename&lt;/th&gt; &lt;th&gt;esal &lt;/th&gt; &lt;% HTML . End Form (); %&gt; &lt;% foreach&nbsp; (var x in ()&nbsp; enumerable &lt;Emp details&gt; model) %&gt; &lt;tr&gt; &lt;td&gt; &lt;% HTML. Encode&nbsp; (x. emp id) %&gt;&lt;/td&gt; &lt;td&gt; &lt;% HTML. Encode&nbsp; (x. ename) %&gt;&lt;/td&gt; &lt;td&gt; &lt;% HTML. Encode&nbsp; (x.sal) %&gt;&lt;/td&gt; &lt;/tr&gt; &lt;% } %&gt; &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; &nbsp; <img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />Go to Home Controller. cs <img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />Write the following code for Action Method</p>
<pre>Public .Action Result EMP Display ()
{
Employee Entities . obj 1 = new Employee ();
Return view&nbsp; (obj 1. EMP Details . To list ());
}</pre>
<p><img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />Go to Global .asax change action method to EMP display1.</p>
<ul>
<li>Great a new Strongly typed view with the name edit.aspx</li>
<li>Go to source write the following code for design</li>
</ul>
<pre style="text-align: center;"><em><strong>Learn ASP.net&nbsp;by Tekslate - Fastest growing sector in the industry.
Explore Online <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.net Training</a> and course is aligned with industry needs &amp; developed by industry veterans.
Tekslate will turn you into ASP.net Expert.</strong></em></pre>
<p>&lt;body&gt; &lt;h2&gt; technologies &lt;/h2&gt; &lt;div&gt; &lt;%&nbsp; html . Begin&nbsp; form (); %&gt; &lt;table align = &ldquo;center &rdquo;&nbsp; Border = &ldquo;2&rdquo;&gt; &lt;tr&gt; &lt;td&gt; &lt;label for = &ldquo;emp id&rdquo;&gt; enter emp id &lt;/label&gt;; &lt;/td&gt; &lt;td&gt;&lt;% html.text box (&ldquo;EMP id&rdquo;) %&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;label for = &ldquo;e name&rdquo;&gt; enter ename &lt;/label&gt;; &lt;/td&gt; &lt;td&gt;&lt;% html.text box (&ldquo;E name&rdquo;) %&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;label for = &ldquo;e sal&rdquo;&gt; enter e sal &lt;/label&gt;; &lt;/td&gt; &lt;td&gt;&lt;% html.text box (&ldquo;E salary&rdquo;) %&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;% html.Action link (Back to list , &lsquo;Employee;&rsquo;) %&gt; &lt;/td&gt; &lt;td&gt; &lt;input = &lsquo;submit&rsquo;. Value = &lsquo;save&rsquo;&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;% html end form (); %&gt; &lt;/div&gt; &lt;/body&gt;</p>
<ul>
<li>Go to home controller. Cs</li>
<li>Write the following code to edit action method which will get the particular EMP id record . that is transferred from EMP Display , view page, will display the data in text box.</li>
</ul>
<pre style="padding-left: 30px;">Public . Action Result Edit (int id)
{
Employee entities obj 1 = new employee entities ();
Var R = (from x in obj. EMP details where x. EMP id == ID Select x). first ();
Return view&nbsp; (R);
}</pre>
<p><img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />Write the following Action method which will update the modified data update in to data base. [Accept verbs (HTTP verbs.post)]</p>
<pre style="padding-left: 30px;">Public action result . edit ([bind] emp details obj edit)
{
Employee entitier. Obj 1 = new employee entitites ();
Var R =&nbsp;&nbsp; (from x in obj1 = emp details. Where x. emp id = obj edit.emp id select x ).first ();
Obj1. Apply current values (r.entity key . entity set name, obj edit);
Obj1.save changes ();
Return. Redirect to action (&ldquo;Emp display&rdquo;);
}
}
}</pre>
<p><strong>Example to call&nbsp; the action result from multiple button&nbsp; controls :</strong> <strong><img class="alignnone wp-image-6137" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/113.png" alt="11" width="567" height="334" /></strong> Create a new mvc 2 web application&nbsp; (Example 5)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Create a new view page (action .aspx)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Go to source write the following code &lt;h2&gt; sathya technologies &lt;/h2&gt; &lt;% HTML Begin form %&gt; &lt;table align = &ldquo;center&rdquo; border = &ldquo;2&rdquo;&gt; &lt;tr&gt; &lt;td&gt; enter first number &lt;/td&gt; &lt;td&gt;&lt;% HTML .text box (&ldquo;T1&rdquo;) %&gt;&lt;/td&gt; &lt;/tr&gt; &lt;td&gt;&lt;input type&nbsp; = &lsquo;submit&rsquo; name = &lsquo;submit&rsquo; value = &lsquo;Add&rsquo;/&gt; &lt;/td&gt; &lt;td&gt; &lt;input type = &lsquo;submit&rsquo; name = &lsquo;submit value = &lsquo;submit&rsquo;/&rsquo;&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;input type = &lsquo;submit&rsquo; name = &lsquo;submit value = &lsquo;multiply/&rsquo;&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;input type = &lsquo;submit&rsquo; name = &lsquo;submit value = &lsquo;divide&rsquo;/&rsquo;&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;%&nbsp; HTML End form () ; %&gt; Go to Home Controller .cs &agrave; write the following code for action method. &nbsp; Public Action result Arithmetic () { Return view (); } &nbsp; Go to global .asax &agrave;change the action name to arithmetic &agrave;run the application and check Go to Home controller&nbsp; write the&nbsp;&nbsp;&nbsp; Arithmetic mode Following code for 4 buttons in comman. [Accept verbs&nbsp; (HTTP verd.post)] Public Action result Arithmetic (string submit. String t1,&nbsp; string t2) { Int a, b, c&nbsp; =0; A = convert.to.int 32 (&ldquo;T1&rdquo;); B = convert.to.int 32 (&ldquo;T2&rdquo;); If (submit == &ldquo;Add&rdquo;) C = a +b; Else if&nbsp; (submit == &ldquo;submit&rdquo;) C = a-b; Else if (submit == 1 multiply) C = a*b; Else if (submit ==&nbsp; Divide) C = a/b; View data [&lsquo;R&rsquo;] = c; Return view (); } }</p>115:Tbcb,<h3><strong>Example to display the data in mvc with out using entity frame work(With out using model class)</strong></h3>
<h2>&nbsp;</h2>
<p>Create a new mvc2 application <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Add a new view page in home folder(sample)<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to home controller.cs<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Include the following the namespace</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<strong>&darr;</strong></h2>
<p>Using system.data; Using system.data.sqlclient;</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<strong>&darr;</strong></h2>
<p><img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="30" height="10" />create the an action with name</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<strong>&darr;</strong></h2>
<p><img class="alignnone wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="33" height="11" />write the following code &nbsp; Public Action Result Sample () { Sql connection&nbsp; con = new sql connection (&ldquo;&rdquo;); String s= &ldquo;select * from emp details &ldquo;; Sql data adapter da = new sql data adapter (s, con); Data set ds = new data set (); Da. Fill (ds, &lsquo;x&rsquo;); List &lt;data row&gt; r = new list &lt;data row&gt; (); For each (data row . x in ds. Tables [0].rows) R.add (); View data [&ldquo;R&rdquo;] = R; Return view (); } &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to sample view <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Write the following code &lt;% @ Import&nbsp; name space = &lsquo;system.data&rsquo; % &gt; &lt;body&gt; &lt;h2&gt;Satya technologies&nbsp; &lt;/h2&gt; &lt;div&gt; &lt;% HTML Begin Form ();%&gt; &lt;table border = &lsquo;2&rsquo; align = &lsquo;center&rsquo; &gt; &lt;tr&gt; &lt;th&gt;EMP id &lt;/th&gt; &lt;th&gt; E NAME &lt;/th&gt;&lt;th&gt;E sal &lt;/th&gt; &lt;/tr&gt; &lt;% for each (var x in (1 enumerable&nbsp; &lt;Data row&gt; view data [&lsquo;R&rsquo;])&nbsp; I %)&gt; &lt;tr&gt; &lt;td&gt;&lt;% : HTML. Encode (x [0]%)&gt;&lt;/td&gt; &lt;td&gt;&lt;% : HTML. Encode (x [1]%)&gt;&lt;/td&gt; &lt;td&gt;&lt;% : HTML. Encode (x [2]%)&gt;&lt;/td&gt; &lt;/tr&gt; &lt;% } %&gt; &lt;/table&gt; &lt;% HTML. End form (); %&gt; &lt;/div&gt; &lt;/body&gt; &nbsp;</p>116:Tcdc,<h2>Display data using entity framework model class</h2>
<p>Performing the same example by writing code in model class <strong>Sol :-</strong>&nbsp;&nbsp;&nbsp; Create a new view in home folder&nbsp; (sample) <strong>Creating MODEL CLASS :-</strong></p>
<ul>
<li>Go to solution explorer</li>
<li>Go to model folder</li>
<li>Double click on account model.c</li>
<li>Click on + symbol of model</li>
<li>Create a class with name sample model</li>
</ul>
<pre style="padding-left: 30px;">Public class Sample model ()
{
Public data set ds;
Public sample model ()
{
Sql connection&nbsp; con = new sql connection (&ldquo;&rdquo;);
String s= &ldquo;select * from emp details &ldquo;;
Sql data adapter da = new sql data adapter (s, con);
Data set ds = new data set ();
Da.fill (ds,&rsquo;x&rsquo;);
}
}</pre>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to home controller .cs</p>
<pre style="text-align: center;"><em><strong>Aspired to become an ASP.net ? 
Explore the post to discover the know-hows on <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.net Training</a>.</strong></em></pre>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />write the following code for action method sample ();</p>
<pre>Public action result sample ()
{
Models.sample1 model obj1 = new models.sample1 model ();
List &lt;data row&gt; r = row list &lt;data row&gt; ();
Foreach (Dat row x in obj1.ds.tables [0].Rows)
R .add (x);
View data [&lsquo;R&rsquo;] = R;
Return view ();
}
}
}</pre>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Go to sample 1 .aspx and write the following code: &lt;% @ import name space = &lsquo;system.data&rsquo; %&gt; &lt;h2&gt;satya technologies &lt;/h2&gt; &lt;div&gt; &lt;% HTML. Begin form () ; %&gt; &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Change the action name in global.aspx and run the application and check.</p>
<div id="post-cont" class="content"><strong>For indepth understanding click on</strong>
<ul>
<li><a href="https://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="https://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="https://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="https://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="https://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>
</div>
<div class="prev_next_links">&nbsp;</div>
<p>&nbsp;</p>117:T12ea,<h2><strong>Performing same example with Razor syntax :-</strong></h2>
<p><img class="alignnone wp-image-6154" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/131.png" alt="13" width="361" height="264" /></p>
<pre style="padding-left: 30px;">@ layout = null;
Var num 1 = 0;
Var num 2 = 0;
Var Result = 0;
If (is post)
{
Num 1 = request [&lsquo;T1&rsquo;].As Int [];
Num 2 = request [&lsquo;T2&rsquo;].As Int [];
Result = num 1 + num2
}</pre>
<h2><strong>Design :-</strong></h2>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In the first example we declare variable of int type and conversion is done by using Convert . to int 32 (); method <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />This is completely in C # syntax. Here C# syntax with Razor syntax. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In IInd Method we completely used Razor syntax that is Declaring the variable using keyword, and performing conversion using as int () method.</p>
<pre style="text-align: center;"><em><strong>Interested in mastering ASP.net Training?
Enroll now for FREE demo on <a href="http://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.net Training</a>.</strong></em></pre>
<h3><strong>Conversion Methods in Razor Syntax :-</strong></h3>
<p>As Int () :-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;convert the data to integer type . As Float () :- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;convert the data to Float type As Decimal () :- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;convert the data to Decimal type. As Date and time() :-&nbsp; convert the data to&nbsp; date time type As Bool ()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;:-&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;convert the data to&nbsp; Bool type To string () &nbsp;&nbsp;&nbsp;&nbsp;:-&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;convert the data to String type</p>
<h3><strong>Data type Comparison&nbsp;&nbsp; Methods :-</strong></h3>
<ol>
<li>Is Int () <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />compares the given data in integer type, return true. If the data belongs to integer type other vise return false.</li>
<li>Is Float () <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />compares the given data in F type, return true. If the data belongs to integer type other vise return false.</li>
<li>Is Decimal () <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />compares the given data in Decimal type, return true. If the data belongs to integer type other vise return false.</li>
<li>Is Date time () <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />compares the given data in Date time type, return true. If the data belongs to integer type other vise return false.</li>
<li>Is Bool () <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />compares the given data in Bool type, return true. If the data belongs to integer type other vise return false.</li>
</ol>
<p><strong>For indepth understanding click on</strong></p>
<ul>
<li><a href="http://tekslate.com/difference-asp-net-web-applications-asp-net-mvc-application/" target="_blank" rel="noopener">ASP. NET web applications and ASP. NET MVC Application.</a></li>
<li><a href="http://tekslate.com/object-initialization-asp-net/" target="_blank" rel="noopener">Object initialization</a></li>
<li><a href="http://tekslate.com/example-razor-syntax-data-type-comparison-methods/" target="_blank" rel="noopener">Razor syntax</a></li>
<li><a href="http://tekslate.com/collection-initialize-asp-net/" target="_blank" rel="noopener">Collection Initialize ASP.net</a></li>
<li><a href="http://tekslate.com/view-engine-razor-view-engine/" target="_blank" rel="noopener">View engine &amp; Razor view engine</a></li>
</ul>118:Td58,<h2><strong>Example to Display data of a table using Razor syntax </strong></h2>
<p>Create&nbsp; a new view page&nbsp; using with Razor engine</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <strong>&darr;</strong></h2>
<p>Write the following code &nbsp;</p>
<pre>@ using system Data;
@using system Data.Sqlclient;
@ { layout = null ;
Sql connection&nbsp; con = new sql connection (&ldquo;&rdquo;);
String s= &ldquo;select * from emp details &ldquo;;
Sql data adapter da = new sql data adapter (s, con);
Data set ds = new data set ();
Da.fill (ds,&rsquo;x&rsquo;);
}</pre>
<pre>&lt;! Doctype html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt; Sample 1 &lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h2&gt;Satya tech &lt;/h2&gt;
&lt;div&gt;
&lt;form action = &ldquo;&rdquo; Method = &ldquo;Post&rdquo;&gt;
&lt;table border = &ldquo;2&rdquo; align = &lsquo;center&rsquo;&gt;
&lt;tr&gt;
&lt;th&gt;EMP id &lt;/th&gt; &lt;th&gt; E name &lt;/th&gt; &lt;th&gt; E sal &lt;/th&gt;
&lt;/tr&gt;
@ foreach (Data row R in ds. Tables [0]. Rows)
{
&lt;tr&gt;
&lt;td&gt;@ R[0]&lt;/td&gt; &lt;td&gt;@ R[1]&lt;/td&gt;&lt;td&gt;@ R[2]&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Create new view page with the name (Samples)</p>
<pre style="text-align: center;"><strong>Learn the core features of <a href="https://tekslate.com/asp-dot-net-training/" target="_blank" rel="noopener">ASP.NET Training</a>&nbsp;and become master with our expertise tutorials.</strong></pre>
<p><img class="alignnone wp-image-6159" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/141.png" alt="14" width="386" height="288" /> &nbsp; Write the following code</p>
<pre>@using system. Data;
@using system. Data. Sqlclient;
@ { layout = null;
Var r = &ldquo;&rdquo;;
If (is post)
{
String s = &ldquo;insert in to EMP Values&nbsp; (&rdquo;+ Request [&ldquo;txt EMP id&rdquo;] + &ldquo;,&rdquo;+Request [&ldquo;txt E name&rdquo;] &ldquo;+&rdquo;Request [txt E Sal]&rdquo; +);
SQL connection = new sql connection (&ldquo;&rdquo;);
SQL command cmd = new dql command (s, con)
Con.open ();
Int i = cmd. Execute non query ();
Con. Close ();
R = I +&rdquo;Record s inserted&rdquo;
}
}
&lt;body&gt;
&lt;h2&gt;satya&nbsp; technologies &lt;/h2&gt;
&lt;div&gt;
&lt;form action = &lsquo;&rsquo; method = &lsquo;post&rsquo;&gt;
&lt;table border = &lsquo;2&rsquo; align = &lsquo;center&rsquo;&gt;
&lt;tr&gt;
&lt;td&gt;Enter EMP id &lt;/td&gt; &lt;td&gt; &lt;input type = &lsquo;text&rsquo; name = &lsquo;txt emp id&rsquo;&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enter E name &lt;/td&gt; &lt;td&gt; &lt;input type = &lsquo;text&rsquo; name = &lsquo;txt e name&rsquo;&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Enter EMP Salary &lt;/td&gt; &lt;td&gt; &lt;input type = &lsquo;text&rsquo; name = &lsquo;txt emp&nbsp; salary&rsquo;&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt; @ R &lt;/td&gt;&nbsp; &lt;td&gt; &lt;input type&nbsp; = &ldquo;submit &rdquo;&nbsp; name = &lsquo;B1 value = &lsquo;&rsquo;Insert&rsquo;/&gt;&nbsp; &lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;tr&gt;
&lt;td&gt;Enter Emp salary &lt;/td&gt; &lt;td&gt; &lt;Input type= &ldquo;test&rdquo; name= &ldquo;txt emp sal&rdquo;&gt; &lt;/td&gt;
 &lt;/tr&gt;
&lt;td&gt; @&lt;/td&gt;&lt;td&gt;&lt;input type = &ldquo;submit&rdquo;name =&rdquo;Bi&rdquo;,value =&rdquo;insert&rdquo;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</pre>119:T15a4,<h2><span style="color: #000000;"><strong>Software:</strong> </span></h2>
<p><span style="color: #000000;">Digitalised automated process is called software.</span></p>
<ul>
<li><span style="color: #000000;">Whenever graphic user interface is available then it is called digitalised, without human interaction, if the process is completed, then it is called automated process.</span></li>
<li><span style="color: #000000;">A software is a collection of programmes.</span></li>
<li><span style="color: #000000;">A program is a set of instructions which is designed for particular task.</span></li>
<li><span style="color: #000000;">&lsquo;N&rsquo; no of programs combined together like a single unit, it is called software tool or software component.</span></li>
<li><span style="color: #000000;">Software&rsquo;s are classified in to two types:</span>
<ol>
<li><span style="color: #000000;">System software</span></li>
<li><span style="color: #000000;">Application software.</span></li>
</ol>
</li>
</ul>
<p>&nbsp; <strong>&nbsp;1.&nbsp;System software:</strong> This software is designed for general purpose and doesn't having any limitations. <span style="color: #000000;">Then it is called system software.</span> <span style="color: #000000;"><strong>E.g.</strong> Operating system, compiler.</span> &nbsp; <strong>&nbsp;2.Application Software:</strong> This software is designed for particular task and contains limitations. It is called Application software. <span style="color: #000000;">E.g.: MS.Office, oracle, Tally.</span></p>
<ul>
<li><span style="color: #000000;">By using MS.Office, we can maintain information in document format.</span></li>
<li><span style="color: #000000;">By using oracle, we can maintain information in Table format.</span></li>
<li><span style="color: #000000;">By using Tally, we can maintain account related information.</span></li>
<li><span style="color: #000000;">A computer is an Electronic device which accepts the instruction from the user, according to user send</span></li>
<li><span style="color: #000000;">Instructions, it produce results.</span></li>
<li><span style="color: #000000;">Who, using the applications is called user and who developing the application is called programmer.</span></li>
<li><span style="color: #000000;">The basic purpose of Language is communication.</span></li>
<li><span style="color: #000000;">Computer knows only one language i.e., Binary format.</span></li>
<li><span style="color: #000000;">As a programmer, when we required to interact with a computer, we need a communication channel, it is called programming language.</span></li>
<li><span style="color: #000000;">A programming Language is a special kind of instructions which is used to communicate with computer.</span></li>
<li><span style="color: #000000;">As a programmer, if we knows the programming language, we can&rsquo;t interact directly with computer because computer cannot understand programming language code. (It knows only binary language)</span></li>
<li><span style="color: #000000;">In above case, we required a Mediator, called &ldquo;Translator&rdquo;</span></li>
</ul>
<p>&nbsp; <span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; As a programmer, we required to give the instructions in programming language, translator will converts programming language into binary format, then according to the given instruction we will get an application / Result.</span> &nbsp; <span style="color: #000000;">Programmer&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> p.l&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;&nbsp; Translator <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;&nbsp;Binary&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; Computer&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; App/result</span> <span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Complier</span> <span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interpreter</span> <span style="color: #000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Assembler</span></p>11a:T937,<p><strong>Translator:</strong> It is a system software which is used to convert programming language code into binary format. Translators are classified into 3 types:</p>
<ol>
<li>Compiler</li>
<li>Interpreter</li>
<li>Assembler</li>
</ol>
<p>&nbsp;</p>
<ul>
<li>A compiler is a system software which convert programming language code into binary format in a single step.</li>
<li>An interpreter is a system software which converts programming language code into binary format step by step. (Line by Line)</li>
<li>By using Assembler, we can convert, assembly language instructions into binary format.</li>
<li>As per performance wise, recommended to use compiler, as per the development, recommended to go for an interpreter.</li>
</ul>
<p>&nbsp;</p>
<h2><strong>Programming Language</strong>:</h2>
<p>It is a special kind of instruction which is used to communicate with computer. Programming languages are classified in to 2 types.</p>
<ul>
<li>High level programming language</li>
<li>Low level programming language</li>
</ul>
<p>&nbsp;</p>
<h3><strong>High Level programming Language:</strong></h3>
<p>Which programming language syntactically similar to English and easy to understand.</p>
<ul>
<li>By using high level programming Languages, we are developing user interface applications.</li>
<li>C,c++,vc++,c+,Java, Cobol,Pascal,objective-c</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Low level programming language: </strong></h3>
<p>This programming language is also called Assembly programming language.</p>
<ul>
<li>In low level programming language, instructions will be there in symbolic format (Mnemonics).</li>
<li>By using low level programming languages, we are developing device driver.</li>
<li>A device driver is a system software component which is required to use to communicate a software with hardware components.</li>
</ul>
<p>8051,8086 M.C. Languages. &nbsp;</p>
<h3><strong>C programming language:</strong></h3>
<p>It is a high level procedure oriented structured programming language.</p>
<ul>
<li>When we are developing an application in module format then it is called procedure oriented language.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Structured programming language</strong><strong>:</strong></h3>
<p>When we are developing the program in top-down format with the help of blocks, then it is called structured programming language.</p>11b:T1df0,<h2 id="mcetoc_1frhiu9sgf0">History of C Language</h2>
<p>The C programming language was created in the early 1970s by Dennis Ritchie at Bell Labs. It was designed to be a low-level, system programming language. Over the years, it has evolved into a powerful and versatile language that is still in use today. In this blog post, we will take a look at the history of the C language and how it has evolved over time.</p>
<div class="mce-toc">
<h2>Table of Contents</h2>
<ul>
<li><a href="#mcetoc_1frhiu9sgf1">Algol - 1960 - International Group</a></li>
<li><a href="#mcetoc_1frhiu9sgf2">BPCL - 1967 - Martin Richards</a></li>
<li><a href="#mcetoc_1frhiu9sgf3">B - 1970 - Ken Thompson</a></li>
<li><a href="#mcetoc_1frhiu9sgf4">C - 1972 - Dennis Ritchie</a></li>
<li><a href="#mcetoc_1frhiu9sgf5">Portability - 1978 - Brian Kernighan &amp; Dennis Ritchie</a></li>
<li><a href="#mcetoc_1frhiu9sgf6">ANSI - 1983 - American National Standards Institute</a></li>
<li><a href="#mcetoc_1frhiu9sgf7">ISO - 1990 - International Organization for Standardization</a></li>
<li><a href="#mcetoc_1frhiu9sgf8">GNU - 1991 - Richard Stallman</a></li>
<li><a href="#mcetoc_1frhiu9sgf9">C99 - 1999 - International Organization for Standardization</a></li>
<li><a href="#mcetoc_1frhiu9sgfa">C11 - 2011 - International Organization for Standardization</a></li>
</ul>
</div>
<h3 id="mcetoc_1frhiu9sgf1">Algol - 1960 - International Group</h3>
<p>In 1960, the International Group of Algotists (IGA) published a report that described their new language called ALGOL. It was designed to be an easy-to-learn programming language with high readability and portability across different types of computers. In 1961, they created version 60 or ALGOL60 which became widely used in teaching computer science courses around the world because it could be implemented on any kind of computer system without much difficulty.</p>
<h3 id="mcetoc_1frhiu9sgf2">BPCL - 1967 - Martin Richards</h3>
<p>In 1967, Martin Richards created a new programming language called BCPL that was meant to be an extension of ALGOL60. It added many features like macros which allowed users to define their own command words and use them in place of complex statements or functions. In 1969 Brian Kernighan implemented the first ALGOL-like compiler for BCPL on his PDP-11 computer system at Bell Laboratories where he worked with Dennis Ritchie who later used it as inspiration while designing C Programming Language (C). B is a subset of C, so you can still see traces today!</p>
<h3 id="mcetoc_1frhiu9sgf3">B - 1970 - Ken Thompson</h3>
<p>&nbsp;In 1970, Ken Thompson designed and implemented the B programming language which was a direct descendant of BCPL. It added features like data types, structures, and arrays to make it more suitable for system programming tasks. In 1973, he ported the Unix operating system to the DEC PDP-11 computer and used B as its main development language. This led to the widespread adoption of Unix in academic circles and eventually helped popularize C as well.</p>
<h3 id="mcetoc_1frhiu9sgf4">C - 1972 - Dennis Ritchie</h3>
<p>Dennis Ritchie began work on what would become the C programming language in early 1972. He based it heavily on his earlier work on BCPL and B, with additional influences from ALGOL60 and other languages of that time period. In 1973, he and Mike Lesk created the first compiler for C at Bell Laboratories in New Jersey (USA) where they worked together on Unix operating system development. By 1975, Ritchie finished porting Unix to PDP-11 using only C as its main programming language!</p>
<h3 id="mcetoc_1frhiu9sgf5">Portability - 1978 - Brian Kernighan &amp; Dennis Ritchie</h3>
<p>In 1978, Brian Kernighan and Dennis M.Ritchie published "The C Programming Language," which became known simply as K&amp;R after their last names were put together into one word like "hammer". This book introduced many features that are still used today such as prototypes for functions without arguments or parameter types specified explicitly inline with them instead of being listed out separately at the start of the function body. It also explained the Portable Operating System Interface (POSIX) standard which helped make C more portable across different types of computer systems.</p>
<h3 id="mcetoc_1frhiu9sgf6">ANSI - 1983 - American National Standards Institute</h3>
<p>In 1983, the American National Standards Institute (ANSI) published a specification for the C programming language that became known as ANSI-C. This standardized version of C added features like function prototypes, variable length arrays, and support for international character sets. It also introduced new keywords and changed some existing ones to make them more consistent with how they were actually being used in practice.</p>
<h3 id="mcetoc_1frhiu9sgf7">ISO - 1990 - International Organization for Standardization</h3>
<p>The International Organization for Standardization (ISO) adopted ANSI-C as its official standard for the C programming language in 1990. This led to the creation of various international variants of C such as British Standard Code for Information Interchange (BSCII), Canadian Standards Association (CSA-C), and DIN 66261 German. Various other amendments were also made to the standard over the years, including a major update in 1999 that added support for object-oriented programming features like class inheritance and virtual functions.</p>
<h3 id="mcetoc_1frhiu9sgf8">GNU - 1991 - Richard Stallman</h3>
<p>In 1991, Richard Stallman announced his plans to create a new free software operating system called GNU which would be based on the UNIX design principles but use the C programming language instead of Assembly Language. The goal was to make it easier for people to write their own software programs without having to worry about licensing fees or legal restrictions imposed by companies like AT&amp;T Bell Labs that owned Unix at the time.</p>
<h3 id="mcetoc_1frhiu9sgf9">C99 - 1999 - International Organization for Standardization</h3>
<p>The C programming language was standardized again in 1999 under ISO/IEC 9899:1999, commonly known as "C99". The biggest change with this version of C was a new set of keywords added to support object-oriented programming features like class inheritance and virtual functions. Other additions included support for complex numbers via an imaginary unit (i), changes made to some existing operators so they would work better on floating point number types such as double precision real values (e.g., ++a++ &rarr; ++(a++)), and removal of the old restrict keyword which been found to be problematic and difficult to use correctly.</p>
<h3 id="mcetoc_1frhiu9sgfa">C11 - 2011 - International Organization for Standardization</h3>
<p>The most recent standard for the C programming language was published in 2011 as ISO/IEC 9899:2011, commonly known as "C11". This version added a few more features such as support for atomic operations on data structures like locks and barriers, designated initializers which allow you to initialize multiple variables at once using a single list of values, and improved Unicode support. It also removed some old or obsolete features that were no longer being used, such as the restrict keyword from C99.</p>
<p><strong>Conclusion</strong></p>
<p>As you can see, the history of the C programming language is quite extensive with many different versions and amendments having been made over the years. What began as a simple programming language designed to be used on Unix computers has now become one of the most widely used languages in existence today.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>11c:T3486,<h2><strong>Explain about Operators in &lsquo;C&rsquo; Language</strong></h2>
<p>It is a special kind of symbol which perform a particular task. In &lsquo;c&rsquo; programming language total no.of operators are &lsquo;44&rsquo; and depends on no.of operators these operators are classified into 3 types. i.e.</p>
<ol>
<li>unary</li>
<li>&nbsp;Binary</li>
<li>&nbsp;Terinary</li>
</ol>
<p>&nbsp;</p>
<h2><strong>Unary:</strong></h2>
<p>When we are working with unary operator which required one operand only.</p>
<h2><strong>Binary:</strong></h2>
<p>Binary operator always takes two operands</p>
<h2><strong>Terinary:</strong></h2>
<p>Terinary requires three arguments. E.g.: 2+3 When we are evaluating the expression one input data we are providing those are called operant &amp; Argument which symbol we are using is called operator. &nbsp;</p>
<h3><strong>Assignment operator (=) :-</strong></h3>
<p>It is a binary data category operator</p>
<ul>
<li>Binary category means it requires two arguments i.e, Left and right side arguments.</li>
<li>When we are working with Binary operator among those two argument if any one of the argument is missing then it gives an error.</li>
<li>When we are working with assignment operator left side argument must be a variable type only &amp; Right side is optional.</li>
</ul>
<p>&nbsp; <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Syntax:- </strong>L=R</p>
<ol>
<li>a=40 Error statement missing (;)</li>
<li>a=50; 50 (No error)</li>
<li>a=&rsquo;d&rsquo;; d</li>
<li>a=&rsquo;d&rsquo;; d</li>
<li>10=20; Error</li>
<li>A=; Error R value requires expression</li>
<li>A=25; Error L value requires expression</li>
<li>A=10;</li>
</ol>
<p>b=a; &nbsp; &nbsp;</p>
<h3><strong>Arithmetic&nbsp; operator:-</strong></h3>
<p>In &lsquo;C&rsquo; programming language there are 5 types of arithmetic operators are available. Multiplication, division, Modus, addition, subtraction All arithmetic operators are binary operators only which require &ldquo;2&rdquo; Arguments. In implementation whenever an expression contains more than one operator then in order to evaluate the expression, we require to follow priority of the operator. Which operator contains highest priority, it should be evaluated first, which operator contains least priority, that one at last. When the equal priority is occur, then if it is binary then evaluate towards from left to right, if it is unary then evaluate towards from right to left. &nbsp;</p>
<ol>
<li>* / %&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eg:- if a=2+3=5</li>
<li>+_ &nbsp;Return value is collected at the time of compilation.</li>
<li>=</li>
</ol>
<p><strong>Ex:</strong> 1). If a=2+3*2+3; 2+6+3=8+3=11 2). If a=5+3-2; 8-2 =6 Same priority then evaluate from left to right 3). If a=5+; Error 4). If a=8-; Error. 5).If a=+5; 5 6).If a=-8,-5 &nbsp; When we are working with +, -, symbols then it works as a unary and binary operator also When the symbol is available, then it indicates arithmetic binary operator. If the symbol is available before the operand then it indicates the sign of the value which indicates unary operator. 5/2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int, int&nbsp; - int 5.0/2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int, float 5/2.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float, int&nbsp;&nbsp;&nbsp; } float 5.0/2.0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.5&nbsp;&nbsp;&nbsp;&nbsp; float,float } float 2/5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 2.0/5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.4 -5/2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -2 5/-2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -2 -5/-2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -2 Operator behaviour is always variable independent only. i.e depends on the variable type the behaviour of the operator will not be changed Operator behaviour is always operand dependent only i.e,&nbsp; it depends on the input type, the behaviour of the operator changes. If both arguments are integer, then return value is integer., if any one of the argument is float or both are float then written value is float. O/P sign will depends on numerator sign and denominator sign also. Among those, two arguments any one of the argument is &ldquo;-ve&rdquo;, then return value is &ndash;ve , if both are &lsquo;-ve&rsquo; then return value is &lsquo;+ve&rsquo; &nbsp;</p>
<h3><strong>Modulus operator:- (reminder)</strong></h3>
<p>Modulus operator returns reminder value In modulus operator, o/p sign will depends on numerator sign only. Modulus operator require two arguments UR type integers only i.e, we can&rsquo;t apply for float data values,</p>
<ol>
<li>A= 12%4; =0, a=15%2; 1</li>
</ol>
<p>&nbsp; A= 21%8;&nbsp;&nbsp;&nbsp; 5 47%5;&nbsp;&nbsp;&nbsp;&nbsp; 2,&nbsp; -47%-5;&nbsp;&nbsp;&nbsp; -2 47%5;&nbsp;&nbsp;&nbsp;&nbsp; 2 , 5%2;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 -47%5;&nbsp;&nbsp;&nbsp; 2,&nbsp; 2%5;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 [ 2/5----&gt; 0 in division operator] &nbsp; If the numerator is less than half the denominator value, then if it is division operator returns &ldquo;Zero&rdquo;. If it is &ldquo;mod&rdquo; %operator. Returns numerator value &nbsp; A= 3*15.0/5%2; = 4.5.0/5%2; = 9.0%2; Error floating operation can&rsquo;t be applied for modules. &nbsp; In implementation, when we are working with module operator then we can&rsquo;t apply for float data type. So, in this case recommended to go for Library f&rsquo;ns, i.e fmode() or fmodl() f&rsquo;ns, we can find remainder value of float data types which is available in math.h &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; In implementation, when we need to extract last digit from the given i/p data, then go for %10, if we required to remove the last digit from the given num, then go for /10 &nbsp;</p>
<h3><strong>Relation and Logical operators:</strong></h3>
<p>In c and c++, all relational and logical operators are returns &ldquo;1&rdquo;,&rdquo;0&rdquo; If the expression is true, then returns with 1, if the expression is false, then returns with &ldquo;0&rdquo; Every non Zero is called true, when the value become Zero, it is false. Relational operators&nbsp;&nbsp;&nbsp; &lt;,&gt;,&lt;=,&gt;=,==,!= Logical operators are &amp;&amp;,!!</p>
<ol>
<li>()</li>
<li>+,-;! (signs) Uninory operator.</li>
<li>*,/,%</li>
<li>+, -</li>
<li>&lt;,&gt;,&lt;=,&gt;=</li>
<li>==,!=</li>
<li>&amp;&amp;</li>
<li>||</li>
<li>?: Condition operator or terinary.</li>
</ol>
<p>10.= &nbsp; a=2&gt;5; false =0 return value a=5&lt;8;1 True, return value 1 a=3&lt;2&lt;0;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp; a=3&gt;2&gt;0; 0&lt;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp; &nbsp; &nbsp; 1&gt;0 a=2&gt;3&lt;2;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; a=5&lt;8&gt;2;0 0&lt;2; 1 return value&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a=5&lt;8&gt;2; 0 1&gt;2 &nbsp;</p>
<table>
<tbody>
<tr>
<td width="245">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&gt;1A=3&gt;2&gt;1&gt;0&gt;-1; -1 0&gt;-1 If a=2&gt;5&lt;=0; 1 0&lt;=0 A=5&lt;8&gt;=2; 0 0&gt;=2; A=(2&gt;5)&lt;=(5&lt;2) &nbsp; A=(0)&lt;=(0) A=1</td>
<td width="356">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&gt;1------ &gt; 0 0 A=i&gt;=0&lt;=2; 1 i&lt;=2=1 (true) A=2&gt;5&lt;=5&lt;2 0&lt;=5&lt;2 1&lt;2; 1 A=2+3*2+3 2+6+3; A=11</td>
</tr>
</tbody>
</table>
<p>A=3&gt;2&gt;1; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; a=3&gt;2&gt;1&gt;0; 0 &nbsp; A=(2+3) * (2+3) A=5*5 =25 &nbsp;</p>
<h3><strong>Relational and Logical operators :</strong></h3>
<p>In c and c++ all relational and logical operators returns &ldquo;1 or 0&rdquo; If the expression is then it returns with one, if expression is false , then it returns with Zero. Every non-zero is called true, (0) the value become Zero, it is false. Relational operators are &lt;.&gt;,&lt;,&lt;=,&gt;=,==,!= Logical operators are &amp;&amp;,!,.. &nbsp;</p>
<table>
<tbody>
<tr>
<td width="222">A=2==5; 0A=8=8; 1 A=2&gt;5==1; 0 A=2&gt;5==5&lt;2; 1 A=1==2&lt;5; 1 A=5/2 == 2+5; 0 2==7 A=8%4 == 12%6; 1 A=2&lt;5! =5&gt;2;0 1!=1 &nbsp; &nbsp; A=2&lt;8==1&gt;5!=1==5&lt;8;1 1==0!=1==1 0=1</td>
<td width="380">L=R; -&gt; right side value assigned to left sideL=R-&gt; equality L!=R-&gt; Not equal A=2!=2;0 A=5!=8; 1 1<sup>st</sup> priority 1!=1 A=5&gt;8!=0; 0 A=1!=1&lt;5==2&gt;1=0 1!=1==1</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp;</p>
<table>
<tbody>
<tr>
<td width="52">a</td>
<td width="52">b</td>
<td width="76">a&amp;&amp;b</td>
<td width="65">a||b</td>
<td width="52">!a</td>
</tr>
<tr>
<td width="52">1</td>
<td width="52">1</td>
<td width="76">1</td>
<td width="65">1</td>
<td width="52">0</td>
</tr>
<tr>
<td width="52">0</td>
<td width="52">1</td>
<td width="76">0</td>
<td width="65">1</td>
<td width="52">1</td>
</tr>
<tr>
<td width="52">1</td>
<td width="52">0</td>
<td width="76">0</td>
<td width="65">1</td>
<td width="52">0</td>
</tr>
<tr>
<td width="52">0</td>
<td width="52">0</td>
<td width="76">0</td>
<td width="65">0</td>
<td width="52">1</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<table>
<tbody>
<tr>
<td colspan="5" width="68">&amp;&amp;</td>
<td colspan="2" width="65">||</td>
<td width="60">!</td>
</tr>
<tr>
<td colspan="4" width="38">TT</td>
<td width="30">T</td>
<td width="35">TF</td>
<td width="30">T</td>
<td width="60">T &ndash;F</td>
</tr>
<tr>
<td colspan="3" width="36">TF</td>
<td colspan="2" width="33">F</td>
<td width="35">TF</td>
<td width="30">T</td>
<td width="60">F-T</td>
</tr>
<tr>
<td colspan="2" width="35">FT</td>
<td colspan="3" width="34">F</td>
<td width="35">FT</td>
<td width="30">T</td>
<td width="60">&nbsp;</td>
</tr>
<tr>
<td width="34">FF</td>
<td colspan="4" width="34">F</td>
<td width="35">FF</td>
<td width="30">F</td>
<td width="60">&nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<table>
<tbody>
<tr>
<td width="171">A=2&lt;5&amp;&amp; 2&gt;5; 0A=2&gt;5 &amp;&amp; 2&lt;5; 0 A=5&lt;8 &amp;&amp; 8&lt;5;0 1 &amp;&amp; 0 A=2&gt;5 &amp;&amp; 5&gt;8;&nbsp; 0 A=2&lt;5 &amp;&amp; 8&gt;5;1 A=1!=2&gt;5 &amp;&amp; 8&gt;5; 1 A=2&lt;5 or 5&lt;2; A=5&gt;8-11 8&gt;2; 1 &nbsp; A=!5; 0 A=!=0;1 A=!2&gt;5; 1 &nbsp; &nbsp;</td>
<td width="248">A=5&gt;!=0 &amp;&amp; 2&gt;8!=1 ;11!=0 &amp;&amp; 0!=1 1 &amp;&amp; 1 A=5&gt;2==2&lt;8&amp;&amp;8&gt;5!=0; 1 &nbsp; &nbsp; &nbsp; A=1!=2*5 or 0!=2&gt;5; 1 A=5&lt;8!=0 or 8&gt;2!=1 1!=0 or 1 !=1 1 or 0 =1</td>
</tr>
</tbody>
</table>
<p>&nbsp; Cprogramming language is a case sensitive language i.e. upper case content and lower case content both are different In a c programming language, existing keywords and predefined f&rsquo;ns all are available in lower case only. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Program to print &ldquo;welcome&rdquo; Void main() { Printf(&ldquo;welcome&rdquo;) } <strong>o/p: </strong>welcome</p>11d:Te0a,<h2><strong>Variable declarations : - </strong></h2>
<p>Name of the memory location is called variable Generally when we required to change the data of the time of execution then we need to go for variable,</p>
<ul>
<li>Before using any variable in the program, it must be declared first</li>
<li>Declaration of variable means require to specify data type, name of the variable followed by semicolon(;)</li>
<li>In &lsquo;c&rsquo; programming language, variable declaration must be exist top of the program after opening the curly brace before writing first statement.</li>
<li>In variable declarations, name of the variable must be starts with alphabet or &lsquo;_&rsquo;(underscore) only.</li>
<li>Maximum length of the variable name is &ldquo;32&rdquo; characters, After 32 characters, compilers doesn&rsquo;t consider remaining characters.</li>
<li>In variable declarations, existing keywords, operators separators and constant values are not allowed.</li>
<li>In variable declarations, at least single space should be required b/w data type &amp; name of the variable.</li>
<li>When we are declaring multiple variable of same datatype, we use &ldquo;&rsquo;&rdquo; as separator.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Syntax:-</strong></h3>
<p>Datatype variable; Datatype var1,var2,var3;</p>
<ol>
<li>Inta; error</li>
<li>Int a_ Error</li>
<li>Int a;</li>
<li>Int a b c; Error</li>
<li>Int a,b,c;</li>
<li>Int 1a,1b,c1; Error</li>
<li>Int a1,b1,c1;</li>
<li>Int abc,d;</li>
<li>Int if; error10.</li>
<li>Int If; yes</li>
<li>Int If; yes case sensitive</li>
<li>Int if., yes</li>
<li>Int if; yes</li>
<li>Int total-sal; error</li>
<li>Int 1,2,3; error</li>
<li>Int -1,-2,-3,yes</li>
<li>Int -.,yes</li>
</ol>
<p>&nbsp; Void main() { Int I; Float f; I=5/2; F=5/2; Printf(&ldquo;%d&nbsp; %f&rdquo;,I,f); &nbsp; } <strong>o/p:</strong> &nbsp;2&nbsp;&nbsp; 2.000000 &nbsp;</p>
<table>
<tbody>
<tr>
<td width="205"><strong>Value</strong></td>
<td width="205"><strong>Int </strong></td>
<td width="205"><strong>Float</strong></td>
</tr>
<tr>
<td width="205">-</td>
<td width="205">Gr</td>
<td width="205">Gr</td>
</tr>
<tr>
<td width="205">5/2</td>
<td width="205">2</td>
<td width="205">2.000000</td>
</tr>
<tr>
<td width="205">5.0/2</td>
<td width="205">2</td>
<td width="205">2.5</td>
</tr>
<tr>
<td width="205">5/2.0</td>
<td width="205">2</td>
<td width="205">2.5</td>
</tr>
<tr>
<td width="205">5.0/2.0</td>
<td width="205">2</td>
<td width="205">2.5</td>
</tr>
<tr>
<td width="205">2/5</td>
<td width="205">0</td>
<td width="205">0.0</td>
</tr>
<tr>
<td width="205">2.0/5</td>
<td width="205">0</td>
<td width="205">0.4</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>&nbsp;</strong> <strong>&nbsp;</strong> Operator behaviour is always variable independent i.e Acc to the variable type, the behaviour of the operator will not be changed.</p>
<ul>
<li>Always the operator behaviour is operand dependant only</li>
<li>e depends on the i/p data, the behaviour of the operator will change</li>
<li>Always return value behaviour is variable dependant only. i.e depends on the variable type automatically return value will converted.</li>
<li>In implementation, when operator is returning an integer value, we require to assign the data to float variable, then automatically data will be converted into float format by adding &ldquo;.0&rdquo;</li>
<li>Whenever the operator i.e returning float value and we require to assign an integer variable then decimal point only require to assign.</li>
</ul>
<p>&nbsp; By default, whenever we are declaring any variable, it bolds garbage value initially</p>11e:T16fc,<h2><strong>Control flow statements in C Language in Detail:-</strong></h2>
<p>Control flow statements always control the&nbsp;&nbsp; execution flow of the program.</p>
<ul>
<li>Control flow statements are classified in to three types.</li>
</ul>
<p>i.e</p>
<ol>
<li>Selection statement :-<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> eg :-if,else,elseif,switch</li>
<li>Interaction statements:- <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;eg:- While,for,do-while</li>
<li>Jumping statements:- <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;eg:- break,continue,goto</li>
</ol>
<p>&nbsp; 1<strong>. Selection statement :-</strong> Selection statements are also called as decision making statements</p>
<ul>
<li>When we are working with selection statements, if the condition is true, then control will pass within the body, if it is false control will pass outside the body</li>
</ul>
<p><strong>Syntax to if:</strong> If (condition) { Statement 1; Statement 2; Statement 3; ---------------------- ----------------------- } &nbsp;</p>
<ul>
<li>Constructing the body is always optional</li>
<li>For a single statement, doesn&rsquo;t require to specify the body</li>
<li>If the body is not specified, then automatically,</li>
</ul>
<p>Condition part will terminals with next semicolon(;) &nbsp; &nbsp; &nbsp; <strong>Else :-</strong> It is a keyword, by using this keyword, we can create alternate block for if condition.</p>
<ul>
<li>Using else is always optional, it is recommended to use, when we are having alternate block.</li>
<li>When we are working with if and else, among those two blocks, only one block will be executed.</li>
<li>Else block will be executed whenever the if condition i.e false</li>
</ul>
<p>&nbsp;</p>
<table width="585">
<tbody>
<tr>
<td width="226">
<ul>
<li>If(condition)</li>
</ul>
{ Statement 1; Statement 2; } Else { Statement 3; Statement 4; } &nbsp; &nbsp; &nbsp; &nbsp; Void main() { Printf(&ldquo;a&rdquo;); Printf(&ldquo;b&rdquo;); If(5&gt;2!=1) { Printf(&ldquo;welcome&rdquo;); Printf(&ldquo;Hello&rdquo;); } Printf(&ldquo;c&rdquo;); Printf(&ldquo;D&rdquo;); o/p: ABCD &nbsp; false, so it doesn&rsquo;t execute the satatements which are present inside the block</td>
<td width="172">
<ul>
<li>If(condition)</li>
</ul>
Statement1; Else Statement 2; &nbsp; 4) if(condition) Statements; Else { Statement2; Statement3; }</td>
<td width="187">
<ul>
<li>If (condition)</li>
</ul>
{ Statement1; Statement2; } Else Statement3; &nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; Generally when we are working with constant expressions, we will get warning message from compiler i.e condition is always false or true.</p>
<ul>
<li>Warnings can be ignored automatically at the time of execution.</li>
</ul>
<p>&nbsp;</p>
<h3>Void main()</h3>
<p>Printf(&ldquo;NIT&rdquo;); Printf(&ldquo;welcome&rdquo;); If(15!=5!=0)&nbsp;&nbsp;&nbsp;&nbsp; // if(0!=5!=0) // if(1!=0) { Printf(&ldquo;A&rdquo;); Printf(&ldquo;B&rdquo;); } Printf(&ldquo;c&rdquo;); } <strong>o/p:-</strong>NIT welcome ABC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ldquo;Every non Zero is true&rdquo; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Printf(&ldquo;welcome&rdquo;); Printf(&ldquo;NIT&rdquo;); If(!5) Printf(&ldquo;A&rdquo;); Printf(&ldquo;B&rdquo;); Printf(&ldquo;c&rdquo;); &nbsp; <strong>O/P:</strong> &nbsp;WelcomeNITBC. &nbsp; When we are constructing multiple statements without using body then first statement only will consider within the &ldquo;if&rdquo;, because scope will be terminated with next semicolon.</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Printf(&ldquo;A&rdquo;); If(5&gt;2 &amp;&amp; 8&lt;5) // if(1 &amp;&amp; 0) { Printf(&ldquo;B&rdquo;); Printf(&ldquo;c&rdquo;); } Else { Printf(&ldquo;welcome&rdquo;); Printf(&ldquo;Hello&rdquo;); } Printf(&ldquo;D&rdquo;); } <strong>o/p:</strong> a welcome Hello &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>Printf(&ldquo;welcome&rdquo;); If(1&lt;2!=0 &amp;&amp; 1=5&gt;2)&nbsp;&nbsp; // if(1!=0 &amp;&amp; 1==1) { Printf(&ldquo;A&rdquo;); Printf(&ldquo;B&rdquo;); } Else { Printf(&ldquo;x&rdquo;); Printf(&ldquo;y&rdquo;); } Printf(&ldquo;NIT&rdquo;); } &nbsp; <strong>o/p:-</strong> Welcome AB NIT. &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Printf(&ldquo;A&rdquo;); If(8!=8&gt;2 or 4!=1&lt;4) { Printf(&ldquo;B&rdquo;); Printf(&ldquo;C&rdquo;); } Else Printf(&ldquo;NIT&rdquo;); Printf(&ldquo;Y&rdquo;); Printf(&ldquo;Z&rdquo;); } <strong>o/p:</strong> ABCYZ. &nbsp; When the body is not specified for else part then automatically scope will terminated with next statement only. Ie. Under the else part, first statement will place &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>Printf(&ldquo;Hello&rdquo;); If(15!=2&gt;5) Printf(&ldquo;A&rdquo;); Printf(&ldquo;B&rdquo;);&nbsp;&nbsp;&nbsp;&nbsp; on necessary because else should start at the else&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;immediate ending of if statement. If is not {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; having the body. Printf(&ldquo;X&rdquo;); Printf(&ldquo;Y&rdquo;); } } <strong>o/p:</strong> &nbsp;Error misplaced error &nbsp; when we are using the else part, it should start immediately of if scope only i.e where the scope of the if is terminated there itself. &nbsp; Else part must be started.</p>11f:T903,<h2>What are Scanf ,Printf, CLRSCR, Getch, &amp; Comments in C Language</h2>
<h2><strong>Scanf:-</strong></h2>
<p>It is a predefined f&rsquo;n. by using this pre-defined f&rsquo;n we can read the data from user.</p>
<ul>
<li>Scanf f&rsquo;n can any no.of arguments but 1<sup>st</sup> argument must be within the double quotes &amp; remaining all arguments should separated with comma(,)</li>
<li>When we are working with scanf f&rsquo;n with in the double only. i.e what type of data we are reading same type of format specifier is required</li>
<li>If scanf fun argument list should be contains &amp; symbols.</li>
</ul>
<p>&nbsp;</p>
<h2><strong>Printf():-</strong></h2>
<p>It is a pre-defined f&rsquo;n, by using this f&rsquo;n we can print the data on console.</p>
<ul>
<li>The scientific name of the monitor is called &ldquo;console&rdquo;</li>
<li>When we are working with the printf, it can take any no.of arguments but 1<sup>st</sup> argument must be within the double codes and every argument should be separated with &lsquo;,&rsquo;</li>
<li>Within the double codes whatever we pass it pins assist i.e. if any format specifiers are there then copy that type of values.</li>
</ul>
<p>&nbsp;</p>
<h2><strong>CLRSCR</strong><strong>:-</strong></h2>
<p>By using this predefined f&rsquo;n we can clear console data.</p>
<ul>
<li>Using clrscr is always optional but it must be required to place after declaration part only.</li>
</ul>
<p>&nbsp; &nbsp;</p>
<h2><strong>Getch</strong><strong>:-</strong></h2>
<p>It is a predefined f&rsquo;n, by using this predefined f&rsquo;n we can read a char from keyboard.</p>
<ul>
<li>Generally we are planning the getch at end of the program. To wait the o/p screen until we are passing any char&rsquo;s from keyboard.</li>
</ul>
<p>&nbsp;</p>
<h2><strong>Comments</strong><strong>:-</strong></h2>
<p>When we are using comments that specific part of the prog will ignore by compiler.</p>
<ul>
<li>Generally comments are used to provide the description about the logic</li>
<li>In a CPU they are 2 types of comments are possible i.e single line comments and multiple line. Comments.</li>
<li>Single line comments can be provide by using two forward slashes(//)</li>
<li>Multiple line comments can be provided by using /*&hellip;&hellip;&hellip;&hellip;.*/</li>
</ul>120:T2845,<h2><strong>Explain about Conditional operators in C Language with Examples</strong></h2>
<p>&nbsp; Conditional operators are terinary category operators.</p>
<ul>
<li>Terinary category means it requires 3 arguments i.e left, middle and right side arguments.</li>
<li>In conditional operator, when expression is true, then returns with middle argument, if condition is false, then returns with right side argument and left side argument is treated as condition.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Syntax: </strong></h3>
<p><img class="alignnone wp-image-6230" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/214-460x244.png" alt="2" width="409" height="217" /> According to the syntax, when expression 1 is True or L value non zero , then exp2 or middle value returns. &nbsp; If exp1 is false or &ldquo;L&rdquo; value is Zero, then exp 3 or right side value will returns</p>
<ul>
<li>When we are working with conditional operators. We require to satisfy following conditions.</li>
</ul>
<p>i.e No of question marks and colons should be equal <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;Every colon should match with just before the &ldquo;}&rdquo; mark <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;Every colon should followed by &ldquo;}&rdquo;mark only &nbsp; Int a; A=10?20:30; M.R A=2&gt;5!=1?10:20;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Expression is true collects middle data A=1?10:20;&nbsp;&nbsp; 10 &nbsp; A=2&lt;5 &amp;&amp; 578910:20; 1&amp;&amp;0 9 10:20; A=0 ? 10: 20; 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; false, returns right side value &nbsp; A= 2&gt;5 ? 10:20:30;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;no.of colons and &ldquo;?&rdquo; markes should be same &nbsp; A=5&lt;8 ? 10:20:5!=5?30; Every colon should followed by ? mark. A=8&gt;5!=1?10:5&lt;2==0?20:30; upto 1<sup>st</sup> ? &ndash; left side value 0!=1?10: 90==0!20:30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; after 1<sup>st</sup> question mark and Before first colon is middle value 0?10: 1?20:30 Remaining is right side value A=1!&gt;1?10:/&nbsp; 5&lt;2==0?20:30; L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M&nbsp; R 0=0 A=20 &nbsp; A=2&lt;5?&nbsp;&nbsp; 5&gt;2!=0 10:20:30; L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R 2&lt;5- True returns middle so, consider 5&gt;2!=0?10:20; 1!=0?10:20; 1? 10:20,10 1!=1 &nbsp; 8 a=1!=2&lt;5?10=15!=0?20:8&lt;5!=0?30:40; L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R 0?10: !5!=0?20:8&lt;5!=0?30:40!5=false L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M&nbsp;&nbsp;&nbsp; R 0?10:15!=0?20:8&lt;5!=0?30:40 &nbsp; 0!=0 8&lt;5!=0 ? 30:40 L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M&nbsp;&nbsp; R &nbsp; 9&nbsp;&nbsp; a=2&gt;5!=8&lt;5?10=1!=5&gt;8?!5?20:30:40; L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;R &nbsp; 1!=5&gt;8?!5?20:30:40; L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R !=5?20:30;30 True 10 a=5&lt;8?2&gt;5!=1?5!=5==0?10:20:30:40; &nbsp; 2&gt;5!=1!!5!=5==0?10:20:30; L !5!=5==0?10:20; L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; M&nbsp; R 11 a=2&gt;5?18=0?10:20:8&gt;2!=0?5&lt;8!=1?30:!5!=5?1?40:2&gt;5!50:60:70:80 &nbsp; 6&gt;2!=0?5&lt;8!=1?30:!5!=5?!1?40=2&gt;5?50:60:70:80 &nbsp; 5&lt;8!=1?30:!5!=5?!1?40:2&gt;5?50:60:70; &nbsp; !5!=5?!1?40:2&gt;5?50:60:70 &nbsp; !1! 40:2&gt;5?50:60; 2&gt;5?50=60; 60 &nbsp; &nbsp;</p>
<ul>
<li>The basic advantage of conditional operator is it increase the execution speed of the program</li>
<li>Generally conditional operators are used to reduce the coding part. When coding part is reducing, it occupies less memory. So, automatically performance will increase.</li>
</ul>
<p>&nbsp;</p>
<h2><strong>Nested if else:</strong></h2>
<p>When we are placing the if condition within the condition. Then it is called Nested if NIf can be applied upto 255 blocks. When we are working with nested if else at even any point of time only block will be executed. <strong>Syntax :-</strong> If(condition1) { Block1; } Else { If (condition 2) { Block2; } Else { If (condition 3) Block 3; Else Block4; } } Acc to the syntax if condition 1 is true then blocks will executed. If it false then control will pass through else port within the else part if condition 2 is true, then block 2 will executed if it is false then control will pass to nested else. Within the nested else if condition 3 is true then block 3 is executed else block 4 will executed. Void main() { Int x, y, z, min ; X=10;y=5;z=20; If(x&lt;y &amp;&amp; x&lt;z) { Min=y; } If(z&lt;x &amp;&amp; Z&lt;Y) { Min=z } Printf(&ldquo;min value:%d&rdquo;,min); } <strong>o/p :</strong> min value=5</p>
<ul>
<li>In implementation when we are constructing inter related conditions independently after completion of requirement compiler will check rest of conditions even through if it is false.</li>
<li>Whenever we having inter related conditions, then always recommended to create optional block by using else port.</li>
<li>According to the syntax if condition 1 is true then block will executed ,if it is false then control will pass through else port within the else part if condition 2 is true, then block2 will executed if it is false then control will pass to nested else.</li>
<li>Within the nested else if condition 2 is true and then block3 is executed else block 4 will executed.</li>
</ul>
<p>Void main() { Int x,y,z, min; X=10,y=5,z=20; If (x&lt;y&amp;&amp;y&lt;z) { Min=y; } If (z&lt;x&amp;&amp;z&lt;y) { Min=y; } If(z&lt;x&amp;&amp;z&lt;y) { Min=z; } Printf (&ldquo;min value =%d&rdquo;,min); } <strong>O/P :</strong> min value =5</p>
<ul>
<li>In implementation when we are constructing inter related conditions independently after completion of requirement complier will check rest of conditions eve though if it is false.</li>
<li>Whenever we having inter related conditions, then always recommended to create optional block by using else part.</li>
<li>When we having only one alternate block then go for else part, if we having multiple alternate blocks then recommended to go for nested else.</li>
<li>In above prog, in place of constructing multiple conditions we can create a single statement which can provide min value i.e condition operator are required to use.</li>
<li>Void main()</li>
</ul>
<p>{ Int x,y,z ,min; X=10;y=5;z=20; Min=x&lt;y &amp;&amp; x&lt;Z?x:y&lt;Z?y:Z; Printf(&ldquo;min value:%d&rdquo;,min); } <strong>o/p:</strong> &nbsp;min value=5 &nbsp; &nbsp; &nbsp; &nbsp; Void main() { Int a,b,c,d,max; Clrscr(); Printf(&ldquo;Enter values&rdquo;) Scanf(&ldquo;%d%d%d%&rdquo;,&amp;a,&amp;b,&amp;c,&amp;d); //a=100,b=50,c=20,d=30; If(a&gt;b &amp;&amp; a&gt;c &amp;&amp; a&gt;d) { Max=a; } Else { If(b&gt;c &amp;&amp; b&gt;d) { Max=b; } Else { If(c&gt;d) } Printf(&ldquo;max value=%d&rdquo;,max); Getch(); } &nbsp; <strong>o/p :</strong> Enter 4 values : 10 20 50 30 max value = 50 &nbsp; &nbsp; By using conditional operator &nbsp; Void main() { Int a,b,c,d,max; Clrscr(); Printf("Enter 4 values :&rdquo;); Scanf(&ldquo;%d %d %d %d&rdquo;,&amp;a,&amp;b,&amp;c,&amp;d); Max=a&gt;b &amp;&amp; a&gt;c &amp;&amp; a&gt;d ? a:b&gt;c &amp;&amp; b&gt;d?b:c&gt;d?ad; Printf(&ldquo;Max value=%d&rdquo;,max); Getch(); } <strong>o/p :</strong> enter 4 values =50 &nbsp;</p>
<h2>&nbsp;By using conditional operator</h2>
<p>&nbsp; Void main() { Int a,b,c,d,max; Clrscr(); Printf("Enter 4 values :&rdquo;); Scanf(&ldquo;%d %d %d %d&rdquo;,&amp;a,&amp;b,&amp;c,&amp;d); Max=a&gt;b &amp;&amp; a&gt;c &amp;&amp; a&gt;d ? a:b&gt;c &amp;&amp; b&gt;d?b:c&gt;d?ad; Printf(&ldquo;Max value=%d&rdquo;,max); Getch(); } <strong>o/p :</strong> enter 4 values =50 &nbsp; &nbsp;</p>
<h2><strong>Electricity Bill program:-</strong></h2>
<p>Void main() { Int sno, cread, pread, nunits,t; Float rps; Clrscr(); Printf(&ldquo;Enter sno:&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;sno); If(sno==4235) { Printf(&rdquo;\Enter current reading :&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp; cread); Nunits=cread-pread; If(nunits&gt;=151) { T=nunits-150; Rps=t*6.0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 4rth Rps=rps+50+5.0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 4+3<sup>rd</sup> Rps=rps+50*3.50;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 4+3<sup>rd</sup>+2<sup>nd</sup> Rps=rps+50*2.0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 4+3+2+1<sup>st</sup> } Else if (nunits&gt;=101 &amp;&amp; nunits &lt;=150) { T=nunits-100; Rps=t*5.0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 3<sup>rd</sup> Rps=rps+50*3.50;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 3+2<sup>nd</sup> Rps=rps+50*2.0; // 3+2+1<sup>st</sup> } Else if(nutits&gt;=51 &amp;&amp; nunits&lt;=100) { T=nunits-50; Rps=t*3.50; Rps=rps+50*2.0; } Else Rps=nunits * 2.0; If(rps&lt;64) Ops=64.0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // min amount Printf(&ldquo;\n total amount value:%f&rdquo;,rps); } Else Printf(&ldquo;\n invalid sno&rdquo;); Getch(); } &nbsp; &nbsp; <strong>Execution</strong><strong>:</strong> Enter SNo: 1234 Invalid sno Enter SNo:4235 Enter current reading : 180 Total amount value : 105.00 In printf f&rsquo;n , when we are passing &ldquo; percentage.2f &rdquo; format specifiers then fractional part it displays only two digits.</p>121:T1a9b,<h2>Looping statements and functionality in C Language</h2>
<h2><strong>Loops</strong><strong> :-</strong></h2>
<p>Set of instructions given to the compiler to execute set of statements. Until the condition becomes false, it is called Loop.</p>
<ul>
<li>The basic purpose of Loop is code repetition.</li>
<li>In implementation , when we require the repetitions then always recommended to go for loops.</li>
<li>Generally iteration statements are called loops. Because way of the repetition will forms circle.</li>
<li>In &ldquo;c&rdquo; programming language there are three types of loops are available.</li>
</ul>
<h3>1) while</h3>
<h3>2) for</h3>
<h3>3) do-while</h3>
<p>&nbsp; &nbsp;</p>
<h3><strong>Syntax to while</strong><strong>:-</strong></h3>
<p>Assignment, While (condition) { Statement 1; Statement 2; Statement 3; &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;.. &nbsp;</p>
<ul>
<li>When we are working with iteration statement, generally it takes the repetition until the condition becomes false but if it is selection statement after execution of the body control will pass outside the body automatically.</li>
<li>When we are working with while, first if checks the condition, if the condition is true, then control will pass within the body and after execution of the body once again control will pass back to the condition</li>
<li>Until the condition becomes false, body will be repeated &ldquo;n&rdquo; no of times.</li>
</ul>
<p>&nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Increment</strong></td>
<td><strong>Decrement</strong></td>
</tr>
<tr>
<td>Assignment -&gt; minCondition -&gt; maxRelation&nbsp;&nbsp; -&gt;&lt;/&lt;= Add(+)</td>
<td>Assignment -&gt; maxCondition&nbsp;&nbsp; -&gt; minRelation&nbsp; -&gt;&gt;/&gt;= Sub(-)</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; <strong>Print the no&rsquo;s from 1 to 10</strong><strong>:-</strong> From left to right<strong>&nbsp;</strong> &nbsp; Void main() { Int I; I=1; While(i&lt;=100) { Printf(!&rdquo;%d&rdquo;,i); I=i+1; } } <strong>O/P :</strong> 12345678910 &nbsp; <strong>Print the no&rsquo;s in decrement order from top</strong> Void main() { Int i; I=15; While(i&gt;=10) { Printf(&ldquo;\n%d&rdquo;,i); I=i-1; } } <strong>o/p: </strong> 15 14 13 12 11 10</p>
<ul>
<li>&ldquo;\n&rdquo; is a special character which is used to print new line i.e vertical format data.</li>
</ul>
<p>&nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int I,n; Clrscr(); Printf(&ldquo;Enter a value: &rdquo;); Scanf(&ldquo;%d&rdquo;, &amp;n); I=2; While(i&lt;=n) { Printf(&ldquo;%d&rdquo;,i); I=i+2; } Getch(); } <strong>o/p:-</strong> Enter a value=10 2 4 5 6 10 &nbsp;</p>
<ul>
<li>Program to accept the no from user</li>
</ul>
<p>Enter a value&nbsp; : 12345 Sum of 1+5=6 &nbsp;</p>
<ul>
<li>
<h3>Program</h3>
</li>
</ul>
<p><strong>Case1:</strong> Enter two values: 10 20 10 12 14 16 18 20 <strong>Case 2:</strong> Enter two values: 9 20 10 12 14 16 18 20 <strong>Case 3:</strong> Enter two values 20 10 20 18 16 14 12 10 <strong>Case 4:-</strong> Enter two values: 21 10 20 18 16 14 12 10 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int n1,n2; Clrscr(); Printf(&ldquo;Ener two values:&rdquo;); Scanf(&ldquo;%d %d&rdquo;, &amp;n1,&amp;n2); If (n1&lt;=n2) { If (n1%2!=0)&nbsp; || &nbsp; &nbsp;if(n1%2==1) N1=n1+1; While(n1&lt;n2) { Printf(&ldquo;%d&rdquo;,n1); N1=n1+2; } Else { If(n1%2==1) || if (n1%2!=0) N1=n1-1; While(n1&gt;=n2) { Printf(&ldquo;%d&rdquo;,n1); N1=n1-2; } } Getcch(); } Enter a value 50 0 1 2 3 5 8 13 21 34 Void main() { Int n,I,j,k; Clrscr(); Printf(&ldquo;Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;, &amp;n); If(n&gt;0) { I=0; J=1; Printf(&ldquo;%d %d&rdquo;,I,j); K=i+j; While(k&lt;=n) { Printf(&ldquo;%d&rdquo;,k); I=j; J=k; K=i+j; } } Else Printf(&ldquo;\ &nbsp;input should be &gt;0&rdquo;); Get ch(); }</p>
<h3>&nbsp;</h3>
<h3>Write a program to find first n febinosis numbers i.e if input value is 20. Then print first 20 febinoces no&rsquo;s</h3>
<p>Void main() { Int n,rn,sd,nd; Clrscr(); Printf(&ldquo;Ener a value&rdquo;); Scanf(&ldquo; %4d&rdquo;,&amp;n); Rn=sd=nd=0; &nbsp;</p>
<table width="340">
<tbody>
<tr>
<td width="340">While (n&gt;0){Rn=rn*10+n%10; Sd=sd+n%10; Nd=nd+1; N=n/10; } Printf(&ldquo;\n Reverse value is:%d&nbsp;&rdquo;,m); Printf(&ldquo;\n sum of digits : %d&rdquo;,sd); Printf(&ldquo;\n no.of digits :%d&rdquo;,nd); Getch(); } <strong>o/p:</strong> Enter a value 1234 Reverse no: 4321 Sum of digits : 10 No.of digits : 4 &nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table>
<tbody>
<tr>
<td width="61">N</td>
<td width="68">Rn</td>
<td width="68">Sd</td>
<td width="118">Nd</td>
</tr>
<tr>
<td width="61">1234123 &nbsp; 12 &nbsp; 0</td>
<td width="68">00+4=440+3 43 430+2 432 320+1 432</td>
<td width="68">00+4=44+3 7 4+2 6 9+1 10</td>
<td width="118">00+1=11+1 2 2+1 3 3+1 4</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp;</p>
<ul>
<li>In scanf statement , when we are passing %4d scanf() specifier, then it will read. &ldquo;four digit&rdquo; data only from the user.</li>
<li>If we are providing more than &ldquo;4&rdquo; digits , then automatically compiler will ignore remaining digits.</li>
</ul>
<p>&nbsp; Void main() { Int n,I; Clrscr(); Printf(&ldquo;enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=10) { Printf(&ldquo;\n %d * %2d=%2d&rdquo;,n,I,n=i); I=i+1; } Getch(); &nbsp; <strong>o/p :</strong> 5*1=5 5*2=10 5*3=15 5*4=20 5*5=25 5*6=30 5*7=35 5*8=40 5*9=45 5*10=50 &nbsp;</p>
<ul>
<li>In printf statement , when we are passing %2d format specifier, then it indicates that &ldquo;2&rdquo; digit decimal value need to be printed, if two digits are not occurred , then go for right alignment. I.e digit will be printed towards right side and space will be printed towards leftside.</li>
<li>In printf statements, when we are passing %2d format specifier, then it indicates that &ldquo;2&rdquo; digit decimal value required to print. If two digits are not occurred then fo for left alignment I.e digit will be printed left side and space will be printed towards right side</li>
<li>In printf, if we are passing %5.3d format specifier then it indicates that 5 digit decimal value required to print, if 5 digits are not occurred then apply the right alignment , but mandatary to print &ldquo;3&rdquo; digits and of three digits are not occurred, then fill with &ldquo;Zeros&rdquo;.</li>
<li>In printf, when we are passing %-5.3d format specifier then it indicates , a &ldquo;5&rdquo; digit decimal value required to print if &ldquo;5&rdquo; digits are not occurred, then go for left alignment but mandatory to print &ldquo;3&rdquo; digits, if three digits are not occurred then fill with &ldquo;Zero&rdquo;</li>
</ul>
<p>&nbsp;</p>
<h2>&nbsp;</h2>122:T2706,<h2><strong>Explain about Nested Loops with Examples in&nbsp;C language</strong></h2>
<p>When we are placing a loop within the loop body, then it is called Nested loop. In implementation, when we require to repeat block of the statement, then go for loop, if complete loop body, if we required to repeat &ldquo;n&rdquo; no of times then go for nested loops. ?</p>
<h3><strong>Syntax :-</strong></h3>
<p>Assignment; While(condition1) { Statement 1; Statement 2; ----------------- Asignment2; While(condition2) { Statement 3; Statement 4; &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;.. &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;.. Include; } &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;. Include; }</p>
<ul>
<li>When we are working with the nested loops, always execution process will starts from outerloop condition. Ie condition1</li>
<li>Whenever the outerloop condition is true, then control will pass within the outerloop.</li>
<li>In order to execute the outerloop, if any while statements are occur, those are called &ldquo;innerloop&rdquo;</li>
<li>Whenever the innerloop is occur, then we required to check inner loop condition i.e, condition 2</li>
<li>If the innerloop condition is true then control will pass within the innerloop and until the inner loop condition became false, complete body will be repeated &ldquo;n&rdquo; no. of times.</li>
<li>Whenever the inner loop condition is false, then control will pass to outer loop and until the outer loop condition is false, it will be repeated &ldquo;n&rdquo; no. Of times</li>
<li>Enter two values : 2 4</li>
</ul>
<p>&nbsp;</p>
<table>
<tbody>
<tr>
<td width="205">2*1=22*2=42*3=62*4=82*5=102*6=12 2*7=14 2*8=16 2*9=18 2*10=20 &nbsp; &nbsp;</td>
<td width="205">3*1=33*2=63*3=93*4=123*5=153*6=18 3*7=21 3*8=24 3*9=27 3*10=30 &nbsp;</td>
<td width="205">4*1=44*2=84*3=124*4=164*5=204*6=24 4*7=28 4*8=32 4*9=36 4*10=40 &nbsp;</td>
</tr>
</tbody>
</table>
<p>Void main() { Int i,n,n1,n2; Clrscr(); Printf(&ldquo;Enter two values&rdquo;); Scanf(&ldquo;%d%d&rdquo;,&amp;n1,&amp;n2);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n2 I=1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4 While(i&lt;=10)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; as n=n1 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; checkout conditions Printf(&ldquo;\n&rdquo;); N=n1; While(n&lt;=n2) { Printf(&ldquo;%3d%2d=%2d&rdquo;,n,i,n,i); N=n+1; } I=i+1; } Getch(); &nbsp; &nbsp; &nbsp; Enter a value : 6 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 6 &nbsp; Enter a value : 6 6 5 4 3 2 1 5 4 3 2 1 4321 321 21 1 &nbsp;</p>
<table style="height: 647px;" width="628">
<tbody>
<tr>
<td width="308">Void main(){Int i,in,n;Clrscr();Printf(&ldquo;enter a value;&rdquo;);Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While (i&lt;n) { Printf(&ldquo;\n&rdquo;); In=1; While(in&lt;=i) { Printf(&ldquo;%d&rdquo;,in); In=in+1; } I=i+1; } Getch(); } &nbsp; &nbsp; &nbsp;</td>
<td width="308">&nbsp;123456234563456456566 &nbsp; 654321 65432 6543 654 65 6 &nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<ol>
<li>
<h3>Void main()</h3>
</li>
</ol>
<p>{ Int i,n,dn; Clrscr(); Printf(&ldquo;Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=n; While(i&gt;=1) Printf(&ldquo;\n&rdquo;); Dn=i; While(dn&gt;=i) { Printf(&ldquo;%d&rdquo;,dn) Dn=dn-1; I=i-1; } Getch(); } &nbsp; <strong>o/p :</strong> 65431 54321 4321 321 21 1 &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Voidmain()</h3>
</li>
</ul>
<p>{ Int i,n,in; Clrscr(); Printf(" Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=0) Printf(&ldquo;\n&rdquo;); In=i; While(in&lt;=n) { Printf(&ldquo;%d&rdquo;,in); In=in+1; } I=i+1; Getch(); } &nbsp; &nbsp; &nbsp; <strong>o/p :</strong> Enter a value :6 &nbsp; 1234356 23456 3456 456 56 6 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,n,dn; Clrscr(); Printf("Enter a value:&rdquo;); Scanf(&ldquo;%d&rdquo;, &amp;n); I=n; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); Dn=n; While(dn&gt;=i) { Printf(&ldquo;dn&rdquo;,dn); Dn=dn-1; } I=i+1; } Getch(); } &nbsp; <strong>o/p:-</strong>&nbsp; 654321 65432 6543 654 65 6 &nbsp;</p>
<h3>Void main()</h3>
<p>{ Int i,n,s,in; Clrscr(); Printf(&ldquo;Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); S=1; While(s&lt;=n-1) { Printf(&ldquo;*&rdquo;); S=s+1; } In=1; While(in&lt;=i) { Printf(&ldquo;%d&rdquo;,in); In=in+1; } I=i+1; { Getch(); } <strong>o/p :</strong> enter a value : 6 ***** 1 ***** 2 ***123 ***234 ***345 123456 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Printf(&ldquo;i,n,in&rdquo;); Clrscr(); Printf(&ldquo;enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); In=1; While(in&lt;=i) { Printf(&ldquo;%d&rdquo;,i); In=in+1; } I=i+1; } Getch(); } <strong>o/p:</strong> 1 22 333 444 5555 66666 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,in,n; Clrscr(); Printf(&ldquo;enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); In=1; While(in&lt;=i) { If(i%2==0) Printf(&ldquo;*&rdquo;); Else Printf(&ldquo;%d&rdquo;,in); In=in+1; } I=i+1; } Getch(); } <strong>o/p : </strong> 1 ** 123 **** 12345 ***** &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,in,n; Clrscr(); Printf(&ldquo;enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); In=1; While(in&lt;=i) { If(i%2==0 &amp;&amp; in%2!=0) Printf(&ldquo;*&rdquo;); Else if (i%2!=0 &amp;&amp; in%2==0) Printf(&ldquo;*&rdquo;); Else Printf(&ldquo;%d&rdquo;,in); In=in+1; } I=i+1; } Getch(); } <strong>o/p: </strong> 1 *2 1*3 *2*4 1*3*5 *2*4*6 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,in,n; Clrscr(); Printf(&ldquo;enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); In=1; While(in&lt;=i) { If(in%2==0) Printf(&ldquo;*&rdquo;); Else Printf(&ldquo;%d&rdquo;,in); In=in+1; } I=i+1; } Getch(); } <strong>o/p : </strong> 1 1 * 1 * 3 1 * 3 * 5 1 * 3 * 5 * &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,in,n,k; Clrscr(); Printf(&ldquo;enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; K=1; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); In=1; While(in&lt;=i) { Printf(&ldquo;%3d&rdquo;,k); In=in+1; K=k+1; } I=i+1; } &nbsp; <strong>o/p: </strong> 1 2 3 456 78910 1112131415 1617181920 &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,n,s,dn; Clrscr(); Printf(&ldquo;Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; While(i&lt;=n) { Printf(&ldquo;\n&rdquo;); S=1; While (s&lt;=i-1) { Printf(&ldquo;*&rdquo;); S=s+1; } Dn=n; While(dn&gt;=1) { Printf(&ldquo;%d&rdquo;,dn); Dn=dn-1; } I=i+1; } Getch(); } &nbsp; <strong>o/p: </strong> 654321 *65432 **6543 ***654 ****65 *****6 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,n,s,dn,in; Clrscr(); Printf(&ldquo;Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=n; While(i&gt;=1) { Printf(&ldquo;%d&rdquo;,in); In=in+1; } S=1; While(s&lt;=(i-1)*2) { Printf(&ldquo;*&rdquo;); S=s+1; } Dn=i; While(dn&lt;=n) { Printf(&ldquo;%d&rdquo;,dn); Dn=dn+1; } I=i-1; } Getch(); } <strong>o/p:</strong> 1 * * * * * * * * * * 6 1 2 * * * * * * * * 56 1 2 3 * * * * * * 4 5 6 1 2 3 4 * * * * 3 4 5 6 1 2 3 4 5 * * 2 3 4 5 6 1 2 3 4 5 6 1 2 3 4 5 6 &nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Voidmain()</h3>
</li>
</ul>
<p>{ Int i,n,in,dn,s; Clrscr(); Pritntf(&ldquo;Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,%n); I=n; While(i&gt;=1) { Printf(&ldquo;\n&rdquo;); S=1; While(s&lt;i-1) { Printf(&ldquo;*&rdquo;); S=s+1; } Dn=n; While(dn&gt;=1) { Printf(&ldquo;%d&rdquo;,dn); Dn=dn-1; } in=i+1; While(in&lt;=n) { Printf(&ldquo;%d&rdquo;,in); In=in+1; } I=i-1; } Getch(); } &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int i,n,in,dn,s; Clrscr(); Printf(&ldquo;Enter a value&rdquo;); Scanf(&ldquo;%d&rdquo;,&amp;n); I=1; Which(i&lt;=n) { Printf(&ldquo;\n&rdquo;); S=1; While(s&lt;=n-1) { Printf(&ldquo;*n&rdquo;); S=s+1; } In=1; While(in&lt;=1) { Printf(&ldquo;%d&rdquo;,in); In=in+1; } Dn=i-1; While(d&gt;=1) { Printf(&ldquo;%d&rdquo;,dn); Dn=dn-1; } I=i+1; } In=1; While(in&lt;=i) { Printf(&ldquo;%d&rdquo;,in) In=in+1; } Dn=i-1; While(dn&gt;=1) { Printf(&ldquo;%d&rdquo;,dn); Dn=dn-1; } I=i+1; I=1; While(i&lt;=n-1) { Printf(&ldquo;\n&rdquo;); S=1; While(s&lt;=i) { Printf(&ldquo;*&rdquo;); S=1; While(s&lt;=i) { Printf(&ldquo;*&rdquo;); S=s+1; } In=1; While(in&lt;=n-1) { Printf(&ldquo;%d&rdquo;,in); In=in+1; } Dn=n-i-1; While(dn&gt;=1) { Printf(&ldquo;%d&rdquo;,dn) Dn=dn-1; } I=i+1; } Getch(); } &nbsp; &nbsp;</p>123:T12f2,<h2><strong>Dummies in C Language with Example</strong></h2>
<p>When we are not collecting return value of the expression (or) if we are not using return value of the expression then it is called dummy statement. &nbsp;</p>
<ul>
<li>
<h3>Void main ()</h3>
</li>
</ul>
<p>{ Int a; A=10; A*5; ---&gt; dummy statement. Printf (&ldquo;a=%d&rdquo;,a); } <strong>O/p:</strong> a=10 When we are working with dummy statements complier doesn&rsquo;t gives any error, but we will get a warning msg called &ldquo;code has no effect&rdquo; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Inta; A=5; A+10 ---&gt; dummy statement Printf(&ldquo;%d %d %d :,a,a*6,a); } <strong>&nbsp;O/p :</strong> 5 30 5 &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a=; A=5; Printf(&ldquo;%d %d %d&rdquo;, a,a=14); } <strong>O/p :</strong> 10 10 5 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=10; ++a; Printf(&ldquo;%d%d%d&rdquo;,a ,a==5,a); } <strong>O/p:</strong> 11 0 11 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ printf(&ldquo;A&rdquo;); Printf(&ldquo;B&rdquo;); If(5&gt;8)||if(0) { Printf(&ldquo;welcome&rdquo;); Printf(&ldquo;NIT&rdquo;); } Printf(&ldquo;c&rdquo;); Printf(&ldquo;D&rdquo;); } <strong>O/p :</strong> ABCD &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Printf(&ldquo;A&rdquo;); Printf(&ldquo;B&rdquo;); If (5&gt;8) Printf(&ldquo;welcome&rdquo;); Printf(&ldquo;hello); Printf(&ldquo;c&rdquo;); Printf(&ldquo;D&rdquo;); } <strong>O/p :</strong> ABHelloCD &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Printf (&ldquo;A&rdquo;); Prinf(&ldquo;B&rdquo;); If (5&gt;8); dummy condition { pirntf(&ldquo;welcome&rdquo;); Printf(&ldquo;Hello&rdquo;); } Printf(&ldquo;CD&rdquo;); } <strong>O/p:</strong> &nbsp;AB Welcome Hello CD &nbsp; If (5&gt;8) { } { Printf(&ldquo;welcome&rdquo;); Printf(&ldquo;Hello&rdquo;); }</p>
<ul>
<li>Constructing the body is always optional .It is recommended to use the body when we are having multiple statements.</li>
<li>If the body is not specified then automatically condition part will terminated with next semi colon(;)</li>
<li>When we are placing the semi colon at the end of it ,then it is called dummy condition</li>
<li>When the dummy condition is created then complier will creates new body without any statement and current body became outside of the condition.</li>
<li>When we are working with the dummy condition if the condition is true or false always current body will be executed.</li>
</ul>
<p>&nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=1; While (a&lt;=10) { Printf(&ldquo;%d&rdquo;,a); ++a; } } <strong>O/p :</strong> 1 2 3 4 5 6 7 8 9 10 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=1; While (a&lt;=10) Printf(&ldquo;%d&rdquo;,a); ++a; } <strong>O/p :</strong> 1 1 1 1 &hellip;.. infinite loop cntrl+break. If the body is not specified for while , then is repeats the statement block by using single statement only until the condition become false, if the condition is no false then we will get infinite&nbsp; loop. &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{int a; A=1; While(a&lt;=10); &agrave; dummy loop. { Printf(&ldquo;%d&rdquo;,a); ++a; } } <strong>O/p:</strong> no o/p with infinite loop. Here dummy loop is While(a&lt;=10); { } Printf(&ldquo;%d&rdquo;,a); ++a;} &nbsp;</p>
<ul>
<li>When we are placing the semi colon at the end of while, it is called dummy loop.</li>
<li>When the dummy loop is constructed, then complier will create new body without any statement and current body became outside of the loop.</li>
<li>When we are working with the dummy loop, then empty body will repeats until the condition become false, if the condition is not false, then we will get infinite loop.</li>
<li>Void main()</li>
</ul>
<p>{ inta; a=10; if(a=0) assignment printf(&ldquo;welcome %d&rdquo;,a); else printf(&ldquo;Hello%d&rdquo;,a); } <strong>O/p:</strong> Hello 0 &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a; a=0; if (a=-5) printf(&ldquo;Welcome %d&rdquo;,a); else printf(&ldquo;Hello %d&rdquo;,a); } <strong>O/p:</strong> &nbsp;Welcome-5</p>
<ul>
<li>Void main()</li>
</ul>
<p>{ int a; a=1; while(a++); printf(&ldquo;a=%d&rdquo;,a); } <strong>O/p:</strong> a=1 (65536) &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a; a=1; while(a++&lt;32767); prinft(&ldquo;a=%d&rdquo;,a); } <strong>O/p:</strong> -32768 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a; a=-1; while(a- - &gt; -32767); prinft(&ldquo;a=%d&rdquo;,a); } <strong>O/p:-</strong> 32767 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a,b; a=b=1; while(a) { A=b++&lt;=3; Printf(&ldquo;\n %d%d&rdquo;,ab); } Printf(&ldquo;\n a=%d b=%d,a+10,b+10); } &nbsp; <strong>O/p:</strong> 1 6 1 7 1 8 0 9 A=10 b=19</p>124:T14cf,<h2><strong>About Break and continue Statements in C Language</strong></h2>
<p><img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Break is a keyword, by using break we can terminate loop body or switch body. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Using break is always optional but it must be placed within loop body or switch body only. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In implementation where we know the maximum number of repeat ions but depends on the condition if we required to stop the repeat ion then use break statement. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Continue is a keyword; by using continue we can skip statements from the loop body. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />Using continue is always optional but it must be placed within the loop body only. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In implementation where we knows the maximum number of reparation but depends on the condition if we required to skip the statements from loop body then go for continue. &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Inta; A=1; While(a&lt;=10) { Printf(&ldquo;%d&rdquo;,a); If(a&gt;3) Break; ++a; } } <strong>O/p :</strong> 1234 a=1; while (a&lt;=10) { pf(&ldquo;%d&rdquo;,a); If(a&gt;3) Break; ++a; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Inta; A=2; While(a&lt;=20) { Pf(&ldquo;%d&rdquo;,a); a+=2; if(a&gt;=8) break; } } <strong>O/p:</strong> 246 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=15; While(a&gt;=1) { A-=2; If (a&lt;9) Break; Pf(&ldquo;%d&rdquo;,a); } } <strong>O/p:</strong> 13&nbsp;&nbsp; 11&nbsp; 9 &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=1; While(a&lt;=10) { Pr(&ldquo;%d&rdquo;,a); If(!a) Break; A+=2; } } <strong>O/p:</strong>&nbsp; 1 3 5 7 9 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a; A=5; While(a&lt;=50) { pf(&ldquo;%d&rdquo;,a); If(a&gt;=25)&nbsp; dummy condition Break; A+=5; } } <strong>O/P:</strong> 5 While(a&lt;=50){ Pf(&ldquo;%d&rdquo;,a); If(a&gt;=25) { } Break; A+=5; }</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a; A=1; While (a&lt;=50) dummy loop { Printf(&ldquo;%d&rdquo;,a); If(a&gt;=25) Break; A+2; } } <strong>O/p :</strong> Error misplaced break. While(a&lt;=50) { } { Pf(&rdquo;%d&rdquo;,a); If (a&gt;25) Break; A+=2; } &nbsp; <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />When we are constructing the dummy loop then complier will create new body without any statement and current body became outside o f the loop. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />In above program duet to dummy loop break statement is placing outside the body so it is an error (we cannot palace outside) &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=0; While(a&lt;=100) { A+=2; If (a&gt;=40&amp;&amp;a&lt;=80) Continue; Printf(&ldquo;%d&rdquo;,a); } <strong>O/p:</strong> 2 4 6&nbsp; . . . . .&nbsp; .38 82 84 86 &hellip;&hellip;.98 100 102. <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />When continue statement is executing then control will pass back to the condition without executing remaining statement with in the body. &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=1; While(a&lt;75) { A+=2; If (a.25 &amp;&amp; a&lt;55) Continue; Printf(&ldquo;%d&rdquo;,a); } } <strong>O/p:</strong>&nbsp; 3 5 7 . .&nbsp; . . .&nbsp; . . .&nbsp; . . .23 25&nbsp; 55 57 59 &hellip;.. 73 75 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=60; While(a&gt;=2) { Printf(&ldquo;%d&rdquo;,a); If(a&gt;=20 &amp;&amp; a&lt;=50) Continue; A=-2; } } <strong>O/p:</strong> 60 58 56 54 52 50 50 50 50 &hellip;&hellip;&hellip;.. infite loop cntrl break. &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; A=1; While(a&lt;=200) { if (a&gt;=5 &amp;&amp;a&lt;=150) continue ; printf(&ldquo;%d&rdquo;,a); ++a; } } <strong>O/p:</strong> 1 2 3 4 no output with infinite loop&nbsp; (cntrl break) &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ Int a; a&gt;=100; while(a.=10); { a-=2; if(a&gt;=30 &amp;&amp; a&lt;=10) continue; printf(&ldquo;%d&rdquo;,a); } } <strong>O/p :</strong> error misplaced continue.</p>125:T372d,<h2><strong>About Different types of loops in C Language</strong></h2>
<p>In C programming language we are having 3 types of loops</p>
<ol>
<li>
<h4>While</h4>
</li>
<li>
<h4>for</h4>
</li>
<li>
<h4>do- while</h4>
</li>
</ol>
<p>&nbsp;</p>
<ol>
<li><strong>While loop</strong></li>
</ol>
<p>When we are work-in with while loop then always pre checking process is ocuur i.e. before execution of the statement black condition will be executed. while loop will repeats in clock direction. <strong>syntax:</strong> Assignment; while(condition) { statement1; statement2; statement3; . . . . . . .&nbsp; . .. . . . . . . . inc/dec; } &nbsp;</p>
<ul>
<li>
<h4>Void main()</h4>
</li>
</ul>
<p>{ int I; i=1; while(i&lt;=10) { printf(&ldquo;%d&rdquo;,i); ++I; } } &nbsp;</p>
<h2><strong>For loop:</strong></h2>
<p>When we are working with for loop it contains 3 part i.e.</p>
<ol>
<li>Initialization</li>
<li>Condition</li>
<li>Iteration</li>
</ol>
<h3><strong>Syntax:</strong></h3>
<p>for (initialisation ; condition ; iteration) { statement block; } &nbsp; <img class="alignnone wp-image-6258" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/314-460x112.png" alt="3" width="452" height="110" /> &nbsp; &nbsp; Control passing for condition when we are working with for loop always execution process will starts from intialisation block. initialization block will be executed only once whom we are passing the control within the body first time. After execution of the initialization part control will pass to iteration, from iteration part once again it will pass to condition Always repetition will happen b/w condition statement block and iterations only. When we are working with for loop everything is optional but mandatory to place 2 semicolons while() error for(; ;) yes valid &nbsp; when the condition part is not available in for loop it repeats infinite times because condition part is replaced with non-zero value. when we are working with for loop pre checking process will be occur i.e before execution if the body condition part will executed. for loop will repeats in anti clock direction &nbsp; while(0)<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> No repetition for(;0;) &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> is it will repeat. &nbsp; When for loop condition part is replaced within constant &lsquo;0&rsquo; then it repeats once because at the time of complilation number of instances became one int I; i=0; while(i) &nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" /> no repetition for (., I, ) <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;no repetition &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ inti; for( i=1 ; i&lt;=10; i++) printf(&ldquo;%d&rdquo;,i); } <strong>O/p:</strong> 1 2 3 4 5 &hellip;&hellip;..9 10 &nbsp;</p>
<h2><strong>Do while:</strong></h2>
<p>In implementation when we required repeating the statement block at least once then go for do-while. Indo-while loop post checking process will be occur i.e. after execution of the body, condition part will be executed. Do while loop also will repeats in clock direction <strong>Syntax</strong> : Assignment do { statement1; statement2; &hellip;.. &hellip; &hellip;&hellip;. includes; } while (condition ); According to the syntax of the do &ndash;while semi colon(;) must be required a end of the while. &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int I; i=1; do { printf(&ldquo;%d&rdquo;,i); ++i; } while (i&lt;=10) <strong>O/P:</strong> 1 2 3 &hellip;&hellip;&hellip;&hellip;&hellip; 8&nbsp; 9 10 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a a=2; for a(&nbsp; ; a&lt;=20; ) { printf (&ldquo;%d&rdquo;, a); a+=2; } } <strong>O/p :</strong> 2 4&nbsp; 6 &hellip;&hellip;&hellip;.. 18 20 <strong>Advantage :</strong> for loop is faster than while loop.</p>
<h3>&nbsp;</h3>
<h3>Void main()</h3>
<p>{ int a,b; for(a=1;b=10;a&lt;=b;a++,b--) printf(&ldquo;\n %d %d ,a,d) printf (&ldquo;\n a=%d d=%d ,a+10,a+10); } <strong>O/p:</strong> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 a=16 b=15 for(a=1;b=10;a&lt;=b;a++,b--_ i&lt;=10 pf(&ldquo;%d%d&rdquo;, a,b); pf(&ldquo;%d %d&rdquo;, a+10,b+10) 6+10,5+10 &nbsp; In implementation when we are having more than one initialization and more than one iteration part then recommended to place (,) comma as separator &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a,b; for(a=b=10;a; printf(&ldquo;\n %d%d&rdquo;,a:b) a=b - - &gt;=8; printf(&ldquo;\n a=%d b=%d ,a=10, b=10) <strong>O/p:</strong>&nbsp; 1&nbsp; &nbsp;&nbsp;&nbsp; 9</p>
<ul>
<li>8</li>
<li>7</li>
<li>6</li>
</ul>
<p>a=10&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; b=16 for(a=b=10;a;pf a=b <img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp;=8; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a,b; for(a=b=8; a; ) { printf(&ldquo;\n%d %d &ldquo;, a,b); } printf(&ldquo;\n a=%d b=%d&rdquo;, a+10,b+10); } &nbsp; <strong>O/p</strong>: &nbsp;1 &nbsp;&nbsp;&nbsp;&nbsp; 7 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;5</p>
<ul>
<li>4</li>
</ul>
<p>a=10 b=14 Enter a value :28&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 28=1+2+4+7+14=28 28 is a perfect number &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int I,n,sum=0; clrscr(); printf(&ldquo;\n&rdquo; Enter a value&rdquo;); scanf(&ldquo;%d&rdquo;,&amp;n); for(i=1; i&lt;=n/2;i++) { if(n%i==0) sum+I;||sum=sum+I; } if (sum ==n &amp;&amp; n!=0) printf(&ldquo;\n %d is PERFECT NUMBER&rdquo;,n); else printf(&ldquo;\n %d is not PERFECT NUMBER&rdquo;, n); } for(i=1;i&lt;=n/2;i++) { if(n%i==0) sum+=1; Armstrong 153 =1 <sup>3</sup> +5<sup>3</sup> +3<sup>3</sup> =1+125+27=153 370=3<sup>3</sup> +7<sup>3</sup>= 27+343=370 371=3<sup>3</sup>+7<sup>3</sup>+1<sup>3</sup>=27+343+1=371 407=4<sup>3</sup>+7<sup>3</sup>+0=64+343=407. &nbsp; &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int n, temp,I,sum=0; clrscr(); printf(&ldquo;Enter a value&rdquo;); scanf(&ldquo;%d&rdquo;,&amp;n); for (temp=n;temp!=0; ) { i=temp%10; sum+=(i*i*i);|| sum+=pow (53);&lt;math.h&gt; temp!=10; } if(sum==n&amp;&amp;n!=0) printf(&ldquo;\n%d is Armstrong numer &ldquo;,n); else printf(&ldquo;\n %d is not armstron number&rdquo;,n); } <strong>O/p:</strong> Enter a value :153 for (temp=n;temp!=0 i= temp%10; sum= temp=temp/10; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int n,t,flag=0; clrscr(); printf(&ldquo;\n Enter a value&rdquo;); scanf(&ldquo;%d&rdquo;, &amp;n); for(t=2; t&lt;=n/2; t++) { if (n%t==0) { flag=1; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //factor is not available break; } } if(flag==0 &amp;&amp; n&gt;1) printf(&ldquo;%d is prime number&rdquo;,n); else printf(&ldquo;\n %d is not prime number&rdquo;); getch(); <strong>o/p:</strong> Enter a value 13 it is a prime number &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ long int n1,n2,n,t,count =0; nt flag; clrscr(); printf(&ldquo;\n enter two values:&rdquo;); scanf(&ldquo;%d ld %ld &rdquo;, &amp;n1, &amp;n2); for(n=n1;n&lt;=n2; n++) { flag=0; for (t=2;t&lt;=n/2;t++) { if(n%t==0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n1&nbsp;&nbsp;&nbsp;&nbsp; n2 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10&nbsp;&nbsp;&nbsp;&nbsp; 20 flag=1; break; } } if (flag==0 &amp;&amp; n&gt;1) printf(&ldquo;\n%3\d prime=%5ld&rdquo;,++count,n); } getch(); } <strong>o/p:</strong> Enter two values : 10 30</p>
<ol>
<li>prime : 11</li>
<li>Prime : 13</li>
<li>Prime : 17</li>
<li>Prime : 19</li>
<li>Prime : 23</li>
<li>Prime: 29</li>
</ol>
<p>&nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int n,n1,temp,i,sum,count=0; clrscr(); printf(&ldquo;Enter a value&rdquo;); scanf(&ldquo;%d&rdquo;, &amp;n); for (n=153;n&lt;=n1;n++) { sum=0; for(temp=n, temp!=0; temp!=0) { i=temp%10; sum+=(i*i*i); } if(sum==n) printf(&ldquo;\n%d ARMSTRONG:%d&rdquo;,++count,n); if(n==32767) break; } getch(); } &nbsp; Rows you want to input = 5 &nbsp;</p>
<h2><strong>Pascal&rsquo;s Triangle:</strong></h2>
<p>1 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int n=1,s,q=0,r,k; clrscr(); printf(&ldquo;Rows you want to input&rdquo;); scanf(&ldquo;%d&rdquo;, &amp;r); printf(&ldquo;\n pascal&rsquo;s triangle:\n&rdquo;); while(q&lt;r) { for(s=40-3*q; s&gt;0; s- -) printf(&ldquo;n&rdquo;); for(x=0;x&lt;=q;++x) { if((x==0) || (q==0)) n=1; else n=(n*(q-x+1))/x; printf(&ldquo;%6d&rdquo;,n); } printf(&ldquo;\n&rdquo;); q++; } getch(); } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int a; a=1; while(a++&lt;=1) while(a++&lt;=2) printf(&ldquo;a=%d&rdquo;,a); } <strong>o/p:</strong> 5 &nbsp;</p>
<ul>
<li>In implementation when two while statements are occur without body, without statement, without semicolon then first while became outerloop and 2<sup>nd</sup> while became innerloop i.e according to the nested loop it works</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int a; a=1; while(a++&lt;=1); while(a++&lt;=2); printf(&ldquo;a=%d&rdquo;,a); } <strong>o/p :</strong> a=4 &nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int a; a=1; for(a++;a++&lt;=2;a++) a++; printf(&ldquo;a=%d&rdquo;,a); } a=6; &nbsp; void main()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for(a++;a++&lt;=2;a++) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { int a;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for(a++,a++&lt;=6;a++) a=1; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { for(a++;a++&lt;=2;a++)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } for(a++;a++&lt;=6;a++); printf(&ldquo;a=%d&rdquo;,a); } <strong>o/p:</strong> 11 &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int a; a=1; for(a++;a++&lt;=2;a++); for(a++; a++&lt;=6; a++); printf(&ldquo;a=%d&rdquo;,a); } <strong>o/p:</strong> 9 &nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int a; a=1; while(a++&lt;=2) printf(&ldquo;a=%d&rdquo;,a); } <strong>o/p:</strong> Error do statement must have while &nbsp;</p>
<ul>
<li>In implementation when we require to create dummy do while place the semicolon at the end of the loop. i.e do;</li>
</ul>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int a; a=1; do; while(a++&lt;=2); printf(&ldquo;a=%d&rdquo;,a); } <strong>o/p :</strong>a=4 &nbsp; do { } while(a++&lt;=2); 1&lt;=2 2&lt;=2 3&lt;=2&nbsp;&nbsp;&nbsp; X &nbsp; &nbsp;</p>
<ul>
<li>
<h3>void main()</h3>
</li>
</ul>
<p>{ int a ; a=1; do while(a++&lt;=1); while(a++&lt;=3); printf(&ldquo;a=%d&rdquo;,a); } &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>126:T1a73,<h2><strong>Data types in C language</strong></h2>
<ul>
<li>Always data types will decides that what type of data need to be hold in a variable.</li>
<li>in &lsquo;c&rsquo; programming language, there are 3 type of basic data types are available i.e int,float, char.</li>
<li>In implementation whenever the predefined data type is not supporting . User requirement then extend size and range of predefined data types i.e primitive data types are required</li>
<li>In &lsquo;c&rsquo; programming language, there are &lsquo;9&rsquo; types of predefined or primitive data types are available , those are</li>
</ul>
<p>&nbsp; &nbsp;</p>
<table style="width: 676px; height: 609px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Type</strong></td>
<td><strong>Type</strong></td>
<td><strong>Range</strong></td>
<td><strong>%</strong></td>
<td><strong>Ex</strong></td>
</tr>
<tr>
<td>Char</td>
<td>1 byte</td>
<td>-128 to 127</td>
<td>%c</td>
<td>&lsquo;a&rsquo; &lsquo;A&rsquo; &lsquo;#&rsquo; &lsquo;\n&rsquo;</td>
</tr>
<tr>
<td>Unsigned char</td>
<td>1 byte</td>
<td>0 to 255</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Int</td>
<td>2bytes</td>
<td>-32,768 to 32767</td>
<td>%d</td>
<td>-25 5 0&nbsp;&nbsp; -5</td>
</tr>
<tr>
<td>Unsigned int</td>
<td>2 bytes</td>
<td>0 to 65,535</td>
<td>%u</td>
<td>327684</td>
</tr>
<tr>
<td>Longint</td>
<td>4 bytes</td>
<td>-2,147,483,648 to+3147,483,647</td>
<td>%ld+51-51</td>
<td>400001</td>
</tr>
<tr>
<td>Unsigned long</td>
<td>4 bytes</td>
<td>0 to 4,294,967,295</td>
<td>&nbsp;</td>
<td>100lu51lu</td>
</tr>
<tr>
<td>Float</td>
<td>4 bytes</td>
<td>+or-3.4*10*+or-38</td>
<td>%lu</td>
<td>-3.5 7.5f</td>
</tr>
<tr>
<td>Double</td>
<td>8 bytes</td>
<td>+or- 1.1*10*+or-</td>
<td>%f</td>
<td>-3.5 7.5</td>
</tr>
<tr>
<td>Long double</td>
<td>10 bytes</td>
<td>308+or-3.4*10*+or-9932</td>
<td>%lf%Lf</td>
<td>-3.5L 7.5L</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp;</p>
<ul>
<li>The basic advantage of classifying this many types nothing but utilizing the memory more efficiently and increasing the performance.</li>
<li>In implementation, when we require character operators then recommended to go for unsigned cap data type.</li>
<li>In implementation, when we require the numeric values from the range of -128 to 128 then go for char data type in place of constructing an integer, in this case, we require to use %d format specifier</li>
<li>When we require the numeric values from the range of 0 to 255 then go for unsigned char data type in place of constructing unsigned integer, in this case we require to use %u format specifier.</li>
<li>For normal numeric operation, go for an int type, if there is no any negative representations are available like Employee salary then recommended to go for unsigned int type.</li>
<li>Signed , unsigned, short and long are called &ldquo;Qualifiors&rdquo;</li>
<li>signed, unsigned indicates sign specifications</li>
<li>short &amp; long indicates size specifications.</li>
<li>This all qualifiers we require to use for an integer data type only. i.e we can&rsquo;t use for float, double and long double.</li>
<li>By default , any type of integral variable type sign is signed type, size is short type.</li>
</ul>
<p>&nbsp; &nbsp; <img class="alignnone wp-image-6270" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/413.png" alt="4" width="326" height="320" /> &nbsp; &nbsp;</p>
<ul>
<li>
<h4>void main()</h4>
</li>
</ul>
<p>{ int i; long int l; float f; i=32767+1; l=32767+1; f=32767+1; printf(&ldquo;%d%ld&nbsp; %f&rdquo;,i,l,f); } <strong>o/p:</strong> 32768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -32768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -32768.000000 &nbsp; &nbsp;</p>
<h3><strong>Arithmetic operations on data types</strong><strong>:-</strong></h3>
<p>int , int &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; int int, char &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp;int signed int, unsigned int &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp;signed int signed , unsigned -&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; signed int, long int &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp;long int int,float &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp;float float, long int &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp;float float, double&nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; double double, long double &nbsp;&nbsp;<img class="alignnone size-full wp-image-5845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/210.png" alt="2" width="39" height="13" />&nbsp; &nbsp;long double.</p>
<ul>
<li>if both arguments are same type then return value is same, if both arguments are different then among those two, bigger one will be the return value.</li>
<li>When we are working with an integral values with the combination of float, then return value is float type only.</li>
</ul>
<p>&nbsp; &nbsp; &nbsp;</p>
<ul>
<li>
<h4>void main()</h4>
</li>
</ul>
<p>{ int i, long int l; float f; i=32767+1; l=32767l+1; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // l=(long int) 32767+1; f=32767.0f+1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // f=(float)32767+1; printf(&ldquo;%d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %ld&nbsp;&nbsp;&nbsp; %f&nbsp; &rdquo;,i,l,f); } <strong>o/p : -</strong>32768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32768.000000 &nbsp; &nbsp; &nbsp;</p>127:T4c77,<h2>Type Cast operator and Number System&nbsp;with Examples in C</h2>
<h2><strong>Type cast :</strong></h2>
<ul>
<li>It is a concept of converting one data type values into another data type.</li>
<li>in &lsquo;c&rsquo; programming language, &ldquo;type castings&rdquo; are classified into two types. i.e
<ul>
<li>
<h5>&nbsp;implicit type casting</h5>
</li>
<li>
<h5>Explicit type casting</h5>
</li>
</ul>
</li>
<li>when we are converting lower data types value into higher data types. Then it is called. Implicit type casting process</li>
<li>Implicit type casting is under the control of compiler</li>
<li>As a programmer, it is not required to consider implicit type casting process.</li>
<li>When we are converting higher data types values into lower data type then it is called Explicit type casting.</li>
<li>As a programmer it is mandatary to handle explicit type casting process because data overflow will occur</li>
</ul>
<p>&nbsp;</p>
<h4><strong>syntax:</strong></h4>
<p>datatype1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; variable1=value; Datatype2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; variable2; variable2=(Data type2) variable1; Ex:1&nbsp; int i=45; float f; f=1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //f=(float)i; Ex:-2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; double d=123456.789; long intl; l=(long int)d; &nbsp;</p>
<ul>
<li>
<h4>Void main()</h4>
</li>
</ul>
<p>{ float f; f=7.6; if(f==7.6)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // if(float==double)4B==8B by default printf(&ldquo;welcome&rdquo;); else printf(&ldquo;Hello&rdquo;); <strong>o/p:</strong> Hello.</p>
<ul>
<li>By default , any type of real values is double that why, when we are comparing the float data with double then automatically condition became false.</li>
</ul>
<p>&nbsp;</p>
<h4>void main()</h4>
<p>{ float f; f=3.8; if(f==3.8f)&nbsp; ||&nbsp; if(float=float)&nbsp; 4B=4B printf(&ldquo;welcome&rdquo;); else printf(&ldquo;Hello&rdquo;); <strong>o/p :</strong> Welcome &nbsp;</p>
<h4>Void main()</h4>
<p>{ int i; float f; i=6; f=6.0; if(f==i) printf(&ldquo;welcome&rdquo;); else printf(&ldquo;Hello&rdquo;); } <strong>o/p:</strong> Welcome &nbsp; When we are comparing integer value with float then both are became equal, if fractional part is not available in float i.e &ldquo;.0&rdquo;</p>
<h4>&nbsp;</h4>
<h4>void main()</h4>
<p>{ float f; f=3.0; printf(&ldquo;welcome&rdquo;); else printf(&ldquo;Hello&rdquo;); o/p: welcome &nbsp;</p>
<ul>
<li>
<h4>void main()</h4>
</li>
</ul>
<p>{ flaot f; f=9.5; if(f==9.5) printf(&ldquo;welcome&rdquo;); else printf(&ldquo;Hello&rdquo;); } <strong>o/p:</strong> welcome &nbsp;</p>
<h2><strong>Number system :-</strong></h2>
<ul>
<li>Always Number system will decide that how the numeric values require to hold in a memory.</li>
<li>Number systems are classified into four types.</li>
</ul>
<ol>
<li>decimal number,</li>
<li>Octal Number system.</li>
<li>Hexadecimal</li>
<li><strong>Binary.</strong></li>
</ol>
<ul>
<li>The Base value of decimal is 10 and the range 0 to 9.</li>
<li>When we require to print the decimal value, then we required to use %d format specifier</li>
<li>Decimal can be represent &ndash;ve and =ve format data also.</li>
<li>The base value of octal number system is 8 and the range is 0 to 7</li>
<li>when we require to print the octal format data, then we require to use %0 format specifier.</li>
<li>If any numberic value is started with Zero, it indicates octal number.</li>
</ul>
<p><strong>ex:-</strong> 013, 0474,0878</p>
<ul>
<li>The base value of hexadecimal is 16 and the range 0-9ABCDEF</li>
<li>When we require to print octal data, then require to use %x %h %p and %x format specifier</li>
<li>When we require to represent any hexadecimal value, then we require to use &ldquo; OX &ldquo; as a prefix</li>
</ul>
<p><strong>&nbsp;&nbsp; ex:</strong> 0X12, 0X-A/3, 0XABC4 &nbsp; <img class="alignnone wp-image-6277" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/512-460x295.png" alt="5" width="450" height="288" /> &nbsp; 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 012&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0X4 8<sup>1</sup>X1X8<sup>0</sup>X2 = 8X2 &nbsp; 83&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 1 2 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0X53 8<sup>3</sup>X0+8<sup>2</sup>X1+8<sup>1</sup>X2+8<sup>0</sup>X3 64+16+3 &nbsp; &nbsp; &nbsp; Error&nbsp;&nbsp;<img class="alignnone size-full wp-image-6278" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/611.png" alt="6" width="88" height="12" />&nbsp; &nbsp;0181 error &nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp; &nbsp;Error 0981 range(0-7) &nbsp; 161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0241&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0XA1 291&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0443&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0X123 &nbsp;</p>
<h2><strong>Binary Number System</strong> :-</h2>
<ul>
<li>The base value of binary Number system is 2 and the range 0,1</li>
<li>When the memory will represented, always it holds in the form of binary.</li>
<li>when we are representing the data in the binary complete data will be represented in the forms 1&rsquo;s and &rsquo;0&rsquo;s</li>
<li>If there no any format specifiers are available to print binary representation on console</li>
</ul>
<p>&nbsp; &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Decimal</td>
<td>Binary</td>
</tr>
<tr>
<td>1</td>
<td>0001</td>
</tr>
<tr>
<td>2</td>
<td>0010</td>
</tr>
<tr>
<td>3</td>
<td>0011</td>
</tr>
<tr>
<td>4</td>
<td>0100</td>
</tr>
<tr>
<td>5</td>
<td>0110</td>
</tr>
<tr>
<td>6</td>
<td>0110</td>
</tr>
<tr>
<td>7</td>
<td>1000</td>
</tr>
<tr>
<td>8</td>
<td>1000</td>
</tr>
<tr>
<td>9</td>
<td>1001</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; 35 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;0010&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0011 (32+2+1) 61<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; &nbsp; 0011&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1101 (32+16+8+4+1) 127<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111(64+32+16+8+4+2+1) 255 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 32767<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 65535 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>No.of bits rep</strong></td>
<td><strong>No.of combinations</strong></td>
<td><strong>max value</strong></td>
<td><strong>max&nbsp;</strong></td>
</tr>
<tr>
<td>1</td>
<td>2(2<sup>1</sup>)</td>
<td>1(2<sup>1</sup>-1)</td>
<td>01</td>
</tr>
<tr>
<td>2</td>
<td>4(2<sup>2</sup>)</td>
<td>3(2<sup>2</sup>-1)</td>
<td>11</td>
</tr>
<tr>
<td>3</td>
<td>8(2<sup>3</sup>)</td>
<td>7(2<sup>3</sup>-1)</td>
<td>0111</td>
</tr>
<tr>
<td>4</td>
<td>16(2<sup>4</sup>)</td>
<td>15(2<sup>4</sup>-1)</td>
<td>1111</td>
</tr>
<tr>
<td>5</td>
<td>32(2<sup>5</sup>)</td>
<td>31(2<sup>5</sup>-1)</td>
<td>0001 111</td>
</tr>
<tr>
<td>6</td>
<td>64(2<sup>6</sup>)</td>
<td>63(2<sup>6</sup>-1)</td>
<td>0011 1111</td>
</tr>
<tr>
<td>7</td>
<td>128(2<sup>7</sup>)</td>
<td>127(2<sup>7</sup>-1)</td>
<td>0111&nbsp;&nbsp; 1111</td>
</tr>
<tr>
<td>8</td>
<td>256(2<sup>8</sup>)</td>
<td>255/-1(2<sup>8</sup>-1)</td>
<td>1111 1111</td>
</tr>
<tr>
<td>9</td>
<td>65536(2<sup>16</sup>)</td>
<td>65535/-1(2<sup>16</sup>-</td>
<td>1111 &nbsp;1111 1111 1111</td>
</tr>
<tr>
<td>10</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp;</p>
<table>
<tbody>
<tr>
<td width="219">
<table width="100%">
<tbody>
<tr>
<td>8bits&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 Byte1024B&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1KB 1024KB -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1MB 1024MB -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1GB 1024GB-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1TB</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><strong>Int i</strong>:-</h3>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>&nbsp;&nbsp;&nbsp;&nbsp;On Dos based compiler the size of int is 2 bytes&nbsp;and the range from&nbsp; -32768 to + 32767 For representing any integer value, we require 16 bit&nbsp;combination i.e 65536 representations. Among those all combinations, 50% will represent negative data&nbsp;and remaining 50% will represents +ve data. &nbsp;</p>
<table style="width: 183px; height: 187px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>8bits&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 Byte1024B&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1KB 1024KB -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1MB 1024MB -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1GB 1024GB-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1TB</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp; &nbsp;</p>
<ul>
<li>Left side most signigicant bit is called signed bit is called signed bit</li>
<li>Always signed bit will decides the return value of binary representation</li>
<li>If sign bit is &ldquo;0&rdquo; and remaining b all bits are Zero&rsquo;s then it gives minimum value of +ve sign ie &lsquo;0&rsquo;</li>
<li>if sign bit is &lsquo;0&rsquo; and remaining all bits are 1&rsquo;s then it gives maximum value of +ve sign ie 32767</li>
<li>If the sign bit is &lsquo;1&rsquo; and remaining all bits are 0&rsquo;s then it gives minimum value of &ndash;ve sign i.e 32768</li>
<li>If the sign bit is &lsquo;1&rsquo; and remaining all bits are 1&rsquo;s then it gives maximum value of &ndash;ve sign ie -1</li>
</ul>
<p>&nbsp; &nbsp; <img class="alignnone size-medium wp-image-6280" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/813-460x331.png" alt="8" width="300" height="215" /> &nbsp; &nbsp; &nbsp; int i; i=32767+1; 32467 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0111&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 1 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0001 1 1 1 1&nbsp;&nbsp;&nbsp;&nbsp; 1 1 1 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 1 1 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 1 10000 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 0 0 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 0 0 &nbsp; &nbsp;</p>
<h3><strong>Unsigned integer of U:</strong></h3>
<p>The size of unsigned int is 4 bytes and the range from 0 to 65,535 For representing any unsigned integer value, we require 16 bit combination i.e 65536&nbsp; representations.</p>
<ul>
<li>Among those all representations all gives +ve data only, because in unsigned type , signed bit is not available</li>
<li>When we are working with integer and unsigned integer always format specifier will decide the return value of binary representation.</li>
</ul>
<table>
<tbody>
<tr>
<td width="193">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; %d</td>
<td width="246">&nbsp;&nbsp;&nbsp; Binary Representations</td>
<td width="151">&nbsp;&nbsp; %U</td>
</tr>
<tr>
<td width="193">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 32767 &nbsp; -32768 &nbsp; -1</td>
<td width="246">&nbsp;0000&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp; 0000&nbsp;&nbsp; 0000 01111&nbsp;&nbsp; 1111&nbsp;&nbsp; 1111&nbsp; 1111 &nbsp; 1000&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp; 0000&nbsp; 0000 &nbsp; 1111&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp; 1111</td>
<td width="151">0 32767 &nbsp; 32768 &nbsp; 65535</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><strong>Character of ch</strong>:-</h3>
<ul>
<li>The size of characters is 1 byte and the range from -128 to +127</li>
<li>For representing any character we require 8 bit combination i. e 256 representations.</li>
<li>Among those all representations, 50% will gives +ve data and remaining 50% will give &ndash;ve data.</li>
</ul>
<p>&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000 &nbsp; &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0 0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 &nbsp; &nbsp; &nbsp; &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; 127 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000 &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;-128 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 &nbsp; &nbsp; &nbsp; &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />-1 &nbsp;</p>
<h2><strong>Unsigned character of ch</strong> :-</h2>
<p>&nbsp; The size of unsigned character is 1 byte and the range from 0 to 255 &nbsp; For representing any unsigned character we require 8 bit combination i.e 256 combinations and all the representation gives +ve data only. &nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0000 &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; 0 0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 &nbsp; &nbsp; &nbsp; &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 1270000 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000 &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />128 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 &nbsp; &nbsp; &nbsp; &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />255 &nbsp; 255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -128 (-)&nbsp;&nbsp;&nbsp;&nbsp; 127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; + 127 128&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 &nbsp; &nbsp; When we are working with char &amp; unsigned char, always data type will decides the return value of binary representation. &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>printf(&ldquo;%d&nbsp;&nbsp; %U&rdquo;, 65535,-1);</td>
<td>-1</td>
<td>65535</td>
</tr>
<tr>
<td>printf(&ldquo;%d&nbsp;&nbsp;&nbsp; %U&rdquo;,32768,-32768);</td>
<td>-32768</td>
<td>32768</td>
</tr>
<tr>
<td>printf(&ldquo;%U&nbsp;&nbsp; %O&nbsp;&nbsp; %X &rdquo;,-1,-1,-1);</td>
<td>65535,</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>printf(&ldquo;%d&nbsp;&nbsp; %U&rdquo;, 32768,-32768);</td>
<td>-32768</td>
<td>32768</td>
</tr>
<tr>
<td>printf(&ldquo;%u&nbsp;&nbsp; %O&nbsp;&nbsp; %X&rdquo;,-1,-1,-1);</td>
<td>&nbsp;65535</td>
<td>0177777</td>
</tr>
</tbody>
</table>
<p>&nbsp; <img class="alignnone wp-image-6281" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/93-460x163.png" alt="9" width="529" height="187" /> For representing any octal data we require to take 3 binary bits only, for representing any hexadecimal value, we require to take 4 binary bits. printf(&ldquo;%d&nbsp; %0&nbsp; %u&rdquo;, 327684,327684,327684); <strong>o/p: -</strong>32768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0100000 &nbsp;</p>128:T1c4a,<h2>&nbsp;About sizeof() operator in C Language</h2>
<h2><strong>size of</strong> : -</h2>
<p>It is a operator can keyword in &lsquo;c&rsquo; language</p>
<ul>
<li>it is a urinary operator which returns size of even argument.</li>
<li>size of operator always returns unsigned integer value only and which value is greater than &ldquo;Zero&rdquo;</li>
</ul>
<p>&nbsp;</p>
<h3>void main()</h3>
<p>{ int i; char ch; float f; printf("\n size of int %d&rdquo;, sizeof(i)); printf(&ldquo;\n size of char: %d &rdquo;, sizeof ch); printf(&ldquo;\n size of float : %d&rdquo;, size of F); } <strong>o/p:</strong> size of int : 2 size of char:1 size of float:4 &nbsp; sizeof(int) &nbsp; &nbsp; &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp; 2 bytes sizeof(signed) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp;2 bytes sizeof(short) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 2 sizeof(long) <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;4 sizeof(25) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 2 sizeof(40000u) <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;2 sizeof(655361) <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;4 sizeof(char) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp;1 sizeof(&lsquo;A&rsquo;) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // sizeof(65) --- &gt;2 char ch; ch=&rsquo;A&rsquo;; sizeof(ch) <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;1 size of character or character variable is 1 byte but the size of character constant is 2 bytes, because by default character constant returns integer value. i.e &lsquo;ASCII&rsquo;&nbsp; value of a character. So, we will get 2 bytes sizeof(ch) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 1 sizeof(float) <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;4 sizeof(double) <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;8 sizeof(long double)&nbsp; -<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 10 sizeof(short double) <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;error sizeof(12.8) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 8 //double sizeof(12.8f) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp;4&nbsp;&nbsp; //float sizeof(12.8L) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 10&nbsp;&nbsp;&nbsp; // long double sizeof(3.0) &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 8 sizeof(3.5)<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; 8 &nbsp; &nbsp;</p>
<h3>void main()</h3>
<p>{ int i; i=0; printf(&ldquo;\nsize1:%d&rdquo;, size(i)); printf(&ldquo;\nsize2:%d&rdquo;, size(i*1 5l)); printf(&ldquo;\nsize3:%d&rdquo;, size(i/2.0)); printf(&ldquo;\nsize4:%d&rdquo;, size(i/2.0f)); printf(&ldquo;\nsize5:%d&rdquo;, size(i=i*15)); printf(&ldquo;\ni=%d&rdquo;,i); <strong>o/p :</strong> size1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //int Size2&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // int,long <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;long size3&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //int,double <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;double size4&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //int, float &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;float size 5&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //int,int &nbsp; &nbsp; &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; int i=0 &nbsp; in size of operator all expressions can be evaluated except assignment. &nbsp;</p>
<h3>void main()</h3>
<p>{ int a; a=10; printf(&ldquo;\n size of a: %d&rdquo;, sizeof(++a));&nbsp;&nbsp;&nbsp;&nbsp; //a=a+1&nbsp;&nbsp; ignore inclure printf(&ldquo;/n a=%d&rdquo;,a); } <strong>o/p :</strong> size of a:2 a=10 &nbsp;</p>129:T6ae,<h2>Priority of operators in c Language</h2>
<p>In &lsquo;c&rsquo; programming language, total no.of operators are 44 and according to the priority this operator are pointer to member &nbsp;</p>
<table style="width: 500px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>1</td>
<td>( ),[&nbsp; ],</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>2</td>
<td>
<ol>
<li>+,-,++,- -,!,~,*,&amp;, sizeof,(type)</li>
</ol>
~&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&rsquo;s compliment *&nbsp;&nbsp;&nbsp;&nbsp; _&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in direction &amp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; address of</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>3</td>
<td>
<ol>
<li>*,/,%</li>
</ol>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>4</td>
<td>*,-</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>5</td>
<td>&lt;&lt; (L.shift),&gt;&gt; (R.shift)</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>6</td>
<td>&lt;,&lt;=,&gt;,&gt;=</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>7</td>
<td>!=,==</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>8</td>
<td>&amp;(Bitwise - ANd)</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>9</td>
<td>^(B.XOR)</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>10</td>
<td>1(B.OR)</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>11</td>
<td>&amp;&amp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>12</td>
<td>||</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>13</td>
<td>?:</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>14</td>
<td>
<ol>
<li value="6">=,+=,-=,*=,/=,%=,&amp;=,!=,^=,&lt;&lt;=,&gt;&gt;=</li>
</ol>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>15</td>
<td>,</td>
<td>&nbsp;</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>12a:T6b58,<h2>Explain Operators in C Language</h2>
<h2><strong>Bitwise operators</strong> :-</h2>
<p>In implementation , when we need to manipulate the data on binary representation, then go for bitwise operators when we&rsquo;re working with bitwise operators, always modification will happens directly on binary format only. Bitwise operators need to be applied for an integral data type only. ie. we can&rsquo;t apply for float double and long double type. Bitwise operators are ~&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; its compliment &lt;&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bitwise left shift &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bitwise right shift &amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bitwise AND ^&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bitwise XOR |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bitwise OR &nbsp;</p>
<h2><strong>1&rsquo;s compliment</strong> : - (~) :</h2>
<p>This operator returns compliment value of given i/p i.e, all is will be converted into dl format, all zeros will converted into is format when we&rsquo;re working with any bitwise operators we require to take complete to 16 bit representation int a; a=5;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 010 o/p: 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~5-<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1010 6535&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 ~5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1010 2<sup>2&nbsp;&nbsp;&nbsp; </sup>2<sup>0</sup> 65535&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 65530&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -32768 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +32762(n-1) 65530&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32763&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -6 &nbsp; a=~61; &nbsp; 61 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0011&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1101 ~61<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0010(-1-32-16-8-4-1 65535<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 ~62 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0010 &nbsp; 65535&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 65474&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -32768 61&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32706 ----------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ---------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------------ 65474&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 32707&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -62 &nbsp; a= ~127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 o/p1- &gt;28&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000 0000 (-1-64-32-16-8-&nbsp;4-2-1)&nbsp;&nbsp; -128 &nbsp; a=~0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000 o/p -1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111(-1) &nbsp; a=~32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 o/p:-32768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000 &nbsp; a=~-15; -1 &nbsp; &nbsp; &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; &nbsp;1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 -15 &nbsp; &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp;1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0001 ~-15 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; &nbsp;0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1110(-14) &nbsp; a=~-255 o/p : 254&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 -255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0001(-1-128-64-32-&nbsp; 16-8-4-2) 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1110(-254)&nbsp; (128+64+32+16+8+4+2) a=~-1 <strong>o/p :</strong> 0 &nbsp; a=~-32768&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -32768-<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp;1000 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp; 0000 <strong>o.p:</strong>32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~32768<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 1111 3270 &nbsp; unsigned int u</p>
<ol>
<li>u=~5 5<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0101</li>
</ol>
<p><strong>o/p:</strong> 65530 ~5-<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1010&nbsp; 65530 &nbsp;</p>
<ol start="2">
<li>u=~32767; 32768</li>
</ol>
<p>&nbsp; 32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1111 ~32767&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000&nbsp; 32768 There is no any format specifies are there which can represent binary data on console 1&rsquo;s complement value is not equal to negation of given i/p Always 2&rsquo;s compliment value is equal to negation of given i/p data 2&rsquo;s compliment = 1&rsquo;compliement +1</p>
<ul>
<li>2&rsquo;scompliemt of 15 ;-15</li>
</ul>
<p>15 &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0000 &nbsp;&nbsp;&nbsp;0000&nbsp;&nbsp; &nbsp;0000 &nbsp;&nbsp;&nbsp;1111 ~15 -<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 111&nbsp;&nbsp;&nbsp; &nbsp;1111 &nbsp;&nbsp;1111 &nbsp;&nbsp;&nbsp;&nbsp;0000 1&nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0000 0000 0000 0001 1111 1111 1111 0001 (-1-8-4-2)(-15) &nbsp; &nbsp;</p>
<h2><strong>Left shift operator(&lt;&lt;)</strong></h2>
<p>IN left shift operator, towards from the left side,&rsquo; n&rsquo; no. Of bits need to be dropped and towards from then right side empty places required to till with zeros. When we are dropping the bite towards from the left side then all 1&rsquo;s will be shifted towards left side by &rsquo;n&rsquo; places then automatically value will increase. int a;</p>
<ol>
<li>a=10&lt;&lt;1;20 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 0000 0000 0000 1010</li>
<li>a=10&lt;&lt;2;40 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10&lt;&lt;1 0000 0000 0001 0100</li>
<li>a=10&lt;&lt;3;80 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10&lt;&lt;2 0000 0000 0010 1010 (23+8)</li>
<li>a=10&lt;&lt;4;160 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10&lt;&lt;3 0000 0000 0101 0000(46+16)</li>
<li>a=1&lt;&lt;1;2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 10&lt;&lt;4 0000 0000 1010 0000(128+32)</li>
<li>a=2&lt;&lt;1;4 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; 0000 0000 0000 0001</li>
<li>a=3&lt;&lt;1;6 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; 0000 0000 0000 0010</li>
<li>a=100&lt;1;200</li>
<li>a=1&lt;15;-32768 1000 0000 0000 0000 -23%</li>
</ol>
<p>10.a= 32767&lt;&lt;75;-32768. 32767&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;0111 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1111 &nbsp;&nbsp;&nbsp;&nbsp;1111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;1111 32767&lt;15 1000 &nbsp;&nbsp;&nbsp;&nbsp;0000 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0000 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0000(-32768)</p>
<ol>
<li>a=-5&lt;&lt;1;-10 -1 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;1111 1111 1111 1111</li>
</ol>
<p>4&lt;&lt;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -5 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 1111 1111 1111 1011 4 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0000 &nbsp;0000 &nbsp;0000 0100</p>
<ol>
<li>a=-5&lt;&lt;2;-20</li>
</ol>
<p>-4&lt;&lt;2&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;~4(-5) -<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 1111 1111 1111 1011</p>
<ol start="2">
<li>a=-5&lt;&lt;3;-40</li>
</ol>
<p>~4&lt;&lt;3; -5&lt;&lt;1 ; 1111&nbsp;&nbsp; 1111&nbsp;&nbsp; 1111&nbsp; 0110 (-1-1-8)-10 -5&lt;&lt;2;&nbsp; 1111&nbsp; 1111&nbsp;&nbsp;&nbsp; 1111&nbsp; 1100(-1-16-2) -20 -5&lt;&lt;3;&nbsp; 1111&nbsp;&nbsp; 1111&nbsp;&nbsp;&nbsp; 1101&nbsp;&nbsp; 1000(-1-1-2-4-32-40) Value =x&lt;&lt;n; x*2<sup>n </sup> Consider the range when using the formulae For any +ve integer left shift 16 makes the value as &lsquo;0&rsquo; because +ve data binary representation is available in 16bits towards from left side. a=1&lt;&lt;16;&nbsp;&nbsp; 0 a= 32767 &lt;&lt;16; 0 a= 12345 &lt;&lt; 16; 0 &nbsp;</p>
<h2><strong>Right shift Operator (&gt;&gt;):</strong></h2>
<p>In right shift operator, towards from right side, &lsquo;n&rsquo;&rsquo; no. of bits need to be dropped and towards from left side empty places need to be filled with zeros for +ve data only. In right shift operator for negative no&rsquo;s empty places need to be filled ones, so sign bit will not be modified, we will get negative data only. In right shift operator when we are dropping the towards from right side then all ones will be shift towards right side by &lsquo;n&rsquo; places so value will be decreased. int a;</p>
<ol>
<li>a= 10&gt;&gt;1;5 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 0000 &nbsp;0000 &nbsp;0000 &nbsp;1010</li>
</ol>
<p>10&gt;&gt;1 0000 &nbsp;0000 &nbsp;0000 &nbsp;0101; 5</p>
<ol start="2">
<li>a=10&gt;&gt;2; 210&gt;&gt;2 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0000 0000 &nbsp;&nbsp;0000 &nbsp;&nbsp;0010;2</li>
<li>a= 10 &gt;&gt;3;1 10&gt;&gt;3 &nbsp;0000 0000 &nbsp;0000 &nbsp;&nbsp;0001;1</li>
<li>a= 10&gt;&gt;4 &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0000 0000 0000 &nbsp;0000;0</li>
<li>a=1 &gt;&gt;1;0</li>
<li>a= 2&gt;&gt;1;1</li>
<li>a= 8&gt;&gt;1;4</li>
<li>a=50&gt;&gt;1;55</li>
<li>a=150&gt;&gt;1;75 32767&nbsp; 0111 1111 1111 1111</li>
<li>a= 32767&gt;&gt;15;0 32767&gt;&gt;15 0000 0000 0000 0000</li>
<li>a= 12345 &gt;&gt;15;0 Value=x&gt;&gt;n; x/2n</li>
</ol>
<p>&nbsp; &nbsp; For any +ve no.of right shift 15 makes the values as zero because =ve data representation is available in 15 bits towards from right side.</p>
<ol>
<li>a= -10&gt;&gt;1;</li>
</ol>
<p>~9&gt;&gt;1;</p>
<ol start="2">
<li>a=-10&gt;&gt;2;-9&gt;&gt;2;</li>
<li>a= -10&gt;&gt;3;9&gt;&gt;3;</li>
<li>a=-10&gt;&gt;4; &nbsp;&nbsp;&nbsp;&nbsp;-1 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;1111 1111 1111 1111</li>
</ol>
<p>~9&gt;&gt;4 ; &nbsp; -10<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 1111 1111 1111 0110 9 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />0000 0000 0000 1001 ~9 (-10) 1111 1111 1111 0110 -10&gt;&gt;1 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> 1111&nbsp; 1111 1111 1011&nbsp; &agrave;-5(-1-4) -10&gt;&gt;2 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; 1111&nbsp;&nbsp; 1111&nbsp; 1111 1101 (-1-2)-3 -10&gt;&gt;3 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;1111&nbsp;&nbsp; 1111&nbsp;&nbsp; 1111&nbsp; 1110(-1-1)-2 &nbsp;</p>
<table>
<tbody>
<tr>
<td width="43">a</td>
<td width="43">b</td>
<td width="43">a&amp;b</td>
<td width="43">a/b</td>
<td width="43">a^b</td>
</tr>
<tr>
<td width="43">1</td>
<td width="43">1</td>
<td width="43">1</td>
<td width="43">1</td>
<td width="43">0</td>
</tr>
<tr>
<td width="43">0</td>
<td width="43">1</td>
<td width="43">1</td>
<td width="43">0</td>
<td width="43">1</td>
</tr>
<tr>
<td width="43">1</td>
<td width="43">0</td>
<td width="43">1</td>
<td width="43">0</td>
<td width="43">1</td>
</tr>
<tr>
<td width="43">0</td>
<td width="43">0</td>
<td width="43">0</td>
<td width="43">0</td>
<td width="43">0</td>
</tr>
</tbody>
</table>
<ul>
<li>printf(&ldquo;%d %d %d &ldquo;, 2&amp;3 ,2/3, 2^3);</li>
</ul>
<p>&nbsp; 20&agrave; 0000 0000 0000 0010 30 &agrave; 0000 0000 0000 0011 2&amp;3 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0000 0000 0000 0010 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 2/3 &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0000 0000 0000 0011 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 2^3 &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />0000 0000 0000 0001&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1 <strong>O/p:</strong> 2 3 1</p>
<ul>
<li>printf(&ldquo;%d %d %d&rdquo;, 30&amp;20 ,30/20 ,30^20);</li>
</ul>
<p>20 &nbsp; <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp;0000&nbsp; 0000&nbsp; 0001 0100 30 <img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; 0000&nbsp;&nbsp; 0000&nbsp;&nbsp; 0001 1110 30&amp;20 0000&nbsp; 0000&nbsp;&nbsp; 0001&nbsp; 0100&nbsp;&nbsp;&nbsp; 20 30/20 0000&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp; 0001&nbsp; 1110&nbsp;&nbsp; 30 30^20 0000&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp; 0000&nbsp;&nbsp;&nbsp; 1010&nbsp; 10 &nbsp;</p>
<ul>
<li>printf(&ldquo;%d %d %d &ldquo;, 0&amp;-1 ,0/-1,0^-1);</li>
<li>--- 0000 0000 0000 0000</li>
</ul>
<p><strong>O/p&nbsp; :-</strong>0&nbsp; -1&nbsp; -1.</p>
<ul>
<li>printf(&ldquo;%d %d %d &ldquo;, a&amp;-10,a/-10,a^-10);</li>
</ul>
<p><strong>O/p:</strong> 0-1 -1 &nbsp;</p>
<ul>
<li>printf(&ldquo;%d %d %d &ldquo;, 32767&amp;-32768,32767/-32768, 32767^--32768);</li>
</ul>
<p><strong>O/p:</strong> 0-1 -1. &nbsp; &nbsp; &nbsp;</p>
<h3>Void main()</h3>
<p>{ int a; a=10,20,30; printf(&ldquo;a=%d&rdquo;,a); } <strong>O/p:</strong> 10 Assignment operator having highest priority operators dts why first value will be passed to a variable. &nbsp;</p>
<h3>Void main()</h3>
<p>{ int a; a=(10,20,30); printf(&ldquo;a=%d&rdquo;,a); } <strong>O/p:</strong> a=30 &nbsp;</p>
<ul>
<li>
<h3>Void main()</h3>
</li>
</ul>
<p>{ int a; a=10; if(a=0,12) printf (&ldquo;welcome %d&rdquo;,a); else printf (&ldquo;Hello %d&rdquo;,a); } <strong>O/p:</strong> welcome 0 &nbsp; &nbsp; &nbsp;</p>
<h3>void main()</h3>
<p>{ int a; a=0; if(a=10,20) printf(&ldquo;Welcome %d&rdquo;,a); else printf(&ldquo;Hello %d &ldquo;,a);</p>
<h3>}</h3>
<p>if (a=10 ,2,0) if (a=2,0) if(10,2,0) L &agrave;R if(0) false <strong>O/p:</strong> Hello&nbsp; 10 &nbsp; &nbsp;</p>
<h3>Void main()</h3>
<p>{ int i; i=0; switch (i=1,2,3) { case 1: printf(&ldquo;A%d&rdquo;,i); break; case2: printf(&ldquo;B%d&rdquo;,i); break; case3 : printf(&ldquo;C%d&rdquo;,i); break; default: printf(&ldquo;D %d &ldquo;,i); <strong>O/p :</strong> c1 &nbsp; &nbsp; &nbsp;</p>
<h3>Void main()</h3>
<p>{ int a; a=1; switch (a= printf(&ldquo;Bye&rdquo;),printf(&ldquo; Hi&rdquo;) { case1: printf(&ldquo;%d&rdquo;,a); break; case2: printf(&ldquo;B%d&rdquo;,a); break; case3:printf(&ldquo;C%d&rdquo;,a); break; default: printf(&ldquo;D%d&rdquo;,a); } &nbsp; <strong>O/p:</strong>ByeHiB3 &nbsp; switch (a= printf(&ldquo;bye&rdquo;),printf(&ldquo;Hi&rdquo;)) switch a=5,2) switch (3,2) switch (2) case2:B3 &nbsp; &nbsp;</p>
<h3>void main()</h3>
<p>{ int a,b; for(a=1,b=5;a&lt;=10,b&lt;=8;a++,b++) printf (&ldquo;\n%d&rdquo;%d &ldquo;,a,b); printf(&ldquo;\na=%d&nbsp; b=%d&rdquo;,a+10,b+10); } O/p&nbsp; : 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8 15 &nbsp;&nbsp;&nbsp; b=19 &nbsp; When we are placing more than one expression as a condition in for loop, then finally evaluated expression will consider as condition. &nbsp; &nbsp;</p>
<h3>void main()</h3>
<p>int a,b,c; a=b=1; c=++a&gt;1||++b&gt;1; printf(&ldquo;a=%d&nbsp; b=%d c=%d,a,b,c); } <strong>O/p:</strong> 2&nbsp; 1&nbsp; 1 When we are working with logical or operator if any one of the expression is true ,then return value is 1, dots why when the left side expression is true, that&rsquo;s why right side part will not be evaluated. &nbsp; &nbsp;</p>
<h3>void main()</h3>
<p>{ int a, b, c; a=1;b=3; c=++a &lt;1|| b&lt;3; printf(&ldquo;a=%d b=%d c=%d&rdquo;,a,b,c); } <strong>O/p:</strong> 2&nbsp; 2 1 &nbsp; &nbsp; &nbsp;</p>
<h3>void main()</h3>
<p>{ int a,b,c; a=2;b=4; c=a-- &lt;1||--b&gt;4; printf(&ldquo;a=%d b=%d c=%d &ldquo;,a ,b,c); } <strong>O/p :</strong>a=1 b=3 c=0 &nbsp; &nbsp;</p>
<h3>Void main()</h3>
<p>{ int a,b,c; a=1;b=2 c=++ a&gt;2&amp;&amp;--b&lt;&lt;; printf(&ldquo;a=%d b=%d c=%d ,a,b,c); } <strong>O/p:</strong> a=2&nbsp; b=2 c=0 When we are working with logical AND operator both expressions or all expression are true then only return value is true i.e. &lsquo;1&rsquo; that&rsquo;s why when the left side expression is false ,rigt side will not be evaluated. &nbsp;</p>
<h3>void main()</h3>
<p>{ inta,b,c; a=1;b=3; c=++a&gt;1&amp;&amp;--b&lt;2; printf(&ldquo;a=%d b=%d c=%d ,a,b,c); } <strong>O/p:</strong> 3 3 1 &nbsp; &nbsp; &nbsp; &nbsp;</p>
<h3>void main()</h3>
<p>{ int a,b,c,d; a=1;b=2;c=3; d= ++a&gt;1|| ++b&gt;2 &amp;&amp; --c&lt;3; printf(&ldquo;%d %d %d %d &ldquo;, a,b,c,d); } <strong>O/p:</strong> a=2 b=2 c=3 d=1 &nbsp; When we are working with uniary operator with the combination of binary then highest priority will be&nbsp; given for unary operator. &nbsp; &nbsp;</p>
<h3>Void main()</h3>
<p>{ int a,b,c,d; a=2;b=4;c=6; d=++a&lt;2||--b&gt;4&amp;&amp;--c&lt;6; printf(&ldquo;%d %d %d %d &ldquo;,a,b,c,d); } <strong>O/p:</strong> 3 3 6 0 &nbsp; &nbsp;</p>
<h3>&nbsp;void main()</h3>
<p>{ int a,b,c,d; a=1;b=3;c=5; d= ++a&gt;2&amp;&amp; - -b&lt;3|| ++c&gt;5; printf(&ldquo;%d %d %d %d &ldquo;,a,b,c,d); } <strong>O/p:</strong> 2 3 5 1</p>12b:T201e,<h2 style="text-align: justify;"><span style="color: #e67e23;">Functions in C</span></h2>
<p style="text-align: justify;">Self containing block of one or more statements or a sub-program which is designed for a particular task is called functions. A function is a group of statements that together perform a task. Every C program has at least one function, which is <strong>main()</strong>, and all the most trivial programs can define additional functions.</p>
<p style="text-align: justify;">A large C program is divided into basic building blocks called C function. C function contains set of instructions enclosed by &ldquo;{ &nbsp;}&rdquo; which performs specific operation in a C program. Actually, Collection of these functions creates a C program.</p>
<p style="text-align: justify;">C functions are basic building blocks in a program. All C programs are written using functions to improve re-usability, understandability and to keep track on them.</p>
<h3 style="text-align: justify;"><span style="color: #000000;">syntax :</span></h3>
<p style="text-align: justify;">returntype &nbsp;&nbsp; function name (parameters)</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">statement block;</p>
<p style="text-align: justify;">return statement;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">- Return type, parameters and return statements are optional</p>
<p style="text-align: justify;">- In implementation , whenever a function&nbsp;is returning the value then specify the return statement is optional . In this case, we will get a warning message called &ldquo; function&nbsp;should return a value&rdquo;</p>
<p style="text-align: justify;">- Whenever the function&nbsp;is returning the value, then collecting the value also optional</p>
<p style="text-align: justify;"><strong>In &lsquo;c&rsquo; programming language, function&nbsp;are classified into two types. </strong></p>
<p style="text-align: justify;"><strong>1. Library functions or Built in functions or predefined functions</strong></p>
<p style="padding-left: 30px; text-align: justify;">Predefined functions in C are those that are part of the C library. These are&nbsp;present in any of the various headers that can be included in a program.</p>
<p style="text-align: justify;"><strong>2. User defined functions</strong></p>
<p style="padding-left: 30px; text-align: justify;">User defined function has to be developed by the user at the time of writing a program.</p>
<p style="text-align: justify;">Functions have a basic structure. Their format is:</p>
<blockquote>
<pre>return_ data_type function name (arguments, arguments)
&nbsp;&nbsp;&nbsp;&nbsp;data _type _declarations of arguments;
&nbsp; &nbsp; {
       function body
    }

</pre>
</blockquote>
<h3 style="text-align: justify;"><span style="color: #e67e23;">C&nbsp;FUNCTION DECLARATION, FUNCTION CALL AND FUNCTION DEFINITION:</span></h3>
<p style="text-align: justify;">There are 3 aspects in each C function. They are,</p>
<ul style="text-align: justify;">
<li>Function declaration or prototype &nbsp;&ndash; This&nbsp;informs compiler about the function name, function parameters and &nbsp;return value&rsquo;s data type.</li>
<li>Function call &ndash; This calls the actual function</li>
<li>Function definition &ndash; This contains all the statements to be executed.</li>
</ul>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-27484" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/c-function.png" alt="c function" width="504" height="184" /></p>
<p style="text-align: justify;"><strong>Example Of a Function</strong></p>
<pre>#include&lt;stdio.h&gt;
#include&lt;conio.h&gt;
void add(int x, int y)
{
     int result;
     result = x+y;
     printf("Sum of %d and %d is %d ", x,y,result);
}
void main()
{
     clrscr();
     add(10,20);
     add(30,40);
     add(50,60);
     getch();
}</pre>
<p style="text-align: justify;"><strong>OUTPUT:</strong></p>
<p style="text-align: justify;">Sum of 10 and 20 is 30</p>
<p style="text-align: justify;">Sum of 30 and 40 is 70</p>
<p style="text-align: justify;">Sum of 50 and 60 is 110</p>
<h2 style="text-align: justify;"><span style="color: #e67e23;">Types of Functions In C</span></h2>
<p style="text-align: justify;">There are 4 types of Functions in C</p>
<p style="text-align: justify;">1.&nbsp;Functions with no arguments and no return values.</p>
<p style="text-align: justify;">2.&nbsp;Functions with arguments and no return values.</p>
<p style="text-align: justify;">3.&nbsp;Functions with arguments and return values.</p>
<p style="text-align: justify;">4.&nbsp;Functions with no arguments and return values.</p>
<h3 style="text-align: justify;"><span style="color: #000000;">HOW TO CALL C FUNCTIONS IN A PROGRAM?</span></h3>
<div style="text-align: justify;">There are two ways that a C function can be called from a program. They are,
<ol>
<li>Call by value</li>
<li>Call by reference</li>
</ol>
<h2><span style="color: #e67e23;">Parameters in C</span></h2>
A Parameter is the symbolic name for "data" that goes into a function. There are two ways to pass parameters in C: Pass by Value, Pass by Reference.
<h3><span style="color: #000000;">Pass by Value</span></h3>
Pass by Value, means that a copy of the data is made and stored by way of the name of the parameter. Any changes to the parameter have NO affect on data in the calling function.
<h3><span style="color: #000000;">Pass by Reference</span></h3>
A reference parameter "refers" to the original data in the calling function. Thus any changes made to the parameter are also made to the original variable.
<h2><span style="color: #e67e23;">Advantages&nbsp;of Functions</span></h2>
</div>
<p style="text-align: justify;">- By using function, we can avoid rewriting the code in the applications</p>
<p style="text-align: justify;">- By using functions, we can develop an application in module format</p>
<p style="text-align: justify;">- Program development will become easy by using function</p>
<p style="text-align: justify;">- when we are developing an application in module format, then we can easily trace and debug the applications.</p>
<p style="text-align: justify;">- By using the functions , we can keep track the logic implementation of the program.</p>
<p style="text-align: justify;">- The basic purpose of the function is : code reuse</p>
<p style="text-align: justify;">- A &lsquo;C&rsquo; program is a combination of&nbsp;functions</p>
<p style="text-align: justify;">- From any function, we can invoke any other&nbsp;function</p>
<p style="text-align: justify;">- Always compilation process will take place from top to bottom</p>
<p style="text-align: justify;">- Execution process will starts with main and ends with main only.</p>
<p style="text-align: justify;">- In implementation, when we are calling a function, which is defined later, for avoiding the compilation error we &nbsp; require to go for forward declaration i.e prototype is required</p>
<p style="text-align: justify;">- Declaration of function&nbsp;means, require to specify return type, name of the function&nbsp;and parameter type information</p>
<p style="text-align: justify;">- In function&nbsp;definition first line is called function&nbsp;declarator or function&nbsp;header</p>
<p style="text-align: justify;">- Always a function&nbsp;is not returning any values then specify the return type as void</p>
<p style="text-align: justify;">&nbsp; void means &ldquo;nothing&rdquo; ie. no return value.</p>
<p style="text-align: justify;">- In implementation, whenever a function&nbsp;is returning the value then specify the return type as return value type. ie. what type of value we are returning same type of return statement is required.</p>
<p style="text-align: justify;">- Default return type of the function&nbsp;is an int, default parameter type is void</p>
<p style="text-align: justify;">Our course design of tutorials is practical and informative. At TekSlate, we offer resources to help you learn various IT courses. We avail both written material and demo video tutorials.&nbsp;For in-depth knowledge and practical experience explore Online C Tutorials.</p>12c:T80f,<h2><strong>Brief description about Storage classes in C</strong></h2>
<p>According to the storage classes of &ldquo;c&rdquo; the lifetime of the auto variable is restricted within the body that&rsquo;s why how many times we are calling the abc function that many times it will created. <img class="alignnone size-full wp-image-6472" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/371.png" alt="37" width="343" height="273" /> void xyz() { int a=5; --a; printf(&ldquo;\na=%d&rdquo;,a); } void main() { auto int a=10; ++a; xyz(); ++a; printf(&ldquo;\na=%d&rdquo;,a); } <strong>o/p</strong> : a=4; a=12; &nbsp; void abc() { int a =10; --a; printf(&ldquo;\na=%d&rdquo;,a); } &nbsp;</p>
<h5>void main()</h5>
<p>{ abc(); abc(); printf(&ldquo;\n a=%d&rdquo;,a); <strong>o/p :</strong> Error undefined symbol &lsquo;a&rsquo; &nbsp;</p>
<ul>
<li>According to the storage classes of &lsquo;c&rsquo; by default any type of variable storage class specifier is auto.</li>
<li>The scope of the auto variable is restricted within the body that&rsquo;s why abc() function related data, we can&rsquo;t access in main() function</li>
</ul>
<p>&nbsp;</p>
<h5>void main()</h5>
<p>{ int a=10; clrscr(); auto int b=20; ++a; ++b; printf(&ldquo;\n a=%d&nbsp; b=%d&rdquo;,a,b); } &nbsp; <strong>o/p:</strong> Error declaration is not allowed here In &lsquo;c&rsquo; programming language variable declaration must be exists top of the program before writing the first statement only. &nbsp;</p>
<h5>void main()</h5>
<p>{ auto int a=5; int a=10; ++a; printf(&ldquo;a=%d&rdquo;,a); } <strong>o/p :</strong> Error multiple declaration for &lsquo;a&rsquo; &nbsp; In any scope we construct a single variable by using anymore of unique name, if we are constructing multiple variable with the same name then it gives an error i.e, multiple declaration &nbsp; &nbsp; &nbsp;</p>
<h5>void main()</h5>
<p>{ int a=5; ++a; printf(&ldquo;\na=%d&rdquo;,a); { auto int a=10; --a; printf(&ldquo;\na=%d&rdquo;,a); } <strong>o/p :</strong> a=6 a=9 a=7 &nbsp; &nbsp;</p>12d:T88a,<p>In this tutorial, we will discuss about stacks in data structures. A stack is an ordered list in which items may be added or removed only at one end, called the &ldquo;top&rdquo; of the stack. The last item to be added to a stack is the first item to be removed .Accordingly, stacks are also called Last- in-first- out (LIFO) lists or First- in &ndash;out (FIFO) lists. &nbsp; <img class="alignnone size-full wp-image-6477" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/118.png" alt="1" width="261" height="335" /> &nbsp; &nbsp; The two basic operation associated with stack are</p>
<ol>
<li>&ldquo;Push&rdquo; is the term used to insert an element into a stock.</li>
<li>&ldquo;Pop&rdquo; is the term used to delete an element into a stack.</li>
</ol>
<p>&nbsp; <strong>Examples</strong></p>
<ol>
<li>A stack of dishes</li>
<li>A stack of coins</li>
<li>A stack of folded towels</li>
<li>A stack of bills</li>
<li>A railway system for shunting cars.</li>
</ol>
<p>&nbsp;</p>
<ul>
<li>Stack may be represented in a computer in various ways, usually by means of a one &ndash;dimensional array and linked list.</li>
<li>&ldquo;Top&rdquo; is variable or a pointer, which points top most element of the stack.</li>
<li>Initially when the stack is empty, &ldquo;Top has a value of &ldquo;-1&rdquo; and when the stack contains a single element.</li>
<li>&ldquo;Top&rdquo; has a value of &ldquo;0&rdquo; and when the stack contains two elements, &ldquo;Top&rdquo; has value of &ldquo;1&rdquo; and so on.</li>
<li>The following is the condition to test the stack is full or not( Top== maxsize-1)</li>
<li>Each time a new element is inserted in the stack, the top is incremented by &ldquo;one&rdquo; before the elements is placed on the stack.</li>
</ul>
<p>Top=Top+1</p>
<ul>
<li>The following is the condition to kept the stack is empty or not.</li>
</ul>
<p>(Top==-1)</p>
<ul>
<li>The &ldquo;Top &ldquo;is decremented by one each time a deletion is made from the stack.</li>
</ul>
<p>Top =Top-1;</p>
<ul>
<li>A variable &ldquo;max size &ldquo;, which gives the maximum number of elements that can be held by the stack.</li>
</ul>
<p>&nbsp; &nbsp;</p>12e:Ta68,<p><strong>Bubble Sort</strong> The bubble sort is the oldest and simplest sort in use unfortunately, it is also the slowest. &nbsp;</p>
<ol>
<li>compare two numbers at a time, starting with the first two numbers</li>
<li>If the first number, is larger than second number, than exchange the two numbers,</li>
<li>Go right one number and compare that number to the number that follows it. The two form a new pair.</li>
<li>Continue this process until no exchange has been made in an entire pass through the list.</li>
</ol>
<p>&nbsp; <strong>Ex : Pass: 0</strong> &nbsp; <img class="alignnone size-full wp-image-6562" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/223.png" alt="22" width="418" height="404" /> &nbsp; <img class="alignnone size-full wp-image-6563" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/233.png" alt="23" width="438" height="412" /> &nbsp; &nbsp;</p>
<h3><strong>Program:</strong></h3>
<h3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Implementation of Bubble sort</h3>
<p># include&lt;stdio.h&gt; void bubble sort(int A[20],int n); void main() { int A[30],n,i; printf(&ldquo;Enter n value \n&rdquo;); scanf(&ldquo;%d&rdquo;, &amp;n); printf(&ldquo;Enter the elements:\n&rdquo;); for(i=0;i&lt;n; i++) { scanf(&ldquo;%d&rdquo;,&amp;A[i]); } bubble sort[A,n]; printf(&ldquo;The following are the elements in sorting orfer:\n&rdquo;); for(i=0;i&lt;n;i++) { printf(&ldquo;%5d&rdquo;,a[i]); } } void bubble sort(int A[20],int n) { int pass, j,temp; for(pass=0;pass&lt;n-1;pass++) { for(j=0;j&lt;n-pass-1;j++) { if(a[j]&gt;a[j+1]) { temp=A[j]; A[j]=A[j+1]; A[j+1]=temp; } } } } Enter n value: 10 Enter the elements : 5 4 1 6 7 9 2 3 8 &nbsp; &nbsp; The following are the elements in the sorting order : 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10 &nbsp; &nbsp;</p>
<h2><strong>Time complexity:</strong></h2>
<p>Traditionally, the time for a sorting algorithm is measured in terms of the number of comparisons specially, There are n-1 comparisons during the first pass, which phases the largest element in the last position, these are n-2 comparisons in second step, which places the second largest element in the next-to-last position, and so on. Thus f(n)=(n-1) + (n-2) +(n-3) + -------------- +2+1 =n(n-1)/2=n2/2-n/2=0(n<sup>2</sup>) &nbsp; &nbsp;</p>12f:Tcd2,<h2><strong>&nbsp;</strong></h2>
<p>A stack is useful in writing recursive calls. A stack is useful to convert in fix expression into post fix expression. It can be used in function calls for example, suppose that function &ldquo;a&rdquo; calls function &ldquo;b&rdquo; and passes two variables ,&rdquo;x&rdquo; and &ldquo;y&rdquo; to &ldquo;b&rdquo;. Then the function &ldquo;a&rdquo; can store these two variables on the stack, from where the function &ldquo;b&rdquo; can retrieve and use them. A stack can be used to evaluate the postfix expression. A+B=&gt;AB+=&gt;30. A stack can be used to implement a calculator by storing the operands and the operators on the stack and using them as and when required. The stack can be used in the algorithms which needs the back traversal. &nbsp; <strong>Program:</strong><strong>&nbsp;</strong></p>
<h4>Implementation of stack data structures using array</h4>
<p># include &lt;studio.h&gt; #include &lt;conio.h&gt; #include &lt;stdlib.h&gt; #define maxsize 5 int stack [maxsize]; int Top=-1; void insertion () { Int else; if (Top== maxsize-1) { printf(&ldquo;stack is over flow \n&rdquo;); } else { printf(&ldquo;Enter an element:&rdquo;); scanf (&ldquo;%d&rdquo;,&amp;ele); Top=Top+1; stack[Top]=ele; } } &nbsp; &nbsp; void deletion () { if (Top==-1) { printf(&ldquo;Stack is under flow \n&rdquo;); } else { printf(&ldquo; The deleted element is %d&nbsp; \n&rdquo;, stack [Top]); Top=Top-1; } void display() { inti; if (Top==-1) { printf(&ldquo;stack is under flow&nbsp; \n&rdquo;); } else { for(i=0; i&lt;=Top;i++) { printf(i=0; i&lt;=Top; stack[i]); } printf( &ldquo;%5d&rdquo;,stack[i]); } &nbsp; printf(&ldquo;\n&rdquo;); } } int main() { int choice; printf(&ldquo;1.INSERTION \n&rdquo;); printf(&ldquo;2.DELETION&nbsp; \n&rdquo;); printf(&ldquo;3.DISPLAY&nbsp; \n&rdquo;); printf(&ldquo;4.EXIT \n&rdquo;); do { printf(&ldquo;Enter your choice:&rdquo;); scanf(&ldquo;%d&rdquo;,&amp;choice); switch (choice) { case1: insertion (); break; case2: deletion (); break; case3: Display(); break; case4: (0); } } while (c&lt;=4); return; } &nbsp;</p>
<h3><strong>Initial stack:</strong></h3>
<p><img class="alignnone size-full wp-image-6480" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/216.png" alt="2" width="206" height="252" /> &nbsp; Top[-1]&nbsp; maxsize[5] After inserting i.e. entry 10, 20, 30, 40, 50. <strong>Top &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; max size</strong> - 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[5] <span style="text-decoration: line-through;">0</span> <span style="text-decoration: line-through;">2</span> <span style="text-decoration: line-through;">3</span> 4 &nbsp; &nbsp; Inserting element stack is overflow After deleting elements 50, 40, 30, 20, 10. &nbsp; <img class="alignnone size-full wp-image-6481" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/316.png" alt="3" width="412" height="305" /> &nbsp; Inserting elements Stack is over flow After deleting elements 50,40,30,20,10 <img class="alignnone size-full wp-image-6482" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/414.png" alt="4" width="299" height="266" /> &nbsp;</p>130:T9e2,<h2><strong>Binary search</strong></h2>
<p>The binary search in data structures&nbsp;is yet another simple method. However in the binary search, the algorithm expect the list to be sorted you can apply any one of the sorting methods before using the binary search algorithm. In binary search the given list is devided into two equal half&rsquo;s. The given key is compared with the middle element of the list now three situations may occur. The middle element matches with the key the search will end peacefully here. The middle element is greater than the key then the value which we are searhing is possibly in the first half of the list. The middle element is lower than the key. Then the value which were searching is possibly in the second half of the list &nbsp; Now the list is searched either in the first half is in the second half of got by the result of conditions (b) and (c) given above. This search fails because the key does not exist &nbsp; <img class="alignnone wp-image-6559" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/217-460x237.png" alt="21" width="561" height="288" /> &nbsp; Mid= left+right/2 Mid= 0+9/2 = 4.5 &nbsp; <strong>Program </strong> Binary search # include &lt;stdio.h&gt; # include &lt;conio.h&gt; void main() \{ int a[20],n,key,p,i; clrscr(); printf(&ldquo;Enter the total number of elements \n&rdquo;); scanf(&ldquo;%d&rdquo;,&amp;n); printf(&ldquo;Enter the element in ascending order \n&rdquo;); for(i=0;i&lt;n;i++) { scanf(&ldquo;%d&rdquo;,&amp;a[i]); } printf(&ldquo;Enter the search element \n&rdquo;); scanf(&ldquo;%d&rdquo;,&amp;key); p=binary search(a,n,key);&nbsp;&nbsp;&nbsp;&nbsp; /* Functional */ if(p&gt;=0) { printf(&ldquo;search is successful \n&rdquo;); printf(&ldquo;The element found at position %d&rdquo;,p+1); } else { printf(&ldquo;search is unsuccessful search \n&rdquo;); } else { printf (&ldquo;search is unsuccessful search \n&rdquo;); } } int binary search(int a[20],int n, int key) { int left, right, mid; left=0; right=n-1; while(left&lt;=right) { mid=(left+right)/2; if(key==a[mid]) { right=mid-1; } else { left=mid+1; } } } return(-1); } &nbsp; <strong>Time complexity</strong><strong>:</strong> Each step at the algorithm divides the list divided into two parts and the search continues in one of them and the other is discarded the search requires at mast k steps where 2<sup>k</sup> &gt; =N which results k=log<sub>2</sub>N thus the running time c both average and worst case of binary search is proportional &nbsp;</p>131:T1bb8,<h2><strong>How to perform I/O operation in c++ </strong></h2>
<p><strong>&nbsp;What is input ?</strong></p>
<ul>
<li>Information given to the program, is called input</li>
<li>In input data is flow inside the program</li>
<li>It required a source(for reading )</li>
</ul>
<p>stadin - - &gt; standard input used as scanf function stdout ---&gt;&nbsp;&nbsp;standard input used as printf function taken by monitor(gives destination) <strong>What is output :</strong></p>
<ul>
<li>Information given by the program is called output</li>
<li>In output data is flow outside the program</li>
<li>In c++ I/O operations are alone using streams</li>
<li>A stream is class is provide set of functions to perform input and output operations</li>
<li>A stream represents input source (reading) and output destination (writing)</li>
<li>C++ provides 2 stream classes</li>
</ul>
<ol>
<li>ostream</li>
<li>istream</li>
</ol>
<p>&nbsp;</p>
<ul>
<li>.I<strong><em>Istream&nbsp;</em></strong>The istream consists of input functions to read a streams of characters from the keyboard.</li>
</ul>
<ul>
<li><strong><em>Ostream&nbsp;</em></strong>The ostream consists of output functions to write a character onto the screen.</li>
</ul>
<p>&nbsp; &nbsp; stdout is a file pointer which is pointing to console <strong>&nbsp;</strong> <strong>&nbsp;I/O operation in C++ Example </strong> <img class="alignnone wp-image-6779" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_32-460x536.png" alt="Screenshot_3" width="454" height="530" /> &nbsp;</p>
<h3><strong>Cout</strong> -&gt;</h3>
<ul>
<li>It is a predefined object of class Ostream</li>
<li>Cout represent console output</li>
<li>Cout represent standard output devide(Monitor)</li>
<li>For cout object destination is standard output device</li>
<li>Ostream cout(&ldquo; con &rdquo;);</li>
<li>This predefined object is a variable in IOstream.h file</li>
<li>This object uses &lt;&lt; (insertion) operator to perform formatted output operation</li>
<li>This object uses all the member function of stream class to perform output operation</li>
<li>&lt;&lt; ( insertion operator) is overloaded operation on member function</li>
</ul>
<p>&nbsp; <strong>ex</strong> : printf(&ldquo;%d&rdquo;,IO)// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;This operation performs O/P operation without using formatting specifier. printf(&ldquo;%f&rdquo;,1.5) &nbsp;</p>
<ul>
<li>This operation insert one values</li>
<li>Insertion means writing / printing Cout &lt;&lt; &rsquo;10,20 ; // it will print 10</li>
</ul>
<p>&nbsp; <strong>Syntax</strong> : cout&lt;&lt; variable/constant/expression; In order to print multiple values cout uses multiple insertion operators. Cout&lt;value 1&lt;value2&lt;value 3&hellip;&hellip;.</p>
<ul>
<li>Using multiple insertion operator with cout is called cascading , it is a method of organizing</li>
<li>evaluation of insertion operators are are done from right to left and insertion is done from left to right</li>
</ul>
<p>&nbsp; <strong>Example</strong><strong> :</strong> # include&lt;iostream.h&gt; void main() { cout&lt;&lt; &ldquo;welcome to c++&rdquo;; } <strong>Eg :- </strong> #include &lt;iostream.h&gt; void main() { cout&lt;&lt;10;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // cout &lt;&lt;10&lt;&lt;end l; cout&lt;&lt; 1.5;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // cout&lt;&lt;1.5&lt;&lt;end l; cout &lt;&lt; &lsquo;A&rsquo;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // cout&lt;&lt;&rsquo;A&rsquo;&lt;&lt;end l; cout&lt;&lt;1/5;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // cout&lt;&lt;1.5&lt;&lt;end l; cout&lt;&lt;&rsquo;A&rsquo;;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // cout &lt;&lt; &lsquo;A&rsquo; &lt;&lt; end l; cout&lt;&lt; &ldquo;c++&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // cout &lt;&lt; &ldquo;c++&rdquo; &lt;&lt;endl; } <strong>endl :</strong> It is a manipulator used for inserting new line</p>
<ol>
<li>Q) What is the difference between \n and endl ?</li>
</ol>
<p>In is a back slash is escape sequences &nbsp;</p>
<table style="width: 674px; height: 177px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>
<h3><strong>endl</strong></h3>
</td>
<td><strong>&nbsp;&nbsp;\n</strong></td>
</tr>
<tr>
<td>it is called manipulator</td>
<td>it is called escape sequence</td>
</tr>
<tr>
<td>It doesn&rsquo;t occupy any space</td>
<td>It occupy 1 byte</td>
</tr>
<tr>
<td>It is available in iostream.h</td>
<td>it is available in &lsquo;C&rsquo;</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp; <strong>eg:</strong> # include &lt;iostream.h&gt; void main() { cout&lt;&lt;10&lt;&lt;1.5&lt;&lt;&rsquo;A&rsquo;&lt;&lt;&rdquo;c++&rdquo;; &nbsp;&nbsp;&nbsp; // cascading } &nbsp; <strong>Cin</strong><strong> :</strong> It is an object of istream class.</p>
<ul>
<li>istream class provide set of functions to performs input operations</li>
<li>Cin uses &gt;&gt; (extraction) operation to read any type of value</li>
<li>It does not required any formatting specifiers</li>
</ul>
<p>Formatting is an implicit functionality of extract of operation</p>
<ul>
<li>It is an overloaded operation // reading (source) writing Cdestination which extend functionality of &gt;&gt; (shift operator)</li>
</ul>
<h3><strong>syntax</strong><strong> :</strong></h3>
<p>Cin &gt;&gt; variable &ndash;name;</p>
<ul>
<li>One extraction operator read only one value cin&gt;&gt;var1&gt;&gt;var2&gt;&gt;var3----</li>
<li>Using multiple extraction is called as cascading</li>
</ul>
<h3><strong>Variable (local)</strong><strong> :</strong></h3>
<p>The variable declared inside function is called local variable.</p>
<ul>
<li>Memory for this variable is allocated on execution of function and after completion of function</li>
<li>The scope of this variable within function</li>
<li>Local variable are called auto variable.</li>
<li>Auto is storage class and variable is never declared without class</li>
<li>Storage class define scope life time and storage of variable.</li>
</ul>
<p><strong>Eg : </strong> #include&lt;iostream.h&gt; void main() { int x; int Y; int Z; Cout &lt;&lt; X &lt;&lt; endl; cout&lt;&lt;Z&lt;&lt;endl; } <strong>o/p :</strong> The output of above program is garbage value, Because local variables are not given any default values.</p>
<ul>
<li>C++ allows to declare local variable anywhere within function</li>
</ul>
<p><strong>eg : </strong> # include &lt;iostream.h&gt; void main() { int n1; cout&lt;&lt; &ldquo;\n input n1 value&rdquo;; cin &gt;&gt; n1; int n2; cout&lt;&lt; &ldquo;\n input n2 value&rdquo;; cin&gt;&gt; n2; int n3; n3=n1+n2; cout&lt;&lt; &ldquo;\n sum is &rdquo; &lt;&lt; n3 } C++ allows to declare block level variables &nbsp;</p>132:T24e3,<h2><span style="font-size: 22px; color: #e67e23;"><strong>Static binding in C++</strong></span></h2>
<ul>
<li>In function overloading or operator overloading there will be more than one function with the same name.</li>
<li>The functions are invoked by matching arguments.</li>
<li>The complier selects the appropriate function for particular call at the compilation time itself. This is called early binding or static binding.</li>
</ul>
<h2><span style="color: #e67e23; font-size: 22px;"><strong>Dynamic Binding in C++</strong></span></h2>
<ul>
<li>Selecting the appropriate member function while the program is running is known as run time polymorphism.</li>
<li>This process is known as late binding .It is known as dynamic binding as the selection of the function is done dynamically at run time.</li>
<li>Dynamic binding requires use of pointer to objects</li>
</ul>
<p>void fun1(int x) { { void fun1(float x) { } void main() { fun1(10); fun1(1.5); } The feature of runtime polymorphism is the ability to refer to objects without regard to their classes using a single pointer. We can use a pointer to a base class to refer all the derived objects. When we use the same function name in both base and derived classes a base class pointer executes the base class function only even when is assigned with derived class object address. &nbsp;</p>
<h2><span style="color: #e67e23; font-size: 22px;"><strong>Virtual Function in C++</strong></span></h2>
<ul>
<li>To invoke the derived class overriding member function b base class pointer when i t is assigned with derived class address the base class member function has to made virtual.</li>
<li>The keyword virtual has to be preceded the normal declaration.</li>
</ul>
<h3><span style="color: #e67e23;"><strong>Rules for virtual functions:</strong></span></h3>
<ul>
<li>The virtual function must be members of some class.</li>
<li>They cannot be static members.</li>
<li>They accessed by using object pointers.</li>
<li>A virtual function can be a friend of another class.</li>
<li>A virtual function in a base class must be defined ,even though it may not be used.</li>
</ul>
<p><strong>Syntax:</strong> Virtual return-type function_name([parameters]) { statements; }</p>
<p><img class="alignnone wp-image-6856" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_28-460x390.png" alt="Screenshot_28" width="446" height="378" /> &nbsp;</p>
<p><strong>E.g:</strong></p>
<p><code> # include&lt;iostream.h&gt;</code></p>
<p><code> class animal { public: virtual void walk() cout&lt;&lt;&rdquo;\n Inside animal walk&rdquo;; }}; </code></p>
<p><code>class dog:public animal { public: void walk() { cout&lt;&lt;&rdquo;\n Inside dog walk&rdquo;; }}; </code></p>
<p><code>class cat: public animal { public: void walk() { cou&lt;&lt;&rdquo;\n Inside cat walk&rdquo;; }}; </code></p>
<p><code>void play(animal *a) { (*a).walk(); } </code></p>
<p><code>void main() { cat c; dog d; play(&amp;c); play (&amp;d); } </code></p>
<p><code><strong>O/p:</strong> Inside cat walk Inside dog walk &nbsp; </code></p>
<p><strong>Eg:</strong></p>
<p><code># include&lt;iostream.h&gt; </code></p>
<p><code>class SIM { public: </code></p>
<p><code>void connect( ) </code></p>
<p><code>{ cout&lt;&lt;&rdquo;Inside connect&rdquo;; }}; </code></p>
<p><code>class airelsim:public sim { Public: Void connect( ) { Cout&lt;&lt;&rdquo;In connected to airtel network&rdquo;; }}; </code></p>
<p><code>class bsnlsim:public sim { Public: Void connect( ) { Cout&lt;&lt;&rdquo;In connected to bsnl network&rdquo;; }}; </code></p>
<p><code>class mobile { Public: Static void insert(Sim *s) { (*s).connect( ); }}; </code></p>
<p><code>void main( ) { Airtle sim airtel; bsnl sim bsnl; Mobile::insert(&amp;airtel); Mobile::insert(&amp;bsnl); } </code></p>
<p><code><strong>o/p:</strong> Inside connect Inside connect &nbsp;</code></p>
<h3><strong>Pure virtual function:</strong></h3>
<ul>
<li>A function declared in base class and has no definition relative to the base class.</li>
<li>They are redefined in derived classes.</li>
<li>They are called as do-nothing functions.</li>
</ul>
<h3><strong>Abstract Base class:</strong></h3>
<ul>
<li>A class containing pure virtual functions is called as Abstract Base class</li>
<li>They cannot be used to declare any objects.</li>
<li>It is purely for inheriting purpose only.</li>
<li>They are used to create a base pointer required to achieve runtime polymorphism.</li>
</ul>
<p><strong>Syntax:</strong> Virtual return type function &ndash; name (parameters) &nbsp;</p>
<h4>Abstract class</h4>
<p>&nbsp; <img class="alignnone wp-image-6857" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_29-460x498.png" alt="Screenshot_29" width="491" height="532" /> &nbsp;</p>
<p># include&lt;iostream.h&gt; # include&lt;conio.h&gt; class shape { protected; float dim 1,dim 2; public: void read_dim( ) { cout&lt;&lt;&rdquo;Input two dim&rdquo;; cin&gt;&gt;dim1&gt;&gt;dim2; } Virtual void final_area( )=o; }; Class triangle:public shape { Public: void final_area( ) { float area=0.5*dim1*dim2; cout&lt;&lt;&rdquo;In area of triangle is&rdquo;&lt;&lt;area; }}; class rectangle:public shape { public: void final_area( ) float area=dim1*dim2; cout&lt;&lt;&rdquo;In area of rectangle is&rdquo;&lt;&lt;area; }}; Void main( ) { Triangle t1; t1.read_dim( ); Rectangle r1; r1.read_dim( ); t1.final_area( ); r1.final_area( ); } <strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<p><strong>O/P:</strong> Input two dim 2 3 Input two dim5 4 Area of triangle is 3 Area of triangle is 20</p>
<ul>
<li>Abstract class is called as an abstract data type</li>
<li>A data type which allows to build a similar data type is called as abstract data type.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Hybrid Inheritance:</strong></h3>
<p>If there are two on more types of inheritances to design a program it is called as hybrid inheritance. <strong>Ex: </strong> class student{ }; class test:public student { };class sports:public student { }; Class result:public test,public sports; This is also called as Multi path inheristance as the class student inherited vice test and also via sports</p>
<p>&nbsp; <img class="alignnone size-full wp-image-6858" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_30.png" alt="Screenshot_30" width="154" height="165" /></p>
<p>Class alpha { }; Class beta:public alpha { } &nbsp;</p>
<h3><strong>Virtual Class</strong></h3>
<p>You might want to make a class if it is a base class it has been passed to more than one derived class,as might happen with multiple inheritance.</p>
<ul>
<li>A base class cant be specified more than once in a derived class:</li>
</ul>
<p>Eg: class B {&hellip;.} Class D:B,B{&hellip;.};//ILLEGAL However a base class can be indirectly passed to the derived class more than once: <strong>&nbsp;</strong></p>
<p><strong>Eg:</strong> Class X:public B {&hellip;.} Class Y:public B {&hellip;.} Class Z:public X,public Y{&hellip;.} In this case, each object of class Z will have sub objects of class B. If this causes problems, you can add the key word&rdquo; virtual &ldquo;to a base class specifier.</p>
<p><strong>For example</strong><strong>:</strong></p>
<p><code># include&lt;iostream.h&gt; </code></p>
<p><code>Class A { Public: Void fun1( ) { Cout&lt;&lt;&rdquo;In Inside function1 of A&rdquo;; }}; </code></p>
<p><code>Class B:public virtual A { public: Void fun2( ) { Cout&lt;&lt;&rdquo;In Inside function2 of A&rdquo;; }}; &nbsp; </code></p>
<p><code>Class C:public virtual A { public: Void fun 3( ) { Cout&lt;&lt;&rdquo;In Inside function3 of C&rdquo;; }}; </code></p>
<p><code>Class D:public B,public C { Public: Void fun4( ) { cout&lt;&lt;&rdquo;In Inside function4 of D&rdquo;; }}; </code></p>
<p><code>Void main( ) { D obj1; Obj1.fun1( ); Obj1.fun2( ); Obj1.fun3( ); Obj1.fun4( ); } </code></p>
<p><code><strong>o/p: </strong> Inside function 1 of A Inside function 2 of A Inside function 3 of C Inside function 4 of D &nbsp;</code></p>
<h3><strong>MULTIPLE INHERITANCE</strong></h3>
<p>If class is derived from more than one base class it is called as multiple inheritance. <strong>Ex:</strong> class&nbsp; base1 { }; class base2 { }; class derived:public base1,public base2 { };</p>
<p>&nbsp;</p>
<p><img class="alignnone size-full wp-image-6859" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_311.png" alt="Screenshot_31" width="240" height="136" /> &nbsp;</p>
<p><strong>Example:</strong></p>
<p><code># include&lt;iostream.h&gt; </code></p>
<p><code>Class person { Protected; Char name[10]; Public; Void read_name( ) { Cout&lt;&lt;&rdquo;\n Input name&rdquo;; Cin&gt;&gt;name; }}; </code></p>
<p><code>Class employee { Protected; Int empno; public; void read_empno( ) { Cout&lt;&lt;&rdquo;\n Input empno&rdquo;; cin&gt;&gt;empno; }}; </code></p>
<p><code>Classworker:public person,public employee { Float wage; Public; Void read_wage( ) { Cout&lt;&lt;&rdquo; \n Input wage&rdquo;; Cin&gt;&gt;wage; } </code></p>
<p><code>Void print_details( ) { Cout&lt;&lt;&rdquo;In Name&rdquo;&lt;&lt;name; Cout&lt;&lt;&rdquo;In Empno&rdquo;&lt;&lt;empno; Cout&lt;&lt;&rdquo;In Wage&rdquo;&lt;&lt;wage; }}; </code></p>
<p><code>Void main( ) { Worker&nbsp; worker1; Worker1.read_name( ); Worker1.read_empno( ); Worker1.read_wage( ); Worker1.print_details( );</code> } &nbsp;</p>133:T1bdf,<h2><strong>MULTI LEVEL INHERITANCE</strong></h2>
<p>The mechanism of deriving a class from another derived class is known as multilevel inheritance in C++. <strong>e.g:</strong> Class base {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }; class dervied1: public base {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }; class deriverd2 :public derived1 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }; &nbsp; <img class="alignnone wp-image-6853" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_27.png" alt="Screenshot_27" width="299" height="439" /> &nbsp;</p>
<h3><strong>Multi Level Inheritance in C++ Example</strong></h3>
<p># include &lt;iostream.h&gt; class person char name[10]; public: void read_name() { cout&lt;&lt;&rdquo;\n Input Name&rdquo;; cin&gt;&gt;name; } void print_name() { cout &lt;&lt;&rdquo;\n Name &ldquo;&lt;&lt;name; } class student:public person int rno; public: void read_rno() { cout&lt;&lt;&rdquo;\n Input roll no&rdquo;; cin&gt;&gt;rno; } void print_rno() { cout&lt;&lt;&rdquo;\n Rollno&rdquo;&lt;&lt;rno; }; clas student :: public Mca_student int sub1,sub2; public: void read_subjects() { cout &lt;&lt;&rdquo;\n Input two subjects&rdquo;; cin &gt;&gt;sub1&gt;&gt;sub2: } void print_subjects() { cout &lt;&lt;&rdquo;\n Subject1&rdquo;&lt;&lt;sub1; cout&lt;&lt;&rdquo;\n Subject2&lt;&lt;sub2; }; void main() { Mca_student stud1; stud1.read_ stud1; stud1.read_name(); stud1.read_rno(); stud1.read_ subjects(); stud1.print_name(); stud1.print_rno(); stud1.print_subjects(); } &nbsp; &nbsp;</p>
<h3><strong>Constructors in derived class</strong></h3>
<ul>
<li>Constructors of any class are invoked only if an object of that class is constructed.</li>
<li>If the base class constructor is having argument which assigns value to the data members of the base class then it is mandatory to invoke the base class constructor.</li>
<li>But the derived class object cannot invoke the base class constructor directly.</li>
<li>In that case derived class constructor invokes the base class constructor.</li>
<li>The constructor of the derived class receives the entire list of the values and passes then to the base constructors.</li>
<li>Constructors of derived class calls implicit default or non parameterized constructor of base class.</li>
</ul>
<p>#include &lt;iostream.h&gt; class base public: base() { cout&lt;&lt;&rdquo;\n Inside base class constructor&rdquo;; }; class derived :public base public : derived () { &nbsp; &nbsp; cout&lt;&lt;&rdquo;\n Inside derived class constructor&rdquo;; }; void main() { clrscr(); derived d1; } &nbsp;</p>
<ul>
<li>Parameterized constructor of base class is called explicitly with in constructor of derived class. In this calling is done as a part of constructor header.</li>
<li><strong>g:</strong></li>
</ul>
<p>#include &lt;iostream.h&gt; # include&lt;string.h&gt; #include&lt;conio.h&gt; class account { int accno; char name[10]; public : account(int acno,charn[ ]) accno=acno; strcpy(name,n); void pront_accno_name() { cout&lt;&rdquo;\n Account No&rdquo;&lt;&lt;accno; &nbsp; cout&lt;&lt;&rdquo;\n Customer name&rdquo;&lt;&lt; name; } Class saving _account: public account char cheq_fac; public: saving_account(int a, char n[ ],char c)): account(a,n) cheq_fac=c; void print_cheq_fac() { cout&lt;&lt;&rdquo;\ n Chaqfac&rdquo;&lt;&lt;cheq_fac; }; void main() { clrscr(); saving_account acc1(101,&rdquo;abc&rdquo;,&rsquo;y&rsquo;); acc1.print_accno_name(); acc1.print_cheq_fac(); } Non-parameter =&gt; implicitly Parameter=&gt; Explicitly &nbsp;</p>
<h3><strong>E.g: </strong></h3>
<p># include&lt;iostream.h&gt; # include&lt;conio.h&gt; class base public: base() { cout&lt;&lt;&rdquo;\n Inside non parameterized constructor of base class&rdquo;; } base (int x) { cout &lt;&lt;&rdquo;\n Inside parameterized constructor of base class&rdquo;; }; class derived :public base public: derived ():base(10) cout&lt;&lt;&rdquo;\n Inside non parameterised constructor of derived class&rdquo;; derived (int x) // default constructor of base class cout &lt;&lt;&rdquo;\n Inside parameterised constructor of derived class&rdquo;; }; void main() { derived d1; derived d2(10); } Destructor in inheritance:</p>
<ul>
<li>Complier called implicitly the destructor of base calls inside destructor of derived class.</li>
<li>Calling of base destructor inside derived class destructor is last statement.</li>
</ul>
<p>&nbsp; &nbsp; <strong>E.g:</strong> # include &lt;iostream.h&gt; # include &lt;conio.h&gt; class base { public: base() { cout&lt;&lt;&rdquo;\n Inside constructor of base class&rdquo;; } base () cout&lt;&lt;&rdquo;\n Inside destructor of base class&rdquo;; } class derived :public base{ public: derived() { cout&lt;&lt;&rdquo;\n Inside constructor of derived class&rdquo;; } derived() { cout &lt;&lt;\n&nbsp; Destructor of derived class&rdquo;; }; void main() { clrscr(); derived d1; } &nbsp;</p>
<h3><strong>Member function overriding:</strong></h3>
<ul>
<li>Redefining of base class member function inside derived class is called Member function overriding.</li>
<li>Writing member function inside derived class with same name, no.of parameters, types of parameter and order of parameters of member function defined base class is called member function overriding.</li>
<li>Member function override inorder to modify functionality of base class member function inside derived class.</li>
<li>If derived class wants to have different implementation of base class member function, it override base class function inside derived class.</li>
</ul>
<p>&nbsp; &nbsp; <strong>E.g:</strong> # include &lt;iostream.h&gt; class base { public: void fun1() { cout&lt;&lt;&rdquo;\n Inside base class function 1&rdquo;; }}; class derived :public base { public: void fun1(){ (Inherited from base class &amp; used in derived class) cout&lt;&lt;&rdquo;\n Inside overriding function&rdquo;; }; void main() { derived d; d.fun1(); } &nbsp; <strong>E.g:</strong> &nbsp; # include &lt;iostream.h&gt; # include&lt;conio.h&gt; class person { Char name[10]; public: void read() { cout&lt;&lt;&rdquo;\n Input name&rdquo;; cin&gt;&gt;name; } void print() { cout&lt;&lt;&rdquo;\n Name&rdquo;&gt;&gt;name; }}; class customer :public person { int id; float credit_limit; public: void read() { person:: read(); cout&lt;&lt;&rdquo;\n Input id&rdquo;; cin&gt;&gt;id; cout&lt;&lt;&rdquo;\n Input credit_limit; } void print() { person::print(); cout&lt;&lt;&rdquo;\n Id&rdquo;&lt;&lt;id; cout&lt;&lt;&rdquo;\n Credit Limit&rdquo;&lt;&lt;credit_limit; }}; void main() { clrscr(); customer cust1; cust1.read(); // overriding base class in derived class cust1.print(); } &nbsp; &nbsp; <strong>O/p:</strong> input name desy input id 123 Input credit_limit Name desy Id 123 Credit_limit 1.37561 &nbsp; # include &lt;iostream.h&gt; # include&lt;conio.h&gt; class animal { public: void walk() { cout&lt;&lt;&rdquo;\n animal walk&rdquo;; }}; class dog:public animal { public: void walk() { cout&lt;&lt;&rdquo;\n dog walk&rdquo;; }}; class cat:public animal { public: void walk() { cout&lt;&lt;&rdquo;\n Cat walk&rdquo;; }}; void main() { dog d; cat c; d.walk(); c.walk(); }</p>134:T1747,<h2><strong>Static Members</strong></h2>
<p>The members of class can be declared as static in C++ Static members are of &nbsp;2 types static data member static member function &nbsp;</p>
<h3><strong>Static Data Member in C++</strong></h3>
<p>A variable declared inside class with static keyword is called static data member. static data member is a global data member, which is global to class or more than one object Static member memory is allocated when finest object of class is create or when it accessed first time. Static data member must be initialized outside the class. &nbsp; <strong>Static Members in C++ Example</strong> class Alpha&nbsp; - - &gt; data type { static int z; int x; int y; }; void main() { Alpha alpha1; Alpha alpha2; Alpha alpha3; } &nbsp; &nbsp;</p>
<h3><strong>Syntax of declaring static data member in C++</strong></h3>
<p>static data type variable-name; &nbsp;</p>
<h3><strong>Syntax of defining static data member in C++</strong></h3>
<p>definition is given outside the class datatype &lt;class-name&gt; :: &lt;member-name&gt;=[name] int &ndash;0 flat,double &ndash; 0.0 char- - - \o(null) &nbsp;</p>
<h3>Static data member is accessed with class name or object name</h3>
<p>Example&nbsp;: class Beta { public : int x; - - &gt; on creation of object static int y; - - &gt; on creation of first object (accessed fines+time with class name) }; int Beta :: y=0; void main() { cout&lt;&lt;Beta :: y; - - &gt; 0 cout&lt;&lt;Beta :: x; - - &gt; X Beta&nbsp; Beta1; cout&lt;&lt;Beta1.x; - &nbsp;- &gt; } <strong>&nbsp;Example&nbsp;</strong> # include&lt;iostream.h&gt; class circle { float r; static float pi; public : void read(); void find_area(); }; float circle :: pi=3.147; void circle :: read() { cout&lt;&lt;&rdquo;\n input r&rdquo;; cin&gt;&gt;r; } void circle :: find_area() { float area = pi*r*r; cout&lt;&lt;&rdquo;\n Area of circle is &rdquo;&lt;&lt;area; } void main() { circle circle1; circle circle2; circle1.read(); circle2.read(); circle1.find_area(); circle2.find_area(); } &nbsp; find output ?</p>
<h3><strong>Example</strong></h3>
<p># include&lt;iostream.h&gt; class Alpha { public : int x; static int y; }; int alpha :: y; void main() { alpha alpha1; alpha1.x=10; alpha1.y=20; alpha alpha 2; alpha2.x=30; alpha2.y=40; cout&lt;&lt;&rdquo;\n alpha1.x&rdquo;&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;alpha1.y; cout&lt;&lt;&rdquo;\n alpha2.x&rdquo;&lt;&lt;&rdquo;\t&rdquo;&lt;&lt; alpha2.y &nbsp;</p>
<h3><strong>Static member functions in C++</strong></h3>
<p>A member of class can be defined as static static member function is a global function this member function is accessed with name without creating object class Alpha { public : static int x; int y; }; int Alpha :: x=10; void main() { cout&lt;&lt;Alpha::x; cout&lt;&lt;alpha&lt;&lt;y; } class Alpha { static int x; }; int alpha :: x=10; void main() { cout&lt;&lt;alpha ::x; }</p>
<ul>
<li>static member function access only static members of the but cann&rsquo;t access non static members</li>
</ul>
<p><strong>&nbsp;</strong> <strong>syntax </strong> static retur_type function-name([paramenters]) { statements; }</p>
<h3><strong>Syntax of calling static member function in C++</strong></h3>
<p>class-name :: function-name # include&lt;iostream.h&gt; { class alpha { public: void func1() { cout&lt;&lt;&rdquo;\n inside non static member function&rdquo;; } static void fun2() { cout&lt;&lt;&rdquo;\n inside static member funciton&rdquo;; }}; void main() { alpha:: func1();// erro (Non static member can&rsquo;t access class name) alpha:: fun2(); } <strong>o/p:</strong> inside static member function</p>
<h3>&nbsp;Example</h3>
<p># include&lt;iostream.h&gt; # include&lt;conio.h&gt; class alpha { static int x; public : static void fun1() { cout&lt;&lt;&rdquo;\n x=&rdquo; &lt;&lt;x; <strong>o/p</strong> : x=10 cout &lt;&lt; &ldquo;\n y=&rdquo; &lt;&lt;y; // error (static&nbsp;member function cannot access&nbsp;not static members o class); }}; int alpha :: x=10; void main () { int alpha :: x=10; void main() { alpha:: fun1() } Static member function can access non static member of class by creating object. <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>//Count of object or finding how many objects of class are created</strong><strong>.</strong></h3>
<p><strong>Example</strong> #include &lt;iostream.h&gt; class student { int rno; char name[10]; static int count; public: student() { count=count +1; } static void print &ndash;count() { cout&lt;&lt;&rdquo;\n count is &ldquo;&lt;&lt;count; } void read() { cout&lt;&lt;&rdquo;\n Input roll no; cin&gt;&gt;rno; cout&lt;&lt;&rdquo;\n Input name; cin&gt;&gt;name; void print() { cout&lt;&lt;&rdquo;\n Rollno&rdquo;&lt;&lt;rno; cout&lt;&lt;&rdquo;\n Name&rdquo;&lt;&lt;name; }}; int student:: count; void main() { student:: print_count(); student student1; student student2; student::print _count(); student1.read(); student2.read(); student1.print(); student2.print(); } &nbsp;</p>
<h3>Non static Member function can access static member and non- static Members.</h3>
<p>&nbsp;</p>
<h3><strong>Example</strong></h3>
<p># include&lt;iostream.h&gt; # include &lt;conio.h&gt; class account { int accno; char name[10]; float balance; static float rate; public: void read() { cout &lt;&lt;&rdquo;\n Input accno&rdquo;; cin &gt;&gt;accno; cout&lt;&lt;&rdquo;\n Input customer name&rdquo;; cin &gt;&gt;name; cout&lt;&lt;&rdquo;\n Input balance&rdquo;; cin &gt;&gt;balance; } void print() { cout&lt;&lt;&rdquo;\n Account No&rdquo;&lt;&lt;accno; cout &lt;&lt;&rdquo;\n Name&rdquo;&lt;&lt;name; cout &lt;&lt;&rdquo;\n Balance&rdquo;&lt;&lt;balance; cout&lt;&lt;&rdquo;\n Rate&rdquo;&lt;&lt;rate; } void change _rate(float r) { rate=r; }}; float account :: rate=1.5f; //definition void main() { clrscr(); account account1; account account2; account1.read(); account2.read(); account1.print(); account2.print(); account:: change_rate(1.2); account1.print(); account2.print(); }</p>135:Tde8,<h3><strong>What is difference between constructor and destructor</strong></h3>
<p>&nbsp;</p>
<table style="width: 674px; height: 232px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Constructor</strong></td>
<td><strong>Destructor</strong></td>
</tr>
<tr>
<td>it is executed on creation of objectits job is inita class contain multiple constructorsit can have parameters</td>
<td>it is executed before deleting objectits job is deinita class contain only one destructorit cannot have parameters.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3><strong>Constant members in C++</strong></h3>
<p>Member of class can be declared as constants Constant members are of &nbsp;2 types. Constant data member Constant member function &nbsp;</p>
<h3><strong>Constant data member</strong></h3>
<p>The value of constant data member has never changed. Constant data member must be initialized using constructor list It is used to defined read only property of object &nbsp;</p>
<h3><strong>Constant Member Function Syntax</strong></h3>
<p>const data type&nbsp;&nbsp; datamember-name syntax of init constant data members using construct list constructor-name(): constant-datamember(value,constant-datamember(value)---- { statements; }</p>
<h3><strong>//wap to find area of circle</strong></h3>
<p><strong>Example</strong> # include &lt;iostream.h&gt; class circle { float r; const float pi; public : circle() : pi(3.147) { r=1.5; } void find_area() { float area=pi*r*r; cout&lt;&lt;&rdquo;\n Area is&rdquo;&lt;&lt;area; }}; void main() { circle circle1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // create a object by calling constructor circle1.find_area(); } &nbsp; &nbsp; <strong>Constant member function Example</strong></p>
<h3><strong>//Finding simple interest :</strong></h3>
<p>#inlude&lt;iostream.h&gt; #include&lt;conio.h&gt; class simple_interest { float amt; int time; const float rate; public : simple_interest(float a, int l, float r): rate(r) { amt=a; time=t; } float find_interest() { float si=(amt * rate *time)/100; cout&lt;&lt;&rdquo;\n simple interest&rdquo;&lt;&lt;si; } } void main() { simple_interest_cust1(5000,12,1.5); simple_interest_cust2(7000,24,2.5); cust1.find_intrest (); cust2.find_intrest (); } &nbsp; &nbsp;</p>
<h3><strong>Constant member function in C++</strong></h3>
<p>Constant member function is an accessory function which cannot modifying values of data members. It perform constant operation. &nbsp;</p>
<h4><strong>syntax :</strong></h4>
<p>&lt;return type&gt; function-name(&lt;parameters&gt;) constant { statements; } &nbsp;</p>
<h3><strong>Constant member function Example</strong></h3>
<p># incude&lt;iostream.h&gt; class account { int accno; char name[10]; char name[10]; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp; private data float balance; public : void read(); //modifier(it modifying) void print_details() const; }; void accout:: read() { cout&lt;&lt;&rdquo;\n input account no&rdquo;; cin&gt;&gt;accno; cout&lt;&lt;&rdquo;\n input customer name&rdquo;; cin&gt;&gt;name; cout&lt;&lt;&rdquo;\n input balance&rdquo;; cin&gt;&gt;balance; } void account :: deposit(float tamt) { balance=balance+tamt; } void accout :: print_details() const { cout&lt;&lt;&rdquo;\n account no&rdquo;&lt;&lt;accno; count&lt;&lt;&rdquo;\n customer Name&rdquo;&lt;&lt;Name1; cout&lt;&lt;&rdquo;\n balance&rdquo;&lt;&lt;balance; } void main() { account acc1; acc1.read(); acc1.deposit(3000); acc1.print_details(); } <strong>o/p :</strong> input account no &nbsp;</p>136:T131e,<h2><strong>Constructor overloading</strong></h2>
<p>Defining more than one constructor within class by changing --&gt;Number of parameters --&gt;Types of parameters --&gt;Order of parameters is called Constructor Overloading in C++ Constructor is overloaded in order to extend functionality of existing constructor</p>
<h2>Constructor Overloading Example</h2>
<p># include&lt;iostream.h&gt; class&nbsp; stock { int*a; int size; int top; public: stack(); stack(int); void push(int); void pop(); } stack :: stack() { top=-1; size=5; q=new int[size]; } stack :: stack(int s) { size=s; top=-1; a=new int[size]; void stack :: push (int e) { if(top)&gt;size-1; cout&lt;&lt;&rdquo;\n stack is full&rdquo;; else a[++top]=e; } void stack :: pop() { if(top&lt;0) cout&lt;&lt;&rdquo;\n stack is empty&rdquo;; else cout&lt;&lt;&rdquo;\n element is&rdquo;&lt;&lt;a[top---]; } void main() { stack stack1; stack&nbsp; stack2(3); stack1.push(0); stack1.push(20); stack1.pop(); stack2.push(60); stack2.push(70); stack2.push(); } <strong>o/p :</strong>&nbsp; void push(int e) { if(top&gt;&gt;size-1) else a[++top]=e; } # include&lt;iostream.h&gt; #inlude&lt;string.h&gt; class string { char *s; int size; public : string(); string(int); void read_string(); void print_string(); }; string:: string() { size=10; s=new char[size]; } string:: string (int s1) { size=s1; s=new char[size]; } void string :: read-string() { cout&lt;&lt;&rdquo;\n input any string&rdquo;; cin&gt;&gt;s; } void string:: print_string() { cout&lt;&lt;&rdquo;\n string is&rdquo;&lt;&lt;s; } void main() { string string1; string string2[20]; string1.read_string(); string2.print_string(); string2.print_string(); } &nbsp;</p>
<h3><strong>Copy Constructor</strong></h3>
<ul>
<li>If there is no copy constructor compiler provide copy constructor within class.</li>
<li>Copy constructor is a parameterized construct have parameter within class</li>
<li>Copy constructor is used to create an object by copying contexts of existing object</li>
<li>It is used to create a copy of object</li>
</ul>
<p><strong>Copy Constructor Syntax</strong> constructor-name(class-name &amp; red-name) { staments; { }</p>
<ul>
<li>If constructor having parameter of type class, it receive object.</li>
<li>copy constructor receive reference of the object</li>
<li>It is using method i.e shallow copy and also reference type.</li>
</ul>
<p><strong>&nbsp;</strong> <strong>Copy Constructor Example</strong> # include&lt;iostream.h&gt; class date { int dd, MM,YY; public: data(int,int,int); date(date&amp;)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //(copy constructor) void point_date(); }; date:: date(int d, int M, int Y) { dd=d; MM=M; YY=Y; } date:: date(date &amp;d) { dd=d.dd; mm=d.MM; YY=d.YY; } void date:: print_date() { cout&lt;&lt;&rdquo;]n&rdquo; &lt;&lt;d&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;mm&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;yy; } void main() { date dob(10,10,2014); date cdob(dob); dob.print_date(); colob.print_date(); } &nbsp;</p>
<h3><strong>// copy constructor</strong></h3>
<p># include&lt;iostream.h&gt; # include&lt;string.h&gt; class strudent { int rno; char name[10]; public : student(int,char*); student(student &amp;); void print_student(); }; student::student(int r,char *n) { rno=r; strcopy(name,s.name); } void student::print_student() { count&lt;&lt;&rdquo;\n rollno&rdquo;&lt;&lt;rno; cout&lt;&lt;&rdquo;\n name&rdquo;&lt;&lt;name; } void main() { student1 stud1(101,&rdquo;RONO&rdquo;); student1 stud2(stud1); stud1.print_student(); stud2.print_student(); &nbsp;</p>
<h3><strong>Destructor</strong></h3>
<p>Destructor is a special member function This member function get executed before destroying object.</p>
<h3><strong>Destructor Properties </strong></h3>
<p>Destructor name is same as class name and it is prefix with ~ operator It is without any return type not even void It is not having any parameters/ arguments A class contain only one destructor.</p>
<h3><strong>Destructor Syntax</strong></h3>
<p>~destructor-name() { statements; }</p>
<h3><strong>DestructorExample</strong></h3>
<p># include &lt;iostream.h&gt; class alpha { int x; public : alpha() { cout&lt;&lt;&rdquo;\n inside construtor&rdquo;; } ~alpha() { cout&lt;&lt;&rdquo;\n inside destructor&rdquo;; } }; void main() { alpha&nbsp; alpha1; } <strong>o/p :</strong> inside constructor(creating object) inside Destructor(Deleting object) <strong>Eg:</strong> &nbsp; #include &lt;iostream.h&gt; class array { int *a; int size; public : array(int s) { size=5; a=new int[size]; } void read_elements() { cout&lt;&lt;&rdquo;\n input elements&rdquo;; for(int i=0;i&lt;size;i++) cin&gt;&gt;a[i]; } void print_elements() { cout&lt;&lt;&rdquo;\n elements are \n&rdquo;; for(int i=0;i&lt;size;i++) cout&lt;&lt;endl&lt;&lt;a[i]; } ~array() { cout&lt;&lt;&rdquo;\n inside destructor&rdquo;; delete a; void main() { array array1(5); array1.read_elements(); array1.print_elements(); } &nbsp;</p>137:T1708,<h2><strong>Functions</strong></h2>
<ul>
<li>Inline functions</li>
<li>Function default arguments</li>
<li>Function overloading</li>
<li>Pass by value</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Classes and Objects&nbsp; in C++</strong></h3>
<p><strong>Class</strong> Class is a data type or user defined data type. It is a collection of members, these members are 2 types. Data members Member functions In object oriented application development data is represent in the form of object &nbsp;</p>
<h3><strong>Difference between class &amp; structure</strong></h3>
<p>&nbsp;</p>
<table style="width: 655px; height: 260px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>class in c++</strong></td>
<td><strong>&nbsp;Structure in &lsquo;C&rsquo;</strong></td>
</tr>
<tr>
<td>It is a collection of variables and functions</td>
<td>structure is a collection of variables</td>
</tr>
<tr>
<td>Contents is private, protected or public</td>
<td>Contents is public / global</td>
</tr>
<tr>
<td>It provide security for data</td>
<td>It does not provide security for data</td>
</tr>
<tr>
<td>It support polymorphism and inheritance</td>
<td>It does not support polymorphism and inheritance</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; <strong>Syntax of class in C++</strong> class &nbsp;class-type-name { private : data-members; member-functions; public : data-members; member functions; } &nbsp;</p>
<h3><strong>What is data member ?</strong></h3>
<p>Variable declared inside class is called data member Data member define state of the object or value hold by object. &nbsp;</p>
<h3><strong>Member function in C++</strong></h3>
<p>Function defined inside a class is called member function Binding data members with member function inside a class called as Member function define behavior of object or operation performed on the object Private, public and protected are called as access specifier. Default members of class are private Default members of structure are global/ public &nbsp;</p>
<h3><strong>Access specifier/ access neighbours</strong></h3>
<p>Access specifier define visibility on accessibility of members declared within class. C++ provide 3 access specifiers</p>
<ol>
<li>private</li>
<li>protected</li>
<li>public</li>
</ol>
<p>&nbsp;</p>
<h3><strong>Private</strong></h3>
<p>Default members of class are private Private member are accessible within class or members of the same class Private members are not accessible within non members on members of other classes. <strong>&nbsp;</strong> <img class="alignnone wp-image-6812" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_14-460x440.png" alt="Screenshot_14" width="399" height="380" /> &nbsp; &nbsp; Data hiding in object oriented is achieved by declaring data members within class as private <strong>Protected</strong> Protected member access by members of same class and derived class Protected members cannot access by non members and members of other classes. &nbsp; &nbsp; <img class="alignnone wp-image-6813" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_15-460x338.png" alt="Screenshot_15" width="503" height="369" /> &nbsp; &nbsp; &nbsp; <strong>public </strong> These&nbsp; members access by members of some class, derived class, non members and members of other classes. &nbsp; <img class="alignnone wp-image-6814" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_16-460x329.png" alt="Screenshot_16" width="481" height="343" /> &nbsp; &nbsp;</p>
<h3><strong>Summary of Access Specifiers</strong></h3>
<p>&nbsp;</p>
<table style="width: 637px; height: 168px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>&nbsp;</strong></td>
<td><strong>with in class</strong></td>
<td><strong>Non members</strong></td>
<td><strong>Member of derived class</strong></td>
<td><strong>Member of Other class</strong></td>
</tr>
<tr>
<td>Private</td>
<td>Yes</td>
<td>No</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td>Protected</td>
<td>Yes</td>
<td>No</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td>Public</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp;</p>
<h3><strong>Object</strong><strong> in C++</strong></h3>
<ul>
<li>It is a instance of class</li>
<li>A variable of type class is called object</li>
<li>On creation of object memory is allocated for data members of class.</li>
</ul>
<p><strong>Syntax </strong> Class &ndash;name object &ndash;name, object-name,&hellip;. class defined structure of object &nbsp;</p>
<h3><strong>Program</strong><strong> (Write a program to find area of triangular)</strong></h3>
<p># include &lt;iostream.h&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [ writing a class within main- local class triangle&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; classes &amp; vice versa] { private : float base, height;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // data members public : void read() { cout&lt;&lt;&rdquo;\n input base height&rdquo;; cin&gt;&gt;base&gt;&gt;height; } void find area () { float area=0.5*base*height; }; <img class="alignnone wp-image-6815" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_17-460x189.png" alt="Screenshot_17" width="427" height="175" /> Size of the class is equal to some of data member size On creation of object memory is allocated for data members of class but not member functions Member functions operators on one or more than one object. &nbsp;</p>138:T12d1,<h2><span style="color: #000000;">Aggregation</span></h2>
<p style="text-align: justify;"><a href="https://tekslate.com/tutorials/c-plus-plus-tutorials/" target="_blank" rel="noopener">Aggregation</a>&nbsp;is a special type of composition.</p>
<p style="padding-left: 30px; text-align: justify;">In this, contained object is designed behind container object.</p>
<p style="padding-left: 30px; text-align: justify;">This contained object is later sent to container object via member function.</p>
<p style="padding-left: 30px; text-align: justify;">In this approach contained object exists independent container object.</p>
<h3><span style="color: #000000;">Aggregation in C++</span></h3>
<p style="padding-left: 30px; text-align: justify;">-Aggregation composes various abstractions into a one defining a class.</p>
<p style="padding-left: 30px; text-align: justify;">-Objects can&nbsp;share other objects.</p>
<h3><span style="color: #000000;"><strong>Example of Aggregation in C++</strong></span></h3>
<pre style="padding-left: 30px;">class alpha
{
int x;
public:
void read-x()
{
cin&gt;&gt;x;
}
void print.x()
{
cout&lt;&lt;x;
}
};
class beta
{
int y;
alpha *a;
public:
beta(alpha*p)
}
a=p;
}
void main()
{
alpha a1;
beta b1(&amp;a1);
}</pre>
<ul>
<li style="text-align: justify;">Member <a href="https://en.wikipedia.org/wiki/Function" target="_blank" rel="noopener">function</a> with parameters of type class it receive object.</li>
<li style="text-align: justify;">Member function can have parameters of sum class or different class.</li>
<li style="text-align: justify;">This member function operates on more than one object.</li>
</ul>
<p><strong>Example</strong></p>
<h3><span style="color: #000000;"><strong>//WAP to compare marks of two students</strong></span></h3>
<pre style="padding-left: 30px;"># include&lt;iostream.h&gt;
class Marks
{
int rno;
int sub1,sub2;
public:
void read-marks()
{
cout&lt;&lt;&rdquo;\n Input Two subjects&rdquo;;
cin&gt;&gt;sub1&gt;&gt;sub2;
}
void compare(Marks s)
{
if (sub1 ==s,sub1&amp;&amp; sub2==s.sub2)
cout&lt;&lt;&rdquo;\n Marks are not equal&rdquo;;
}
};
void Main()
{
Marks stud1,stud2;
stud2.read-marks();
stud1.compare(stud2);
}</pre>
<h3><span style="color: #000000;"><strong>//WAP to compare two&nbsp; strings:</strong></span></h3>
<pre style="padding-left: 30px;"># include &lt;iostream.h&gt;
# include &lt;string.h&gt;
# include &lt;conio.h&gt;
class string
{
char str[10];
public:
void read-string()
{
cout&lt;&lt;&rdquo;\n Input any string&rdquo;;
cin&gt;&gt;str;
}
void print-string()
{
cout&lt;&lt;&rdquo;\n String is &ldquo;&lt;&lt;str;
}
void compare(string s)
{
if strcmp(str,s.str)==0)
cout&lt;&lt;&rdquo;\n Strings are equal&rdquo;;
else
cout&lt;&lt;&rdquo;\n strings are not equal&rdquo;;
}};

void main()
{
string str1,str2;
str1.read-string();
str2.read-string();
str1.compare(string2);
str1.print-string();
str2.print-string();
}</pre>
<h3><span style="color: #000000;"><strong>Member Function with return type of class in C++</strong></span></h3>
<p>if member function is having return type of class, it returns object.</p>
<pre style="padding-left: 30px;">int fun1[]
float fun2[]
double fun3[]
string fun4[]</pre>
<h3><span style="color: #000000;"><strong>// WAP to add two matrices</strong></span></h3>
<pre style="padding-left: 30px;"># include&lt;iostream.h&gt;
class Marix
{
inta[2][2];
public:
void read-Matrix()
{
for(int i=0;i&lt;2;i++)
for(intj=0;j&lt;2;j++)
cin&gt;&gt;a[i][j];
}
void print-Matrix()
{
for(inti=0;i&lt;2;i++)
{
for(int i=0;i&lt;2;i++)
{
for(int j=0;j&lt;2;j++)
cout&lt;&lt;a[i][j]&lt;&lt;&rdquo;\t&rdquo;;
cout&lt;&lt;endl:
}
}
Matirx add-Matrix(MatrixM2)
{
MatrixM3;
for (int i=0;i&lt;2;i++)
for(int j=0;j&lt;2;j++)
M3.a[i][j]=a[i][j]+M2.a[i][j];
return M3;
}
};
void main()
{
Matrix Matrix1,Matrix2;Matrix3;
Matrix1.read-Matrix();
Matrix2.read-Matrix();
Matrix3=Matrix1.add-Matrix(Matrix2);
Matrix1.print-Matrix();
Matrix2.print-Matrix();
Matrix3.print-Matrix();
}</pre>
<p style="padding-left: 30px;"><strong>E.g.: </strong></p>
<p style="padding-left: 30px;">(Return type as class)</p>
<h3><span style="color: #000000;"><strong>//Adding two complex numbers</strong></span></h3>
<pre style="padding-left: 30px;">#include &lt;iostream.h&gt;
class complex
{
float read;
float img;
public:
void read_complex()
{
cout&lt;&lt;&rdquo;\n Input real&rdquo;;
cin&gt;&gt;real;
cout&lt;&lt;&rdquo;\n Input img&rdquo;;
cin&gt;&gt;img;
}
void print-complex()
{
cout&lt;&lt;&rdquo;\n real=&rdquo;&lt;&lt;real;
cout&lt;&lt;&rdquo;\n img=&rdquo;&lt;&lt;img;
}
complex add_complex(complex c2)
{
Complex c3;
c3.real=real+c2.real;
c3.img=img+c2.img;
return c3;
}};
void main()
{
complex comp1,comp2 comp3;
comp1.read-complex();
comp3=comp1.add-complex comp2;
comp1.print-complex();
comp2.print-complex();
comp3.print-complex();
}</pre>139:T112e,<h2><strong>Inheritance </strong></h2>
<p>Inheritance is a process of acquiring the properties and behavior of one class inside another class. Inheritance is process of using data member functions of one class inside another class. Deriving a class from existing class is called as inheritance. &nbsp;</p>
<h3><strong>Advantages of Inheritance in C++</strong></h3>
<p>Generalization/reusability Specialization /extensibility &nbsp;</p>
<h3><strong>Types of Inheritance supported by C++</strong></h3>
<p>Single Level Inheritance Multi level Inheritance Multiple inheritance Hierarchal inheritance Hybrid Inheritance &nbsp;</p>
<h3>Example of Inheritance in C++</h3>
<p><img class="alignnone size-full wp-image-6848" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_23.png" alt="Screenshot_23" width="438" height="485" /> &nbsp; &nbsp; How to derive a class <strong>Syntax</strong> class derived &ndash;classname:&lt;visibility Mode&gt;base-classname, base-class-name,. . . . . . . . { data members; Member functions; };</p>
<h3><strong>What is visibility mode?</strong></h3>
<p>Visibility Mode defines the visibility or accessibility of base class members with in derived class. This visibility mode can be</p>
<ol>
<li>Private</li>
<li>Public</li>
<li>Protected</li>
</ol>
<p>Default visibility mode is private. When the visibility mode is private, public members of private members of derived class. The public members of the base class are accessibility by the member function of the derived class only. They are not accessible to the derived class object In both cases private members of the base class are not accessible to the derived class of member functions. They are accessible to the derived class objects. <img class="alignnone size-full wp-image-6849" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_24.png" alt="Screenshot_24" width="291" height="725" /> When the visibility Mode is public, public members of the base class becomes the public members of derived class. &nbsp;</p>
<h3><strong>Single level inheritance in C++</strong></h3>
<p>A derived class with a only one base&nbsp; class is called single level inheritance. <strong>Example</strong> Class base { . . . . . . .&nbsp; . . . .&nbsp; . }; class derived:public base { . . . . . . .&nbsp; . . . .&nbsp; . }; <strong>Example</strong> &nbsp; # include &lt;iostream.h&gt; class person { char name[10]; public; void read_name() { cout&lt;&lt;&rdquo;\n Input name&rdquo;; cin&gt;&gt; name; } void print_name() { cout&lt;&lt;&rdquo;\n Name&rdquo;&lt;&lt;name; } }; class employee :public person { float salary; public: void read_salary() { cout&lt;&lt;&rdquo;\n Input salary&rdquo;; cin&gt;&gt;salary; } void print _salary() { cout&lt;&lt;&rdquo;\n Salary is &ldquo;&lt;&lt;salary; }}; void&nbsp; main() {employee emp1; cout &lt;&lt;&rdquo;\n &lt;&lt; size of (emp1); emp1.read_name (); emp1.read_salary(); emp1.print_name(); emp1.print_salary(); } <strong>O/p :</strong> Input name a aa Input Salary 5000 Name aaa Salary is 5000 On creation of derived class object .Memory is allocated for data members of base class and derived class. Private Members of base class are not accessible derived class if base class provide public member functions it can access it.</p>
<h3><strong>Protected Member in C++</strong></h3>
<p>A protected member is accessible by the members functions class is immediately derived from it. It cannot be accessed by the functions outside these two classes. &nbsp; <img class="alignnone wp-image-6850" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_26-460x320.png" alt="Screenshot_26" width="490" height="340" /> &nbsp; <strong>Example</strong> # include &lt;iostream.h&gt; class employee { protected : int empno; char name[10]; }; class salaried employee :public employee { float salary; public: void read() { cout&lt;&lt;&rdquo;\n Input empno&rdquo;; cin&gt;&gt; empno; cout&lt;&lt;&rdquo;\n Input ename&rdquo;; cin&gt;&gt; ename; cout&lt;&lt;&rdquo;\n Input salary&rdquo;; cin &gt;&gt;salary; } void print() { cout&lt;&lt;&rdquo;\n Employee No&rdquo;&lt;&lt;empno; cout&lt;&lt;&rdquo;\n Employee Name&rdquo;&lt;&lt; name; cout&lt;&lt;&rdquo;\n Salary&rdquo;&lt;&lt; salary; }}; void main() { salaried _employee emp1; emp1.read(); emp1.printf(); } &nbsp;</p>13a:T14bf,<h2><strong>Friend function </strong></h2>
<p>A non-member function cannot access private member of the class or object. Member function can access private members of &ldquo;same type or same class or object. There could be a situation where more than one class where a function required to access private members of more than one type. If function is declared as friend of any class, it can able to access private members. Friend function is a non-member function, it is called like normal function. It is not bind with any object (OR) It is not called with object name. Friend function in C++&nbsp;cannot private members of directly it is having parameters of type class. Friend return type function &ndash;name(parameters); &nbsp;</p>
<h3>Example of Friend Function in C++</h3>
<p>#include &lt;iostream.h&gt; #include&lt;conio.h&gt; class beta class alpha { int x; public: void read-x(); friend void compare (alpha,bets); }; class beta { int y; public: void read-y(); friend void compare(alpha,beta); }; void alpha::read-x() { cout&lt;&lt;&rdquo;\n Input x&rdquo;; cin&gt;&gt;x; } void beta::read-y() { cout&lt;&lt;&rdquo;\n Input y@; cin&gt;&gt;y; } void compare (alpha a, beta b) { if( cout&lt;&lt;&rdquo;\n Equal&rdquo;; else cout &lt;&lt;&rdquo;\n Not equal&rdquo;; } void main() { alpha alpha1; beta beta1; alpha1.read-x(); beta1.read-y(); compare(alpha1,beta1); (friend function) } &nbsp; <img class="alignnone wp-image-6844" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_211-460x191.png" alt="Screenshot_21" width="518" height="214" /> &nbsp; &nbsp; #include &lt;iostream.h&gt; #include&lt;conio.h&gt; class Marks; class Student { int rno; char name[10]; public: void read-student(); friend void find result(student name); class marks { int sub1,sub2; public: void read-Marks(); friend void find &ndash;result (student,Marks); }; void student:: read-student() { cout&lt;&lt;&rdquo;\n Input rollno&rdquo;; cin&gt;&gt;rno; cout&lt;&lt;&rdquo;\n Input name&rdquo;; cin&gt;&gt;name; } void marks:: read-marks() { cout&lt;&lt;&rdquo;\n&nbsp; Input Marks&rdquo;; cin &gt;&gt;sub1&gt;&gt;sub2; } void find &ndash;result(student s,Marks M) { cout&lt;&lt;&rdquo;\n Roll no&rdquo;&lt;&lt;S.rno; cout&lt;&lt;&rdquo;\n Name&rdquo;&lt;&lt;s.name; if (M.sub1&lt;40 M.sub2&lt;40) &nbsp; <img class="alignnone wp-image-6845" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_22-460x369.png" alt="Screenshot_22" width="450" height="360" /> &nbsp; &nbsp; <strong>O/p:</strong> Input name RAM Input roll no 101 Input Marks &nbsp;</p>
<h3><strong>//Friend function which operates on similar type objects</strong></h3>
<p>#include&lt;iostream.h&gt; #include&lt;conio.h&gt; class complex { float real,img; public: void read_complex(); void print_complex(); friend complex add-complex(complex,complex); }; void complex::read_complex() { cout&lt;&lt;&rdquo;\n Input real&rdquo;); cin&gt;&gt;real; cout&lt;&lt;&rdquo;\n Input img&rdquo;; cin&gt;&gt;img; } void complex:: print_complex() { cout&lt;&lt;&rdquo;\n real=&rdquo;&lt;&lt;real; cout&lt;&lt;&rdquo;\n img=&rdquo;&lt;img; } complex add_complex(complex c1,complex c2) { complex c3; c3.real= c1.real+c2.real; c3.img=c1.img+c2.img; return c3; } void main() { clrscr(); complex comp1,comp2,comp3; comp1.read_complex(); comp2.read_complex(); comp3=add__complex(comp1,comp2); comp1.print__complex(); comp2.print__complex(); comp3.print__complex(); } O/p Input real 1.1 input img</p>
<h2>&nbsp;</h2>
<h2><strong>Friend class in C++</strong></h2>
<p>A friend of class can be function or class ,having full access rights to use private members</p>
<h3><strong>Syntax of Friend Class </strong></h3>
<p>friend class-name; <strong>Example of Friend Class in C++</strong> # include&lt;iostream.h&gt; class student { int rno; char name[10]; friend Marks; }; class Marks { int sub1,sub2; student stud; public: void read_marks() { cout&lt;&lt;&rdquo;\n Input rno&rdquo;; cin&gt;&gt;stud.rno; cout&lt;&lt;&rdquo;\n Input Name; cin&gt;&gt;stud.name; cout &lt;&lt;&rdquo;\n Input two subjects&rdquo;; cin&gt;&gt; stud.name; cout&lt;&lt;&rdquo;\n Input two subjects&rdquo;; cin&gt;&gt; stud.name; cout&lt;&lt;&rdquo;\n Input two subjects&rdquo;; cin&gt;&gt;sub1&gt;&gt;sub2; } void find-result() { cout&lt;&lt;&rdquo;\n Roll no&rdquo;&lt;&lt;stud.rno; cout&lt;&lt;&rdquo;\n Name&rdquo;&lt;&lt;stud.name; if(sub1&lt;40|| sub2&lt;40) cout&lt;&lt;&rdquo;\n Result Fail&rdquo;; else cout&lt;&lt;&rdquo;\n Result Pass&rdquo;; }}; void Main() { Marks stud1; stud1.read_Marks(); stud1.find_result(); } &nbsp; <strong>Example</strong> # include &lt;iostream,h&gt; class address { char hno[10]; char street[10]; public: void read_address() { cout&lt;&lt;&rdquo;\n Input hno&rdquo;; cin&gt;&gt;hno; cout&lt;&lt;&rdquo;\n Input street&rdquo;; cin&gt;&gt;street; } friend person; }; class person { char name[10]; public: void read_name() { cout&lt;&lt;&rdquo;\n Input Name&rdquo;; cin&gt;&gt;name; } void print_details(address a) { cout&lt;&lt;&rdquo;\n Name&rdquo;&lt;&lt;name; cout&lt;&lt;&rdquo;\n Hno&rdquo;&lt;&lt;a.hno; cout&lt;&lt;&rdquo;\n Street&rdquo;&lt;&lt;a.street; }}; void main() { Person p1; address p1add; p1.read_name(); p1add.read_address(); p1.print_details(p1add); } &nbsp; &nbsp;</p>13b:T1852,<p><strong>Member functions</strong> A member function perform 2 types of operation -Modification or modifier -Accessor<strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>What is a&nbsp;Modifier in C++&nbsp;?</strong></h3>
<p>A modifier is a function which modify the statement of the object A member function which modify values of the object is called modifier function mutator function &nbsp;</p>
<h3><strong>What is Accessor in C++&nbsp;?</strong></h3>
<p>An accessor is member function which does not modify values of the object. &nbsp; <strong>Example:</strong></p>
<h3><strong>WAP to find area of rectangle:</strong></h3>
<p>#include &lt;iostream.h&gt; class triangle { float l,b; public: void read() { cout&lt;&lt;&rdquo;\n Input l,b values&rdquo;; cin &gt;&gt;l &gt;&gt;b; } void find-area() { float a=l*b: cout&lt;&lt;&rdquo;\n Area is &ldquo;&lt;&lt;a; } }; void Main() { rectangle reactangle1; rectangle1.read(); rectangle1.find-area(); rectangle.rectangle 2; rectangle2. read(); rectangle2.find_area(); } <strong>o/p :</strong> Input l,b values&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Input l,b values 1.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 2.5 3.5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 3.5 area is 42&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Area is 8.75 &nbsp; &nbsp; &nbsp;</p>
<h3><strong>Dynamic objects</strong><strong> -</strong></h3>
<p>Object created inside heap area called dynamic object. An object created during run time called dynamic object This object is created using new operator New operator create object and return address this address, this address hold by pointer variable <strong>Syntax</strong> Declare pointer variable of type class (it holds address of object) class-name * variable_name; int *p; int *q; float *r; double *d; rectangle *r; <strong>Creating object </strong> pointer-variable-name=new class-name &nbsp;</p>
<h3><strong>// wap to find the area of circle</strong></h3>
<p>#includle&lt;iostream.h&gt; #include&lt;conio.h&gt; class circle { float r; public: void main() { cout&lt;&lt;&rdquo;\n input r&rdquo;; ci&gt;&gt;r; } void find_area() { float a=3.147 * r *r; cout&lt;&lt;&rdquo;\n area is&rdquo;&lt;&lt;a; } } void main() { circle circle1; circle1=new circle; (*circle1).read(); (*circle1).find_area(); delete&nbsp; circle1; circle1=NULL; } <strong>o/p&nbsp; :</strong> input r r=1.5 Area is &nbsp; <strong>Example</strong></p>
<h3><strong>WAP to find result of student</strong></h3>
<p>#include&lt;iostream.h&gt; class student { protected : (not access non members) int no; public : void read_student() { cout&lt;&lt;&rdquo;\n input r no&rdquo;; cin&gt;&gt;rno; cout&lt;&lt;&rdquo;\n input two subject marks&rdquo;; &nbsp; void find_result() { cout&lt;&lt;&rdquo;\n rollno&rdquo;&lt;&lt;rno; if(sub&lt;40 || sub&lt;40) cout&lt;&lt;&rdquo;\n result fail&rdquo;; else cout&lt;&lt;&rdquo;\n result pass&rdquo;; } }; void main() { student *stud1; stud1=new student; (*stud1).read_student(); (*stud1).find_result(); delete.stud1; stud1=NULL; } <strong>Note</strong><strong> :</strong> The class which doesn&rsquo;t have any data member whose size 1 byte class is not empty data type &nbsp; &nbsp;</p>
<h3><strong>Defining Member Function </strong></h3>
<p>C++ allows to define member function inside class and outside class</p>
<ul>
<li>inside class</li>
<li>outside class</li>
</ul>
<h3><strong>Inside class</strong></h3>
<ul>
<li>IF member function definition is given within class if becomes inline.</li>
<li>Inline functions are expanded during compile time.</li>
<li><strong>Q-</strong>15 is pos to declare a function as inline without using keyword inline ?</li>
</ul>
<p><strong>Ans :</strong> Yes, writing function inside class <strong>eg: </strong> class Alpha { public : void fun1()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void man() {&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ } ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; compile -&gt; Alpha alpha alpha; } &nbsp; &nbsp; void main() { alpha apha1; alpha1.func1(); } &nbsp;</p>
<h3><strong>Outside class&nbsp;&nbsp;</strong></h3>
<p>Member function definition is given outside the class in order to avoid inline. <strong>Syntax</strong><strong>:</strong> &lt;returntype&gt; &lt;class_name&gt;::&lt;function-name&gt;(parameters) { statements; } &nbsp;</p>
<h3><strong>eg: </strong></h3>
<p># include&lt;iostream.h&gt; class&nbsp; time { int hh,mm,ss; public : void read_time(); void print_time();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Declaration }; void time:: read_time() { cin&gt;&gt;hh&gt;&gt;mm&gt;&gt;ss; } void time :: print_time() { cout&lt;&lt;endl&lt;&lt;hh&lt;&lt;&rdquo;lt&rdquo;&lt;&lt;MM&lt;&lt;&rdquo;lt&rdquo;&lt;&lt;ss; } void main() { time time_in; time time_out; time_in.read_time(); time_out.read_time(); time_in.print_time(); time_out.print_time(); } &nbsp;</p>13c:T1fdc,<h2><strong>Function Overloading</strong></h2>
<p>Defining more than one function with same name by changing --&gt;number of parameters --&gt;types of parameters --?order of parameters is called function overloading in C++ Function is overloaded when more than one function perform similar operation with different implementation A group of functions which perform similar operation refer with one name. overloaded function having polymorphism behaviour This is called name polymorphism There should not be any two functions with same &nbsp;</p>
<p><strong>What is name Mangling</strong></p>
<p>It is a process of giving unique name to over loaded function by compiler Compiler gives unique name each every overloaded function of linker Linker recognize the function with name</p>
<p><strong>Example</strong></p>
<h4>&nbsp;prog1.cpp</h4>
<p>void fun1 (int x, int y) { cout&lt;&lt;x&lt;&lt;y; }</p>
<p>void fun1(float x,float y) { cout&lt;&lt;x&lt;&lt;y; }</p>
<p>void main() { func1(10,20); func1(1.5,2/5); } &nbsp;</p>
<h4>prog1.obj</h4>
<p>void fun1_int(int x, in) { cout&lt;&lt;x&lt;&lt;y; }</p>
<p>void fun1_float(float x,float) { cout&lt;&lt;x&lt;&lt;y;</p>
<p>void main() { fun1_int(10,25); func1_float(1.5); } &nbsp;</p>
<p><strong>Example</strong> # include&lt;iostream.h&gt; void sor(int a[],int size) { for(int i=0;i&lt;size;i++) for(int j=0;j&lt;size-i;j++) { if a[j]&gt;a[j+1] { int t=a[j]; a[j]=a[j+1]; &nbsp; Linker &nbsp;</p>
<h3>Prog1.exe</h3>
<p>void main() { fun1_int(10,20) fun1_float(1.5); }</p>
<p>void fun1_int(int x,int y) { } void fun1_float (floatx.float) }</p>
<p>void sort(float a[], int size) { for (int i=0; i&lt;size; i++) for (int j=0; j&lt;size-i;j++) { if(a[j]&gt;a[j+1]) { float t=a[j]; a[j]=a[j+1]; a[j+1]=l; } } }</p>
<p>void main() { int a[]={5,2,4}; float b[]={1.5,2.5,1.2}; sort(a,3); sort(b,3); int i; for(i=0;i&lt;3;i++) cout&lt;&lt;endl&lt;&lt;a[i]&lt;&lt;&rdquo;lt&rdquo;&lt;&lt;b[i]; } }</p>
<p>void sort(float a[], int size) { for (int i=0; i&lt;size; i++) for (int j=0; j&lt;size-i;j++) { if(a[j]&gt;a[j+1]) { float t=a[j]; a[j]=a[j+1]; a[j+1]=l; } } }</p>
<p>void main() { int a[]={5,2,4}; float b[]={1.5,2.5,1.2}; sort(a,3); sort(b,3); int i; for(i=0;i&lt;3;i++) cout&lt;&lt;endl&lt;&lt;a[i]&lt;&lt;&rdquo;lt&rdquo;&lt;&lt;b[i]; } &nbsp;</p>
<h3><strong>Example of&nbsp;</strong>&nbsp;<strong>Function Overloading</strong> in C++</h3>
<p># include &lt;iostream.h&gt;</p>
<p>float find-area(float.h) { return 3.147*r*r; }</p>
<p>float find-are(float b, float h) { return 0.5*b*h; } void main() { cout &lt;&lt;&rdquo;n1.Area of circle&rdquo;; cout&lt;&lt;&rdquo;n2. Area of Triangle&rdquo;; cout&lt;&lt;&rdquo;\n input your option&rdquo;; int opt; cin&gt;&gt; opt; switch(opt) { case 1 : float r; cout&lt;&lt;&rdquo;\n input r&rdquo;; cin &gt;&gt; r; cout&lt;&lt; &ldquo;\n Area of circle is &rdquo;&lt;&lt; find-area&reg;; break; case 2: float b,h; cout&lt;&lt;&rdquo;\n input b,h&rdquo;; cin&gt;&gt;b&gt;&gt;h; cout&lt;&lt;&rdquo;\n Area of triangle is &rdquo;&lt;&lt; find &ndash;area(b) brak; default: cout&lt;&lt;&nbsp; &ldquo;\n invalid option&rdquo;; } } &nbsp;</p>
<h3><strong>// find output ?</strong></h3>
<p>&nbsp; # include &lt;iostream.h&gt;</p>
<p>void func1(int x) { cout&lt;&lt;&rdquo;\n inside one parameter function&rdquo;; }</p>
<p>void func1(int x, int&nbsp;&nbsp; y=0) { cout&lt;&lt; &ldquo;\n inside two parameter function&rdquo;; }</p>
<p>void main() { fun1(10,20); func1(30); } &nbsp;</p>
<h3><strong>Explanation </strong></h3>
<p>The above program displaying compile time error. Because there are two functions which match with function call sending one argument eg -1 : # include &lt;iostream.h&gt;&nbsp;&nbsp;&nbsp; fun c overloading void print(int x) { count &lt;&lt;&rdquo;\n inside inter print function&rdquo;; }</p>
<p>void print(float x) { cout&lt;&lt; &ldquo; \n in each &ldquo; } &nbsp;</p>
<p>void print(double x) { cout&lt;&lt;&rdquo;\n inside double print funciton&rdquo;; }</p>
<p>void main() { cout&lt;&lt;&rdquo;\n inside double print function&rdquo;; } &nbsp;</p>
<p>void main() { clrscr(); print(10); print(1.5);&nbsp;&nbsp;&nbsp; //(double value) print(2.5f); &nbsp; // (floating value) } &nbsp;</p>
<h3><strong>pass by address in C++</strong></h3>
<p>Calling on invoking function by sending address on pointer is called pass by address. In pass by address function parameters are declared of type pointer.</p>
<h4><strong>Advantages of pass by address in C++</strong></h4>
<p>Sharing data between the functions. Increase efficiency of program <strong>Note</strong><strong> :</strong></p>
<ul>
<li>Invoking function by sending array is implicitly sending address.</li>
</ul>
<p>eg : # include &lt;iostream.h&gt; void swap(int *p,int *q) { int l=*p; *p=*q; *q=t; } &nbsp;</p>
<p><img class="alignnone size-full wp-image-6805" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_10.png" alt="Screenshot_10" width="107" height="329" /></p>
<p>void main() { int x,y; cout&lt;&lt;&rdquo;\n input x,y values&rdquo;; cin&gt;&gt;x&gt;&gt;y; swap(&amp;x,&amp;y); count&lt;&lt;&rdquo;\n after swapping \n&rdquo;; count&lt;&lt;&rdquo;\n &lt;&lt;x&nbsp;&nbsp; &lt;&lt;&rdquo; \t &ldquo;&rdquo; &lt;&lt;y; } <strong>o/p :</strong> input x,y values 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20 After swapping 20 10 &nbsp;</p>
<h3><strong>// write a function to copy contents of one string to another string without using strcpy()</strong></h3>
<p># include &lt;iostream.h&gt; # include&lt;conio.h&gt; void string_copy(char *dest, char&nbsp; *src) { for(int i=0; src[i]!=&rsquo;10&rsquo;;i++) dest[i]=scr[i]; dest[i]=&rsquo;10&rsquo;; } void main() { char str1[10],str2[20]; clrscr(); cout&lt;&lt;&rdquo;\n input any string&rdquo;; cin&gt;&gt; str1; string_copy (str2,str1); string_copy(str2,str1); cout&lt;&lt;str1&lt;&lt;endl; cout&lt;&lt;str2&lt;&lt;endl; } <strong>o/p :</strong> input any string nit after copying nit nit &nbsp; &nbsp;</p>
<h3><strong>Explanation:</strong></h3>
<p><img class="alignnone size-full wp-image-6807" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_111.png" alt="Screenshot_11" width="265" height="490" /> &nbsp; &nbsp;</p>
<p>String &ndash; copy(char*des, char *sre) { For(int i=0; src[i]l=&rsquo;10&rsquo;,i++); Dst[i]=src[i]; Dest[i]=&rsquo;10&rsquo; }</p>
<p><img class="alignnone size-full wp-image-6808" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_121.png" alt="Screenshot_12" width="283" height="342" /></p>
<h3><strong>Pass by reference/ Alias in C++</strong></h3>
<p>Calling or invoking function by sending value type In pass by reference function parameters are declared reference type. This allows to share data between functions.</p>
<p><strong>Example</strong> # include&lt;iostream.h&gt; void swap(int &amp;x, intt &amp;y) { x=x+y; y=x-y; x=x-y; } void main() { int a,b; cout&lt;&lt;&rdquo;\n input a,b values&rdquo;; cin&gt;&gt;a&gt;&gt;b; swap(a,b); cout&lt;&lt;&rdquo;\n after swapping \n&rdquo;; cout&lt;&lt;a&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;b; }</p>
<p><img class="alignnone size-full wp-image-6809" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_13.png" alt="Screenshot_13" width="230" height="344" /></p>
<p><strong>o/p :</strong> 0 &nbsp;&nbsp;&nbsp;&nbsp;10</p>
<p><strong>eg : </strong> # include&lt;iostream.h&gt; void func1(int x) { cout&lt;&lt;&rdquo;\n inside pass by value&rdquo;; } void func1 (int y) { cout&lt;&lt;&rdquo; \n inside pass by alias&rdquo; ; } void main() { int a =10; fun1(a); } &nbsp; &nbsp; &nbsp;</p>
<h3><strong>Explanation</strong></h3>
<p>The above program display compile time error because the syntax of calling function by sending value and alias is same. The function with value type parameters can&rsquo;t be overloaded function with pointer type parameter</p>
<p><strong>Example</strong></p>
<p># include&lt;iostream.h&gt;</p>
<p>void func1(int x)</p>
<p>{ cout&lt;&lt;&rdquo;\n inside value type parameter&rdquo; }</p>
<p>void func1(int *y)</p>
<p>{ int a=10; func1(&amp;a) ; fun1(a); }</p>13d:T24c3,<h2><strong>Functions in C++</strong></h2>
<p><strong>&nbsp;What is a&nbsp;function in C++?</strong></p>
<p style="padding-left: 30px;">Function is a self-contained block which contain set of instructions.</p>
<p style="padding-left: 30px;">It is a small program with in program</p>
<p style="padding-left: 30px;">It performs operations.</p>
<p>&nbsp; <strong>Advantages of Functions in C++</strong></p>
<p style="padding-left: 30px;">Reusability: Write code once and use may time.</p>
<p style="padding-left: 30px;">Modularity: Dividing programming instructions according their operations into small programs modules.</p>
<p style="padding-left: 30px;">Simple: Easy to understand or road.</p>
<p style="padding-left: 30px;">Efficiency :Functions increase efficiency of the program by avoiding redundancy code.</p>
<p>&nbsp;</p>
<h3><strong>Functions&nbsp;can be&nbsp; divided into 2 parts in C++</strong></h3>
<p style="padding-left: 30px;">Function Declaration</p>
<p style="padding-left: 30px;">Function Definition.</p>
<p>&nbsp;</p>
<h3><strong>Function can be defined in 4 ways </strong></h3>
<p style="padding-left: 30px;">Function with parameters with return type.</p>
<p style="padding-left: 30px;">Function with parameters without return type.</p>
<p style="padding-left: 30px;">Function without parameterswithout return type.</p>
<p style="padding-left: 30px;">Function without parameter with return type.<strong>&nbsp;</strong></p>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>C++ Functions with out parameters&nbsp; and without return type</strong></h3>
<p>This function return type is void and parameters are void. &nbsp; void fun1(void) //return type as void { } void func1() { } func1() // default return type of any function is integer. { } #include &lt;iostream.h&gt; void draw-line() { cout&lt;&lt;end ; for (int i=1;i&lt;=40;i++) cout&lt;&lt;&rdquo;*&rdquo;; } void Main() { draw-line(); cout&lt;&lt;&rdquo;\n object oriented language&rdquo;; draw-line(); }</p>
<p style="padding-left: 30px;">When function is called execution control switched from calling function block to called function block.</p>
<p style="padding-left: 30px;">After executing called function, execution control transfer to calling function block.</p>
<p style="padding-left: 30px;">Memory for function is allocated on calling and deal located after executing.</p>
<p>&nbsp;</p>
<h3><strong>Function with parameters without return type</strong></h3>
<p><strong>What is&nbsp; a parameter in C++?</strong></p>
<p style="padding-left: 30px;">Parameters are local variables, which receive value from calling function.</p>
<p style="padding-left: 30px;">The parameters which hold by function or called format parameters.</p>
<p>arguments&agrave; sender, parameters &agrave;receiver. printf(&ldquo;%d&rdquo;,a) =&gt; having 2 arguments printf()&nbsp; &agrave; It is not valid because one argument must receive data &agrave; format argument, sender &agrave; actual argument.</p>
<p style="padding-left: 30px;">If function required input from calling function to perform operation it require parameters.</p>
<p style="padding-left: 30px;">C++ Supports 3 types of calling function</p>
<p style="padding-left: 30px;">Pass by value.</p>
<p style="padding-left: 30px;">pass by address</p>
<p style="padding-left: 30px;">pass by alias /reference.</p>
<p><strong>Example</strong> #include&lt;iostream.h&gt; void draw-line(int length) { cout&lt;&lt;endl; for (int i=1;i&lt;=length;i++) cout&lt;&lt;&rdquo;*&rdquo;; } void Main() { draw &ndash;line(20); cout&lt;&lt;&rdquo;\n C++&rdquo;; draw-line(40); cout&lt;&lt;&rdquo;\n object oriented&rdquo;; draw- line (20); } <strong>O/p:</strong> *********&hellip;..20times C++ *******----40 times Object oriented *******----20 times &nbsp;</p>
<h3><strong>Pass by Value in C++</strong></h3>
<p>If function is called by sending value type variables or constant. In pass by value function parameter are declares of type value. <strong>Example of Pass by Value</strong> (pass by value) #include &lt;iostream.h&gt; void draw-line(int length,charch) { cout&lt;&lt;endl; for(int i=1;i&lt;=length;i++) cout&lt;&lt;ch; } void main() { draw-line (20,&rsquo;*&rsquo;); cout&lt;&lt;&ldquo;\n object oriented &ldquo;; draw-line(20,&rsquo;$&rsquo;); } O/p: ************* -- - - - 20 times ############# ------- 30 times object oriented $$$$$$$$-------- 20 times &nbsp;</p>
<h3><strong>C++ Inline Functions</strong></h3>
<p style="padding-left: 30px;">Every time function is called it takes a lot of extra time to executing a series of instructions like jump to the function ,pushing arguments to the stack and returning to the calling function.</p>
<p style="padding-left: 30px;">When a function is small a substantial percentage of</p>
<p style="padding-left: 30px;">To eliminate the cost of calls to small functions the solution is inline function</p>
<p><strong>Inline Function</strong></p>
<p style="padding-left: 30px;">An inline function is declared with the key word inline</p>
<p style="padding-left: 30px;">An inline function is a function that expanded inline when it is invoked</p>
<p style="padding-left: 30px;">The compiler replaces the function call with corresponding function code</p>
<p><strong>Syntax of Inline Functions</strong> inline function &ndash; header { function body } &nbsp; <strong>Macros in &lsquo;c&rsquo; language </strong>( converts complex express it gives logical error) # define sum(a,b)a+b void main() { int r=sum(5,2)*sum*2,5); printf(&ldquo;\n %d&rdquo;,r); } <strong>o/p :</strong> <img class="alignnone size-full wp-image-6802" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_91.png" alt="Screenshot_9" width="425" height="338" /> &nbsp; &nbsp; <strong>Disadvantages of macros in C++</strong></p>
<p style="padding-left: 30px;">Macros are not functions</p>
<p style="padding-left: 30px;">If macros are used in complex expression it leads to logic errors.</p>
<p style="padding-left: 30px;">There is no type checking is done during complication</p>
<p>inline return type function-name (parameters) { statements;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * inline function is a function is }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expand during compile time <strong>&nbsp;</strong> <strong>Prog :</strong> # include&lt;iostream.h&gt; { inline void func1() { cout&lt;&lt;endl&lt;&lt;&rdquo;This is inline funciton&rdquo;; cout&lt;&lt;endl&lt;&lt;&rdquo;This is expanded&rdquo;; during compile time &ldquo;; cout&lt;&lt;endl&lt;&lt;&rdquo;This avoid control switching between fuctions&rdquo;; } void main() { fun1(); func2(); } &nbsp; <strong>Rules for inline expansion</strong><strong> (situation where inline expansion doesn&rsquo;t work)</strong></p>
<p style="padding-left: 30px;">If inline function contains loops (for loop, while loop, d-while) it does not expand as inline</p>
<p style="padding-left: 30px;">If inline function having return type and return value.</p>
<p>inline void print() { for(int i=1;i&lt;=10;i++) cout&lt;&lt;endl&lt;&lt;i; } void main() { <strong>Expl :</strong> In the above program point a function is not expand as inline becoz inline function contain loop(for) 3) if inline function are recursive, not expanded as online</p>
<ul>
<li>The above rules various from one compiler to another</li>
</ul>
<p><strong>eg : </strong> # include&lt;iostream.h&gt; inline int pow(int num, int p) { int res=1; for(int i=1; i&lt;=1;i++) res= res * num; return res; } void main() { int r1=pow(5,2); cout&lt;&lt;endl&lt;&lt;r1; }</p>
<h3><strong>Function with default arguments</strong><strong> - - &gt; (optional parameters)</strong></h3>
<p style="padding-left: 30px;">C++ allows to write function with parameters by assigning values</p>
<p style="padding-left: 30px;">Parameter having values doesn&rsquo;t required to specify values in function call.</p>
<p style="padding-left: 30px;">Default arguments are given from right to left</p>
<p><strong>syntax :</strong> return type function &ndash; name (param, param,param=value,param=value,----) { statements; } <strong>eg :</strong> void funct1(int x, int y, intz=10) { cout&lt;&lt;endl&lt;&lt;x; cout&lt;&lt;endl&lt;&lt;y; cout&lt;&lt;endl&lt;&lt;Z; } void main() { fun1(30,40,50); func1(90,80) } void fun1(int x=10, int y) { int z=20 }</p>
<h3><strong>prog :</strong></h3>
<p>void drawline1() { for(int i=1;i&lt;=40;i++) cout&lt;&lt;&rdquo;*&rdquo;; } void draw line 2(char ch) { for(int i=1;i&lt;=40;i++) cout&lt;&lt;ch; } void drawline (char ch=&rsquo;x&rsquo;) { void (int i=1;i&lt;=y;i--) cout&lt;&lt;ch; } void main() { drawline(&lsquo;2&rsquo;); drawline(); } &nbsp;</p>
<h3><strong>Program</strong></h3>
<p># include&lt;iostream.h&gt; void sample-inrest(float amt, int time, float rate=1.5) { float si=(amt * time *rate)/100; cout&lt;&lt;&rdquo;\n simple interest is&rdquo;&lt;&lt;si; } void main() { simple-intrest(5000,12); simple_intrest(7000,24,2.5); }</p>13e:T6f5,<h3><strong>Objects</strong></h3>
<ul>
<li>&lsquo;C&rsquo; is a collection of functions but &lsquo;C++&rsquo; is a collection of class and object</li>
<li>Object is an instance of class</li>
<li>Allocating memory for members of class, is called as instance</li>
</ul>
<p>&nbsp; <strong>eg :</strong> int x float y&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; instance employee emp &nbsp;</p>
<h3><strong>What do you mean by SBI of an object&nbsp; ?</strong></h3>
<p>SBI &nbsp;- &nbsp;- &gt; state behavior identity</p>
<ul>
<li>SBI stand for state, Behavior and identity since every object has the above the rule</li>
</ul>
<p><strong>State</strong><strong> :</strong>&nbsp; It is a just a value to the attribute of an object at a particular time. <strong>Behavior</strong><strong> :&nbsp;</strong>&nbsp; &nbsp; It describes the action and their reactions of that object <strong>Identity :</strong>&nbsp; &nbsp;An object has an identity that characterizes its own existence &nbsp; <img class="alignnone wp-image-6768" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_12-460x217.png" alt="Screenshot_1" width="496" height="233" /> &nbsp; &nbsp;</p>
<table style="width: 587px; height: 149px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Class</strong></td>
<td><strong>Object</strong></td>
</tr>
<tr>
<td>Data type/ user defined</td>
<td>Instance of class</td>
</tr>
<tr>
<td>It is a logical entity</td>
<td>Object is a physical entity</td>
</tr>
<tr>
<td>Class does not have state</td>
<td>it having state.</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp;</p>13f:Ta75,<h2><strong>Object Oriented Programming</strong></h2>
<p>A programming language which supports</p>
<p style="padding-left: 30px;">Encapsulation</p>
<p style="padding-left: 30px;">Polymorphism</p>
<p style="padding-left: 30px;">Inheritance</p>
<p style="padding-left: 30px;">class</p>
<p style="padding-left: 30px;">object</p>
<p style="padding-left: 30px;">Abstraction</p>
<p>Name some pure object oriented languages</p>
<p style="padding-left: 30px;">small talk</p>
<p style="padding-left: 30px;">Java</p>
<p style="padding-left: 30px;">Eiffel</p>
<p style="padding-left: 30px;">Sather</p>
<p style="padding-left: 30px;">C++ is a partial object oriented programming language not pure.</p>
<p style="padding-left: 30px;">why it is not pure object oriented language. because C++, can write a program in c++ without using opps.</p>
<p>&nbsp;</p>
<h3><strong>Encapsulation</strong></h3>
<p style="padding-left: 30px;">It is a process of binding data with instructions which operates data into single entity.</p>
<p style="padding-left: 30px;">It is a process of grouping data and instructions</p>
<h3><strong>Advantages </strong></h3>
<p style="padding-left: 30px;">Data hiding</p>
<p style="padding-left: 30px;">Binding</p>
<p>&nbsp;</p>
<h3><strong>Object based programming languages</strong></h3>
<p>The programming language which allows to use existing objects but does not allow to build classes is called object based programming language. eg : vbscript, Java script &nbsp;</p>
<h3><strong>Class based programming languages</strong></h3>
<p>A programming language allows to build classes object but does not support inheritance and polymorphism is called class based programming languages. eg : Visual basic 4.0 &nbsp;</p>
<h3><strong>Programming elements are 2 types</strong></h3>
<p style="padding-left: 30px;">Data</p>
<p style="padding-left: 30px;">Instructions</p>
<p>&nbsp;</p>
<h3><strong>Advantage of&nbsp;OOP'S </strong></h3>
<p>object oriented programming</p>
<p style="padding-left: 30px;">modularity</p>
<p style="padding-left: 30px;">Reusability</p>
<p style="padding-left: 30px;">Readability</p>
<p style="padding-left: 30px;">Extensibility</p>
<p style="padding-left: 30px;">Security</p>
<p style="padding-left: 30px;">efficiency</p>
<p style="padding-left: 30px;">Binding data with instructions or related operations is called encapsulation</p>
<p>&nbsp;</p>
<h3><strong>What is data hiding ?</strong></h3>
<p>Preventing data access from unrelated operation <strong>Adv :</strong> Which allows to develop secured applications &nbsp;</p>
<h3><strong>&nbsp;What is Binding ?</strong></h3>
<p style="padding-left: 30px;">Linking data with related operations</p>140:Tc9e,<h2><strong>Exception Handling</strong></h2>
<p style="padding-left: 30px;">Exceptions are unusual conditions in a program.</p>
<p style="padding-left: 30px;">They may cause the programs to fail or may lead to errors. They must be deal with.</p>
<p style="padding-left: 30px;">There are 2 types of exceptions in C++</p>
<p style="padding-left: 60px;">synchronous and asynchronous</p>
<p style="padding-left: 60px;">&ldquo;out-of- range index&rdquo; and &ldquo;over &ndash;flow&rdquo; are synchronous type.</p>
<p style="padding-left: 30px;">Errors caused by the events beyond the central of the program like keyboard interrupts are called asynchronous interrupts.</p>
<p style="padding-left: 30px;">Exception is a logical error</p>
<p style="padding-left: 30px;">Exception is an error which occur during runtime (Because Invalid input)</p>
<p>&nbsp;</p>
<h3><strong>Exceptions Example in C++</strong></h3>
<p># include &lt;iostream.h&gt; int main() { int n1,n2; cout&lt;&lt;&rdquo;Input any 2nos&rdquo;; cin &gt;&gt;n1&gt;&gt;n2; n3=n1/n2; cout&lt;&lt;n3; } try catch &amp;throw (not recognized turbo c++3.0) &nbsp;</p>
<h3><strong>Purpose of&nbsp; C++ Exception&nbsp; Handling</strong></h3>
<p style="padding-left: 30px;">The purpose of exceptional handling in C++&nbsp; is to defect and report an &ldquo;exceptional circumstance.</p>
<p style="padding-left: 30px;">Then appropriate action can be taken.</p>
<p style="padding-left: 30px;">The error handling code basically consists of two segments.</p>
<p style="padding-left: 30px;">One to detect errors and to throw exceptions.</p>
<p style="padding-left: 30px;">The other to catch the exceptions and to take appropriate action.</p>
<p>&nbsp;</p>
<h3><strong>Structure of Try block in C++</strong></h3>
<p style="padding-left: 30px;">This block contain code which has to be monitored for exception handling.</p>
<p style="padding-left: 30px;">This block contain condition or business block</p>
<p>try { statements; throw exception-type; }</p>
<h3><strong>Structure of Catch block in C++</strong></h3>
<p style="padding-left: 30px;">This block contain error logic.</p>
<p style="padding-left: 30px;">Exception thrown by try block handled by using catch block.</p>
<p>catch (exception-type var) { statements; } &nbsp;</p>
<h4><strong>Example of C++ Exception Handling </strong></h4>
<p># include &lt;iostream.h&gt; void main() { int n1,n2,n3; clrscr(); cout&lt;&lt;&rdquo;\n Input any two numbers&rdquo;; cin &gt;&gt; n1&gt;&gt;n2; try { if (n2==0) throw 0; (is type of int) else n3=n1/n2; } catch (int x) { cout&lt;&lt;&rdquo;\n cannot divide number with zero&rdquo;; } } &nbsp; <strong>Example of Exception Handling in C++</strong> # include &lt;iostream.h&gt; # include&lt;conio.h&gt; # include&lt;string.h&gt; class login-exception { }; void Main() { char uname[10],password [10]; login &ndash;exception invalid &ndash;login; cout&lt;&lt;&rdquo;\n Input usernamr&rdquo;; cin&gt;&gt;uname; cin &gt;&gt;password; try { if (strcmp (uname,&rdquo;nit&rdquo;)==0&amp;&amp; strcmp (password ,&rdquo;nit&rdquo;); cout &lt;&lt;&rdquo;\n Welcome to my app&rdquo;; else throw invalid _login; } catch(login_exception e) { cout&lt;&lt;&rdquo;\n Invalid username or password&rdquo;; }}</p>141:T12ed,<h2><strong>I/O streams</strong></h2>
<p style="padding-left: 30px;">C++ uses the concept of stream and stream classes to implement I/O operations with console and disk files</p>
<p style="padding-left: 30px;">The input functions are defined in istream class</p>
<p style="padding-left: 30px;">The output functions are defined in ostream class.</p>
<p style="padding-left: 30px;">The IOstream class inherits the properties of istream and ostream classes.</p>
<p style="padding-left: 30px;">Stream is a class which provides set of functions to perform input and output operations</p>
<p style="padding-left: 30px;">Stream represents input source and output destination</p>
<p>&nbsp; &nbsp; <img class="alignnone wp-image-6904" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_34-460x189.png" alt="Screenshot_34" width="583" height="239" /> &nbsp;</p>
<h3><strong>Output Stream in C++</strong></h3>
<p>Output stream class provides output functions &nbsp;</p>
<h3><strong>Put()</strong></h3>
<p>Member function of ostream class, cout.put(ch);// displays the value of variable ch.</p>
<ul>
<li>It can also be used to output a line of text, character by character.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Write() </strong></h3>
<p>Member function of ostream class, write() function displays the entire line cout. write(linesize); Line represents the name of the string to be displayed, size indicates the no.of characters to display. It doesn&rsquo;t stop displaying the characters when null character is encountered. <strong>Example of Output Stream in C++</strong> # include&lt;iostream.h&gt; void main() { cout.put(&lsquo;A&rsquo;);&nbsp; // we can use only one character cout&lt;&lt;&rsquo;A&rsquo;; cout&lt;&lt;10; cout&lt;&lt;1.5; cout.write(&ldquo;Hello C++&rdquo;,q); cout.write(&ldquo;Hello c++&rdquo;,b); cout&lt;&lt;&rdquo;Hello C++&rdquo;; } &nbsp; &nbsp;</p>
<h3><strong>Format functions</strong></h3>
<p>Width() to specify the required field size for displaying an output. cout.width(w); The output will be printed in the field of w characters wide at the right end of the field.</p>
<h3><strong>Example of Format Functions</strong></h3>
<p>int a=10;(2 width) printf(&ldquo;%4d&rdquo;,a); //(2 for space)</p>
<h4><strong>precision():</strong></h4>
<p>By default, the floating numbers are printed with six digits after the point, We can specify the number of digits to be displayed after the decimal point. cout.precision(d); sets d number of digits to the right of decimal pair. <strong>&nbsp;</strong><strong>&nbsp;</strong></p>
<h3><strong>Example</strong></h3>
<p># include&lt;iostream.h&gt; void main() { int a=10; cout.width(5); cout&lt;&lt;a&lt;&lt;endl; float b=1.234; cout.precission(2); cout&lt;&lt;b&lt;&lt;endl; } <strong>o/p :</strong> - - - 10 1.23 <strong>Note :</strong> Numbers are right aligned.</p>
<h4><strong>FILL ()</strong></h4>
<p>The unused position of the field are filled with white spaces, by default we can fill them by the designs character by using fill() function cout.fill(ch); ch is used to fill the unused positions { int a=10; cout.width(5); cout.fill(&lsquo;*&rsquo;); cout&lt;&lt;a&lt;&lt;endl; }</p>
<h4><strong>Setf()</strong> :</h4>
<p>cout .setf(ios::show point) displays tralling zeros cout.setf (ios:: show pos) displays plus sign before a positive number <strong>&nbsp;</strong></p>
<h3><strong>Example</strong></h3>
<p># include &lt;iostream.h&gt; # include&lt;conio.h&gt; void main(){ flaot a=10; cout.setf(ios::showpoint); cout&lt;&lt;a&lt;&lt;endl; int b=20; cout.setf(ios:: showpos); cout&lt;&lt;b&lt;&lt;endl; } <strong>O/p:</strong> 10.000000 -20</p>
<h3><strong>Istream class in C++</strong></h3>
<p>This class provide member functions to performs input operations.</p>
<h4><strong>get():</strong></h4>
<p>Member function of istream class. Fetches a single character including a blank space,tab and new line characters, get() can be used in 2 ways; cin .get(ch);//get a character from keyboard and assigns it to ch. ch=cin.get(); also can be used</p>
<h4><strong>getline():</strong></h4>
<p>Member function of istream class. We can read the text &hellip;. oriented getline() cin.getline(line,size); Read character input into the variable line The reading is terminated as soon as either &lsquo;\n&rsquo; is encountered of size characters are read. <strong>&nbsp;</strong></p>
<h3><strong>Example</strong></h3>
<p># include &lt;iostream.h&gt; # include &lt;conio.h&gt; void main() { char anem[10]; clrscr(); cout&lt;&lt;&rdquo;\n Input name&rsquo;: cin .get line(name,10); cout&lt;&lt;name; }</p>
<h3><strong>Example</strong></h3>
<p># include &lt;iostream.h&gt; #include &lt;conio.h&gt; void main() { char ch; clrscr(); cout&lt;&lt;&rdquo;\n Input any character including space&rdquo;; ch=cin.get(); cout&lt;&lt;endl&lt;&lt;ch; } &nbsp;</p>142:T1456,<h2><strong>Templates/Generics</strong></h2>
<p>- - &gt;&nbsp;Template is a key word. - - &gt;&nbsp;It constructs a family of related functions on class - - &gt;&nbsp;Template in C++&nbsp;also called as generics - - &gt;&nbsp;parameterized templates&nbsp;&nbsp; enable you to construct a family of related functions on classes. - - &gt;&nbsp;Use templates when you need to write&nbsp; lots of nearly identical things. There are 2 types of templates in C++ 1.Function template 2.Class template &nbsp; <strong>Example of a Template in C++</strong> - - &gt;&nbsp;Template in&nbsp;is a parameterized type which receive data type as an argument. - - &gt;&nbsp;One algorithm can be applied various data types Generic function/function template - - &gt;&nbsp;Generic function perform operation on various data types - - &gt;&nbsp;Generic function is function generator ,which generate number of functions based on&nbsp; data type - - &gt;&nbsp;Programmer does not required to overload function, using generic function compiler generate number&nbsp; of functions based data types &nbsp; <strong>Syntax</strong></p>
<h3><strong>Template&lt;class</strong></h3>
<p>type-name/place holder-name&gt; return-type function-name(parameters) { Statements; } Type-name is a place holder name which hold data type Or Type-name is a parameter &ndash;name which hold data type as argument &nbsp; <strong>Example of a Template in C++</strong> #include&lt;isotream.h&gt; Template&lt;class T&gt; T max(T x,T y) { If (x&gt;y) Return x; Else Return y; } Void main( ) { Int M1=max(10,20); Float M2=max(1.5,2.5) Cout&lt;&lt;&rsquo;/n Max of two integers&rdquo;&lt;&lt;M1; Cout&lt;&lt;&rsquo;/n Max of two floats&rdquo;&lt;&lt;M2; } &nbsp; <strong>E.g: </strong> # include&lt;iostream.h&gt; (bubble sort) template &lt;class T&gt; void sort (T,*a,int size) { T temp; for(int i=0;i&lt;size;i++) for (int j=0; j&lt;size-1;j++) { if (a[j]&gt;a[j+i} { temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } } void main() { int a [] ={ 20,10,40,50,30}; float b[]={1.5,1.4,1.3,1.1,1.2}; clrscr(); sort(a,5); sort(b,5); int i; for(i=0;i&lt;5;i++) cout&lt;&lt;&rdquo;\n&rdquo;&lt;&lt;a[i}&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;b[i]; } &nbsp;</p>
<h3><strong>Template having multiple parameters</strong></h3>
<p># include &lt;iostream.h&gt; template &lt;class t1,class t2&gt; void print (T1x ,T2y) { cout&lt;&lt;&rdquo;\n x=&rdquo;&lt;&lt;x; cout&lt;&lt;&rdquo;\n y=&rdquo;&lt;&lt;y; } void main() { print(10,1.5f); printf(1.5f,2.5); printf(65,&rsquo;A&rsquo;); } void print(intx,inty) { } void print(int x, float y) { } void print(int x, char y) { } &nbsp;</p>
<h3><strong>Class Template in C++</strong></h3>
<p>You use a class template(also called a generic class (for class generator) to define a pattern for class definitions Generic container classes are good examples whether you have a list of intergers or any other type the basic operations are the same(insert, delete, index,etc) you can define a class structure value with generate operations once at the system generate class definitions on the fly: <strong>syntax :</strong> template&lt;class type-name,class type-name,&hellip;..&gt; class&nbsp; class-name { data members; member functions; }</p>
<h3><strong>Class template</strong></h3>
<p>Genaral form of defining an object of generic class class-name&lt;type&gt;obj; type is the name of the data that the class will be operating upon. <strong>&nbsp;</strong></p>
<h3><strong>Example</strong></h3>
<p>#include&lt;iostream.h&gt; template&lt;class T&gt; class matrix { T int a[2] [2];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // we stop 2 types means int &amp; float only T type Templates public: void read_matrix() { for(int i=0;i&lt;2;i++) cin&gt;&gt;a[i][j]; } void print_Matrix() { for(int i=0;i&lt;2;i++) { for(int j=0;j&lt;2;j++) cout&lt;&lt;a[i][j]&lt;&lt;&rdquo;\t&rdquo;; cout&lt;&lt;endl; }}}; void main() { Matrx&lt;float&gt;M2; Matrix&lt;int&gt;M1; cout&lt;&lt;&rdquo;\n size is&rdquo;&lt;&lt;sizeof(M1); M1.read_Matrix(); M2.read_Matrix(); M1.print_Matrix(); M2.Print_Matrix(); } <strong>o/p:&nbsp;&nbsp; </strong>Size&nbsp; is 8 size is 16 2 4 &nbsp;</p>
<h3><strong>Example</strong></h3>
<p># include&lt;iostream.h&gt; template&lt;class T&gt; class stack { T a[10]; int top; public : stack() { top=-1; } void push(T e) { if(top)&gt;9) cout&lt;&lt;&rdquo;\n stack is full&rdquo;; else a[++top]=e; } void pop() { if(top&lt;0) cout&lt;&lt;&rdquo;\n stack is empty&rdquo;; ele cout&lt;&lt;endl&lt;&lt;a[top--]; } }; void main() { stack&lt;int&gt;stack1; stack&lt;float&gt;stack 2; stack1.push(10); stack1.push(20); stack1.push(30); stack1.pop(); stack1.pop(); stack2.push(1.5); stack2.push(2.5); stack2.pop(); } &nbsp; <strong>Example</strong> # include&lt;iostream.h&gt; template&lt;class T1,class T2&gt; class alpha { T1 x; T2 Y; public : void need() { cout&lt;&lt;&rdquo;\n input x,y values&rdquo;; cin&gt;&gt;x&gt;&gt;y; } void print() { cout&lt;&lt;&rdquo;\n x=&rdquo;&lt;&lt;x; cout&lt;&lt;&rdquo;\n y=&rdquo;&lt;&lt;y; } }; void main() { alpha&lt;int,float&gt;a1; alpha&lt;float.double&gt;a2; clrscr(); cout&lt;&lt;endl&lt;&lt;sizeof(a1); cout&lt;&lt;endl&lt;&lt;sizeof(a2); } &nbsp;</p>143:T2e1a,<h2><strong>Operator Overloading (Polymorphism)</strong></h2>
<p style="padding-left: 30px;">The mechanism of giving special meanings to an operator is known as operator overloading.</p>
<p style="padding-left: 30px;">This is one of the exciting features of C++</p>
<p style="padding-left: 30px;">This technique has enhanced the power of extensibility of C++.</p>
<p style="padding-left: 30px;">This technique permits to add two user defined variables with the same syntax that is applied to basic types.</p>
<p style="padding-left: 30px;">Provides the new definitions for most of the C++ operators.</p>
<h3><strong>Example of Operator Overloading in C++</strong></h3>
<p>Int x=10;&nbsp; Matrix M1; Int y=20;&nbsp; Matrix M2; &nbsp; all are used under defined data type Int z;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Matrix M3; Z=x+y;&nbsp;&nbsp;&nbsp; M3=M1+M2;// error &nbsp;</p>
<p style="padding-left: 30px;">Exisiting operators perform operations only on predefined data types but cannot perform operation on user defined data types</p>
<p style="padding-left: 30px;">Creating a new definition of an existing operations is called operator overloading.</p>
<p style="padding-left: 30px;">Operator overloading not allows to create new operator.</p>
<p style="padding-left: 30px;">We can overload all the C++ operators except ,</p>
<p style="padding-left: 60px;">Class member acess operators(.,.*)</p>
<p style="padding-left: 60px;">Scope resolution operator(::)</p>
<p style="padding-left: 60px;">Size of operator(size of)</p>
<p style="padding-left: 60px;">Conditional operator(?:)</p>
<p>&nbsp;</p>
<h3><strong>Defining operator overloading in C++</strong></h3>
<p><strong>Syntax</strong> Return type operator operator &ndash;symbol(operand is) { Statements; }</p>
<p style="padding-left: 30px;">Overloaded operator is a specific function whose name is operator symbol.(int operator+( ) );</p>
<p>&nbsp;</p>
<h3><strong>Rules for overloading operations</strong></h3>
<p style="padding-left: 30px;">Only existing operators can be overloaded. The operator must have at least one operand of user-defined type .New operator cannot be created. We cannot change the basic meaning of the operator.</p>
<p style="padding-left: 30px;">They cannot be overridden.</p>
<p style="padding-left: 30px;">When binary operators overloaded through member function, the left hand operand must be an object of the relevant class.</p>
<p style="padding-left: 30px;">Overload operator is a specific function whose name is operator symbol.</p>
<p><strong>&nbsp;</strong><strong>&nbsp;</strong> <strong>Example</strong> # include&lt;iostream.h&gt; Struct distance { float feet; flaot inch; }; distance operator+(distance d1,distance d2) { distance d3; d3.feet=d1.feet+d2.feet; d3.inch=d1.inch+d2.inch; return d3; } void main( ) { distance dist 1,dist 2,dist 3; cout&lt;&lt;&rdquo;Input distance 1&rdquo;; cin&gt;&gt;dist1.feet&gt;dist.inch; cout&lt;&lt;&rdquo;\n Input distance 2&rdquo;; cin&gt;&gt;dist2.feet&gt;dist2.inch; dist3=dist1+dist2; cout&lt;&lt;&rdquo;\n Sum is \n&rdquo;; cout&lt;&lt;dist3.feet&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;dist3.inch; } <img class="alignnone size-full wp-image-6896" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_321.png" alt="Screenshot_32" width="228" height="406" /> &nbsp; &nbsp;</p>
<h3><strong>Overloaded operator as a member function</strong></h3>
<p>(11 overload+ operator for adding two complex numbers # include &lt;iostream.h&gt; Class complex { float read; float img; public; void read( ) { Cout&lt;&lt;&rdquo; In Input read&rdquo;; Cin&gt;&gt;read; Cout&lt;&lt;&rdquo; In Input img&rdquo;; Cin&gt;&gt;img; } void print( ) { Cout&lt;&lt;endl&lt;&lt;real&lt;&lt;&rdquo;1t&rdquo;&lt;&lt;img; <img class="alignnone size-full wp-image-6897" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_322.png" alt="Screenshot_32" width="228" height="406" /> &nbsp; Complex operator+(complex&nbsp; c2) { complex C3; C3.real=real+C2.real; C3.img=img+C2.img; return C3; } Void main( ) { Complex comp1,comp2,comp3; Comp1.read( ): Comp2.read( ): Comp3= comp1+comp2; Comp1.print( ); Comp2.print( ); Comp3.print( ); } &nbsp; <img class="alignnone size-full wp-image-6898" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_33.png" alt="Screenshot_33" width="228" height="406" /> &nbsp;</p>
<h3><strong>// overloading binary = =operator for comparing two strings</strong></h3>
<p># include&lt;iostream.h&gt; # include&lt;string.h&gt; class string { char str[10]; public; void read_string( ) { cout&lt;&lt;&rdquo;Input any string&rdquo;; cin&gt;&gt;str; } Void print_string( ) { } Int operator==(string S2) { If(strmcmp(str,s2.str)==0) return 1; else return 0; }}; void main ( ) { string str1,str2; Str1.read_string( ); Str2.read_string( ); Str1.print_string( ); Str2.print_string( ); If(str 1==str2) cout&lt;&lt;&rdquo;In strings are equal&rdquo;; else cout&lt;&lt;&rdquo;In strings are not equal&rdquo;; } &nbsp;</p>
<h3>//overload binary+operator for adding two matrices.</h3>
<p><strong>Example</strong> #include &lt;iostream.h&gt; class matrix { int a[2][2]; public: void read_matrix( ) { cout&lt;&lt;&rdquo;In Input elements of Matrix&rdquo;; for (int i=0; i&lt;2;i++) for(int j=0; J&lt;2;j++) cin&gt;&gt;a[i][j]; } void print_matrix( ) { for (int i=0;i&lt;2;i++) for ( int j=0;j&lt;2;i++) cout&lt;&lt;a[i][j]&lt;&lt;&rdquo;lt&rdquo;; cout&lt;&lt;endl; }} Matriox operator+(matrix M2) { Matirx M3; for ( int i=0;i&lt;2;i++) for ( int j=0;j&lt;2;i++) M3.a[i][j]=a[i][j]+M2.a[1][j]; return M3; } void Main() { Matrix Matrix1, Matrix2, Matrix3, Matrix1.read_matrix(); Matrix2.read_matrix(); Matrix3=Matrix1+Matrix2; Matrix1.print_Matrix( ); Matrix2.print_Matrix( ); Matrix3.print_Matrix( ); } &nbsp;</p>
<h3><strong>Overloading Binary operator</strong></h3>
<p>A binary operator takes two operandas member function overloading binary operator will have one explicit augument. EX:overloading binary+operator Test operator+(test obj); If test is name of the class and obj1,obj2 and obj3 are the objects of the test then the expression. Obj3=obj1+obj2; Invokes the function overloading binary+operator Obj1 invokes the function and obj2 will be passed as an argument. The function returns the sum of obj1 and obj2 and is assigned to obj3. &nbsp;</p>
<h3><strong>Overloading uniary operators</strong></h3>
<p>Member function overloading unary operators does no have expenditure have explicit arguments. Eg// overloading ++,-- operators --overlaoded unary ++,-- does not diff prefix and postfix both are same. <strong>&nbsp;</strong><strong>&nbsp;</strong> <strong>Example</strong> # include &lt;iostream.h&gt; # include&lt;conio.h&gt; Class integer { Int n; Public; Integer(int x) { n=x; } Void operator ++( ){ N=n+5; } Void operator&mdash;( ) { n=n-5; } Cout&lt;&lt;endl&lt;&lt;n; }}; Void main( ) { Integer a(10); a.print( ); a++; a.print(); a--; a.print(); } &nbsp;</p>
<h3><strong>Overloading operator using friend</strong></h3>
<ul>
<li>If overloaded operator is member, it operates on similar data types/objects</li>
<li>Friend operator can operate on more than one type of object/data type.</li>
<li>The operators cannot be overloaded using friend function.</li>
</ul>
<p>Assignment operator&nbsp;&nbsp;&nbsp; = Function call operator ( ) Subscripting operator [ } Class member access operator----&gt; Member functions can be used to overload them. &nbsp;</p>
<h3><strong>Friend function overloading Binary&nbsp; operator</strong></h3>
<p>Takes two explicit arguments Ex:friend test operator+(test obj1,test obj2) The function adds the values of the data members of the objects obj1 and obj2 when invoked and return their sum. The syntax for invoking a friend function will be same as that of member function i.e obj3=obj1+obj2; The objects are passed explicitly to the function and their sum is assingned to obj3. Class Alpha&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class beta {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { intx;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; inty; Public:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public; Void read_x()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void read_y() {&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ Cin&gt;&gt;x;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cin&gt;&gt;y; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } };&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }; &nbsp; <strong>Example</strong> # include&lt;iostream.h&gt; class beta; class alpha { intx; public: void read_x( ) { cout&lt;&lt;&rdquo;In Input the value of X&rsquo;; cin&gt;&gt;x; } { Cout&lt;&lt;&rdquo;In x=&rdquo;&lt;&lt;x; } Friend int operator==(alpha,beta); }; Class beta { Int y; Public; Void read _y() { Cout&lt;&lt;&rdquo;In put Y&rdquo;; Cin&gt;&gt;y; } {void print_Y() { Cout&lt;&lt;&rsquo;In y=&lt;&lt;y; } Friend int operator ==(alpha,beta); }; Int operator==(alpha a,beta b) { If (a.x==b.y) return 1; else Return 0; } void main ( ) { alpha alpha1; beta beta1; alpha1.read_x(); beta1.read_y(); If (alpha1==beta 1) cout&lt;&lt;&rdquo;/n no.of objects are equals&rdquo;; else cout&lt;&lt; &ldquo;/n no.of objects are not equals&rdquo;; } &nbsp; <img class="alignnone size-full wp-image-6899" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_110.png" alt="Screenshot_1" width="168" height="363" /> &nbsp;</p>
<h3><strong>(&gt;&gt;,&lt;&lt;) overloading extraction (..) and insertion(&lt;&lt;) operator for operating on userdefined data types.</strong></h3>
<p>Eg:# include&lt;iostream.h&gt; class student { char name[10]; char course[10]; public; friend void operator&gt;&gt; (istream&amp;,student &amp;); friend void operator &lt;&lt;(ostream&amp;,student &amp;); }; void operator&gt;&gt;(istream &amp; in,student &amp; s) in&gt;&gt;s.name; in&gt;&gt;s.course; } void operator &lt;&lt;(ostream &amp; out,student &amp;) { out&lt;&lt;s.name&lt;&lt;endl; out&lt;&lt;s.course; } Void main( ) { Student stud1; Cout&gt;&gt;&rdquo;/n inter student details&rdquo;; Cin&gt;&gt;stud1; cout&lt;&lt;/n student details are In&rdquo; }</p>144:T1f7d,<h2><strong>Pointers</strong></h2>
<p>Pointer is a derived data type. A variable of type of pointer is called pointer variable. A pointer variable hold address of memory location &nbsp;</p>
<h3><strong>Advantages of Pointers in C++</strong></h3>
<p style="padding-left: 30px;">Dynamic memory allocation</p>
<p style="padding-left: 30px;">Allows to share data between functions</p>
<p style="padding-left: 30px;">Increment the effiecient of the program</p>
<p>&nbsp;</p>
<h3><strong>Disadvantages of Pointers in C++</strong></h3>
<p style="padding-left: 30px;">Not secured</p>
<p>&nbsp;</p>
<h3><strong>Pointer Declaration</strong></h3>
<p><strong>Syntax of Pointers in C++</strong> &lt;data type&gt; * variable &ndash; name ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int * * - - &gt; &nbsp;indirection operator Dereferencing operator Value of given address <strong>What is address ?</strong></p>
<ul>
<li>If is an unsigned interger value given to each byte of memory.</li>
<li>Address is a pointer value.</li>
</ul>
<p><strong>int *a</strong></p>
<ul>
<li>The size of pointer variable depends on compiler</li>
</ul>
<p>16 bit compiler &nbsp; - - &gt; &nbsp; 2 bytes 32 bit compiler &nbsp; - - &gt; &nbsp; &nbsp; 4 bytes <strong>Example C++&nbsp;program using Pointers</strong> # include &lt;iostream.h&gt; void main() { int *p; char *q; float *r; double *d; &nbsp; cout &lt;&lt; sizeof(p) &lt;&lt; endl; cout&lt;&lt;sizeof(q)&lt;&lt;endl; cout&lt;&lt;sizeof(r)&lt;&lt;endl; cout&lt;&lt;sizeof(d)&lt;&lt;endl; &nbsp; <strong>o/p :</strong> 4 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BCZ turbo c++ 32 bit compiler 4 4 <strong>&nbsp;</strong></p>
<h3><strong>Write a program to swap two numbers</strong></h3>
<p># include &lt;iostream.h&gt; void main() { int n1,n2; cout&lt;&lt; &ldquo;\n input any two numbers&rdquo;; cin&gt;&gt; n1 &gt;&gt; n2; int *p,*q; p=&amp;n1; Q=&amp;n2; int n3; n3=*p;&nbsp;&nbsp; //&nbsp; *p - - &gt; &nbsp; value of 500 *p=*q; // *q - - &gt; &nbsp; value of 502 *q=n3; cout&lt;&lt;&rdquo;\n n1=&rdquo;&lt;&lt;*p; cout&lt;&lt;&rdquo;\n n2=&rdquo;&lt;&lt;*q; } <strong>o/p :</strong> input - - &gt; &nbsp;&nbsp;10 20 &nbsp; <img class="alignnone size-full wp-image-6790" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_51.png" alt="Screenshot_5" width="261" height="482" /> &nbsp; After swapping value -&gt; 20 10 &nbsp; <strong>Example</strong> # include &lt;iostream.h&gt; void main() { int n1,n2; cout&lt;&lt;&rdquo;\n input any two numbers&rdquo;; cin&gt;&gt;n1&gt;&gt;n2; int *p,*q; p=&amp;n1; q=&amp;n1; *p=*p+*q;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // value of 500=value of 500 + value of 500 *q=*p-*q;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&nbsp; 10+20=&nbsp; 30 *p=*p-*q; cout&lt;&lt;&rdquo;\n after swapint \n&rdquo;; cout&lt;&lt;&rdquo;\n n1=&rdquo;&lt;&lt;n1; cout&lt;&lt;&rdquo;\n n2=&rdquo; &lt;&lt;n2; } &nbsp; &nbsp; <strong>o/p : </strong> input two values =&gt; 10 20 After swapping =&gt; 20 10 &nbsp;</p>
<h3><strong>Dynamic memory Allocation</strong></h3>
<p style="padding-left: 30px;">Allocating memory during the execution if runtime program is called as dynamic memory allocation</p>
<p>&nbsp; <strong>Advantage</strong><strong> :</strong></p>
<p style="padding-left: 30px;">It avoiding wastage of memory</p>
<p style="padding-left: 30px;">Increase efficiency of program</p>
<p>&nbsp;</p>
<h3><strong>What is static memory allocation</strong></h3>
<p style="padding-left: 30px;">Size of memory allocated by program, known at compile time on before executing program. is called static memory allocation.</p>
<p>&nbsp;</p>
<h3><strong>What is dynamic memory allocation</strong></h3>
<p>Size of memory allocated by program is not known at compile time but known at runtime is called dynamic memory allocation</p>
<p style="padding-left: 30px;">new</p>
<p style="padding-left: 30px;">delete c++ achieves dynamic memory allocation using 2&nbsp;keywords</p>
<p>&nbsp;</p>
<h3><strong>new(in c, it is called malloc)</strong></h3>
<p style="padding-left: 30px;">It allocates memory of n bytes in heap area and return address.</p>
<p style="padding-left: 30px;">Heap area is dynamic memory area, which is manage by c++ program.</p>
<p>&nbsp; <strong>syntax :</strong> &lt;pointer&nbsp; - variable &ndash; name &gt;=new datatype[size];</p>
<p style="padding-left: 30px;">size can be constant or variable</p>
<p>size is optional &nbsp; Texa code area Data area &nbsp; &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> &nbsp; &nbsp;global variable Heap area &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;&nbsp;Dynamic stack area &nbsp; &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" />&nbsp; &nbsp;local variable are use. &nbsp;</p>
<h3><strong>// wap to add two numbers (allocating memory dynamically)</strong></h3>
<p># include &lt;iostream.h&gt; void main() { int *a,*b,*c; a=new int; b=new int; c=new int; cout&lt;&lt; &ldquo;\n input any two numbers&rdquo;; cin&gt;&gt; *a&gt;&gt; *b; *c=*a-*b; cout&lt;&lt;&rdquo;\n sum is&rdquo;&lt;&lt;*c; } <strong>o/p :</strong> input any two numbers. <strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>Delete:</strong></h3>
<p>Delete unreserved memory which is reserved using new operator. delete&lt;pointer-variabel&gt;; &nbsp;</p>
<h3><strong>Difference&nbsp; betweenMalloc and new</strong></h3>
<table style="width: 672px; height: 193px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Malloc</strong></td>
<td><strong>new</strong></td>
</tr>
<tr>
<td>It is a function</td>
<td>It is a (operator) keyword</td>
</tr>
<tr>
<td>It is reserved memory in one block.</td>
<td>It is allocates one or more than one block of memory.</td>
</tr>
<tr>
<td>Malloc does required type casting</td>
<td>It doesn&rsquo;t required type&nbsp; casting.</td>
</tr>
<tr>
<td>It does not understand constructor</td>
<td>It understand constructor.</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp;</p>
<h3><strong>Difference between Delete and Free:</strong></h3>
<table style="width: 593px; height: 121px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Delete</strong></td>
<td><strong>Free</strong></td>
</tr>
<tr>
<td>It is a key word</td>
<td>It is a function</td>
</tr>
<tr>
<td>understand destruction</td>
<td>It doesn&rsquo;t understand destructor.</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp;</p>
<h3><strong>WAP to for swapping two numbers</strong></h3>
<p># include &lt;iostream.h&gt; void main() { int *a, *b; a=new int; b=new int; cout&lt;&lt;&rdquo; \n input any two numbers\ n&rdquo;; cin&gt;&gt; *a&gt;&gt;*b; *a =*a+*b; *b=*a-*b; *a=*a-*b; cout&lt;&lt; &ldquo;\n After swapping two numbers\n&rdquo;; cout&lt;&lt; *a &lt;&lt; &ldquo;\t&rdquo;&lt;&lt;*b; delete a; delete b; cout&lt;&lt; *a; cout&lt;&lt; *b; &nbsp; &nbsp; Pointer variable which holdsgf an address of memory location whose lifetime is over is called as Dangling pointer. <strong>Drawback:</strong></p>
<ul>
<li>It splits some logical error.</li>
</ul>
<h3><strong>NULL</strong></h3>
<ul>
<li>NULL is a pointer value.</li>
<li>If pointer variable assign NULL, it does not point to any memory location.</li>
</ul>
<p>&nbsp;</p>145:T15c7,<h2><strong>Files in C++</strong></h2>
<p>File is a named memory location in secondary storage. File is collection of data stored permanently with in disk. Of stream (output file stream calss) Output file stream class. This class opens the file in output Mode. Always output mode used for writing. &nbsp; <strong>Hierarchy of of stream class</strong> <img class="alignnone wp-image-6907" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_35-460x280.png" alt="Screenshot_35" width="397" height="241" /> &nbsp;</p>
<h3><strong>File Constructor</strong></h3>
<p>osstem (char *fname)</p>
<ul>
<li>This constructor create osstream class object with given file name.</li>
<li>ostream(char*fname,int mode)</li>
<li>This constructor create ostrem class object with give filename and mode.</li>
</ul>
<p>ios::out -this create new file ios:: app-this open existing file for appending. &nbsp;</p>
<h3><strong>//program to create marks file to store student marks details</strong></h3>
<p># include &lt;iostream.h&gt; # include &lt;fstream.h&gt; void Main() { char name[10]; int sub1,sub2; ofstrem fout (&ldquo; c:\\Marks&rdquo;); char ch; clrscr(); cout&lt;&lt;&rdquo;\n Input name&rdquo;; cin&gt;&gt;name; cout&lt;&lt;&rdquo;\n Input two subjects&rdquo;; cin &gt;&gt;sub1&gt;&gt;sub2; fout&lt;&lt;name&lt;&lt;endl; fout&lt;&lt;sub1&lt;&lt;endl; fout&lt;&lt;sub2&lt;&lt;endl; cout&lt;&lt;&rdquo;\n Add another student?&rdquo;; cin &gt;&gt;ch; } while(ch!=&rsquo;n&rsquo;); } <strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>ifstream</strong><strong> (input file stream class in C++)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></h3>
<ul>
<li>input file stream class</li>
<li>This class is used to read data from existing file.</li>
<li>it opens the file in input mode(reading the file).</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Constructor</strong></h3>
<ul>
<li>ifstream (char *fname)</li>
<li>This constructor create if stream class object with given filename.</li>
<li>It opens the given file name in input mode.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Program to read contents of file in C++</strong></h3>
<p># include &lt;iostream.h&gt; #include &lt;conio.h&gt; # include &lt;fstream.h&gt; void main() { char name[10]; int sub1,sub2; ifstream fin clrscr(); while(1) { fin &gt;&gt;name; fin &gt;&gt;sub1&gt;&gt;sub2; if (fin.eof ()) break; cout&lt;&lt;endl&lt;&lt;name&lt;&lt;&rdquo;\t&lt;&lt;sub1&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;sub2; } &nbsp;</p>
<h3>&nbsp;<strong>Writing Object inside file</strong></h3>
<p><img class="alignnone size-full wp-image-6908" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_36.png" alt="Screenshot_36" width="457" height="417" /> &nbsp; &nbsp; # include &lt;iostrem.h&gt; # include&lt;fstream.h&gt; class address { char name[10]; char street[10]; char city[10]; public: void read_address() { cout&lt;&lt;&rdquo;\n Input name &ldquo;; cin&gt;&gt;name; cout&lt;&lt;&rdquo;\n Input street&rdquo;; cin&gt;&gt; street; cout&lt;&lt;&rdquo;\n Input city&rdquo;; cin&gt;&gt; city; } void print_address() { cout&lt;&lt;endl&lt;&lt;name&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;street&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;city; }}; void main() { address add; char ch; ofstream fout (&ldquo;c://address_book&rdquo;); do{ add.read_address() fout.write((char*)&amp;add,size of (add)); cout&lt;&lt;&rdquo;\n Add another book?&rdquo;; cin&gt;&gt;ch; } while (ch!=&rsquo;n&rsquo;) fout.close(); } &nbsp; &nbsp;</p>
<h3><strong>//Reading address from address book/reading objects from file</strong></h3>
<p># include &lt;iostream.h&gt; # include&lt;conio.h&gt; #include&lt;fstream.h&gt; class address { char name[10]; char street[10]; char city [10]; public : void&nbsp; read_address() { cout&lt;&lt;&rdquo;\n Input Name&rdquo;; cin &gt;&gt;Name; cout&lt;&lt;&rdquo;\n Input Street&rdquo;; cin&gt;&gt;street; cout&lt;&lt;&rdquo;\n Input city&rdquo;; cin &gt;&gt;city; } void print_address() { cout &lt;&lt;endl&lt;&lt;Name&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;street&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;city; }}; &nbsp; void main() { address add; ifstream fin(&ldquo;c:\\address_book&rdquo;); while(1) { fin .read((char*)&amp;add,sizeof(add)); if (fin,eof()); break; add.print_address(); } fin.close(); } &nbsp; &nbsp;</p>
<h3><strong>MANIPULATION OF FILE POINTERS in C++</strong></h3>
<p>&nbsp; We can move the file pointer to any desired position in the file. We can take the control of the file pointer. The functions to position the file pointer at desired position. seekg(offset,position);seekp(offset,position); offset parameter represents number of bytes and position parameter takes one of the following 3 constants; &nbsp; ios::beg ios :: cur ios:: end <img class="alignnone wp-image-6911" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_37-460x143.png" alt="Screenshot_37" width="590" height="183" /> fin.seekg(4,ios::beg); fin.seekg(2, ios::beg); fin.seekg(3,ios::cur); fin.seekg(-4,ios::cur); cout&lt;&lt;fin.tellg(); &agrave; fin.seekg(-2,ios::end); =&gt; (7-2)=&gt;5 offset position <strong>Reading Address randomly:</strong> fin.seekg(addno*sizeof(add),ios ::beg); void main() { address add; int addno; ifstream fin(&ldquo;c:\\address_book&rdquo;); cout&lt;&lt;&rdquo;\n Input address number&rdquo;; cin&gt;&gt;adddno; fin.seekg(addno*sizeof (add),ios::beg); fin read((char*)&amp;add,size of (add)); if fin.eof()) cout&lt;&lt;&rdquo;\n Invalid address number&rdquo;; else add print_address(); } &nbsp;</p>146:T1976,<h2><strong>Constructors</strong></h2>
<p>Constructor is a special function in C++ Constructor is used for initialization object auto init of object is done using constructor An object is never created without constructor &nbsp;</p>
<h3><strong>Why Constructor</strong></h3>
<p>Data members can&rsquo;t initialize within the class class A { int x=10; int Y=20; };</p>
<ul>
<li>Data members are not initialize within the class</li>
<li>&gt; object will created with garbage value.</li>
</ul>
<p>eg : class A { int x; int y; }; &nbsp; <img class="alignnone size-full wp-image-6824" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_19.png" alt="Screenshot_19" width="267" height="141" /> &nbsp; void main() { A obj1; &nbsp;</p>
<h4>Data members are public obj1 can be in it at the time creating object</h4>
<p>class A { public; int x; int y; } void main() // public data members are not secured &nbsp;</p>
<ol>
<li>class A (&nbsp;&nbsp;&nbsp; Provide data members cannot initialize at the time of&nbsp;creating object&nbsp;&nbsp; )</li>
</ol>
<p>{ int x; int y; }; void main() { A.obj={10.20}; } Statements which has to be executed on creating of object are included inside constructor. &nbsp;</p>
<h2><strong>Types of constructor</strong></h2>
<p>Default constructor parameterized constructor Copy constructor &nbsp;</p>
<h3><strong>Properties of constructor in C++(C/S of constructor)</strong><strong> - &gt;</strong></h3>
<p>Construction name must be the same as class name in C++ Constructor doesn&rsquo;t have return type not even void It is called automatically at the time of creating object There can be a multiple constructor within the class It can be declared as private, public and protect Constructor are not inherited &nbsp;</p>
<h3><strong>C++ Default constructor</strong></h3>
<p>Constructor without any parameters is called default constructor. These are&nbsp;two types of constructors in C++ Compiler defined default constructor User defined default constructor. &nbsp;</p>
<h3><strong>What is difference between Member function and Constructor in C++?</strong></h3>
<p>&nbsp; &nbsp;</p>
<table style="width: 686px; height: 321px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Member function</strong></td>
<td><strong>Constructor</strong></td>
</tr>
<tr>
<td>Its name should not be the same as class name</td>
<td>Its name must be the same as class name</td>
</tr>
<tr>
<td>It has to be called explicitly</td>
<td>It is called implicitly at the time of creating object.</td>
</tr>
<tr>
<td>It can be called any no.of times on object</td>
<td>It is called only once on object.</td>
</tr>
<tr>
<td>Its operation is modifying and accessing</td>
<td>Its operation is initialization</td>
</tr>
<tr>
<td>They are inherited</td>
<td>They are not inherited</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp;</p>
<h3><strong>C++ Compiler defined default constructor</strong><span style="font-size: 13px;">&nbsp;</span></h3>
<p>If there is no constructor within class, compiler write a constructor without any parameters, This constructor is called default constructor of compiler. <img class="alignnone wp-image-6825" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_20-460x235.png" alt="Screenshot_20" width="482" height="246" /> &nbsp; &nbsp;</p>
<h3><strong>User defined default constructor in C++</strong></h3>
<p>It user defined any constructor inside class without any parameters, it is called userdefined default constructor. <strong>Example</strong> # include&lt;iostream.h&gt; class triangle { float base, height; public : triangle() { base=1.5; height=2.5; } void printf() { cout&lt;&lt;&rdquo;\n base=&rdquo;&lt;&lt;base; cout&lt;&lt;&rdquo;\n&nbsp; height=&rdquo;&lt;&lt;height; } }; &nbsp; void main() { triangle triangle1; triangle triangle2; triangle1.print(); triangle2.print(); } <strong>o/p :</strong> base=1.5 height=2.5 base=1.5 height=2.5 <strong>Example</strong> # include &lt;iostream.h&gt; class array { int *; public : array(); void read_elements (); void print_elements(); }; array:: array() { a=new int[5]; } void array:: read_elements() { cout&lt;&lt;&rdquo;\n input elements&rdquo;; for(int i=0; i&lt;5;i++) cin&gt;&gt;a[5]; } &nbsp; void array:: print_elements() { cout&lt;&lt;&rdquo;\n elements are \n&rdquo;; for(int i=0;i&lt;5;i++) cout&lt;&lt;endl&lt;&lt;a[i]; } &nbsp; void main() { charname[10]; array subjects; cout&lt;&lt;&rdquo;\n Enter name&rdquo;; cin&gt;&gt;name; subjects.read(elements()); cout&lt;&lt;&rdquo;\n&rdquo;name; subjects.print_elements(); &nbsp; &nbsp;</p>
<h2><strong>Parameterized constructor in C++</strong></h2>
<p>Constructor with parameters. It is user defined constructor which receive values of the time of creating object Call send initial values to object by calling the constructor. <strong>Example of a parameterized constructor</strong> # include&lt;iostream.h&gt; class tiangle { float base, height; public : triangle(float,float); void print() } triangle :: triangle(float b, float h) { base =b; height=h; } void triangle :: print() { cout&lt;&lt; &ldquo;\n base=&rdquo;&lt;&lt;base; cout&lt;&lt;&rdquo;\n height=&rdquo;&lt;&lt;height } void main() { triangle triangle1(1.5,2.5) triangle triangle2(2.5,3.5) triangle1.print(); triangle2.print(); } &nbsp;</p>
<h3><strong>// wap to create MXN matrix and display</strong></h3>
<p># include&lt;iostream.h&gt; class Matrix { int xxa; int rsize; int csize; public: matrix(int,int); void read_matrix(); void print_matrix(); }; Matrix:: Matrix (int r, int c) { rsize=rc; csize=c; int x[rsize][csize]; a=new int*[rsize]; for(int i=0;i&lt;rsize;i++) *(a+i)=new int[csize]; } void Matrix :: read_matrix() { cout&lt;&lt;&rdquo;\n input elements of the matrix&rdquo;; for(int i=0; i&lt;rsize;i++) for(int j=0; j&lt;rsize;j++) cin&gt;&gt;*(*(a+i)+j); cin&gt;&gt;*(*(a+i)+j); } void Matrix :: print_Matrix() { cout&lt;&lt; &ldquo;\n elements are \n&rdquo;; for(int i=0;i&lt;rsize;i++) { for(int j=0;j&lt;size;j++) cout&lt;&lt;*(*(a+i)+j)&lt;&lt;&rdquo;\t&rdquo;; cout&lt;&lt;endl; } } void main() { Matrix&nbsp;&nbsp;&nbsp; matrix1(2,2); Matrix&nbsp;&nbsp;&nbsp; matrix2(3,3); Matrix1.read_matrix(); Matrix1.print_matrix(); Matrix2.read_matrix(); Matrix2.print_matrix(); } <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>o/p :</strong> input elements of the matrix 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp; 4 elements are</p>147:Tafd,<h2><strong>Array of objects</strong></h2>
<p>Creating more than one object of similar type is called Array of objects in C++ creating an array of type class. <strong>syntax</strong> class-name array-name[size] &nbsp;</p>
<h3><strong>// wap to find result 5 students</strong></h3>
<p>#include &lt;iostream.h&gt; class student { int no; int sub1,sub2; public read_student(); void find_student(); } void student read_student() { cout&lt;&lt;&rdquo;Enter rno&rdquo;; cin&gt;&gt;rno; cout&lt;&lt;&rdquo;Enter marks of 2 subjects&rdquo;; void&nbsp; student :: find _student() { cout&lt;&lt;&rdquo;\n&lt;&lt;rno&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;sub|&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;sub2; cout&lt;&lt;&rdquo;\t Fail&rdquo;; else cout&lt;&lt;&rdquo;\t pass&rdquo;; } void main() { student stud[5]; int i; for(i=0;i&lt;5;i++) stud[i].read_student(); for(i=0;i&lt;5;i++) stud[i].find_result(); } &nbsp; <strong>O/P :</strong>&nbsp; input rollno 101 input 2 subject marks 604 input roll no 102 i/p 2 subject <img class="alignnone wp-image-6821" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_18-460x300.png" alt="Screenshot_18" width="548" height="356" /> &nbsp; &nbsp;</p>
<h2><strong>Dynamic Array of object in C++</strong></h2>
<ul>
<li>Allocating memory for more than one object during runtime</li>
</ul>
<p><strong>Syntax </strong> &lt;pointer-to-object&gt; = new class-name[size];</p>
<ul>
<li>size can be constant or variable</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Example&nbsp;:</strong> <strong>// wap to read the details n persons and display</strong></h3>
<p># include &lt;iostream.h&gt; class person { char name[10]; char city[10]; public : void read_person(); void print_person(); }; void person&nbsp; :: read person() { cout&lt;&lt;&rdquo;\n input name&rdquo;; cin&gt;&gt;name; cout&lt;&lt;&rdquo;\n input ciyt&rdquo;; } void person :: print_person() { cout&lt;&lt;&rdquo;\n&rdquo;&lt;&lt;name&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;city; } void main() { int n; person&nbsp;&nbsp; *p; cout&lt;&lt;&rdquo;\n input details of how many person&rdquo;; cin&gt;&gt;n; p=new person[n]; int i; for(i=0;i&lt;n;i++) { P[i].read_person(); for(i=0;i&lt;n;i++) p[i].print_person(); delete P; } # include&lt;iostream.h&gt; { class player { char name[10]; int runs; public : void read(); void print(); }; void player :: read() { cout&lt;&lt;&rdquo;\n input name&rdquo;; cin&gt;&gt;name; cout&lt;&lt;&rdquo;\n input runs&rdquo;; cin&gt;&gt;runs; } void player&nbsp; :: print() { cout&lt;&lt; &ldquo;\n&rdquo;&lt;&lt;name&lt;&lt;&rdquo;\t&rdquo;&lt;&lt;runs; } void main() { int n; cout&lt;&lt;&rdquo;\n input details of house many players&rdquo;; cin&gt;&gt;n; player *p; p=new player[n]; int i; for(i=0;i&lt;n;i++) p[i].read(); for(i=0;i&lt;n;i++) (*(p+i).print()); delete P; P=NULL; }</p>148:Tdb7,<h2><strong>&lsquo;::&rsquo; Unary&nbsp;operator </strong></h2>
<p>The scope operator is used to refer to member of global namespace between the global name space does have the name, the rotation ::</p>
<ul>
<li>Member name refers to a member of the global namespace.</li>
<li>This can be useful for referring to members of global namespace whose names have been hidden by names declared in nested local scope. Unless we specify to the compiler in which namespace to search for a declaration, the compiler simple searches the current scope and any scopes in which the current scope is nested, to find the declaration for the name</li>
</ul>
<p>&nbsp; Namespace is a collection of</p>
<ul>
<li>variables</li>
<li>Functions</li>
<li>Classes</li>
</ul>
<p>&nbsp; namespace N { Classes } &nbsp; int x;&nbsp; global variable &nbsp; void main ();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global name space {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int x=10; int y =20;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void main() cout &lt;&lt;y;&nbsp;&nbsp; - &gt; 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { cout&lt;&lt;x; - &gt; 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; int x=20; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cout&lt;&lt;x; -&gt; 20 cout&lt;&lt; :: x; cout&lt;&lt;N :: x; &nbsp; &nbsp;</p>
<ul>
<li>global name space - &gt; unnamed</li>
</ul>
<h3><strong>Unary operator in C++ with Example</strong></h3>
<p># include &lt;iostream.h&gt; int x=10; void main() { int y=20; cout&lt;&lt; &ldquo;\n local variable y=&rdquo; &lt;&lt;y; 20 cout&lt;&lt;&rdquo;\n global variable u=&rdquo;&lt;&lt;x;10 cout&lt;&lt;&rdquo;\n global variable x=&rdquo;&lt;&lt;&nbsp; :: x; }</p>
<h4><strong>Example</strong></h4>
<p># include &lt;iostream.h&gt; { int x=10; int y=10; void main() { int z=30; int x=40; { cout&lt;&lt; end l&lt;&lt; x;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 50 cout&lt;&lt; end l &lt;&lt; :: x; //10 cout&lt;&lt;end l &lt;&lt; z;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //30 cout&lt;&lt; end l&lt;&lt;y;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // 20 cout&lt;&lt; end l&lt;&lt;::y; } cout &lt;&lt; endl&lt;&lt;x;&nbsp;&nbsp; // 40 cout &lt;&lt; endl &lt;&lt; Z; //30 cout &lt;&lt; endl&lt;&lt;:: x; //20 coout&lt;&lt;endl&lt;&lt;::y;&nbsp; //20 }</p>149:T10d7,<h2><strong>C++ Local Variables </strong></h2>
<p>The variable declared inside function is called local variable in C++</p>
<ul>
<li>Memory for this variable is allocated on execution of function and after completion of function</li>
<li>The scope of this variable within function</li>
<li>Local variable are called auto variable.</li>
<li>Auto is storage class and variable is never declared without class</li>
<li>Storage class define scope life time and storage of variable.</li>
</ul>
<p><strong>Example</strong> #include&lt;iostream.h&gt; void main() { int x; int Y; int Z; Cout &lt;&lt; X &lt;&lt; endl; cout&lt;&lt;Z&lt;&lt;endl; } <strong>o/p :</strong> The output of above program is garbage value, Because local variables are not given any default values.</p>
<ul>
<li>C++ allows to declare local variable anywhere within function</li>
</ul>
<p><strong>Example</strong> # include &lt;iostream.h&gt; void main() { int n1; cout&lt;&lt; &ldquo;\n input n1 value&rdquo;; cin &gt;&gt; n1; int n2; cout&lt;&lt; &ldquo;\n input n2 value&rdquo;; cin&gt;&gt; n2; int n3; n3=n1+n2; cout&lt;&lt; &ldquo;\n sum is &rdquo; &lt;&lt; n3 } os void main() {</p>
<ul>
<li>C++ allows to declare block level variables.</li>
</ul>
<h2><strong>C++ Block level variables</strong></h2>
<p>The variables which are declared inside the anyone of the following block is called as Block level variables in C++</p>
<ol>
<li>Anonymous block</li>
<li>Conditional block</li>
<li>Iterational block</li>
</ol>
<p><strong>Example</strong> if(&lt;condition&gt;) { int x;&nbsp;&nbsp;&nbsp; - &gt; block level } Conditional Block while(&lt;condition&gt;) { int y;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Block level } Iterational block <strong>Example</strong> # include &lt;iostream.h void main() { char name[10]; int sub1,sub2; cout&lt;&lt;&rdquo;\n input name&rdquo;; cin&gt;&gt; name; cout&lt;&lt; &ldquo;\n input two subjects&rdquo;; cin&gt;&gt; sub1 &gt;&gt; sub2; cout&lt;&lt; &ldquo;\n input two subjects&rdquo;; cin&gt;&gt; sub 1&gt;&gt; sub 2; cout &lt;&lt; &ldquo;\n name&rdquo; &lt;&lt; name; if(sub1&gt;=40 &amp;&amp; sub2 &gt;=40) { int total = sub1+sub2; flat avg=total/3; cout&lt;&lt;&rdquo;\n Total&rdquo; &lt;&lt; total; cout&lt;&lt; &ldquo;\n Avg&rdquo; &lt;&lt; avg; cout&lt;&lt; &ldquo;\n Result is pass&rdquo;; } else cout&lt;&lt; &ldquo;\n result fail&rdquo; }</p>
<ul>
<li>C++ allows to declare local and block level variables with same name</li>
<li>This is called as hicling</li>
</ul>
<p><strong>&nbsp;</strong></p>
<h3><strong>Program</strong></h3>
<p>void main () { int x=10; int y=20; cout&lt;&lt;&rdquo;\n local variable x=&rdquo;&lt;&lt;x&nbsp;&nbsp;&nbsp; 10 cout&lt;&lt;&rdquo;\n local variable y=&rdquo;&lt;&lt;y; 20 { int z=30; cout&lt;&lt; &ldquo;\n Block local variable z=&rdquo; &lt;&lt;Z; 30 int x=40; cout&lt;&lt;&rdquo;\n Block local variable=&rdquo; &lt;&lt;x; cout&lt;&lt;&rdquo;\n block variable y= &lt;&lt;y&rdquo;; } }</p>
<ul>
<li>we can&rsquo;t access local variable within Block</li>
</ul>
<p>&nbsp;</p>
<h2><strong>&nbsp;C++ Global Variables</strong></h2>
<ul>
<li>The variable declare outside the function is called global variable in C++</li>
<li>Variable is declared at global to share data between one or more than one function</li>
<li>These are called external variables.</li>
<li>Extern is a storage class</li>
</ul>
<p><strong>Syntax :</strong> int x; - &gt; global variable void main() { int y; - &gt; local variable if(&lt;condition&gt;) { int z; block level variable } &nbsp; <img class="alignnone wp-image-6784" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_41.png" alt="Screenshot_4" width="412" height="313" /> &nbsp;</p>
<ul>
<li>global variables memory is allocated on loading of the program.</li>
<li>global variables are given default value</li>
<li>if global variable is int, double, float then default value is zero.</li>
<li>c++ allows to declare local and global variable with same name.</li>
<li>used in c++ 1) ::&nbsp; (scope resolution)</li>
<li>pointers belongs to c++ 2) * (pointer to member access)</li>
</ul>
<p>3&nbsp; *(pointer to pointer member access operator)</p>
<ul>
<li>Why we used scope resolution operator ?</li>
<li>It is a binary operator and it also work as unary operator</li>
</ul>14a:T7b9a,<h2 style="text-align: justify;"><span style="color: #000000;"><strong>Interact With Oracle:</strong></span></h2>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>/</strong><strong>* Create table and insert data */</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (create table emp6(eid number, age number, position char(15), salary number)) by oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (insert into emp6 values(234,45,&rsquo;tester&rsquo;,4500))</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (insert into emp6 values (235,25,&rsquo;progrmmer&rsquo;, 4500))</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To update the existed table */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (update emp6 set salary = salary + 2000)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To create new variable in emp6 table (oracle) &amp; loading the data */ </strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (after emp6 add bonus number)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (update emp6 set bonus = salary * 0.5)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To drop required column from the oracle tables */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (after table emp6 drop column age)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Note:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">If we run pass through facility we will get any execution message (notes) in log window. That&rsquo;s why these statements are executed in other environment.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To delete the observations */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (delete from emp6 where position = &lsquo;tester&rsquo;)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<pre style="text-align: center;"><strong><em>Aspired to become SAS Developer? Explore the post to discover the know-hows on <a href="https://tekslate.com/base-sas-training/" target="_blank" rel="noopener">SAS Training In Pune</a>.</em></strong></pre>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To drop emp6 table */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute (drop table emp6)</span></p>
<p style="text-align: justify;"><span style="color: #000000;">By oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To create views or tables in oracle environment from the oracle files through the SAS environment */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select * from connection to oracle (select * from lab);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To repor</strong><strong>t required variables */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select * from connection to oracle (select stno, unitsfrom lab);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To import the data from oracle table to SAS */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = scott password = tiger path = &lsquo;Ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create view lab 1 as</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select * from connection to oracle (select * from lab);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Primary, reference, foreign key are called as surggate key in data ware housing</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="aligncenter wp-image-4193" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Capture22-460x156.png" alt="Capture" width="678" height="228" /></span></p>
<h2 style="text-align: justify;"><span style="color: #000000;"><strong>Access procedure:</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">Belongs to old technology . using access procedure, we can access the data from old technology external files (94, 95 yr). using access procedure, we can access the data from external files and stores in views only views are called access views.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Views are two types</span></p>
<ol style="text-align: justify;">
<li><span style="color: #000000;">Native view</span></li>
<li><span style="color: #000000;">Data set view (data set)</span></li>
<li><span style="color: #000000;">Sql view(sql)</span></li>
<li><span style="color: #000000;">Interface view &ndash; access view (access procedure)</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #000000;"><img class="aligncenter size-full wp-image-4195" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Capture23.png" alt="Capture" width="374" height="154" /></span></p>
<h3 style="text-align: justify;"><span style="color: #000000;">&nbsp;</span></h3>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>To access the data from excel file:</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Get names statement:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Default value of the get names statement is &lsquo;NO&rsquo; in access procedure.</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Note:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Based on one access descriptor we can create multiple views</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc access dbms = xls;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create work. Demo. Access;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;d:\old.xls&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Get names = yes;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create work. Demo2. View;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select subid age;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create work. Demo3. View;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Subset where gender = 1;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select all;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>NOTE:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">If we create any view use with access procedure, these views are called access views</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Worksheet statement:</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Can be used to get the data from the required sheet</span></p>
<ul style="text-align: justify;">
<li><span style="color: #000000;">In old technology $ dollar symbol is not needed.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Note;</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">If you want to do any changes in views, first of all we will do changes in access descriptor changing variables names and format changes.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc access dbms == xlx;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create work. Demo4. Access;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;d:\ old.xls&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Worksheet = &lsquo;sheet 2&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Rename.varo =stno</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Var2 = gender</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Var3 = color&rsquo;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create work. Demo4. View;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select all;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc print. Data = work. Demo 4;</span></p>
<h2 style="text-align: justify;"><span style="color: #000000;"><strong>Interaction with oracle environment:</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc access dbms = oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create work. One.&nbsp; Access;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">User = scott;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Password = tiger;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;ora&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Table = &lsquo;clinical&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create sas user. Demog2. View;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select all;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create sasuser. Demog2. View;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select 1,3;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Create sasuser. Demog3. View;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Subset where pname</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Is not null;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Select all;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Number </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>character </strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Missing &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; null</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Not missing &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; not null</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>To export the data into oracle tables:</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Db load procedure:</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Using database load procedure, we can export the data from <a href="http://www.sas.com/en_us/home.html" target="_blank" rel="noopener">SAS environment</a> to require data base.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data load;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Input-pid test $ units cdate;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">In format cdate date9;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Format cdate date9;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Cardas ;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 78&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12 JAN 2007</span></p>
<p style="text-align: justify;"><span style="color: #000000;">100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DBP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12 JAN 2007</span></p>
<p style="text-align: justify;"><span style="color: #000000;">100&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SBP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12 JAN&nbsp; 2007</span></p>
<p style="text-align: justify;"><span style="color: #000000;">;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data lab 2;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Input pid test $ units c date;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Informat c date date9;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Format cdate date9;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Cards;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">101&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 74&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13 jan 2007</span></p>
<p style="text-align: justify;"><span style="color: #000000;">101 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13 jan 2007</span></p>
<p style="text-align: justify;"><span style="color: #000000;">101 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sbp &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13 jan2007</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Load statement:</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Can be used to load the data in required database table</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To load data in oracle table */&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc db load dbms = oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data = lab 1;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">User&nbsp; = scott;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Password = tiger;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;ora&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Table = &lsquo;lab&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Load;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Append option:</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Can be used to append the data in oracle tables from the <a href="https://tekslate.com/tutorials/sas/" target="_blank" rel="noopener">SAS datasets</a></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc db load dbms = oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data = lab 2;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">User&nbsp; = scott;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Password = tiger;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;ora&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Table = &lsquo;lab&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Load;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data = lab 3;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Input pid test $ units cdate e time;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Informat c date date9;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">C time time 8;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Format c date date 9</span></p>
<p style="text-align: justify;"><span style="color: #000000;">C time time 8;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Cards;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">102&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 74&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14 JAN 2007&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12: 23: 23</span></p>
<p style="text-align: justify;"><span style="color: #000000;">102&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14 JAN 2007 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13: 23: 12</span></p>
<p style="text-align: justify;"><span style="color: #000000;">102&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sbp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14 JAN&nbsp; 2007&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14: 12: 12</span></p>
<p style="text-align: justify;"><span style="color: #000000;">103&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 74&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14 JAN 2007&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 12: 23: 23</span></p>
<p style="text-align: justify;"><span style="color: #000000;">103&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 90&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14 JAN 2007 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13: 23: 12</span></p>
<p style="text-align: justify;"><span style="color: #000000;">103&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sbp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14 JAN&nbsp; 2007&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14: 12: 12</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Db load procedure supporting to all options except rename option</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>/* To export required variable in required time */</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;">Eg:</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc db load dbms = oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data = lab 3 ( drop etime rename = (date = c date) where = (pid = 103)) append;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">User = scott;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Password = tiger;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;ora&rsquo;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Table = lab;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Load;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<p style="text-align: justify;"><span style="color: #000000;"><img class="aligncenter wp-image-4197" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Capture24-460x147.png" alt="Capture" width="689" height="218" /></span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>/* Extraction*/</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Proc import</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data file = &lsquo;d:\ suni.xls&rsquo;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Out = demo dbms = excel replace;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Sheet = &lsquo;sheet 1 $&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data file = &lsquo;d:\ suni.xls&rsquo;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Out = demo dbms = excel replace;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Sheet = &lsquo;sheet 2 $&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>/* Create table in oracle environment */</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = sas password = sas path =&rsquo;ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute ((create table demo (pid number primary key, age number, rece char(12), color char (12)))by oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle&rsquo;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc sql;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Connect to oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(user = sas password = sas path =&rsquo;ora&rsquo;);</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Execute ((create table lab (pid number, test char(12), units number, foreign key(pid)references demo)) by oracle;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Disconnect from oracle&rsquo;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Quit;</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>/* Loading*/</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Proc db load dbms = oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data = demo 1 append;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">User = sas;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Password = sas;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;ora&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Table = demo;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Load;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Proc db load dbms = oracle</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Data = lab 1 append;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">User = sas;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Password = sas;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Path = &lsquo;ora&rsquo;;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Table = lab;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Load;</span></p>
<p style="text-align: justify;"><span style="color: #000000;">Run;</span></p>
<p><span style="color: #000000;"><strong>For indepth knowledge on SAS, click on below</strong></span></p>
<ul>
<li><span class="white-back"><a href="https://tekslate.com/normalization-sas/" target="_blank" rel="noopener">Normalization in SAS</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/sql-aggregations-datasetrow-colummn-operations-sas/" target="_blank" rel="noopener">SQL Aggregations &amp; DataSet(Row &amp; colummn operations) in SAS</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/sql-statements-sas/" target="_blank" rel="noopener">SQL Statements in SAS</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/working-macro-variable-sas/" target="_blank" rel="noopener">Working with Macro Variable in SAS</a></span></li>
<li><a href="https://tekslate.com/sas-interview-questions-answers" target="_blank" rel="noopener">SAS Interview Questions &amp; Answers</a></li>
</ul>14b:T1674,<h2><strong>WCF Overview</strong></h2>
<p>WCF<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />windows communication foundation <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />WCF is a technology used to implement &ldquo;service acierated architecture programming&rdquo; (SOA programming) <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />To understand SOA programming we need to look into the history of programming languages. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />The era of 1990&rsquo;s started with structured oriented &nbsp;programming <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />In structured oriented programming the code was written in the form of functions like, Int add (int x, int y) { &hellip; } Int subtract (int x, inty) { &hellip; } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />In structured oriented programming though reusability &nbsp;was their but it was not efficient and whenever a problem is redefined / enhanced it was required to write complete code again. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />To overcome this drawback in the era of 1990&rsquo;s we got object oriented programming. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Object oriented programming we got the concept classes as well as objects. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Functional programming of structured oriented converted into object oriented programming i.e, parameters of the functions are transformed to data fields &amp; properties of a class and functions are written without parameters just like, class clsArithmetic { Int x,y,z; Public .int px { set{----;} get{---;} } Public int py { set{------;} get{-----;} } public int p3 { set{----;} get{---;} } public void add() { &hellip;. } public void subtraction } &hellip; } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Object oriented programming completely speaks about classes &amp; objects and communication will take place with the help of object data using this we are able to get all the facilities of object oriented programming like abstraction, encapsulation, polymorphism, inheritance, etc. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />With this object oriented programming we are able to build efficient applications using different object oriented programming languages like c# .net, Java, etc. &nbsp;</p>
<h3><strong>Homogeneous Applications</strong></h3>
<p>The applications developed using same technologies/ programming languages are known as &ldquo;homogeneous applications&rdquo; &nbsp;</p>
<h3><strong>&nbsp;Heterogeneous Applications</strong></h3>
<p>Applications developed using different technologies are known as &ldquo;Heterogeneous Applications&rdquo;. Communication between homogeneous applications will be taken place with object data like, <img class="alignnone wp-image-7406" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_581-460x223.png" alt="Screenshot_58" width="521" height="252" /> &nbsp;</p>
<h4><strong>Advantages of object oriented programming</strong></h4>
<p>Communication among heterogeneous applications is not possible on proprietary formats in object oriented programming engorges. Make communication among the heterogeneous application in the era of 2000 companies have come with a new communication format i.e., &ldquo;Message format&rdquo; like, &nbsp; &nbsp; <img class="alignnone wp-image-7407" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_591-460x163.png" alt="Screenshot_59" width="538" height="190" /> &nbsp; A message is the data required to be transferred heterogeneous application with open standard output Service oriented architecture programming speaks specially to communicate among the heterogeneous applications. If we consider a scenario like to allow users to combine &amp; reuse them in production of applications. <strong>&nbsp;Messages:-</strong> &nbsp;A message is the data i.e. used to be transferred between two heterogeneous applications &amp; which is in an open standard format. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />A message. is a self contained unit of data that may consists of several parts including body &amp; headers &nbsp;</p>14c:T68d,<h2><strong>Service</strong></h2>
<p>A service is a construct that exposes one/more end points with each end point exposing to one / more service operations services are logical encapsulation of self contained business functionality. Services are not classes / not components Difference between a service &amp; component is services will enable to communicate among the heterogeneous applications where as components / packages will allow to communicate with in the homogeneous applications only. &nbsp;</p>
<h2><strong>WCF</strong></h2>
<p>WCF is designed to offer a manageable approach to distributed computing, interoperability with the support of service orientation. WCF simplifies development of connected applications through a new service oriented programming model. WCF includes serialization facilities that enable loose coupling &amp; versioning and provides integration &amp; interoperability with other services &nbsp;</p>
<h2><strong>WCF is widely used for following reasons:-</strong></h2>
<p>WCF can communicate using web services, interoperability with other platforms that support SOAP such as J2EE based applications. Most efficient performance as compared with other SOA programming techniques. i.e., the applications developed using WCF will work at faster rate as compared with the applications developed in removing, web&rsquo; services, MSMQ, etc. WCF will help to provide more reliability &amp; security at compared with web services. WCF provide interoperability with applications built on other technologies. WCF will provide interoperability with all Microsoft technologies. WCF will provide interoperability with other XML protect &nbsp; &nbsp;</p>14d:T1db3,<h2><strong>Example to create WCF service with database</strong></h2>
<p>Create a new WCF service with the name example 3 Change the interface name to I emp details <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the class name to cls emp details <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the SVc file name to cls emp details SVC Write the following code in interface class i.e. I emp details.cs using system data; [service contract] Public interface I emp details { [operation contract] Data table get data(); } Go to emp details.cs file &amp; write the following using system.data; Using system.data; Using system. Data. Sqlclient; Public class cls emp details: I Emp details { Public data table get data() { Sql connection . con = new sql connection (&ldquo;----&ldquo;); Sql data adapter da =new sql data adapter (&ldquo; select from emp details&rdquo;, con; Data set Ds = new datsaset(); Da.fill (Ds, &ldquo;emp details); Return ds. Table [0]; }} &nbsp;</p>
<h3><strong>Creating client component:-</strong></h3>
<p>Create a new web with the name check exmaple3 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;design the page add reference to cls empdetails.svc service reference name as &ldquo;SR1&rdquo;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> Using SR1; Protected void btn get data_click (--) { Emp Details client Obj1 =new emp de tails client (); Gridview. Data source = obj 1. Get data(); Grid view 1 . dta bind(); } Run the application &amp; check. <img class="alignnone size-full wp-image-7422" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_641.png" alt="Screenshot_64" width="296" height="221" /> &nbsp;</p>
<h2><strong>Example to create a WCF service to perform the operations on database:-</strong></h2>
<h3><strong>Client design:-</strong></h3>
<p><img class="alignnone wp-image-7423" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_651-460x382.png" alt="Screenshot_65" width="567" height="471" /> &nbsp; <strong>Creating WCF service / server component:-</strong> Create a new WCF service with the name example 4 Change the interface name from I service.cs to I empdetails.cs <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the class name from service.cs to cls emp details.cs <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the service file name from service.svc to clsemp details.svc <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;go to the file I emp details.cs &amp; write the following code [service contract] Public interface I empdetails { [operation contract] Int insert rec (emp data obj1); [operation contract] Int insert rec (emp data obj1); [operation contract] Int delete rec (emp data obj1); } [data contract] Public class emp data { Int cls empid, cls deptno; String cls ename, cls designation; Datatime cls Doj, double clssalary ; [data member] Pblic in p emp id { set { cls em pid = value;} [data member] Public string PE name { Set { cls e name = value;} Get { return cls e name:} } [data member] Public string p designation { set { cls designation = value ;} Get { return cls designation;} } [datamember] Public datatime PDOJ { set{ cls Doj = value;} Get{ return clas Doj:} } [data member] Public double psalary { [data member] Public double psalary { set { cls salary = value :} Ge { return clssalary;} } [data member] Public int p dept no { set{ cls deptno = value;} Ge { return cls deptno;} }} Go to cls empdetails.cs class <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following to implement IEmp details interface members using system. Data; Using system.data. sqlclient; Public class cls empdetails :IE mpdetails { sql connection con=new sqlconnection (&ldquo;---&ldquo;); Sqlcommand cmd; Public int Insertrec (emp data obj1) { String s = &ldquo;insert into emp details values (&ldquo; PEmpID + &ldquo;,&rdquo; + obj1. PE name + obj1/ p designation + &ldquo; &lsquo;,&rsquo; &ldquo; + obj 1 &ldquo; &lsquo;, &ldquo; + obj1. Psalary + &ldquo;,&rdquo; + obj1 +&rdquo;)&rdquo; ; Cmd = new sql command (s,con); Con.open(); Int ; = cmd. Execute non query (); Con. Close (); Returen I; } Public int update Rec (emp data obj1) { string s = &ldquo; update emp details set Ename = &lsquo; &ldquo; + Pe name + &ldquo; &lsquo;, designation = &lsquo;&rdquo; + obj 1. Gnation + &ldquo;&rsquo;, DOJ&nbsp; = &lsquo;&rdquo; + obj 1 PDOJ + obj1.pdeptno + &ldquo; where empID = &ldquo; + objs.pempID; Cmd = new sqlcommand (s,con); Con.open(); Int I = cmd. Execute non query (); Con. Close(); Return I; } Public int delete rec (empdata obj1) { String s = &ldquo;delete emp details where emp ID = &ldquo; + obj1. Pemp id; Cmd = new sqlcommand (s, con); Con.open(); Int I = cmd. Execute nonquery (); Con. Close(); Return I; }} &nbsp;</p>
<h2><strong>Example to create a client to perform the database operations</strong></h2>
<p>Create a new website with the name check example 4 Design the webpage <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;add reference to cls empdetails.svc WCF service with reference name as SR1 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code Using SR1; Empdetails client objs = neco empdetails client(); Emp data objD = new emp data(); Protected void btn instert_click(-----){ objD.PE mp ID = convert. Toint32 (txt emp ID. Text); objd. PeName = txtEName.text; objD.p designation = txt designation.text; objed.PDOJ = convert. To Date time (txtDOJ.Text); objd.psalary = convert. To double (txtsalry. Text); ObjD.pdeptno = convert. TOInt32 (txtdeptno.text); Int I = objs. Insertrec (objD); Lbldisplay. Text = I + &ldquo;Record (s) Inserted&rdquo;; Crotected void btnupdate &ndash; click (---){ objD.PEm PID = convert . TOInt32 (txtempID.text); objD. PEName = texename. Text; objD.pdesignation= textdesignation.text; objD- PooJ= convert. Todatetime (txtdoj.text); ObjD.psalary = Convet. ToDouble (txtsalry. Text); Objd. Pdeptno = convert. TOIrt32 (txtdeptno. Text); Int I = objs. Updaterec (objD); Laldisplay. Text = I + &ldquo;record (s) updated&rdquo;; } protected void btndelete-click(----) { objd.PempID = convert. TOI nt 32 (txt emp ID. Text); Int I = objs. Deleterec (objD); Lbldisplay. Text = I + &ldquo;record (s) deleted&rdquo;; &nbsp;</p>14e:T1370,<h2><strong>Example to consume the WCF service from windows forms applications</strong></h2>
<p>&nbsp; <img class="alignnone wp-image-7426" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_661-460x416.png" alt="Screenshot_66" width="581" height="525" /> &nbsp; &nbsp; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Add reference to cls empdetails SVC from example 4 with the reference name as SR1 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code. //Some tirnes namespace Sr1 is not finding at that time we can write code like this Sr1 emp details client objs = new SR1 Empdetails client (); SR1. Emp data objD = Sr1. Emp data (); Protected void btninsert _ click (----) { objD.pemp ID = convert. Toirct 32 (txt emp id&gt; text ); objD. pEname = txtEname. Text; objD. P Designation = txtdesignation. Text; objd. P doj = convert. To date time (txt Doj. Text); objd. Psalary = convert. To double (txtsalary. Text); objd. Pdeptno = convert. To int32 (txtdeptno. Text); int I = objs = insertrec (objD); Message box. Show (I + &ldquo;record(s) inserted&rdquo;); } Protected void btnupdate &ndash; click (---) { objD. P emp ID = convert. TOInt 32 (txtempid&gt;text); ObjD. Pename = text e Name. text; Objd. Pdesignation = txtdesignation. Text; Objd. Pdoj = convext. To datetime (txt dotj. Text); Objd. Psalary = convert. To double (txtsalary. Text); Objd. Pdeptno = convert. toInt32 (txtdeptno. Text); Int I = objs. Updaterec (objD); Messagebox. Show (I + &ldquo; records) updated&rdquo;) &nbsp;</p>
<h3><strong>Services</strong></h3>
<p>Create a WCF service to find the salary of the given employee <img class="alignnone wp-image-7427" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_681-460x544.png" alt="Screenshot_68" width="451" height="535" /> &nbsp; &nbsp; Create a WCF service to find the square value, cube value, factorial value of the given number. <img class="alignnone wp-image-7428" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_691-460x290.png" alt="Screenshot_69" width="579" height="365" /> &nbsp; &nbsp; Create a WCF service in above client in 2 ways, 1) with&nbsp; out using data contract class 2) by using data contract class &nbsp;</p>
<h3><strong>&nbsp;Basic terminology used in WCF services:-</strong></h3>
<p><strong>ABC&rsquo;s in WCF:-</strong> A <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />address: B <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;binding : C<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> contract <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />in ABC&rsquo;s of WCF service, &lsquo;A&rsquo; stands for &ldquo;Address&rdquo;, &nbsp;&lsquo;B&rsquo; stands for &ldquo;Binding&rdquo;, &nbsp;&lsquo;c&rsquo; stands for &ldquo;Contract&rdquo; &nbsp;</p>
<h3>&nbsp;<strong>Address:-</strong></h3>
<p>Address represents the location of WCF service where messages are received. Address uniquely identifies the end point and tells to the client / consumer where service is located. Address is specified by using URI (uniform resource Identifier) By using this URI client will identify the service location and reach the address with the help of http &amp; TCP The hierarchical part of the RUI contains a unique location who&rsquo;s format is dependent on the transport mechanism. Ex:- http://localhost/example4/cls empdetails.svc &nbsp;</p>
<h3><strong>Bindings</strong></h3>
<p>The Binding specifies how to communicate with end points i.e., which transport protocol is to be &nbsp;tcp/http/some other. The binding can contain binding elements. That specify the details like security mechanisms. Used to secure messages/the message patterns used by endpoints etc. Binding is constructed by the set of components called &ldquo;binding elements&rdquo; &nbsp; &nbsp;</p>
<h2><strong>Steps of bindings</strong></h2>
<p><strong>WS http binding</strong> &nbsp;</p>
<ol>
<li>Basic http binding</li>
<li>WS dual http binding</li>
<li>WS federation Http binding</li>
<li>Net TCP binding</li>
<li>Net named pipe binding</li>
<li>Net Ms MQBinding</li>
<li>Net peer tcp binding</li>
</ol>
<p>&nbsp;</p>14f:T3742,<h2><strong>WCF Transactions Overview</strong></h2>
<p>A transaction is a group of query&rsquo;s to be executed as a single unit. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />when we execute group of querys as a single unit out any problem then only all the modification will be committed to the database. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />If any single query is not executed due to any problem then all other modifications also will be rollback. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />The transactions should follow ACID properties or ACID rules ACID rules stands for, A &nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Atomicity C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; consistency I&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Isolation D &nbsp; &nbsp;&nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Durability &nbsp;</p>
<h3><strong>Atomicity</strong></h3>
<p>This word has been derived from greek, &ldquo;Atom&rdquo; means individual</p>
<ul>
<li>The querys with in the transaction should into be executed separately rather, should be executable as a group only</li>
<li>We can&rsquo;t divide the queries and we can&rsquo;t execute separately.</li>
<li>If we execute the queries, execute as group only all the queries otherwise don&rsquo;t execute any query</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Consistency</strong></h3>
<p>The query after execution should return appropriate results and should not return wrong results. &nbsp;</p>
<h3><strong>Isolation</strong></h3>
<p>Isolation means if multiple transactions are doing executed, each transaction is independent of&nbsp; there transactions until one transaction is committed, to be data should not be reflected to other transactions &nbsp;</p>
<h3><strong>Durability</strong></h3>
<p>The transactions should be able to services after failures i.e. in the middle of the transaction if execution is stopped due to power failures or due to breakdowns after restoring the failure the transaction is able to complete its execution. &nbsp;</p>
<h2><strong>Implementing transactions using WCF services</strong></h2>
<p>In general, when we implement the transactions in WCF services it follows in 2 stages / 2 phases.</p>
<ol>
<li>Ready phase / preparation phase</li>
<li>Execution and commit phase</li>
</ol>
<p><strong>Step1:-</strong> Client sends request to first WCF service whether it is ready to implement transaction cannot. <strong>Step2:-</strong> WCF service will acknowledge that it is to implement the service. <strong>Step3:-</strong> it is ready to implement transactions (or) not. <strong>Step4:-</strong> WCF service 2 will acknowledge implementing the transaction then execution and commit phase will start. <strong>Step5:-</strong> Client sends requests to execute the query to WCF servcvie1. <strong>Step6:-</strong> WCF service 1 will execute the query with DB <strong>Step7:-</strong> WCF service 1 will acknowledge the client <strong>Step 8 :-</strong> Client will send request to execute the query to WCF service 2. <strong>Step9:-</strong> WCF service 2 will execute the query to DB. <strong>Step 10:-</strong> WCF service 2 will acknowledge the client <strong>Step 11:-&nbsp;&nbsp;&nbsp; </strong> The transactions will be committed to DB. &nbsp;</p>
<h2><strong>Example to implement transactions using WCF services</strong></h2>
<p>Go to sql server database <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />create database with the name sample <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />create 3 tables with the name customer merchant &amp; transactions like, &nbsp; <img class="alignnone size-medium wp-image-7447" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_761-460x184.png" alt="Screenshot_76" width="300" height="120" /> ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />customer ID Balance <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;current balance MID &nbsp; &nbsp; &nbsp; &nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;Merchant ID PK &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> Primary Key ID &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> Transaction ID &nbsp; To implement the transaction we need to perform 3 modifications with in the WCF service.</p>
<ol>
<li>Write the following attribute with in the functions of interface in which we cant to implement transactions. [transaction flow (transaction flow option. Allowed) ]</li>
<li>Write the following attribute in preceding to the functions of the class in which we implement the interface functions.</li>
</ol>
<p>[operation behavior (transaction scope required = true)]</p>
<ol start="3">
<li>In Web config file in end point add a new attribute binding configuration like</li>
</ol>
<p>&lt;endpoint address = &ldquo; &rdquo; binding =&nbsp; &ldquo;WShttp binding&rdquo; contract = &ldquo;interface name&rdquo; binding configuration = &ldquo;transactional binding&rdquo;&gt; <img class="alignnone wp-image-7448" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_771.png" alt="Screenshot_77" width="158" height="125" /> &lt;binding name = &ldquo;Transactional Binding&rdquo; Transaction flow = &ldquo;true&rdquo;/&gt; &lt;/WS http binding&gt; &lt;/binding&gt; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Create a new WCF service with the name &ldquo;WCF customer service&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the interface name to &ldquo;Icustomer.cs&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Change the class file name ot &ldquo;clscustomer.cs&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />change the servciefiel name ot &ldquo;Cls customer.svc&rdquo;. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Write the following code (go to Icustomer.cs file) [service contract] [Transaction flow (Transaction Flowoption. Allowed)] Void update customer (string ID, double amount); } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to the classfile clscustomer.cs &agrave; write the following code. using system.data; using system.data.sqlclient; public class cls customer: I customer [operation behavior (transaction scope required = true)] Public void update customer (string Id, double amount) { sqlconnection con = New sqlconnection (&ldquo;---&ldquo;); String s = &ldquo;update customer set (balance &ldquo;=+Amount + &ldquo;where CID = &lsquo;&rdquo;+ ID + &ldquo; &lsquo; &ldquo;; Sql command cmd = new sql command (s, con); Con.cpen(); cmd. execute nonquery(); con.close(); Go to .svc file change the service name to cls customer <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to web. Config file &agrave; write the following code in endpoint. Endpoint address = &ldquo; &ldquo; binding&nbsp; = &ldquo;WShttp binding&rdquo; contract =&rdquo;Icustomer&rdquo; binding configuration = &ldquo;Transactional binding &ldquo; / &gt; After completion of service tag add a new tag with the name bindings &agrave; write the following code. &lt;System. Servicemodel&gt; &lt;Services&gt; &hellip;.. &lt;/Services&gt; &lt;bindings&gt; &lt;WShttp binding&gt; &lt;Binding name = &ldquo;Transactional binding &ldquo; transaction flow = &ldquo;true&rdquo;/&gt; &lt;/WS http binding&gt; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />create a 2<sup>nd</sup> service with the name WCF merchant service <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />write the following code. [service contract] public interface Imerchant { [operation contract] [Transaction flow(Transaction flowoption.allowed)] void update Merchant (string Id, double amount); } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to&nbsp; class file clsmerchant.cs <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code using system data; using system.dat.sqlclient; public class cls merchant: Imerchant { [operation behavior (transaction scoperequired = true)] public void update merchant (string Id, double Amoutn) { sql connection con=new sqlconnection (&ldquo;----&ldquo;); string s = &ldquo;update Merchant set c balance = &ldquo; + amont p &ldquo;where MID = &lsquo; &ldquo; + ID + &ldquo; &lsquo; &ldquo; ; sqlcommand cmd = new sqlcommand (s, con); (on. Open (); cmd. Execute non Query (); con.close(); } } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to .svc file change the service name to cls merchant <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to web. Config file <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code in endpoint. &lt;endpoint address = &ldquo; &ldquo; binding = &ldquo; WS httpbinding&rdquo; contract = &ldquo;Imerchant&rdquo; binding configuration = &ldquo;Transactionalbinding&rdquo;/&gt; &lt;bindings&gt; &lt;WS http Bninding&gt; &lt;binding name = &ldquo;Transactional binding&rdquo; transaction flow = &ldquo;True&rdquo;/&gt; &lt;/WS Http binding&gt; &lt;/Bindings&gt; create a new WCF service with the name WCF Transaction service &agrave; write the following code. [service contract] public interface ITransaction { [operation contract] [Transaction Flow (Transaction Flow option Allowed)] void Insert Transaction (String ID1, string Id2, string Id3, date Time D1, double amount1, double amount2, double amount3) <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Using system. Data: using system. Data.sqlclient; public clas cls transaction: I Transaction { [operation behavior (transaction scope required = true) ] Public void insert transaction (string Id1, string id2 string Id3, date time d1, double amount 1, double amount 2, double amount 3) { sql connection con = new sqlconnection (&ldquo;----&ldquo;); String&nbsp; S = &ldquo; Insert into transactions values (&lsquo; &ldquo; + Id 1 + &ldquo; &lsquo;,&rsquo; &ldquo; + Id2 + &ldquo; &lsquo;,&rsquo; &ldquo; Id 3 + &ldquo; &lsquo; , &lsquo; &ldquo; + D1 &lsquo;&rsquo;, amount 1 + &ldquo; &lsquo; &ldquo; + amount 2 + &ldquo; , &ldquo; + amount 3 + &ldquo;) &ldquo; ; Sql command cmd = new sqlcommand (s, con); Con.open(); cmd. Execute Nonquery(); con.close(); } }</p>150:T9e3,<h2><strong>Create a client application to consume the 3 services created by the transactions</strong></h2>
<p>Create a new web site with the name&nbsp; WCF traction client &agrave; Design the page &agrave; add references 3 WCF services created early in this program</p>
<ol>
<li>For WCF customer service with reference name as &lsquo;SFC&rsquo; (service reference for customer)</li>
<li>For WCF merchant service with reference name as &ldquo;SRM&rdquo;</li>
<li>To WCF transaction service with reference&nbsp;&nbsp;name as &ldquo;SRT&rdquo; add reference to &ldquo;System</li>
</ol>
<p>Transactions&rdquo; Namespace <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code using system data sqlclient; using system Transactions; using SRC; using SRM; using SRT; sqlconnection con= new sqlconnection (&ldquo;---&ldquo;) ; protected void btnsubmit_click(----) { <img class="alignnone wp-image-7453" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_781-460x280.png" alt="Screenshot_78" width="463" height="281" /></p>
<ol>
<li>strings = &ldquo;select c balance from customer where c ID=&rsquo; &ldquo; + extcid.text + &ldquo; &lsquo; &ldquo; ; Open (); sqlcommand cmd = new sql command (s, con); sqldata reader Dr = cmd. Execute reader (); Dr. Read (); double cbal = convert . to Double ( Dr [0]); cbal = cbal &ndash; convert. To Double (txtamt.text);</li>
</ol>
<p>Con.close(); s= &ldquo;select cbalance from merchant where MID = &lsquo; &ldquo;cmd = new sql command (s, con); con opend(); Dr = cmd. Execute reader(); DR. Read (); double M Bal = convert. Tobouble (DR[0]); MBal = MBal + convert . to double (txt Tamt.text); con.close(); if (&lt;bal&lt;0) lbl display text &lsquo;balance is not sufficient, transaction cannot be performed&rdquo;; else { using (transaction scope TS = new transaction scope option. Required) { try { customer client objc = new customer clinet (); Merchant client objM = new merchant client (); Transaction client objT = new Transaction client (); objc update customer (txtcId. Text, cbal); objM. Insert transaction ((txt Tid &ndash; text, text Cid. Text, txt Mid. Text, datatime. Now .date, convert. To bouble / txt tamt. Text), cbal, mbal); T.S.complete(); lbldisplay.text = &ldquo;Transaction successful&rdquo;; } catch { TS dispose (); lbldisplay.text =&rdquo;Transaction Rooled back&rdquo;; } } }</p>151:T1b10,<h2><strong>Contracts</strong></h2>
<ul>
<li>A contract defines certain aspects of the service such as format &amp; structure of the message etc.</li>
<li>A contract is an agreement between client &amp; service</li>
<li>Contract describes the data, punitions their return types, parameters, etc to be communicated with the service</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Types of contracts in WCF</strong></h3>
<p>WCF supports 5 types of contracts</p>
<ul>
<li>Data contracts</li>
<li>Operation contracts</li>
<li>Message contracts</li>
<li>Fault contracts</li>
<li>Service contracts</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Data contract</strong></h3>
<p>The data type that a service should be use in metadata to enable others &nbsp;to interoperate with the service/ described as data contract.</p>
<ul>
<li>In general, these data contracts are created with in the data contract class by preceding with [data contract] attribute.</li>
<li>The descriptions of the data types are known as the data contract.</li>
<li>The types used / described with in the data contract can be used in any part of the messages as parameters / return types tec.</li>
<li>If the service is using only simple types it is not required to create data contract separately.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Operation contract</strong></h3>
<p>An operation contract defines the operations, their parameters &amp; the return types.</p>
<ul>
<li>All operations should be preceded with operation contract attribute that are to be used outside the WCF service</li>
<li>In WCF services the operations can be modeled as taking a single message &amp; returning a single message.</li>
<li>Message contract:-</li>
<li>A message contract defines / describes the format of a message.</li>
<li>Message contract declares whether message elements should go in headers / with in the body etc</li>
<li>Message contract also describes that what level of security should be applied to which elements of the message.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Fault contract</strong></h3>
<p>A fault contract can be associated with service operation to denote errors that can be return</p>
<ul>
<li>An operation can have zero% more fault contracts associated with it.</li>
<li>These errors are soap faults that are modeled as exceptions in the programming model</li>
</ul>
<p>&nbsp;</p>
<h2><strong>Service contract</strong></h2>
<p>A service contract can be said as the combination of other contracts mentioned above.</p>
<ul>
<li>The service contract bundles together multi related operations into a single functional unit.</li>
<li>A service contract contains internally data contracts, operation contracts, message contracts &amp; fault contracts.</li>
<li>The service contract can define the settings to be followed at service level</li>
<li>In most of the cases, the service contract is defined by creating an interface &amp; preceding it with service contract attribute.</li>
<li>The actual service contract code is resulted by implementing that interface.</li>
<li>The service contract outlines wheel functionality that end point exposes to the client</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Endpoint</strong></h3>
<p>An end point is a construct, at which messages are sent/received.</p>
<ul>
<li>An endpoint contains a location i.e., an address., a specification of the communication mechanism i.e., binding &amp; definition for set of messages that can be sent / received i.e., contract.</li>
<li>So, endpoint can be set as combination of ABC&rsquo;s</li>
<li>All communication with in the WCF services will occur through the endpoints of the service.</li>
<li>End points will provide the clients complete access to the functionality that WCF service offers</li>
<li>A WCF service is exposed to it&rsquo;s clients as a collection of endpoints.</li>
<li>A WCF service should contain minimum one endpoint.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Structure of a service with endpoints</strong></h3>
<p><img class="alignnone wp-image-7431" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_701-460x169.png" alt="Screenshot_70" width="750" height="275" /> &nbsp; &nbsp; An endpoint is defined in a web.confing file by using the 3 attributes address, binding &amp; contract like &lt;endpoint address = &ldquo;Value&rdquo; binding = &ldquo;Value&rdquo; contract = &ldquo;Value&rdquo;&gt; &lt;/enclpoint&gt; &nbsp; &nbsp;</p>
<h2><strong>Message &amp; Message Patterns</strong></h2>
<p>A message is a self contained unit of data which contains several parts like body, header, etc. Message are sent between endpoints of dient &amp; service. WCF supports following message patterns.</p>
<ol>
<li>Simple</li>
<li>Duplex</li>
<li>Request &ndash; reply</li>
</ol>
<p><strong>Simplex</strong> This is one way communication from client to service. In this mechanism / pattern client serds request / message to the service, service consumes that request but doesn&rsquo;t respond back to the client. To work / implement this message pattern set &ldquo; Is one way&rdquo; property to &ldquo;true&rdquo; along with [operation contract] attribute like, [operation contract (is one way = true)] The methods which are following simplex message pattern should not return a value i.e., should not have return type (or) should not contain reference &amp; out parameters. Otherwise, they through an conception &ldquo;System invalid operation&rdquo; exception. &nbsp; <img class="alignnone wp-image-7432" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_712-460x92.png" alt="Screenshot_71" width="725" height="145" /> &nbsp; &nbsp;</p>
<h3><strong>Duplex</strong></h3>
<p>This is a two way / bidirectional communicate service and service respond to the client by conserve that message. Client &amp; service will exchange the messages cuing channel A duplex service contract is a message exchange pull in which both client &amp; service endpoints can semi messages to each other independently. To implement this message pattern set &ldquo;I someway property of [operation contract] attribute to &ldquo;true&rdquo; create the call back interface that defines the of operations for invoking on the client &nbsp; &nbsp; <img class="alignnone wp-image-7433" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_722-460x122.png" alt="Screenshot_72" width="657" height="173" /> &nbsp; &nbsp; <strong>Request &ndash; Reply </strong> This is the default messaging path followed in WCF. In this type of pattern client makes a call to service tions &amp; waits for a response from the service Client request &amp; service response will be through event channels. &nbsp; <img class="alignnone wp-image-7434" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_732-460x117.png" alt="Screenshot_73" width="695" height="176" /> &nbsp;</p>152:T149f,<h2><strong>Arithmetic operations using data contract in WCF services</strong></h2>
<p><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Create a new WCF service with the name example2 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Change the interface name form I service.cs to I arithematic.cs <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the class name from service.cs to cls arthematic.cs<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> change the service file name from service.svc to cls arithematic.svc <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />double click on I arithematic.cs &amp; write the following code. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />In data contract we declare all data fields &amp; properties. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />To provide data facilities to the services contract we use data contract. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Data contract class object reference is used in service contract [Service contract] Public interface I arithematic { [operation contract] Int add (Arithmetic data obj1); [operation contract] Int subtract (arithematic data obj1); [operation contract] Int multiply (arithematic data obj1); [operationcontact] Int divide (arithematic data obj1); } [Data contract} Public class arithematicdata { Int num1, num2, result; [data member] Public int p num1 { Set{ num 1 = value;} Get {return num1:} } [data member] Public int p num 2 { Set {num 2 = value;} Get { return num2:} [Data member] Public int presult { Set { result = value;} Get {return result;} } } Double click on cls arithmetic.cs file in solution explorers write the following code Pulbic class cls arithematic : I arithematic { Public int add (arithematic data obj1) { Obj1. Presult = obj 1.pnum1 + obj 1 .pnum2; return obj1. Presult; } Public int subtract (arithematic data obj1) { Obj1. Presult = obj1. Pnum1 &ndash; obj1. Pnum2; return obj1. Presult; } public int multiply (arithmetic data obj1) { obj1. Presutl = Obj1. Pnum1* obj1.pnum2: return obj1. Presult: } Public int divide (arithematic data obj1) { obj1. Presult=obj1. Pnum1/obj1.pnum2; return obj1. Presutl;}} Change in cls arithematic.sve file the service name to cls arithematic &agrave; to to web. Config file change the service name to cls arithematic &amp; contract ot I arithmetic &agrave; run the application &amp; check the path of cls Arithematic.Svc &nbsp;</p>
<h2><strong>Example to consume the WCF service / creating client component:-</strong></h2>
<p>&nbsp; <img class="alignnone wp-image-7419" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_632-460x265.png" alt="Screenshot_63" width="598" height="343" /> &nbsp; Create a new web site with the name &ldquo;check example2&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />desing the webpage. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />add reference to example2 WCF service class i.e., cls arithematic.svc with namespace servie reference name as &ldquo;SR1&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code. Using SR1: Arithematic client objs = new Arithematic client (); Arithematic data objd = new arithematic data (); Protected void btn add &ndash; click (---) { objD.pnum1= convert. TOInt 32 (txtnum1.text) objD.pnum2= convert. TOInt 32 (txtnum2.text) objD.pnum = objs. Add (objD); text result. Text = objD. Presult. Tostring(); } Protected void btnsubtruct_ click (=---) { objD.pnum1= convert. TOInt 32 (txtnum1.text) objD.pnum2= convert. TOInt 32 (txtnum2.text) objD.pnum = objs. Add (objD); text result. Text = objD. Presult. Tostring(); } Protected void btndivide &ndash; click (---) { objD.pnum1 = convert. Toint32 (textnum1.Text); objD.pnum2 = convert. Toint32 (textnum2.Text); objD.preset = objs. Divide (obj D): txtresult . text = ObjD. Presutlt. Tostring(); }}</p>153:T30ee,<h2><strong>Hosting Services</strong></h2>
<p>To make any WCF service as active that service most be hosted with in a runtime environment which creates the service and controls the life time of the service</p>
<ul>
<li>WCF services are designed to run on any windows process that supports managed code.</li>
<li>WCF services supports following types of hosting mechanisms / hosting options.</li>
<li>Hosting using console Applications / managed applications</li>
<li>Hosting within windows services</li>
<li>Hosting with IIS</li>
<li>Hosting with windows process activation service or activation domain.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Hosing with console applications / managed application</strong></h3>
<ul>
<li>WCF services can be hosted in any managed application</li>
<li>This is most flexible option and required least infrastructure and resources.</li>
<li>In this mechanism we embed the service with console applications and use the &ldquo;service host&rdquo; class to host our service</li>
<li>The services hosted in console applications can be from windows forms applications or WPF application</li>
<li>Hosting a WCF service with in the console application useful during the application development process</li>
</ul>
<p>This makes easy to debug and trace the application &nbsp;</p>
<h3><strong>Hosting with windows services</strong></h3>
<ul>
<li>This hosting option requires register the application our WCF service within the windows service.</li>
<li>Once our WCF service is registered at windows serve then it will be controlled by the service control mar of the windows services</li>
<li>The service is implemented as both windows service and as WCF service by inheriting from both the i.e., service base of windows services as from contract interface of WCF service.</li>
<li>Then the code is written appropriately in on start &amp; on stop events of windows service.</li>
<li>Then the service is installed with in the windows services of control panel using &ldquo;install util exe&rdquo;</li>
<li>Once the service is placed in control panel service the lipetime of the service is controlled by the</li>
<li>This hosting option is available in all versions windows.</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Hosting with IIS</strong></h3>
<ul>
<li>Hosting with IIS option is integrated along with .net</li>
<li>When WCF service is hosted with IIS it provide following facilities:</li>
</ul>
<ol>
<li>Id shutdown</li>
<li>Process beatth monitoring</li>
<li>Message based activations</li>
</ol>
<p>IIS hosted services will support only &ldquo; Http&rdquo; transport and doesn&rsquo;t support other transport like Tcp etc. &nbsp;</p>
<h3><strong>Hosting with windows process activation service</strong></h3>
<p>This is the new mechanism available with windows vista., windows7, windows 2008 server operation system. This is not supported in windows Xp Microsoft introduced this mechanism with IIS 6.0 version (with windows Xp we have IIS 5.0 version) To work with first two hosting we should know about service host class and URI class. These 2 classes are available in system service model namespace. &nbsp;</p>
<h3><strong>Service Host class</strong></h3>
<p>This class is used to set the required properties for a service, to host the service. &nbsp;</p>
<h3><strong>Methods with service host class</strong></h3>
<p>Abort () Close () Open () Add service end point (implemented contract (address) class, binding contract); <strong>Abort():-</strong>&nbsp;This method is used to terminate the service <strong>Close():-</strong> &nbsp;This method is used to close the service <strong>Open():-</strong> &nbsp;This method is used to start a service. <strong>Add service Endpoint, (, , ) :-</strong>&nbsp; This method is used to add the required end point to the service &nbsp;</p>
<h2><strong>Example to host the service using console application</strong></h2>
<p><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Create a new console application with the name example 6 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Add a new class with the name IEMP tails.cs <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the class to interface in IE details.cs <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;Add reference to system. Service mode namespace Using system data; Using system. Service model; Namespace Example6 { [service contract] interface IEmp details { [operation contract] data table get deptdata(int D); } } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />create a new class file with the name cls empi .cs &amp; write the following code. using system.data; using system.data.sqlclient; namespace example6 { public class cls emp Details : IE mp Details } Public Data Table Get Deptdata (int D) { sqlconnection con=new sql connection (----); string S = &ldquo;Select * from emp Details where Deptno=&rdquo;+D; sqldata Adpater da = new sqldataadapter (s.con); dataset Ds=new Dataset(); (DS, &ldquo;Emp&rdquo;); return ds. Tables[0]; } } } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Change the program.cs file name to cls sample.cs and write the following code. using system. ServiceModel; Namespace Example6 { Class cls sample { Static voidMain() { vri obju = new uri (&ldquo;net.tcp://localhost:9100/&rdquo;); service host objs = new serviceHost (type of (cls emp Details), obju); Objs.open(); c.WL (&ldquo;service started and running&rdquo;); C WL (&ldquo;press any key to terminate-----&ldquo;); Console. Readline(); Objs. Close(); } } } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />To mention the end point for the service add app.config file into the application. <strong>Steps:-</strong> <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to selection Explorer <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;Select the solution <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click with right mouse button <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on add <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on new item <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select the template application configuration file<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />click on add <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code. &lt;xml version = &ldquo;1.0&rdquo; encoding = &ldquo;utf &ndash; 8&rdquo;?&gt; &lt;configuration&gt; &lt;system.servicemodel/&gt; &lt;services&gt; &lt;service name = &ldquo;Example6.Cls Emp Details&rdquo;&gt; &lt;endpoint address = &ldquo;Example6. Cls Emp details&rdquo; Binding = &ldquo;net TCP Binding&rdquo; Contract = &ldquo;Example6. IEmp details&rdquo;/&gt; &lt;/service&gt; &lt;/services&gt; &lt;/system.ServiceModel&gt; &lt;/configuration&gt; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Creating client component to consume the service costed using console application <strong>Client Design</strong> <img class="alignnone wp-image-7437" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_741-460x213.png" alt="Screenshot_74" width="650" height="299" /> &nbsp; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Create a new windows ohms application <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;Design the form <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;Add reference the service hosted using consol applications. <strong>Steps to add reference</strong> <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to solution explorer <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select the solution <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click with right mouse button <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />click on add service reference <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;type the &ldquo;net TCP://local host:9100/&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on go button <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />we find the service class name &ldquo;Cls empdetails&rdquo; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the reference to me to SRI <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on Add, this will create proxy impotent at client side (<strong>Note:</strong>- Before adding this reference, the service hosted in console application i.e., example 6 should be running otherwise. We can&rsquo;t add the reference and can&rsquo;t consume the service) &agrave; write the following code. Private void btnsubmit click(-----) { SRI.Empdetails client obj1 = new sRI.Emp Details client(); DGV sample. Datasource = bj1. Getdeptdata (convert to Int32 (txtdeptno. Text)); } &agrave;Run the application &amp; click. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />This client will work a long as the service component created at console application is running. If can closeness.</p>154:T65b,<h2><strong>Remoting</strong></h2>
<p>Remoting is used to build distributed computing applications. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Microsoft originally developed Remoting by enhancing com and dcom. Using Remoting Microsoft is able to achieve,</p>
<ol>
<li>Reusability</li>
<li>Language Independency</li>
<li>Platform independency</li>
<li>Location Independency</li>
<li>Every component based model we will have client &amp; server components which will be interacting with different mechanism</li>
</ol>
<p>&nbsp;</p>
<h2><strong>Remoting Architecture</strong></h2>
<p>&nbsp; <img class="alignnone wp-image-7412" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_601-460x191.png" alt="Screenshot_60" width="525" height="217" /> &nbsp; <img class="alignnone wp-image-7413" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_612-460x185.png" alt="Screenshot_61" width="535" height="214" /> &nbsp; &nbsp; 1):- Client makes a request to the pro xy. 2):- proxy builds stack frame request &amp; send to formatter. 3):- Formatter converts the request into open stand &ndash;and format (serialization is performed) &amp; delivers to networks channel. 4):- Network channel will deliver the request to the destination machine. 5):- formatter will take the request &amp; delivers to dispatcher. 6) :- Dispatcher will perform deserialization i.e., converts the request to server understandable form.</p>155:T34eb,<h2><strong>Difference between hosting the service on IIs and in console applications</strong></h2>
<ul>
<li>When we host the service at IIS, IIS will start the service automatically whenever the request is coming from the host and executes the service and sends the result back to client application.</li>
<li>But when we host the service using console application and we want to consuming from client we need to keep service running manually.</li>
<li>The service hosted using IIS will support only http protocol. Where as the service running or hosted in console application will also support TCP protocol</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Differences between basic&nbsp;HTTP binding and WS HTTP sending</strong></h3>
<p>originally WS http binding is the combination of basic http binding and web services as well as web services extension. This can be written as, WS http binding = Basic http Binding + WS - * &nbsp;</p>
<table style="width: 793px; height: 336px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><strong>Basic http binding</strong></td>
<td><strong>WS http Binding</strong></td>
</tr>
<tr>
<td>Data is transferred in plain text form between client and service component</td>
<td>Data is transferred in encrypted form between client and service component</td>
</tr>
<tr>
<td>Supports all versions of ASP.net</td>
<td>supports 3.0, 3.5 and 4.0 versions of ASP.Net</td>
</tr>
<tr>
<td>Supports backward compatibility i.e., service can be consumed from the client applications created in 1.0.1.1&amp; 2.0 versions.</td>
<td>Doesn&rsquo;t support backward compatibility i.e., service can&rsquo;t be consumed form the client applications created in 1.0, 1.1&amp;2.0 versions.</td>
</tr>
<tr>
<td>Basic http binding follows SOAP 1.1 version</td>
<td>WS http binding follows SOAP 1.2 version;</td>
</tr>
<tr>
<td>Security is not good.</td>
<td>security is good.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2><strong>Hosting a WCF service using windows service</strong></h2>
<p>Create a new window service with the name Example 7 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change service 1.cs file name to sample service.cs <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;add reference to system. Service model name space <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code using system. Service model; namespace example7 { [service contract] public interface IMath numbers { [operation contract] int square (int x); [operation contract] int cube (int x); [operation contract] int factorial (int x); } Public partial class sumpleservice &ndash; service base, Imc dhnumbers Servicehost objs = null; Protected override void onstart (--) { obj = new service host (type of (sample service)); if (objs ! = null) objs. Opern(); } protected override void onstop(--) { if (objs! = null) { objs.close(): objs=null; } } public int squar (int x) { return x * x; } public int cube (int x) { public int factorial (int x) { return x*x*x; } public int factorial (int x) { int R = 1, I; for (i=1; i&lt;=x;i++) { R=R * i } return R; } } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Add new app.config into the windows service <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code &lt;configuration&gt; &lt;system.service Model&gt; &lt;service&gt; &lt;Service name = &ldquo;Example 7 . sample service&rdquo; behavior configuration = &ldquo;Metadata support&rdquo;&gt; &lt;host&gt; &lt;base addresses&gt; &lt;add base address = &ldquo;net.tcp:// localhost : 8001/Example 7&rdquo;/&gt; &lt;add base address = &ldquo;http:// localhost:8081/Example7&rdquo;/&gt; &lt;/base addresses&gt; &lt;/hot&gt; &lt;end point address = &ldquo;Tcpmex&rdquo; binding = &ldquo;meretcp binding&rdquo; contract = &ldquo;metadata Exchange&rdquo;/&gt; &lt;endpoint address = &ldquo; &rdquo; binding = &ldquo;ws http binding&rdquo; contract = &ldquo;Example7. Imath numbers&rdquo;/&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;services behaviors&gt; &lt;behavior name = &ldquo;metadatasupport&rdquo;&gt; &lt;Service metadata http get enabled = &ldquo;False&rdquo; http sget url = &ldquo;&rdquo;/&gt; &lt;/behavior&gt; &lt;/service behaviors&gt; &lt;/behaviors&gt; &lt;/system.service model&gt;&lt;/configuration&gt; Go to sample service cs design<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />click with right mouse button <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on add installer <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />this will add service process Installer and service installer classes to the application <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select serviceprocess Installer<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> go to properties window, set the following properties according to local system <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select service installer &agrave; go to properties window, set the following properties service name <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;sample service display name <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;sample service start type <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;automatic <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />build the application (this will generate an exe) <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Go to visual studio 2008 command prompt to install the windows service in control panel service <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Change the disk location TC Excample 7 exe location type the following command i-e., Install util.exe - ; example 7. Exe This will install the service with in the control panel services. Go to control panel services <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select the sample service <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click with right mouse button <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on start &nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />service will be started. Now this service is ready and can be consumed from any client application &nbsp;</p>
<h3><strong>Sample of create client application to consume the WCF service hosted using windows service</strong></h3>
<p>Name check example 7 &nbsp; <img class="alignnone wp-image-7444" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_751-460x256.png" alt="Screenshot_75" width="546" height="302" /> &nbsp; &nbsp; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Design the form <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;go to solution explorer <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;select the solution<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> click with right mouse button <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on add service reference <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;type the following address net.tcp//localbost : 8001/ example 7/tcpmex <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;change the service reference 1 to sr1 <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;click on ok (This coil) create proxy component) <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;write the following code for calculate button protected void btn calculate _click(---) { SRI. Sample service client obj 1 = new SR1. Sample service client(); int a = convert. TOInt32 (txtnum.text): lblsquare text = obj1. Square (a). tostraing(); lblcube. Text =obj1. Cube ()a . tostring(); Lblfactorial . text = obj1. Factorial (a). tostring(); } <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />when we are hosting the service at IIS, the service need not be continuously running rather when ever any client sends request, IIS will execute the service and sends, the result back to the client <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Whenever WCF service is hosted at IIS, the execution of the service will be under the control of IIS <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Whenever service is hosted with in&nbsp;console applications we should be always running as long as any client is consuming that service <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />when we host the WCF service using console applications, the service will run under the control of CLR with the help of OS. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />When we host the WCF service using windows services the service starts running whenever operating system is started. <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Any client can consume this service until this is stopped manually (or) system is shutdown <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />When the service is hosted using windows service it will run under the control of operating system with the help of CLR &nbsp; &nbsp;</p>156:Tc72,<h3><strong>Working With Layouts</strong></h3>
<p><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Layouts are used to display all the controls on the window in a required form <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Layout will help us to keep the controls with same size though parent control size changes or screen resolution changes <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Also layouts will help us to scale the size of the controls a/c to parent control size or a/c to screen resolution &nbsp; <strong>Canvas Layout control</strong> Canvas Layout is the fixed layout and the controls placed in canvas layout will not increase or decrease their size when parent control size changes. &nbsp; <img class="alignnone size-full wp-image-7310" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_314.png" alt="Screenshot_3" width="381" height="99" /> &nbsp; &nbsp; <strong>Example&nbsp;&nbsp;With Canvas Controls</strong> <img class="alignnone wp-image-7311" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_413-460x291.png" alt="Screenshot_4" width="525" height="331" /> &nbsp; Create a new window with the name canvas layout Crete canvas on window Design the canvas Create two buttons outside the canvas with the names b/n LTOR and btn RTOL respectively Write the following code Private void btn LTOR &ndash; click (object sender, Ronted Even Args e) { Canvas 1 Flow direction&nbsp; = flow direction. Left to right; } Private void btn RTOL_click() {canvas1. Flow Direction= flow direction. Right To left; } When you run the form observe the controls by increasing or decreasing the size of the window, the controls placed with the canvas will not increase or decrease their size but the controls outside canvas will increase or decrease their sizes a/c to size of the control &nbsp;</p>
<h3><strong>Stock Panel</strong></h3>
<p>Stack panel layout is used to display the elements in the form of stack we can display the elements in vertical stack form or horizontal stack form &nbsp;</p>
<h3><strong>Properties</strong></h3>
<p>&nbsp;</p>
<h3><img class="alignnone size-full wp-image-7312" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_510.png" alt="Screenshot_5" width="346" height="72" /></h3>
<p>&nbsp; When set to <strong>Vertical :</strong> &nbsp;The controls will be displayed or arranged in vertical stack from when set to &nbsp; <strong>Horizontal:</strong>&nbsp; &nbsp;The controls will be organized in horizontal stack form <img class="alignnone wp-image-7313" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_65-460x234.png" alt="Screenshot_6" width="489" height="248" /> &nbsp; &nbsp;</p>157:T1d6e,<h2><strong>Working with Grid layout</strong></h2>
<p><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />This control is used to arrange the controls in the form of grid. In general when elements are pieced with on the grid the elements (control) sizes will be scaled to the window size (a/c to window size ) automatically&nbsp; i.e if we increase / decrease the size of the window the control sizes will increase / decrease accordingly properties with grid layout <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Column definition <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Row definitions &nbsp;</p>
<h3><strong>Column Definition:-</strong></h3>
<p><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />This property is used to store the columns of the Grid control <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />This property is a collection property &nbsp;</p>
<h3><strong>Row definition</strong></h3>
<p>This is a collection&nbsp; property used to store all the rows within the Grid control &nbsp; <strong>Example With Grid Control</strong> <img class="alignnone wp-image-7325" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_910-460x232.png" alt="Screenshot_9" width="469" height="236" /> &nbsp; &nbsp; Create a new window</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Create a new grid within the window</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Divide the grid into no.of rows &amp; columns</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Select grid control</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Properties</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>go to column definition properly</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on ellipse is button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>Click on add button for 5 tines (5 column &amp; create ) Click on ok &nbsp; &nbsp; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp; &nbsp;go to row definition property</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>click on ellipse is button</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>click on add for 4 tims (This creates 4 rows)</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>To create the controls</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&darr;</h2>
<p>&lt;Grid Name = &ldquo;Grids&rdquo;&gt; &lt;Grid Row Definition&gt; &lt;Row definitions/&gt; &lt;Row Definitions/&gt; &lt;Row Definitions/&gt; &lt;Row Definitions/&gt; &lt;/Grid Row Definitions&gt; &lt;Grid column Definition&gt; &lt;column Definition/&gt; &lt;column Definitions/&gt; &lt;column Definitions/&gt; &lt;column Definition/&gt; &lt;/Grid.column Definition/&gt; &lt;Text&nbsp; Box Name = &ldquo;TI&rdquo; Grid. Column = &ldquo;0&rdquo; Grid.Row=&rdquo;0&rdquo; properties Grid/column span = &ldquo;5%&gt; &lt;button name = &ldquo;bin 9&rdquo; Grid.column = &ldquo;0&rdquo; Grid.Row=%&gt; 9 &lt;/Button&gt; &lt;Button name = &ldquo;bin 8&rdquo; Grid. Column =&rdquo;0&rdquo; Grid.Row = &ldquo;/&rdquo;&gt;8 &lt;/Bitton&gt; &lt;button Name= &ldquo;bin menus&rdquo; Grid &ndash; Column = &ldquo;3&rdquo; Grid.Row=&rdquo;/&rdquo;&gt; - &lt;/button&gt; &lt;button Name = &ldquo;binmultiply&rdquo;&nbsp;&nbsp; &ldquo;4&rdquo; Grid.Row = &ldquo;/&rdquo;&gt; - * &lt;/Button&gt; &lt;Button Name = &ldquo;bin4&rdquo; Grid.column = &ldquo;0&rdquo; Grid Row &ldquo;2&rdquo;&gt; 4 &lt;/button&gt; &lt;button Name = &ldquo;bin5&rdquo; Grid.column = &ldquo;1&rdquo; Grid.Row = &ldquo;2&rdquo;&gt; 5 &lt;/button&gt; &lt;button Name = &ldquo;bin6&rdquo; Grid.column = &ldquo;2&rdquo; Grid. Rows = &ldquo;2&rdquo; 6 &lt;/button&gt; &lt;Button Name = &ldquo;bin plos&rdquo; Grid.column = &ldquo;3&rdquo; Grid.Row = &ldquo;2&rdquo; + &lt;/button&gt; &lt;Button Name = &ldquo;bin divide&rdquo; Grid. Columns = &ldquo;4&rdquo; Grid. Row = &ldquo;2&rdquo;&gt;&ne;&lt;/button&gt; &lt;button Name=&rdquo;bin3&rdquo; Grid. Column = &ldquo;0&rdquo; Grid.Row=&rdquo;3&rdquo;&gt; 3 &gt;/Button&gt; &lt;button Name=&rdquo;bin2&rdquo; Grid. Column = &ldquo;1&rdquo; Grid. Row = &ldquo;3&rdquo;&gt; 2 &lt;/button&gt; &lt;Button Name=&rdquo;bin1&rdquo; Grid. Column=&rdquo;2&rdquo; Grid.Row=&rdquo;3&rdquo;&gt; 1&lt;/Button&gt; &lt;Button name=&rdquo;bin0&rdquo; Grid. Column = &ldquo;3&rdquo; Grid.Row=&rdquo;1&rdquo;&gt;0&lt;/Button&gt; &lt;Button name = &ldquo;bin equal&rdquo; grid.columns=&rdquo;4&rdquo; Grid.Row=&rdquo;3&rdquo;&nbsp; (page No.28 last line not printed) &nbsp;</p>
<h3><strong>Media Control</strong></h3>
<p>These controls are used to work with images audio files, video files etc &nbsp;</p>
<h3><strong>Media element control:</strong></h3>
<p>This control is used to play video/audio files within WPf application. It is flexible to work with media elements because this control will provide a various properties and methods which will allow to customize media plays &nbsp;</p>
<h2><strong>Properties</strong></h2>
<h3><strong>Loaded Behavior</strong></h3>
<p>This property is used to set a value for the startup of video / audio file <img class="alignnone size-full wp-image-7326" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1010.png" alt="Screenshot_10" width="242" height="228" /></p>
<h3><strong>Unloaded behavior</strong></h3>
<p>This property is used to set get the value when file 1 window is unloaded. <img class="alignnone size-full wp-image-7327" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1110.png" alt="Screenshot_11" width="233" height="142" /> &nbsp; &nbsp;</p>
<h3><strong>Natural Duration</strong></h3>
<p>This is read only property gets the complete duration of video / audio file <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Data type of this property in duration which is a structure &nbsp;</p>
<h3><strong>&nbsp;Position</strong></h3>
<p>Used to set 1 get the video/audio to be played from required position &nbsp;</p>
<h3><strong>Speed Ration</strong></h3>
<p>Used to set/get the required speed ratio out is to increase / decrease the play speed &nbsp;</p>
<h3><strong>Volume</strong></h3>
<p>Used to set/get the required volume to the video / audio file that is to be played &nbsp;</p>
<h3><strong>Source</strong></h3>
<p>used&nbsp; to set / get the video/audio file path that is to be played within the Media elements <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Data type of this property is RUI controls which is a class &nbsp;</p>158:T1163,<p>&nbsp;</p>
<h3><strong>Close():- &nbsp;</strong></h3>
<p>Used to close the opened video/audio file that is being played within the media Element control &nbsp;</p>
<h3><strong>Pause():-</strong></h3>
<p>Used to stop the playing of a video/ audio at current position &nbsp;</p>
<h3><strong>Play():- </strong></h3>
<p>Used&nbsp; to play the video/audio file that is attached to media element &nbsp;</p>
<h3><strong>Stop():-</strong></h3>
<p>used to stop the playing of video / audio file &amp; Reset the position to the beginning &nbsp;</p>
<h2><strong>Events with media element control:-</strong></h2>
<p>&nbsp;</p>
<h3><strong>Media opened:-</strong></h3>
<p>This event will be fixed after loading the video/audio file into the media element control &nbsp;</p>
<h3><strong>Media Embed:-</strong></h3>
<p>This event will be fixed when playing of video/audio file completes &nbsp;</p>
<h2><strong>EG with Media Element:- </strong></h2>
<p><img class="alignnone wp-image-7330" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_124-460x202.png" alt="Screenshot_12" width="547" height="239" /> Create a new window Create a media element: select media element Go to properties window Type the file bar in source property i.e. D:\\videos\sample. Run the application &amp; check Media element control in supported in following OS windows 7, window vistall ( service pack) Media Element Internally will take support of windows media player and to work with media element windows. Media player version should be 10,10.0 version and above ren version of windows media player will not work on media element &nbsp; &nbsp; Customizing media element Create a new window and write the following code design the window Private void binplay_click() { Media element/. Play(): { Private void btn pause_click() &nbsp; <img class="alignnone wp-image-7331" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_132-460x314.png" alt="Screenshot_13" width="493" height="335" /> &nbsp; { Mediaelement 1. Powse(); } Private void btnstop_click() { media elemnt.Stop(); }Private void btn forward &ndash;click() { Media element1. Position = mediaelemnt1. Position+timespan.fromseconds(2); } Private void then backword &ndash; click() { Media element1. Position = Media Elemtn. Position &ndash; Timespan. Fromseconds(2): } &nbsp;</p>
<h3><strong>Hider control:-</strong></h3>
<p>This control is used to display some numeric data and will provide increment and decrement of values by moving the slide bar left right or top/bottom &nbsp;</p>
<h2><strong>Properties:-</strong></h2>
<h3><strong>Minimum:-</strong></h3>
<p>used to set the least value from where the slides should start (0) + [Default value] &nbsp;</p>
<h3><strong>Maximum:</strong></h3>
<p>Used to set the highest value upto where the slides control can be used or increased &ndash; 10 [default value] &nbsp;</p>
<h3><strong>Tick frequently :-</strong></h3>
<p>used to set a value by which slides value can be increased / decreased when user clicks on .1 [default] &nbsp;</p>
<h3>&nbsp;<strong>Value:-</strong></h3>
<p>used to set /get current position for the slides. 0&nbsp;<strong>- - &gt;</strong>&nbsp;[default] &nbsp;</p>
<h3><strong>Orientation:-</strong></h3>
<p>used to set the required orientation when horizontal slides is displayed like &nbsp; <img class="alignnone wp-image-7332" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_143-460x201.png" alt="Screenshot_14" width="460" height="201" /> &nbsp; &nbsp; Default event of slider control is value changer. This event will we fired when the value within slides changes &nbsp;</p>
<h3><strong>Previous diagram:-</strong></h3>
<p>Private void media element 1 &ndash; media opened() { Media element.volume = slidesi-value; } private void slides 1_vakye chanes(-) { Media element1. Value= slider 1. Value; } &nbsp;</p>
<h3><strong>Mute button:-</strong></h3>
<p>Private void button mute_click(--) { Media Element 1. Value =0; }</p>
<h3><strong>Open:-</strong></h3>
<p>Add reference to system . windows forms names pace and write the following. Using system. Windows. Forms; private void butn open_click(-) { Open file Dialog op = new&nbsp; openfile dialog(); op. filter = &ldquo;wnu files|*.wmv|mpu files|*mpg| all files|*.*; OP.showdialog(); uri obj 1 = new ori(op . filemenu: media element 1. Source = Obj1; } &nbsp;</p>159:T9f0,<h2><span style="color: #000000;">Prerequisite to create a planning application</span></h2>
<p>Steps to create a RDBMS Database</p>
<ul>
<li>Click on START&nbsp;<strong> - - &gt;</strong>ALL PROGRAMS</li>
<li>Microsoft SQL Server 2005</li>
<li>Sql Server management Studio</li>
<li>Click on the content</li>
<li>Right Click on Database</li>
<li>Click on New Database</li>
<li>Provide the Database name</li>
<li>Click on an Icon to select the Owner</li>
<li>Enter sql server admin login name(admin)</li>
<li>Click on check names</li>
</ul>
<table style="border-collapse: collapse; width: 100.017%; height: 53.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 53.0374px;">
<td style="width: 98.3494%; text-align: center; height: 53.0374px;"><em>Interested in mastering Hyperion Planning? Enroll now for FREE demo on<strong> <span style="color: #236fa1;"><a style="color: #236fa1;" href="https://tekslate.com/oracle-hyperion-essbase-training/" target="_blank" rel="noopener">Hyperion Planning Training.</a></span></strong></em></td>
</tr>
</tbody>
</table>
<pre style="text-align: center;"><em><strong>&nbsp;</strong></em></pre>
<ul>
<li>Click on ok</li>
<li>Provide the data and log files size 20 and 10(or 2) MB respectively</li>
<li>Click on ok</li>
<li>Expand the security on your LHS(left hand side)</li>
<li>Expand the logins</li>
<li>Select your planning administrator login(Machine name/admin)</li>
<li>Right click and click properties</li>
<li>Click on user mapping on your LHS</li>
<li>Select the database, which you create just now. Enable the check box for db_owner role</li>
<li>Click on ok</li>
<li>Click on File <strong>- - &gt;&nbsp;</strong> Click on Exit</li>
</ul>
<p><strong>For indepth understanding click on</strong></p>
<ul>
<li><a href="https://tekslate.com/business-rules-hyperion-planning/" target="_blank" rel="noopener">Business Rules in Hyperion</a></li>
<li><a href="https://tekslate.com/data-forms-dimensional-access-hyperion-plannings/" target="_blank" rel="noopener">Data Forms</a></li>
<li><a href="https://tekslate.com/hyperion-planning-interview-questions-answers" target="_blank" rel="noopener">Hyperion Planning Interview Questions</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/hyperion-planning-architecture/">Hyperion Planning Architecture</a></li>
<li class="title"><a href="https://tekslate.com/introduction-hyperion-planning/" target="_blank" rel="noopener">Introduction to Hyperion</a></li>
</ul>
<div class="tags">&nbsp;</div>15a:Ta2d,<h2 style="text-align: justify;"><span style="font-size: 24px; color: #e67e23;">History of C++</span></h2>
<ul style="text-align: justify;">
<li>An object oriented programming language</li>
<li>Initially named C with classes</li>
<li>Developed by Bjourne stroustrip</li>
<li>Renamed as c++ in 1983</li>
<li>The idea comes from C statement operator +*</li>
<li>IS a superset of C</li>
</ul>
<p>&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 24px;">Advantages of C++</span></h2>
<ul style="text-align: justify;">
<li>Object oriented</li>
<li>Portable language (writing a program irrespective of operating system as well as Hardware)</li>
<li>Low level language like Assembly language on Machine language called portable.</li>
<li>&nbsp;</li>
</ul>
<h3 style="text-align: justify;">Portability</h3>
<ul style="text-align: justify;">
<li>Portability allows to develop program irrespective of hardware</li>
<li>It allows to move the program develop for one platform to another platform</li>
<li>C compatible (COMP) : Programs developed in &lsquo;C&rsquo; language can be moved without any modifications into C++</li>
<li>C++ is an object oriented embedded language which is having the characteristics of low level language &amp; which is also developing the embedded software.</li>
</ul>
<p style="text-align: justify;">Which language having low level features</p>
<p style="text-align: justify;">&nbsp;</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 24px;">Disadvantages&nbsp;</span><span style="color: #e67e23; font-size: 24px;">of C++</span></h3>
<ul style="text-align: justify;">
<li>it have no security</li>
<li>C++ has a bootable, yes c++ is a bootable</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23;">What is the difference between C &amp; C++?</span></h3>
<table style="width: 686px; height: 356px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>C</td>
<td>C++</td>
</tr>
<tr>
<td>It is a structured programming language.</td>
<td>It is an object oriented programming language</td>
</tr>
<tr>
<td>It does not have inline function</td>
<td>It support inline function</td>
</tr>
<tr>
<td>It does not support functions with default arguments.</td>
<td>It support() with default arguments</td>
</tr>
<tr>
<td>It does not have exception handing</td>
<td>It support exception handling</td>
</tr>
<tr>
<td>It does not support generic programming</td>
<td>It support generic programming</td>
</tr>
<tr>
<td>It having pointers</td>
<td>It having pointer &amp; and references.</td>
</tr>
</tbody>
</table>15b:T900,<h3><strong>C++ compilers</strong></h3>
<ol>
<li>Turbo c++</li>
<li>sone and c++</li>
<li>Micros of + c++</li>
<li>Dev c++</li>
<li>C++ on Linux</li>
<li>C++ on Unix</li>
<li>C++ on Unix os</li>
<li>C++ on solaries</li>
<li>C++ on MAC</li>
</ol>
<p>The latest version of c++ compiler is c++ on (++12) &nbsp;</p>
<h3><strong>Structure of C++ program :</strong></h3>
<p>it is divided into 5 sections &nbsp;</p>
<table style="width: 216px; height: 161px;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td>Document section</td>
</tr>
<tr>
<td>Linkage section</td>
</tr>
<tr>
<td>Global declaration</td>
</tr>
<tr>
<td>Main program section</td>
</tr>
<tr>
<td>Global data section</td>
</tr>
</tbody>
</table>
<p>&nbsp; &nbsp; &nbsp; &nbsp;</p>
<ol>
<li>
<h3><strong>Document section</strong><strong>:</strong></h3>
</li>
</ol>
<ul>
<li>This section contain information about program on program heading</li>
<li>It is provided by using comments</li>
<li>c++ provide 2 types of comments</li>
</ul>
<ol>
<li>single line(//)</li>
<li>Multi line (/* *\)</li>
</ol>
<p><strong>Linkage section</strong> : C preprocessor directive section It is a programming &nbsp;&nbsp;&nbsp; (# include)</p>
<ul>
<li>Any operation which has to be performed before compile program are defined this section</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Global declaration</strong><strong> :</strong></h3>
<p>It is used to declare global variable and function and types</p>
<h3><strong>Main program</strong><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></h3>
<p>void main() { }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Main without arguments &nbsp; void main(int arg c, char *arg[])&nbsp;&nbsp;&nbsp; Main with arguments { } &nbsp;</p>
<h3><strong>Global definition</strong><strong> :</strong></h3>
<p>Definition functions and types which are declared inside global declaration void Main(int argc, char *arg v[], char *array) { }</p>
<ul>
<li>Compiler works as translation program between high level languages to low level language.</li>
<li>Main is not recognized by compiler it is recognize by Linker 1</li>
</ul>
<p>&nbsp; &nbsp;</p>15c:T479,<h3><strong>Data types in C++</strong></h3>
<table style="height: 78px;" width="704">
<tbody>
<tr>
<td width="160">Primary Data types</td>
<td width="160">&nbsp;derived data types</td>
<td width="160">User defined data types</td>
<td width="160">empty Data type</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;</strong></p>
<ol>
<li>
<h4>int (2B)</h4>
</li>
<li>
<h4>char(1B)</h4>
</li>
<li>
<h4>float (4B)</h4>
</li>
<li>
<h4>double(8B)</h4>
</li>
<li>
<h4>Short int(8B)</h4>
</li>
<li>
<h4>long int(4B)</h4>
</li>
<li>
<h4>signed int (2B)</h4>
</li>
<li>
<h4>Signed char(1B)</h4>
</li>
<li>
<h4>unsigned char(1B)</h4>
</li>
<li>
<h4>Long double(10B)</h4>
</li>
<li>
<h4>long long(8B)</h4>
</li>
<li>
<h4>bool(used in c++) (1B)</h4>
</li>
</ol>
<p>Long is a size modifier and signed qualifier &nbsp; <img class="alignnone wp-image-6776" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_21-460x186.png" alt="Screenshot_2" width="640" height="258" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>15d:T4fcf,<p style="text-align: justify;">An animation is an illusion that is created by quickly cycling through a series of images, where each image is slightly different from the last.</p>
<p style="text-align: justify;">An animation updates the value of a property over a period of time.</p>
<p style="text-align: justify;">When we are cycling group of image the brain will&nbsp; perceive group of images as a single changing scene</p>
<p style="text-align: justify;">In any file this illusion is created by using cameras that record many photographs or frames each second.</p>
<p style="text-align: justify;">When the frames are played back by&nbsp; a projector the audience see a moving picture</p>
<p style="text-align: justify;">In silver light animations can enhance your graphical creations by adding movement and interactivity</p>
<p style="text-align: justify;">In silver light we animate objects but apply&nbsp; by applying animations to their individual properties</p>
<h2 style="text-align: justify;"><strong>SilverLight Storyboard</strong></h2>
<p style="text-align: justify;">Story board controls animations with timer line and provides object and property targeting information for it child animations.</p>
<p style="text-align: justify;">In silver light to create storyboards we use story board class.</p>
<p style="text-align: justify;">Story board is physically does not exits, rather it is a logical implementation used to apply the animations we use the following syntax to create story board in xaml.</p>
<p style="text-align: justify;">&lt;Story Board___&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; properties</p>
<p style="text-align: justify;">One (or) more child formations&gt;</p>
<p style="text-align: justify;">&lt;/story board&gt;</p>
<h2 style="text-align: justify;">&nbsp;<strong>Methods with story board class</strong></h2>
<ul style="text-align: justify;">
<li>Begin()</li>
<li>Pause()</li>
<li>Resume()</li>
<li>Stop()</li>
</ul>
<p style="text-align: justify;"><strong>Begin():-</strong> &nbsp;This method initiates or sorts the set of animations&nbsp; associated with the story board</p>
<p style="text-align: justify;"><strong>Pause():-</strong> This method is used to pause the animation clock associated with the story board.</p>
<p style="text-align: justify;"><strong>Resume():-</strong> &nbsp;used to resume the animation clock that is in pause state or runtime state associated with the story board</p>
<p style="text-align: justify;"><strong>Stop():-</strong> Used to stop the story Board. That is all animations associated with story board will be stopped</p>
<h2 style="text-align: justify;"><strong>Properties With Story Board Class</strong></h2>
<p style="text-align: justify;"><img class="alignnone wp-image-7383" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_414-460x87.png" alt="Screenshot_41" width="525" height="98" /></p>
<ol style="text-align: justify;">
<li><strong>Auto Reverse</strong>
<ul>
<li>True</li>
<li>False (default) Duration Replace Behavior</li>
</ul>
</li>
<li><strong>Begin time</strong></li>
</ol>
<p style="text-align: justify;"><strong>Auto Reverse :-</strong> &nbsp;When set to&nbsp; true the animation will take back to original state after completing forward animation. That is during the timeline first forward animation will be executed. After completion of forward animation, backward animation will be implemented or applied</p>
<p style="text-align: justify;"><strong>False:-</strong> No back word animation will be implemented</p>
<p style="text-align: justify;"><strong>Begin time:-</strong> &nbsp;Used to set or get the time value at which the animation or timeline should begin. In general the begin time format will be [days] house: Minutes: seconds [.fract: onalseconds]</p>
<p style="text-align: justify;">If we did not give any value animation will begin at time of execution of being method()</p>
<p style="text-align: justify;"><strong>Duration:-</strong> &nbsp;used to set or get a value which indicates length of the time for animation.</p>
<p style="text-align: justify;">We use the following format for the duration</p>
<p style="text-align: justify;">[days.] -- 0to 23&nbsp; hours: Minutes&nbsp; --0 to 59: seconds &ndash; 0 to 9&nbsp; [functional seconds]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; optional</p>
<p style="text-align: justify;"><strong>Repeat Behavior:-</strong> &nbsp;Used to set or get a value that indicates how many times animation should be repeated</p>
<p style="text-align: justify;">If we give set Repeat behavior as 2x animation will be repeated If we give set Repeat Behavior as 2X animation will be repeated 2 times, 3X animation will be repeated for 3 times and 4x &ndash; 4 times etc</p>
<p style="text-align: justify;">If we set repeat behavior is Forever animation will be repeated continuously through the execution time of the application. We can integrate this repeat behavior with duration. Like</p>
<p style="text-align: justify;">Duration = &ldquo;0:0:2&rdquo; Repeat behaviors = &ldquo;0:0:4&rdquo;&nbsp;&nbsp; &nbsp;&agrave; animation will be repeated for 2 times.</p>
<p style="text-align: justify;">Duration = &ldquo;0:0:2&rdquo; repeat behavior=&rdquo;0:0:6&rdquo; &agrave; repeated&nbsp; for 3 times.</p>
<p style="text-align: justify;"><strong>Attached properties with storyboard class:-</strong></p>
<p style="text-align: justify;">Target name</p>
<p style="text-align: justify;">Target property</p>
<p style="text-align: justify;">These properties will be attached to animation classes when we create any animation class within the story board.</p>
<p style="text-align: justify;"><strong>Target name:-</strong> This property is used to set the required silver light control id to which we want to apply the animations. <strong>Target property:-</strong> used to set or get the property name of the silver light control set in target name property with which we want to apply animation.</p>
<p style="text-align: justify;">To use these properties we use the following syntax. Within the storyboard container tag</p>
<p style="text-align: justify;">&lt;animation alls story board. Target name = &ldquo;control ID&rdquo;</p>
<p style="text-align: justify;">Story board. Target property = &ldquo;property name</p>
<p style="text-align: justify;">Duration =&rdquo;value&rdquo; Begin Time=&rdquo;value&rdquo; Auto reverse = &ldquo; value&rdquo;</p>
<p style="text-align: justify;">Repeat Behavior = &ldquo;Value&rdquo;/&gt;</p>
<p style="text-align: justify;"><strong>Types of Animation:-</strong></p>
<p style="text-align: justify;">These are 3 types of animations in silver light</p>
<p style="text-align: justify;">Double animation</p>
<p style="text-align: justify;">Color animation</p>
<p style="text-align: justify;">Point animation</p>
<p style="text-align: justify;">All there classes are present in system. Windows. Media. Animation]</p>
<h2 style="text-align: justify;"><strong>Double Animation in SilverLight</strong></h2>
<p style="text-align: justify;">Double animation is used to animate the value of a double property between two target values using linear Interpolation over a specified duration The class is used to implement this animation is double animation present in system. Windows. Media. Animation A double animation in which creates a transition&nbsp; b/w two values</p>
<p style="text-align: justify;"><strong>&nbsp;Properties:-</strong></p>
<p style="text-align: justify;">From</p>
<p style="text-align: justify;">To</p>
<p style="text-align: justify;">Begin Time</p>
<p style="text-align: justify;">Duration</p>
<ol style="text-align: justify;">
<li>
<h4>Auto reverse</h4>
<ul>
<li>True</li>
<li>false (default)</li>
</ul>
</li>
<li>
<h4>Repeat Behaviors</h4>
</li>
</ol>
<p style="text-align: justify;"><strong>From:-</strong> &nbsp;used to set a value from which animation clock begin</p>
<p style="text-align: justify;"><strong>To </strong><strong>:-</strong> used to set a value up to where animation should continue</p>
<h2 style="text-align: justify;"><strong>Color Animations in SilverLight</strong></h2>
<p style="text-align: justify;">The color animation is used to animated the value of a color property b/w values using linear interpolation&nbsp; over a specified duration</p>
<p style="text-align: justify;">The color animation class creates a transition between two target values</p>
<p style="text-align: justify;">Color animation class is present in system. Windows. Media. Animation</p>
<h3 style="text-align: justify;">&nbsp;</h3>
<h3 style="text-align: justify;"><strong>Properties</strong></h3>
<p style="text-align: justify;">The properties are same as double animation</p>
<p style="text-align: justify;">From</p>
<p style="text-align: justify;">To</p>
<p style="text-align: justify;">Begin Time</p>
<p style="text-align: justify;">Duration</p>
<ol style="text-align: justify;">
<li>Auto Reverser
<ul>
<li>True</li>
<li>False</li>
</ul>
</li>
<li>Repeat Behavior</li>
</ol>
<h3 style="text-align: justify;"><strong>Point animation:-</strong></h3>
<p style="text-align: justify;">This animation is used to animate the value or point property between target values using lines interpolation over a specified duration the point animation class is used to create a transition between two&nbsp; target values</p>
<h3 style="text-align: justify;"><strong>Properties:-</strong></h3>
<p style="text-align: justify;">From</p>
<p style="text-align: justify;">To</p>
<p style="text-align: justify;">Begin Time</p>
<ol style="text-align: justify;">
<li>Auto Reverse
<ul>
<li>True</li>
<li>False (default)</li>
</ul>
</li>
</ol>
<p style="text-align: justify;">Duration</p>
<p style="text-align: justify;">Repeat behavior</p>
<h3 style="text-align: justify;"><strong>Steps to work with animation</strong></h3>
<p style="text-align: justify;">Create an object to which animation is to be applied</p>
<p style="text-align: justify;">Add on event Trigger to the object</p>
<p style="text-align: justify;">Create the story board</p>
<p style="text-align: justify;">Apply the required animation using the respective animation class</p>
<p style="text-align: justify;">Set the attached properties of animation class i.e target name and target property</p>
<p style="text-align: justify;">Set the properties and their values of animation class.</p>
<h3 style="text-align: justify;"><strong>Example:-</strong></h3>
<p style="text-align: justify;">1) &lt;Rectangle name= &ldquo;R&rdquo; Fill = &ldquo;Red&rdquo; width = &ldquo;100&rdquo; Height = &ldquo;50&rdquo;&gt; 2) &lt;rectangle .trigger&gt; &lt;Event Trigger</p>
<p style="text-align: justify;">&lt;Begin Story Board&gt; &lt;Story Board xi name=&rdquo;SBI&gt;</p>
<p style="text-align: justify;">4) &lt;Double animation story board. Target name = &ldquo;R&rdquo;</p>
<p style="text-align: justify;">5) Storyboard. Target property = &ldquo;width&rdquo; From = &ldquo;100&rdquo;</p>
<p style="text-align: justify;">6) To =&rdquo;200&rdquo; Duration = &ldquo;0:0:5&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/Story board&gt;</p>
<p style="text-align: justify;">&lt;/Begin story board&gt;</p>
<p style="text-align: justify;">&lt;/event trigger&gt;</p>
<p style="text-align: justify;">&lt;/rectangle. Trigger&gt;</p>
<p style="text-align: justify;">&lt;Rectangle&gt;</p>
<h3 style="text-align: justify;"><strong>Example with double animation class:-</strong></h3>
<p style="text-align: justify;">Crate a new silver light application go to XAML source and write the following are eg to apply the animation to the height of a&nbsp; rectangle</p>
<p style="text-align: justify;">&lt;Rectangle name = &ldquo;R1&rdquo;</p>
<p style="text-align: justify;">Height = &ldquo;50&rdquo; width = &ldquo;100&rdquo;</p>
<p style="text-align: justify;">&lt;Rectangle.Trigger&gt;Fill = &ldquo;red&rdquo;&gt;</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7384" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_423.png" alt="Screenshot_42" width="364" height="239" /></p>
<p style="text-align: justify;">&lt;Event Trigger&gt;</p>
<p style="text-align: justify;">&lt;Begin story Board</p>
<p style="text-align: justify;">&lt;story Board x: Name = &ldquo;SBI&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Double Animation story board. Target name = &ldquo;R1&rdquo;</p>
<p style="text-align: justify;">Story board. Target property = &ldquo;Height&rdquo; from =&rdquo;50&rdquo; To = &ldquo;150&rdquo;</p>
<p style="text-align: justify;">Duration = &ldquo;0:0:5&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/story Board&gt;</p>
<p style="text-align: justify;">&lt;/Begin Story Board&gt;</p>
<p style="text-align: justify;">&lt;/Event Trigger&gt;</p>
<p style="text-align: justify;">&lt;Rectangle. Trigger&gt;</p>
<p style="text-align: justify;">&lt;/rectangle&gt;</p>
<p style="text-align: justify;">EG : with double animation using opacity property</p>
<p style="text-align: justify;">&lt;Rectangle name = &ldquo;R1&rdquo; height = &ldquo;150&rdquo; width = &ldquo;100&rdquo; fill = &ldquo;orange&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Rectangle.Triger&gt;</p>
<p style="text-align: justify;">&lt;Event Trigger&gt;</p>
<p style="text-align: justify;">&lt;Begin story Board&gt;</p>
<p style="text-align: justify;">&lt;story board x: name = &ldquo;SBI&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;double animation story board. Target name = &ldquo;x1&rdquo;</p>
<p style="text-align: justify;">Story board. Target property = &ldquo;opacity&rdquo; from = &ldquo;1.0&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to &ldquo;0.0&rdquo;</p>
<p style="text-align: justify;">Highest &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lowest</p>
<p style="text-align: justify;">Thickness&nbsp; thickness</p>
<p style="text-align: justify;">&lt;/story board&gt;</p>
<p style="text-align: justify;">&lt;/begin story board&gt;</p>
<p style="text-align: justify;">&lt;/event Trigger&gt;</p>
<p style="text-align: justify;">&lt;/rectangle.Trigger&gt;</p>
<p style="text-align: justify;">&lt;/rectangle.&gt;</p>
<p style="text-align: justify;">Example with color animation</p>
<p style="text-align: justify;"><strong>EG:-</strong> To change color from red to green</p>
<p style="text-align: justify;">&lt;Rectangle name = &ldquo;R1&rdquo; height &ldquo;150&rdquo; width = &ldquo;100&rdquo;</p>
<p style="text-align: justify;">Fill = &ldquo;red&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Rectangle. Trigger&gt;</p>
<p style="text-align: justify;">&lt;event Trigger&gt;</p>
<p style="text-align: justify;">&lt;Begin story board&gt;</p>
<p style="text-align: justify;">&lt;story board&nbsp; x:Name = &ldquo;SBI&rdquo;&gt;</p>
<h3 style="text-align: justify;"><strong>Example with _ Point animation:-</strong></h3>
<p style="text-align: justify;">Create a new silver Light application</p>
<h2 style="text-align: justify;">&nbsp; &nbsp; &nbsp;<strong>&darr;</strong></h2>
<p style="text-align: justify;">Go To source</p>
<h2 style="text-align: justify;">&nbsp; &nbsp; &nbsp;<strong>&darr;</strong></h2>
<p style="text-align: justify;">Write the following code.</p>
<h2 style="text-align: justify;">&nbsp; &nbsp; &nbsp;&nbsp;<strong>&darr;</strong></h2>
<p style="text-align: justify;">&lt;path fill = &ldquo;Blue&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;path.data&gt;</p>
<p style="text-align: justify;">&lt;Ellipse geometry&nbsp; x:name=&rdquo;E1&rdquo; center = &ldquo;30, 60&rdquo; radius x = &ldquo;40&rdquo; radius y = &ldquo;20&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;path. Data&gt;</p>
<p style="text-align: justify;">&lt;/path&gt;</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;canvas. Resources&gt;</p>
<p style="text-align: justify;">&lt;story board&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S:Name= &ldquo;SBI&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;point Animation story board. Target name=&rdquo;E1&rdquo; story board .Target property = &ldquo;center&rdquo; From=&rdquo;80, 60&rdquo; to = &ldquo;200, 200&rdquo;</p>
<p style="text-align: justify;">Duration = &ldquo;0:0:5&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/Story board&gt;</p>
<p style="text-align: justify;">&lt;/canvas-Resources&gt;</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">Create a button control, write the following code in button click event</p>
<p style="text-align: justify;">Protected button click (objectr sender, routed event args</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7385" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_442-460x321.png" alt="Screenshot_44" width="479" height="334" /></p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">SBI.Begin();</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Eg to control the animation programmatically the code is some as above for source and write it in new silver light application</p>
<p style="text-align: justify;">&lt;Grid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X:=</p>
<p style="text-align: justify;">&lt;path fill = Blue&gt;</p>
<p style="text-align: justify;">&lt;path.data,</p>
<p style="text-align: justify;">&lt;Ellipse geometry&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X:name= &ldquo;E1&rdquo;&nbsp;&nbsp; enter = &ldquo;80,60&rdquo;</p>
<p style="text-align: justify;">Radius x= &ldquo;40&rdquo;&nbsp; &nbsp;&nbsp;Radius y = &ldquo;20&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/path.data&gt;</p>
<p style="text-align: justify;">&lt;/path&gt;</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;convas. Resources&gt;</p>
<p style="text-align: justify;">&lt;Story board&nbsp; x: Name = &ldquo;SBI&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;point animation story board. Target name = &ldquo;E1&rdquo;</p>
<p style="text-align: justify;">Story board. Target property = &ldquo;center&rdquo; from = &ldquo;80, 60&rdquo; to</p>
<p style="text-align: justify;">&ldquo;200,200&rdquo; duration = &ldquo;0:0:5&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/Story board&gt;</p>
<p style="text-align: justify;">&lt;/canvas resources&gt;</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">Create the buttons and write the following code protected void btn start &ndash; click &ndash; Route d event args e</p>
<p style="text-align: justify;">{ SBI.Begin(); }</p>
<p style="text-align: justify;">Protected void to be pause &ndash; click(..)</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Protected void to be resume &ndash; click (--</p>
<p style="text-align: justify;">{ SBI. Resume();</p>
<p style="text-align: justify;">} protected void to be stop &ndash; click (--)</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">SBI. Stop ();</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Protected void to be resume &ndash; click (--</p>
<p style="text-align: justify;">{ SBI. Resume(); } protected void to be stop &ndash; click (--)</p>
<p style="text-align: justify;">{ SBI. Stop (); }</p>
<h4 style="text-align: justify;">Exercise</h4>
<p style="text-align: justify;"><img class="alignnone size-medium wp-image-7386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_452-460x414.png" alt="Screenshot_45" width="300" height="270" /></p>
<p style="text-align: justify;"><img class="alignnone wp-image-7387" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_462-460x139.png" alt="Screenshot_46" width="670" height="201" /></p>
<h3 style="text-align: justify;"><strong>Data Binding in Silver light:-</strong></h3>
<p style="text-align: justify;">Data binding in silver light represents attaching the data from source to target. Whenever we bind the data in silver light the data source need not be database. It might be a silver light object or XML source or database.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7388" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_472-460x149.png" alt="Screenshot_47" width="643" height="208" /></p>15e:Tfc7,<p>SilverLight Layouts are used to arrange controls, the silver light supports three types of layouts</p>
<ul>
<li>Grid</li>
<li>Canvas</li>
<li>Stack panel</li>
</ul>
<p>&nbsp;</p>
<h2><strong>Grid Layout</strong></h2>
<p>The grid container the Microsoft designed based on HTML table, depending on the requirement we can arrange collection of controls in the multiple rows and in the multiple columns. Example:- open new silver light application Go to XAML mode In the grid tag &nbsp; &lt;Grid X: Name = &ldquo;layout Root&rdquo; Background = &ldquo;white&rdquo;&gt; &lt;Grid. Colum Definitions&gt; &lt;Colum definition width = &nbsp;&ldquo;100&rdquo; &gt; &lt;/column Definition&gt; &lt;column definition width = &ldquo;100&rdquo;&gt; &lt;/column definition&gt; &lt;column definition width = &ldquo;100&rdquo;&gt; &lt;/column definition&gt; &lt;/grid.column definitions&gt; &lt;grid.Rowdefinitions&gt; &lt;Row definition Height = &ldquo;100&rdquo;&gt; &lt;/Row definition&gt; &lt;Row definition Height = &ldquo;100&rdquo;&gt; &lt;/Row definition&gt; &lt;Row definition height = &ldquo;100&rdquo;&gt; &lt;/Row definition&gt; &lt;/Grid. Row definitions&gt; &lt;Button X:Name= &ldquo;b1&rdquo; Height = &ldquo;50&rdquo; width = &ldquo;50&rdquo; Grid.Row = &ldquo;0&rdquo; Grid. Colum = &ldquo;1&rdquo;&gt; &lt;/Button&gt; &lt;button Grid.Row = &ldquo;2&rdquo; Grid. Column = &ldquo;1&rdquo; content = &ldquo;three&rdquo;&gt; &lt;/button&gt; &lt;/Grid&gt; &nbsp;</p>
<h2><strong>Canvas Layout</strong></h2>
<p>This layout is used to arrange collection of controls by specifying absolute position using left and top properties, this layout same like c# .net form container EX:- Open new silverlight application Go to xaml mode Remove the grid tag and type the following &lt;canvas&gt; &lt;Text block x: Name = &ldquo;t1&rdquo; Text = &ldquo;Welcom&rdquo; Fontsize = &ldquo;58&rdquo; canvas.left = &ldquo;100&rdquo; canvas.Top = &ldquo;100&rdquo;&gt; &lt;/Text block&gt; &lt;ellipse X:name = &ldquo;e1&rdquo; Height = &ldquo;120&rdquo; width = &ldquo;300&rdquo; stroke = &ldquo;green&rdquo; stoke thickness = &ldquo;10&rdquo; canvas. Left = &ldquo;60&rdquo; canvas.Top = &ldquo;50&rdquo;&gt; &lt;/ellipse&gt; &lt;/canvas&gt; &nbsp; <strong>Output</strong> <img class="alignnone size-full wp-image-7507" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_415.png" alt="Screenshot_4" width="260" height="209" /> &nbsp;</p>
<h3><strong>Text Block</strong></h3>
<p>This control is used to display read only data, this control like a label control in the previous technologies</p>
<ul>
<li>&ldquo;X:Name&rdquo; property used to decide the control name</li>
<li>Using &ldquo;Text&rdquo; property we can input the data</li>
<li>&ldquo;Font size&rdquo; property gives font size to the text block control data</li>
<li>Using ellipse tag we can create ellipse control</li>
<li>Height, weight properties setting control size</li>
<li>Stroke property gives border color</li>
<li>Fill property gives background color</li>
<li>Stroke thickness gives border width</li>
</ul>
<p>&nbsp;</p>
<h2><strong>Stack Panel</strong></h2>
<p>Using stack panel we can create workspace under grid layout and in the canvas layout, we can create workspace in the horizontal or in the vertical order using this container we can arrange collection of controls in the single row or in the single column. &nbsp; Example:- open new silverlight application Go to XAML mode In the grid tag &lt;Grid X: Name = &ldquo; layout Root&rdquo; Background = &ldquo;white&rdquo;&gt; &lt;stack panel orientation = &ldquo;vertical&rdquo;&gt; &lt;button Content = &ldquo;click&rdquo; Height = &ldquo;100&rdquo; width = &ldquo;150&rdquo;&gt; &lt;/button&gt; &lt;Ellipse Height = &ldquo;100&rdquo; width = &ldquo;150&rdquo; Fill = &ldquo;Red&rdquo;&gt; &lt;/ellipse&gt; &lt;Rectangle Height = &ldquo; 100&rdquo; width = &ldquo;150&rdquo; Fill = &ldquo;green&rdquo; stock=&rdquo;blue&rdquo;&gt; &lt;/Rectangle&gt; &lt;/stack panel&gt; &lt;/grid&gt;</p>15f:T2055,<p style="text-align: justify;">SilverLight Brushes are used to fill colors, images and videos in silver light objects.</p>
<p style="text-align: justify;">The silver light supports five types of brushes</p>
<ol style="text-align: justify;">
<li>Solid color brush</li>
<li>Linear gradient brush</li>
<li>Image brush</li>
<li>Radial Gradient Brush</li>
<li>Video Brush</li>
</ol>
<h2 style="text-align: justify;"><strong>Solid Color Brush</strong></h2>
<p style="text-align: justify;">This brush is used to fill single color in the silver light controls, while working with brushes we have to work with color related properties.</p>
<p style="text-align: justify;">Example:- Open we silver light application</p>
<p style="text-align: justify;">Go to XAML Mode In the grid tag</p>
<p style="text-align: justify;">&lt;grid X:Name = &ldquo;layout Root&rdquo; Background = &ldquo;white&rdquo;&gt; &lt;Rectangle X:Name= &ldquo;r1&rdquo; height = &ldquo;100&rdquo; width = &ldquo;300&rdquo; Stroke = &ldquo;blue&rdquo; stroke thickness = &ldquo;10&rdquo; stroke dash array = &ldquo;2&rdquo; stroke dash offset = &ldquo;5&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Rectangle. fill&gt;</p>
<p style="text-align: justify;">&lt;/solid color brush color = &ldquo;Red&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/solid color brush&gt;</p>
<p style="text-align: justify;">&lt;/Rectangle. fill&gt;</p>
<p style="text-align: justify;">&lt;/rectangle&gt;</p>
<p style="text-align: justify;">&lt;/grid&gt;</p>
<p style="text-align: justify;">Stroke dash array property gives border styles</p>
<p style="text-align: justify;">Stroke dash offset property rotates the border</p>
<p style="text-align: justify;">Rectangle. Fill tag gives special features to the fill property</p>
<h2 style="text-align: justify;"><strong>Linear Gradient Brush</strong></h2>
<p style="text-align: justify;">This brush is used to fill multiple colors in the silver light controls in the linear order, while working with this brush we can work with any color related property</p>
<p style="text-align: justify;">Example:- open new silver light application</p>
<p style="text-align: justify;">Go to XAML mode</p>
<p style="text-align: justify;">In the grid tag</p>
<p style="text-align: justify;">&lt;grid X:Name = &ldquo;layout Root&rdquo; Background= &ldquo;white&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Rectangle X: Name= &ldquo;r1&rdquo; Height = &ldquo;150&rdquo; width = &ldquo;250&rdquo; Stroke = &ldquo;Blue&rdquo; stroke thickness = &ldquo;10&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;rectangle .fill&gt;</p>
<p style="text-align: justify;">&lt;linear Gradient brush start point = &ldquo;0,0&rdquo; end point = &ldquo;1,1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Gradient stop offset = &ldquo;.2&rdquo; color = &ldquo;Red&rdquo; &gt; &lt; /Gradient stop&gt;</p>
<p style="text-align: justify;">&lt;Gradient stop offset = &ldquo;.4&rdquo; color = &ldquo;blue&rdquo;&gt; &lt;/gradient stop&gt;</p>
<p style="text-align: justify;">&lt;gradient stop offset = &ldquo;.6&rdquo; color = &lsquo;Green&rdquo;&gt; &lt;/gradient stop&gt;</p>
<p style="text-align: justify;">&lt;gradient stop offset = &rdquo;.8&rdquo; color = &ldquo;black&rdquo;&gt; &lt;/gradient stop&gt;</p>
<p style="text-align: justify;">&lt;/linear Gradient brush&gt;</p>
<p style="text-align: justify;">&lt;/Rectangle .fill&gt;</p>
<p style="text-align: justify;">&lt;/rectangle&gt;</p>
<p style="text-align: justify;">&lt;/Grid&gt;</p>
<p style="text-align: justify;">&agrave;The linear gradient brush gives multiple liners based on start point and end point properties, two properties takes x, y locations, by default two properties default parameter&nbsp; values are (0,0) and (1,1)</p>
<p style="text-align: justify;">&agrave;The start point property takes the value from upper left comes,</p>
<p style="text-align: justify;">&agrave;End point property takes the value from bottom right corner using gradient stop tag we can fill&nbsp; one color in the silver light control, using this tag we can set color location and filling color.</p>
<h2 style="text-align: justify;"><strong>Image Brush</strong></h2>
<p style="text-align: justify;">This brush is used to fill one image in the silver light controls, while working with this brush we can work with any color related property&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&nbsp;&nbsp;&nbsp;</strong></p>
<p style="text-align: justify;"><strong>&nbsp; Example:-</strong>&nbsp;open new silver light application</p>
<p style="text-align: justify;">Go to XAML mode</p>
<p style="text-align: justify;">In the canvas tag</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;text block x: name = &ldquo;t1&rdquo; Text = &ldquo;welcome&rdquo;&nbsp; Font size = &ldquo;100&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Text Block . Foreground&gt;</p>
<p style="text-align: justify;">&lt;Image Brush Image source = &ldquo;d:lone. Jpg&rdquo; &gt; &lt;/Image brush&gt;</p>
<p style="text-align: justify;">&lt;/Text block. Foreground&gt;</p>
<p style="text-align: justify;">&lt;/text block&gt;</p>
<p style="text-align: justify;">&lt;ellipse X:name = &ldquo;el&rdquo; Height = &ldquo;150&rdquo; width = &ldquo;200&rdquo; stroke = &ldquo;blue&rdquo; stroke thickness = &ldquo;10&rdquo; canvas. Top = &ldquo;120&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;ellipse .fill&gt;</p>
<p style="text-align: justify;">&lt;Image brush Image source = &ldquo;d./one.jpg&rdquo;&gt; &lt;/Image brush&gt;</p>
<p style="text-align: justify;">&lt;/ellipse .fill&gt;</p>
<p style="text-align: justify;">&lt;/ellipse&gt;</p>
<p style="text-align: justify;">&lt;/canvas&gt;</p>
<h2 style="text-align: justify;"><strong>Radial Gradient Brush</strong></h2>
<p style="text-align: justify;">This brush is used to fill multiple colors in the silverlight controls in the circular order, while working with this brush we can work with all color related properties.</p>
<p style="text-align: justify;">Example:- Open new silver light Application</p>
<p style="text-align: justify;">Go to XAML Mode</p>
<p style="text-align: justify;">In the grid tab</p>
<p style="text-align: justify;">(0,0)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7510" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_514.png" alt="Screenshot_5" width="597" height="526" /></p>
<p style="text-align: justify;">&lt;Grid X:Name=&rdquo;Layout Root&rdquo; Background = &ldquo;white&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Ellipe X:Name = &ldquo;el&rdquo; Height = &ldquo;200&rdquo; width = &ldquo;300&rdquo; stroke = &ldquo;blue&rdquo; stroke thickness = &ldquo;10&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Ellipse.fill&gt;</p>
<p style="text-align: justify;">&lt;Radial gradient brush gradient origin = &ldquo;.0,.5&rdquo; radius = &ldquo;.4&rdquo; radius Y= &ldquo;.5&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Gradient Stop Offset = &ldquo;.2&rdquo; color = &ldquo;Red&rdquo;&gt; &lt;/Gradient stop&gt;</p>
<p style="text-align: justify;">&lt;Gradient stop offset = &ldquo;.4&rdquo; color = &ldquo;Green&rdquo;&gt; &lt;/gradient stop&gt;</p>
<p style="text-align: justify;">&lt;Gradient stop offset = &ldquo;.6&rdquo; color = &ldquo;yellow&rdquo;&gt; &lt;/gradient stop&gt;</p>
<p style="text-align: justify;">&lt;Gradient stop offset =&rdquo;.8&rdquo; color = &ldquo;black&rdquo;&gt; &lt;/Gradient stop&gt;</p>
<p style="text-align: justify;">&lt;/Radial gradient Brush&gt;</p>
<p style="text-align: justify;">&lt;/ellipse. Fill&gt;</p>
<p style="text-align: justify;">&lt;/Ellipse&gt;</p>
<p style="text-align: justify;">&lt;/Grid&gt;</p>
<p style="text-align: justify;">Using Gradient Origin property we can set gradient local point, this property takes two arguments X location and Y location using Radius X, Radius Y properties we can set the X gradient size and Y Gradient size</p>
<h2 style="text-align: justify;"><strong>Video Brush</strong></h2>
<p style="text-align: justify;">This Brush is used to fill video in the silver light control, the video Brush is depending on the media element control</p>160:Ta18,<h2><strong>Media element</strong></h2>
<p>This control is used to access default video player from the operating system, using this control we can play different type of video formats and audio formats, while working with video brush we have to decide playing source in the media element control, we have to refer media element control reference in the video brush. Example:- open new silver light Application Go to XAML code In the grid tag &lt;grid X:name = &ldquo;Layout Root&rdquo; Background = &ldquo;white&rdquo;&gt; &lt;Media element X: Name = &ldquo;M1&rdquo; source = &ldquo;d:/advit.wmv&rdquo; opacity = &ldquo;0&rdquo;&gt; &lt;/Media Element&gt; &lt;path X:name = &ldquo;p1&rdquo; Height = &ldquo;300&rdquo; width = &ldquo;300&rdquo; stroke = &ldquo;Red&rdquo; stroke thickness = &ldquo;10&rdquo;&gt; &lt;path.data&gt; &lt;Rectangle Geometry Rect = &ldquo;10, 10, 200, 200&rdquo;&gt; &lt;I rectangle Geometry&gt; &lt;/path. Data&gt; &lt;path.Fill&gt; &lt;video brush source name = &ldquo;m1&rdquo;&gt; &lt;/video brush&gt; &lt;/path. Fill&gt; &lt;/path&gt; &lt;/grid&gt; &nbsp;</p>
<h2><strong>Path</strong></h2>
<p>The path control is used to create work space for defining collection of geometries, path.Data tag using for defining one geometry. Rectangle geometry tag used to define rectangle geometry. Rect property used to decide rectangle geometry size, this property takes four parameters</p>
<ol>
<li>Starting x location</li>
<li>Starting Y location</li>
<li>Ending X location</li>
<li>Ending Y location</li>
</ol>
<p>&nbsp;</p>
<h3><strong>Implementing dynamic control with radial gradient brush</strong></h3>
<p>Open new silverlight&nbsp; application Add button control on the grid layout Go to button click event Private void button&nbsp; click (object sender, routed E.Vent Args e) { Rectangle r = new rectangle (); r.Hieght = 200; r.width = 200; Radial gradient brush b = new radial gradient brush (); Gradient stop&nbsp; g1 = new gradient stop(); G1. Offset = .2; G1.color = cdors. Red;</p>
<ol>
<li>gradient stops. Add(g1);</li>
</ol>
<p>gradient stop g2 = new gradient stop(); g2. Offset = .4; g2. Color = colors. Green;</p>
<ol>
<li>gradient stops . add (g2);</li>
</ol>
<p>gradient stop g3 = new gradient stop(); g3. Color = colors. Blue; b.gradient stops . add (g3); r.fill = b; Layout Root. Children. Add (r);</p>
<ul>
<li>Layout root is default name to the grid container</li>
<li>Layout root. Children statement refers all controls from the grid container</li>
<li>&lsquo;add&rsquo; method adding new control on the container</li>
</ul>
<p>&nbsp;</p>161:T4ddf,<p style="text-align: justify;">The transformation is used to change one coordinate space to another co ordinate space, the transformation Microsoft designed using 3x3 matrix.</p>
<p style="text-align: justify;">Transforms are used to apply the required effects to the 2D and 3D objects. Effects are like rotating, tilling the object, stretching as well as shrinking etc. using transforms we can give different effects to the controls</p>
<p style="text-align: justify;">The transformation we can classify in to five types</p>
<ol style="text-align: justify;">
<li>Rotate transform</li>
<li>Scale transform</li>
<li>Skew transform</li>
<li>Translate transform</li>
<li>Matrix transform</li>
</ol>
<h2 style="text-align: justify;"><strong>Rotate Transform</strong></h2>
<p style="text-align: justify;">using this transformation we can rotate an object using angle property.</p>
<h2 style="text-align: justify;"><strong>Scale Transform</strong></h2>
<p style="text-align: justify;">using this transformation we can change x-co ordinate space and y-co ordinate space in the silverlight control, for changing co ordinate spaces we have to work with scale X, scaley properties.</p>
<h2 style="text-align: justify;"><strong>Skew Transform</strong></h2>
<p style="text-align: justify;">using this transformation we can skew an object co ordinate spaces using angles x, angle y properties.</p>
<h2 style="text-align: justify;"><strong>Translate Transform</strong></h2>
<p style="text-align: justify;">using this transformation we can set control X location and Y location for changing the locations the Microsoft given X and Y properties.</p>
<h2 style="text-align: justify;"><strong>Example on Transformations</strong></h2>
<p style="text-align: justify;">Open new silver light application</p>
<p style="text-align: justify;">Go to XAML mode</p>
<p style="text-align: justify;">In the canvas tag</p>
<p style="text-align: justify;">&lt;Canvas&gt;</p>
<p style="text-align: justify;">&lt;Image X: name = &ldquo;11&rdquo; height = &ldquo;100&rdquo; width = &ldquo;100&rdquo; source = &ldquo; d:/face .jpg&rdquo; canvas. Left = &ldquo;100&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Image. Render transform&gt;</p>
<p style="text-align: justify;">&lt;Rotate Transform Angle = &ldquo;50&rdquo;&gt; &lt;/rotate Transform&gt;</p>
<p style="text-align: justify;">&lt;/Image. Render transform&gt;</p>
<p style="text-align: justify;">&lt;/Image&gt;</p>
<p style="text-align: justify;">&lt;Image X:Name = &ldquo;i2&rdquo; Height = &ldquo;100&rdquo; width = &ldquo;100&rdquo; source = &ldquo;d:/face.jpg&rdquo; canvas. Left = &ldquo;200&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;image. Render transform &gt;</p>
<p style="text-align: justify;">&lt;scale transform scale x = &ldquo;5&rdquo; scale y = &ldquo;1&rdquo; &gt; &lt;/scale transform&gt;</p>
<p style="text-align: justify;">&lt;/image. Render transform&gt;</p>
<p style="text-align: justify;">&lt;/Image&gt;</p>
<p style="text-align: justify;">&lt;image X:name = &rdquo;i3&rdquo; height = &ldquo;100&rdquo; width = &ldquo;100&rdquo; source = &ldquo;d : / face .jpg&rdquo; canvas. Top = &ldquo;170&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;image. Render transform&gt;</p>
<p style="text-align: justify;">]&lt;skew transform anglex = &ldquo;10&rdquo; angle Y = &ldquo;20&rdquo;&gt; &lt;/skew transform&gt;</p>
<p style="text-align: justify;">&lt;/Image. Rendertansform&gt;</p>
<p style="text-align: justify;">&lt;/image&gt;</p>
<p style="text-align: justify;">&lt;/image x:Name = &ldquo;i4&rdquo; height = &ldquo;100&rdquo; width = &ldquo;100&rdquo; source = &ldquo;d: /face .jap canvas. Left = &ldquo;250&rdquo; canvas. Top = &ldquo;200&rdquo; &gt;</p>
<p style="text-align: justify;">&lt;image. Render transform&gt;</p>
<p style="text-align: justify;">&lt;Translate transform X = &ldquo;10&rdquo; Y = &ldquo;10&rdquo;&gt; &lt;/Translate Transform&gt;</p>
<p style="text-align: justify;">&lt;/image. Render transform&gt;</p>
<p style="text-align: justify;">&lt;/Image&gt;</p>
<p style="text-align: justify;">&lt;/canvas&gt;</p>
<p style="text-align: justify;"><strong>Image. Render Transform:</strong> This tag is used to create workspace for defining transformations.</p>
<ul style="text-align: justify;">
<li><strong>Matrix Transform:</strong></li>
</ul>
<p style="text-align: justify;">This transformation used to implement customized or programmer defined transformation, matrix transformation is combination of first four transformations.</p>
<p style="text-align: justify;">This transformation the Microsoft designed using 3 x 3 matrix, depending on the requirement we can change any coordinate value</p>
<h3 style="text-align: justify;"><strong>Matrix transform properties</strong></h3>
<p style="text-align: justify;"><strong>M11:</strong> using this property we can set first row, first column values from the 3x3 matrix</p>
<p style="text-align: justify;"><strong>M12 :</strong> using this property we can change first row, second colum values.</p>
<p style="text-align: justify;"><strong>M21:</strong> using this property we can change second row and first column values</p>
<p style="text-align: justify;"><strong>&nbsp;M22:</strong> using this property we can change second row and second column values.</p>
<p style="text-align: justify;"><strong>Offset X:</strong> &nbsp;using this property we can change third row and first column values</p>
<p style="text-align: justify;"><strong>Offset Y:</strong> &nbsp;using this property we can change third row and second column values</p>
<h2 style="text-align: justify;"><strong>Example on Matrix Transformation</strong></h2>
<p style="text-align: justify;">Open new silver light application</p>
<p style="text-align: justify;">Go to XAML Mode</p>
<p style="text-align: justify;">In the canvas tag</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;list box x: name = &ldquo;l1&rdquo; Height = &ldquo;250&rdquo; canvas.left = &ldquo;50&rdquo; canvas. Top = &ldquo;100&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;list box item&gt;</p>
<p style="text-align: justify;">&lt;stack panel orientation = &ldquo;horizontal&rsquo;&gt;</p>
<p style="text-align: justify;">&lt;text block text = &ldquo;one&rdquo;&gt; &lt;/text block&gt;</p>
<p style="text-align: justify;">&lt;Image source = &ldquo;d:/one .jpg&rdquo; Height = &ldquo;40&rdquo; &gt; &lt;/imge&gt;</p>
<p style="text-align: justify;">&lt;/stack panel&gt;</p>
<p style="text-align: justify;">&lt;/list box item&gt;</p>
<p style="text-align: justify;">&lt;listbox item&gt;</p>
<p style="text-align: justify;">&lt;stack panel orientation = &ldquo;horizontal&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Text block text = &ldquo;Two&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/text block&gt;</p>
<p style="text-align: justify;">&lt;Image source = &ldquo;d:/two.jpag&rdquo; Height = &ldquo;40&rdquo;&gt; &lt;/image&gt;</p>
<p style="text-align: justify;">&lt;/stack panel&gt;</p>
<p style="text-align: justify;">&lt;/list box item&gt;</p>
<p style="text-align: justify;">&lt;list box item&gt;</p>
<p style="text-align: justify;">&lt;stack panel orientation = &ldquo;horizontal&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;text block Text = &ldquo;Three&rdquo; &gt; &lt;/Textblock&gt;</p>
<p style="text-align: justify;">&lt;image source = &ldquo;d:/three.jpg&rdquo; height = &ldquo;40&rdquo;&gt; &lt;/image&gt;</p>
<p style="text-align: justify;">&lt;/stack panel&gt;</p>
<p style="text-align: justify;">&lt;/list Box Item&gt;</p>
<p style="text-align: justify;">&lt;list box item&gt;</p>
<p style="text-align: justify;">&lt;stack panel orientation = &ldquo;Horizontal&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Text block text = &ldquo;three&rdquo; &gt; &lt;/Text block&gt;</p>
<p style="text-align: justify;">&lt;Image source = &ldquo;d:/three.jpg&rdquo; height = &ldquo;40&rdquo; &gt; &lt;/image&gt;</p>
<p style="text-align: justify;">&lt;/stack panel&gt;</p>
<p style="text-align: justify;">&lt;/list box item&gt;</p>
<p style="text-align: justify;">&lt;listbox. Render transform&gt;</p>
<p style="text-align: justify;">&lt;matrix transform&gt;</p>
<p style="text-align: justify;">&lt;matrix transform. Matrix&gt;</p>
<p style="text-align: justify;">&lt;matrix M11 = &ldquo;1&rdquo; M12 = &ldquo;-.51&rdquo; Mel = &ldquo;.51&rdquo;</p>
<p style="text-align: justify;">M22 = &ldquo;3&rdquo; offset x = &ldquo;10&rdquo; offset y = &ldquo;10&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/matrix&gt;</p>
<p style="text-align: justify;">&lt;/matrix transform . matrix&gt;</p>
<p style="text-align: justify;">&lt;/matrix transform&gt;</p>
<p style="text-align: justify;">&lt;/list box. Render transform&gt;</p>
<p style="text-align: justify;">&lt;/list box&gt;</p>
<p style="text-align: justify;">&lt;/canvas&gt;</p>
<h3 style="text-align: justify;"><strong>List Box</strong></h3>
<p style="text-align: justify;">This tag is used to create list box control, the list box control maintains list of items, depending on the selected item we can give the information.</p>
<h3 style="text-align: justify;"><strong>List box item</strong></h3>
<p style="text-align: justify;">This tag is used to add items in the list box control, each item we can give using silverlight controls, by default we can take one item, when we are taking multiple control features in the single item we have to work with stack panel layout.</p>
<p style="text-align: justify;"><strong>Matrix Transform. Matrix :</strong> &nbsp;This tag gives workspace for defining matrix transformation.</p>
<h3 style="text-align: justify;"><strong>Example on double animation with transformation:</strong></h3>
<p style="text-align: justify;">Open new silverlight application</p>
<p style="text-align: justify;">Go to XAML Mode</p>
<p style="text-align: justify;">In the canvas tag</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;Ellipse X:name = &ldquo;e1&rdquo; Height = &ldquo;100&rdquo; width = &ldquo;150&rdquo; stroke = &ldquo;red&rdquo; stroke thickness = &ldquo;10&rdquo; canvas. Left = &ldquo;50&rdquo; canvas. Top = &ldquo;50&rdquo; mouse Enter = &ldquo;e1_mouseenter&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/Ellipse. File&gt;</p>
<p style="text-align: justify;">&lt;Ellipse. Render transform&gt;</p>
<p style="text-align: justify;">&lt;skew transform angle x = &ldquo;1&rdquo; angley = &ldquo;1&rdquo; &gt; &lt;/skew transfer&gt;</p>
<p style="text-align: justify;">&lt;/ellipse. Render transform&gt;</p>
<p style="text-align: justify;">&lt;ellipse. Resource&gt;</p>
<p style="text-align: justify;">&lt;storyboard x:name = &ldquo;s1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;double animation storyboard. Target name = &ldquo;e1&rdquo; storyboard. Target property = &ldquo;(UIElement. Render transform). Am from = &ldquo;1&rdquo; To = &ldquo;70&rdquo; auto reverse = &ldquo;True&rdquo; duration = &ldquo;0:0:10&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;\bouble animation &gt;</p>
<p style="text-align: justify;">&lt;double animation storyboard. Target name = &ldquo;e1&rdquo; storyboard. Target property = &ldquo;(UIElement. Render transform). And from = &ldquo;1&rdquo; to = &ldquo;70&rdquo; auto reverse = &ldquo;true&rdquo; duration = &ldquo;0&rdquo;0&rdquo;10&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/double animation&gt;</p>
<p style="text-align: justify;">&lt;/story board&gt;</p>
<p style="text-align: justify;">&lt;/ellipse. Resource&gt;</p>
<p style="text-align: justify;">&lt;/ellipse &gt;</p>
<p style="text-align: justify;">&lt;/canvas&gt;</p>
<p style="text-align: justify;">El_mouse enter</p>
<p style="text-align: justify;">{</p>
<ol style="text-align: justify;">
<li>Begin ();</li>
</ol>
<p style="text-align: justify;">}</p>
<h2 style="text-align: justify;"><strong>Types of Transforms</strong></h2>
<ul style="text-align: justify;">
<li>Silver light will support following types of trans</li>
<li>Rotate transform</li>
<li>Skew transform</li>
<li>Scale transform</li>
</ul>
<h3 style="text-align: justify;"><strong>Syntax to implement Transforms</strong></h3>
<p style="text-align: justify;">&lt;Control class name attributes&gt; &lt;control class name Render Transform&gt; &lt;Transform class name property 1= &ldquo;value&rdquo; property 2=&rdquo;value&rdquo;/&gt;|</p>
<p style="text-align: justify;">&lt;/control class name.render Transform&gt; &lt;/confrol class name&gt;</p>
<h2 style="text-align: justify;"><strong>Rotate Transform:-</strong></h2>
<p style="text-align: justify;">This is used to rotate the object in clock wise or anti clock wise about a specified point in a two dimensional x,y coordinate system. When we use rotate transform the transformation rotates the coordinate system for a particular object about the origin point.</p>
<p style="text-align: justify;">Every type of transform has a special class with same name of the transform.</p>
<h3 style="text-align: justify;"><strong>Properties of rotate transform</strong></h3>
<ul style="text-align: justify;">
<li>Angle</li>
<li>Center X</li>
<li>Center Y</li>
</ul>
<h3 style="text-align: justify;"><strong>Angle</strong></h3>
<p style="text-align: justify;">This property is used to set or get the required angle in which the object should be rotated. If we give the angle as positive the rotation will be in clock wise. If the angle is&nbsp; negative the rotation will be in anticlockwise</p>
<h3 style="text-align: justify;"><strong>Center X &amp; center Y</strong></h3>
<p style="text-align: justify;">Used to mention the origin or the angle to be rotated in both X and Y&nbsp; directions.</p>
<h2 style="text-align: justify;"><strong>Skew Transform</strong></h2>
<p style="text-align: justify;">this is used to filt the object in required angle. Of X and Y coordinates. A skew Transform is useful for creating illusion of</p>
<p style="text-align: justify;"><strong>Properties of skew Transform class</strong></p>
<ul style="text-align: justify;">
<li>Angle X</li>
<li>Angle Y</li>
<li>Center X</li>
<li>Center Y</li>
</ul>
<h3 style="text-align: justify;"><strong>Angle X</strong></h3>
<p style="text-align: justify;">Used to set/get the required angle value that is to be filter form X-axis.</p>
<h3 style="text-align: justify;"><strong>Angle Y</strong></h3>
<p style="text-align: justify;">Used to set/get a value that is to be tilted from Y axis</p>
<h2 style="text-align: justify;"><strong>Scale Transform</strong></h2>
<p style="text-align: justify;">This transform is user to stretch or shrink an object horizontally or vertically.&nbsp; This transformation is used to scale an object in the two dimensional x,y coordinate system</p>
<h3 style="text-align: justify;"><strong>&nbsp;Properties of scale Transform class</strong></h3>
<ul style="text-align: justify;">
<li>Scale X</li>
<li>Scale Y</li>
<li>Center X &lt;scale X=&rdquo;1.5&rdquo;</li>
<li>Center Y</li>
</ul>
<h3 style="text-align: justify;"><strong>Scale X</strong></h3>
<p style="text-align: justify;">This property is used to set or get the value that is used to be shrink |stretch in X direction</p>
<h3 style="text-align: justify;"><strong>Scale Y</strong></h3>
<p style="text-align: justify;">used t set or get a value that indicates to shrink |stretch in Y direction</p>
<p style="text-align: justify;">When we implement scale transform the object current state is assumed to &lsquo;1&rsquo; the object will be stretched and if we are giving a value of less then &lsquo;1&rsquo; the object will be shirked</p>
<h2 style="text-align: justify;"><strong>Translation Transform</strong></h2>
<p style="text-align: justify;">This transform is used to move the current object in two dimensional x,y coordinate system</p>
<p style="text-align: justify;"><strong>Properties:-</strong></p>
<p style="text-align: justify;"><img class="alignnone wp-image-7377" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_373-460x152.png" alt="Screenshot_37" width="391" height="129" /></p>
<p style="text-align: justify;">X Y</p>
<p style="text-align: justify;"><strong>X:-</strong>Used to set 1 get the required value that the object should be moved in x-direction</p>
<p style="text-align: justify;"><strong>Y:-</strong>Used to set 1 get a value that the object should be moved in Y direction.</p>
<h3 style="text-align: justify;"><strong>Transform Group</strong></h3>
<p style="text-align: justify;">This transform is used to apply two 0.2 more transforms at once to the object. In general using render transform we can apply only one transform at once there are no special properties for transform group, Rather it will contain other 4 transform classes as a group with in it.</p>
<p style="text-align: justify;">From the other four transforms, we can implements two or more transforms together using this transform group class</p>
<h3 style="text-align: justify;"><strong>Example with rotate transform class</strong></h3>
<p style="text-align: justify;">&lt;content=&rdquo;Button&rdquo;&gt;</p>
<p style="text-align: justify;">Create a button within the silver light application page go to .xaml source and write the following code &lt;Button content+&rdquo;Button&rdquo; Height=&rdquo;28&rdquo; width=&rdquo;60&rdquo; content=&rdquo;Button&rdquo;</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7378" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_383-460x268.png" alt="Screenshot_38" width="416" height="241" /></p>
<p style="text-align: justify;">&lt;button. Render transform&gt; &lt;Relate Transform AngleX=&rdquo;45&rdquo;/&gt; &lt;/Button.Renter Transform&gt;</p>
<h3 style="text-align: justify;"><strong>Example with skew transform.</strong></h3>
<p style="text-align: justify;">&lt;Grid x: name=layout Rool &ldquo;Background = &ldquo;while&rdquo;&gt; &lt;button content= &ldquo;Button&rdquo; Height = &ldquo;28&rdquo; Width = &ldquo;60&rdquo; content= &ldquo;Button1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;button render transform&gt;</p>
<p style="text-align: justify;">&lt;Skew transform Angle x = &ldquo;40&rdquo; Angle Y= &ldquo;30&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/Button. Render Transform&gt;</p>
<p style="text-align: justify;">&lt;/Button&gt;</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7379" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_392.png" alt="Screenshot_39" width="278" height="529" /></p>
<h3 style="text-align: justify;"><strong>Example with scale Transform:-</strong></h3>
<p style="text-align: justify;">&lt;button content = &ldquo;Button&rdquo; Height = &ldquo;28&rdquo;--- &lt;Button. Render transform&gt; &lt;Scale Transform scale X = &ldquo;2.5&rdquo; Scale Y = &ldquo;1.5&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/Button. Render Transform&gt; &lt;/Button&gt;</p>
<h3 style="text-align: justify;"><strong>Example of Translation Transform</strong></h3>
<p style="text-align: justify;">&lt;button Content&gt; &lt;button.Render Transform&gt; &lt;Translation Transform X=&rdquo;100&rdquo; Y = &ldquo;5&rdquo;/&gt; &lt;/Button.Render Transform&gt; &lt;/Button&gt; <img class="alignnone size-full wp-image-7380" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_402.png" alt="Screenshot_40" width="307" height="493" /></p>
<h3 style="text-align: justify;"><strong>Transform Group Example</strong></h3>
<p style="text-align: justify;">&lt;button content = Button &lt;Button. Render Transform&gt; &lt;Transform Group&gt;</p>
<p style="text-align: justify;">&lt;Rotate Transform Angle = &ldquo;45&rdquo;/&gt; &lt;Scale Trans form scale X= &ldquo;1.5&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/TransformGroup&gt; &lt;/button.RenderTransform&gt; &lt;/Button</p>162:T21f1,<h2 style="text-align: justify;"><strong>Key Frame Animation</strong></h2>
<p style="text-align: justify;">Silverlight Key Frame Animations are used to implement more complex Animations, depending on the requirement we can give any number of targets. In the key frame animation for giving multiple targets we have to define frames.</p>
<p style="text-align: justify;">The key frame Animation we can classified in to three types</p>
<ol style="text-align: justify;">
<li>Double animation using key frame</li>
<li>Color animation using key frame</li>
<li>Point animation using key frame</li>
</ol>
<p style="text-align: justify;">The three types of animations supports three frames</p>
<ul style="text-align: justify;">
<li>Linear key frame</li>
<li>Discrete key frame</li>
<li>Sp line key frame</li>
</ul>
<h3 style="text-align: justify;"><strong>Linear key frame</strong></h3>
<p style="text-align: justify;">This frame is used to single target to the key frame animation this frame always takes target location and frame time</p>
<p style="text-align: justify;">While executing this frame the user can observe previous value to target value how execute animation</p>
<h3 style="text-align: justify;"><strong>Discrete key frame</strong></h3>
<p style="text-align: justify;">Using this frame we can give single target to the key frame animation, we &nbsp;have to specify target value and frame time, while executing this frame we can observe animation after reaching target location</p>
<h3 style="text-align: justify;"><strong>Sp line key frame</strong></h3>
<p style="text-align: justify;">using this frame we can give single target to the key frame animation while defining this frame we have to specify target value and frame time and sp line property</p>
<p style="text-align: justify;">The Microsoft defined sp line key frame based on sp line mathematical function.</p>
<h3 style="text-align: justify;"><strong>Example on double animation using key frame</strong></h3>
<p style="text-align: justify;">Open new silverlight&nbsp; application</p>
<p style="text-align: justify;">Go to XAML mode</p>
<p style="text-align: justify;">In the canvas tag</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;rectangle X:Name = &ldquo;R1&rdquo; width = &ldquo;100&rdquo; Height = &ldquo;100&rdquo; stroke = &ldquo;Red&rdquo; stroke thickness = &ldquo;10&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;rectangle . Triggers&gt;</p>
<p style="text-align: justify;">&lt;Event trigger Routed event =&nbsp; &ldquo;Rectangle. Loaded&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;Begin story board&gt;</p>
<p style="text-align: justify;">&lt;Story board&gt;</p>
<p style="text-align: justify;">&lt;double animation using key frames storyboard &ndash; Target name = &ldquo;r1&rdquo; storyboard. Target property = &ldquo;width&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;linear double key frame key time = &ldquo;0:0:4&rdquo;</p>
<p style="text-align: justify;">Value = &ldquo;400&rdquo;&gt; &lt;/linear double key frame&gt;</p>
<p style="text-align: justify;">&lt;linear double key frame key time = &ldquo;0:0:20&rdquo; value = &ldquo;500&rdquo;&gt;&nbsp; &lt;/linear double key frame&gt;</p>
<p style="text-align: justify;">&lt;discrete double key frame value = &ldquo;600&rdquo; key frame = &ldquo;0:0:25&rdquo;&gt; &lt;/discrete doublekeyframe&gt;</p>
<p style="text-align: justify;">&lt;/double animation using&nbsp; key frames&gt;</p>
<p style="text-align: justify;">&lt;/storyboard&gt;</p>
<p style="text-align: justify;">&lt;/begin storyboard&gt;</p>
<p style="text-align: justify;">&lt;/event trigger&gt;</p>
<p style="text-align: justify;">&lt;/rectangle. Triggers&gt;</p>
<p style="text-align: justify;">&lt;/rectangle&gt;</p>
<p style="text-align: justify;">&lt;/canvas&gt;</p>
<h3 style="text-align: justify;"><strong>&nbsp;Example on color animation using key frames</strong></h3>
<p style="text-align: justify;">Open new silverlight application</p>
<p style="text-align: justify;">Go to XAML mode</p>
<p style="text-align: justify;">In the canvas tag</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;text block X:Name = &ldquo;t1&rdquo; text = &ldquo;welcome&rdquo; font size = &ldquo;120&rdquo; foreground = &ldquo;red&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;text block. Triggers&gt;</p>
<p style="text-align: justify;">&lt;event trigger routed event = &ldquo;canvas. loaded&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;begin story board&gt;</p>
<p style="text-align: justify;">&lt;color animation using key frames storyboard. Target name = &ldquo;t1&rdquo; story board. Target property = &ldquo;(foreground). (color)&rdquo; repeat behavior = &ldquo;forever&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;linear color key frame key time = &ldquo;0:0:10&rdquo; value = &ldquo;green&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;linear color key frame&gt;</p>
<p style="text-align: justify;">&lt;linear color key frame key time = &ldquo;0:0:15&rdquo; value = &ldquo;blue&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/liner color key frame&gt;</p>
<p style="text-align: justify;">&lt;linear color key Frame keytime = &ldquo;):0:20&rdquo; value = &ldquo;black&rdquo;</p>
<p style="text-align: justify;">&lt;linear color keyframe&gt;</p>
<p style="text-align: justify;">&lt;/color animation using key frames&gt;</p>
<p style="text-align: justify;">&lt;/story board&gt;</p>
<p style="text-align: justify;">&lt;/begin story board&gt;</p>
<p style="text-align: justify;">&lt;/event trigger&gt;</p>
<p style="text-align: justify;">&lt;/Text block . Triggers&gt;</p>
<p style="text-align: justify;">&lt;/text block&gt;</p>
<p style="text-align: justify;">&lt;/canvas&gt;</p>
<h3 style="text-align: justify;"><strong>Example on point animation using key frames</strong></h3>
<p style="text-align: justify;">Open new silver light application</p>
<p style="text-align: justify;">Go to XAML mode</p>
<p style="text-align: justify;">In the canvas tag</p>
<p style="text-align: justify;">&lt;canvas&gt;</p>
<p style="text-align: justify;">&lt;path X:Name = &ldquo;p1&rdquo; height = &ldquo;300&rdquo; width = &ldquo;300&rdquo; stroke = &ldquo;red&rdquo; stroke thickness = &ldquo;10&rdquo; Fill = &ldquo;black&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;path . data&gt;</p>
<p style="text-align: justify;">&lt;Geometry group&gt;</p>
<p style="text-align: justify;">&lt;rectangle geometry rect = &ldquo;10, 10, 250, 250&rdquo;&gt; &lt;/Rectangle geo metry&gt;</p>
<p style="text-align: justify;">&lt;Ellipse geometry X:Name = &ldquo;e1&rdquo; radius X= &ldquo;10&rdquo; Radius Y = &ldquo;10&rdquo; center = &ldquo;30, 30&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/Ellipse geometry&gt;</p>
<p style="text-align: justify;">&lt;/geometry group&gt;</p>
<p style="text-align: justify;">&lt;/path. Data&gt;</p>
<p style="text-align: justify;">&lt;path. Triggers&gt;</p>
<p style="text-align: justify;">&lt;Event trigger routed event &ndash; &ldquo;canvas. Loaded&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;begin story board&gt;</p>
<p style="text-align: justify;">&lt;Story board&gt;</p>
<p style="text-align: justify;">&lt;point animation using key frames storyboard. Target name = &ldquo;e1&rdquo; storyboard. Target property = &ldquo;center&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;linear point key frame key time = &ldquo;0:0:10&rdquo;&nbsp; value = &ldquo;230, 30&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/liner point key frame&gt;</p>
<p style="text-align: justify;">&lt;discrete point key frame keytimes = &ldquo;0:0:20&rdquo; value = &ldquo;200, 230&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/discrete point key frame&gt;</p>
<p style="text-align: justify;">&lt;sp linepoint key frame key time = &ldquo;0:0:30&rdquo; value = &ldquo;30, 230&rdquo;</p>
<p style="text-align: justify;">Key sp line = &ldquo;0.0,.6, .0, .6&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/sp line pint keyframe&gt;</p>
<p style="text-align: justify;">&lt;linear point key frame key time = &ldquo;0:0:35&rdquo; value =&nbsp; &ldquo;20, 30&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/linear point key frame&gt;</p>
<p style="text-align: justify;">&lt;/point animation using key frames&gt;</p>
<p style="text-align: justify;">&lt;/story board&gt;</p>
<p style="text-align: justify;">&lt;/begin story board&gt;</p>
<p style="text-align: justify;">&lt;/event trigger&gt;</p>
<p style="text-align: justify;">&lt;/ path. Triggers&gt;</p>
<p style="text-align: justify;">&lt;/path&gt;</p>
<p style="text-align: justify;">&lt;/canvas&gt;</p>163:T115a,<h2><strong>Applying 3D effects to the Controls to the Images</strong></h2>
<p>To apply the 3D effects in general we use projection class and plane projection class. This plane projection class con not be implemented directly with controls rather we need to implement with container like stock panel or flow layout or grid layout etc. This plane projection class will allow to rotate the given layout in 3 directions s, y, and z</p>
<h3><strong>Properties with plane projection class</strong></h3>
<ul>
<li>Centre of rotation x</li>
<li>Centre of rotation Y</li>
<li>Centre of rotation z</li>
<li>Rotation X</li>
<li>Rotation Y</li>
<li>Rotation Z</li>
</ul>
<p><strong>Centre of rotation X:-</strong> This property is used to rotate the&nbsp; centre in x direction. <strong>Centre of rotation Y:-</strong> &nbsp;used to rotate the centre of&nbsp; the plane in Y direction. <strong>Centre of Rotation Z:-</strong> &nbsp;used to rotate the centre of the plane in Z direction. &nbsp; The values of centre of rotation X, centre of rotation y and centre of rotation Z should be form 0 to 1 &nbsp; <strong>Rotation X:</strong> &nbsp;Used to set a value that plane should be rotated in x direction <strong>Rotation Y :</strong> used to set a value that the plane should be rotated in Y direction er, y &ndash; a x is <strong>Rotation Z:-</strong> Used to set a value that the plane should be rotated in z-axis The values of rotation x, rotation Y and rotation Z should be from 0 to 30</p>
<h2><strong>Syntax to Apply&nbsp; 3d Effects to a Plane in Layout</strong></h2>
<p>&lt;Layout class&gt; &lt;layout class. Projection&gt; &lt;plane projection centre of rotation X = &ldquo;value&rdquo; centre of rotation Y = &ldquo;value&rdquo; centre of rotation Z = &ldquo;value&rdquo; rotation x= &ldquo;value&rdquo; rotation Y= &ldquo;value&rdquo; Rotation Z = &ldquo;value&rdquo;/&gt; &lt;/layout class. Projection&gt; Code to create controls within layout &lt;/layout class&gt;</p>
<h2><strong>Example with 3d Effects to a Stack Panes</strong></h2>
<p>&nbsp; Create a new silver light application</p>
<h2>&nbsp; &nbsp; &nbsp; &nbsp;<strong>&darr;</strong></h2>
<p>Go to xaml source of the page</p>
<h2>&nbsp;<strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>write the following code <img class="alignnone wp-image-7402" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_571-460x211.png" alt="Screenshot_57" width="438" height="200" /> &nbsp; &lt;Grid vi name= &lt;stack panel margin = &ldquo;60&rdquo; fill = &ldquo;gray &ldquo;&gt; &lt;stack panel. Projection&gt; &lt;plane projection Rotation x = &ldquo;-20&rdquo; Rotation Y = &ldquo;-20&rdquo; Rotations z = &ldquo;35&rdquo;/&gt; &lt;/stack panel.Projection&gt; &lt;/stack panel&gt; &nbsp;</p>
<h2><strong>Example to &nbsp;Implement 3D Effects with Images</strong></h2>
<p>Go to design create the controls within the stock panel then Run the application and check</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>Create a new silver light page</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>go to xaml source.<strong>&nbsp;</strong></p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>write the following code. &lt;Stack panel margin = &ldquo;60&rdquo; fill= &ldquo;gray&rdquo;&gt; &lt;stack panel. Projector&gt; &lt;plane projection centre off rotation X = 0.9 Rotation Y = &ldquo;90&rdquo;/&gt; &lt;/stack panel. Projection&gt; &lt;/stack panel&gt; Go to design</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>Go to tool box</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>double click on Image control</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>This will create image 1</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>Select image 1</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>Go to properties</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>Go to source property in common category</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>click on ellipses button</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>select the required image file to be displayed</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>click on open</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>click on ok &nbsp;</p>
<h2><strong> &nbsp; &nbsp; &nbsp;&darr;</strong></h2>
<p>Run the application and check</p>164:T45d5,<h2 style="text-align: justify;"><strong>Data binding</strong></h2>
<p style="text-align: justify;">The data binding is the concept of creating&nbsp; link between source and silverlight control, the data binding we can classify in to three types</p>
<ol style="text-align: justify;">
<li>One time binding</li>
<li>One way binding</li>
<li>Two way binding</li>
</ol>
<p style="text-align: justify;"><img class="alignnone wp-image-7528" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_810-460x223.png" alt="Screenshot_8" width="724" height="350" /></p>
<ol style="text-align: justify;">
<li><strong>One time binding:</strong> This binding is used to bind the data in the silverlight control while executing the application, after executing the application we can&rsquo;t get new values from the source, we cant give modified data t the source.</li>
<li><strong>One way binding:</strong> This binding is used to Bind the data in the silver light control while executing the application, after executing the application we can get modified data from the source. But we cant give modification data to the source</li>
<li><strong>Two way binding:-</strong> using this binding we can bind the data while executing the application, after executing the application we can get modified data from the source, we can give modified data to the source</li>
</ol>
<h2 style="text-align: justify;"><strong>Example on Data Binding</strong></h2>
<p style="text-align: justify;">Open new silverlight application</p>
<p style="text-align: justify;">Add list box, data grid and button control</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7529" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_912.png" alt="Screenshot_9" width="299" height="258" /></p>
<p style="text-align: justify;">Go to mainpage XAML code behind window</p>
<p style="text-align: justify;">Public partial class main page: user control</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Public class emp</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Public string ename {get; set; }</p>
<p style="text-align: justify;">Public int eno {get; set;}</p>
<p style="text-align: justify;">Public int esal {get; set;}</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">List &lt;emp&gt; obj;</p>
<p style="text-align: justify;">Public void get data()</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Obj = new list &lt;emp&gt; ();</p>
<p style="text-align: justify;">Obj. add (new emp() {ename = &ldquo;aaa&rdquo;, eno =123, esal = 5000}0;</p>
<p style="text-align: justify;">Obj.add (new emp() {ename=&rdquo;666&rdquo;, eno = 321, esal = 2000}0;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Private void button :- click (object sender, routed E vent arges e )</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Getdata ();</p>
<p style="text-align: justify;">/: st Box1. Items source = obj;</p>
<p style="text-align: justify;">Datagrid1. Itemssource = Obj;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Go to SAML mode in the list box control tag</p>
<p style="text-align: justify;">&lt;list box height = &ldquo;221&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;listbox. Item template&gt;</p>
<p style="text-align: justify;">&lt;data Template&gt;</p>
<p style="text-align: justify;">&lt;list box item&gt;</p>
<p style="text-align: justify;">&lt;stack painel orientation = &ldquo;horizontal&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;text block text = &ldquo;{binding ename, mode=onetime}&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/textblock&gt;</p>
<p style="text-align: justify;">&lt;text block text = &ldquo;{binding eno, mode = onetime}&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/text block&gt;</p>
<p style="text-align: justify;">&lt;Text Block Text = &ldquo;{Binding esal, mode = onetime}&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/textblock&gt;</p>
<p style="text-align: justify;">&lt;/stack panel&gt;</p>
<p style="text-align: justify;">&lt;/list box item&gt;</p>
<p style="text-align: justify;">&lt;/datatemplate&gt;</p>
<p style="text-align: justify;">&lt;/listbox. Item template&gt;</p>
<p style="text-align: justify;">&lt;/list box&gt;</p>
<p style="text-align: justify;">In the data grid control set auto generate columns = &ldquo;True&rdquo;</p>
<p style="text-align: justify;"><strong>Silver light will support 3 types of data&nbsp; binding</strong></p>
<p style="text-align: justify;">One &ndash; way &nbsp;binding</p>
<p style="text-align: justify;">Two-Way&nbsp;&nbsp;&nbsp;binding</p>
<p style="text-align: justify;">One-Time</p>
<p style="text-align: justify;"><strong>One Time Binding</strong> &nbsp;In one time binding we bind the data first time from source to target</p>
<p style="text-align: justify;">If any modification made righter in source or target that will not be objet affected in source or target.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7389" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_482-460x163.png" alt="Screenshot_48" width="487" height="172" /></p>
<h2 style="text-align: justify;">&nbsp;<strong>One way binding</strong></h2>
<p style="text-align: justify;">In this method we bind the data from source to target and whenever data is modified in source that will get affected/ updated at target automatically</p>
<p style="text-align: justify;">This is the default mode</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7391" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_492-460x190.png" alt="Screenshot_49" width="434" height="178" /></p>
<h2 style="text-align: justify;">&nbsp;<strong>Two way data binding</strong></h2>
<p style="text-align: justify;">In this method we bind the data from source to target, then whenever date is updated in source or in tougher it will be updated automatically into other.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7392" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_513.png" alt="Screenshot_51" width="378" height="169" /></p>
<h2 style="text-align: justify;"><strong>Binding the data from one silver light control to other</strong></h2>
<ul style="text-align: justify;">
<li>To bind the data from one silver light control to other we write the code with target control property</li>
<li>In general binding is implemented using binding element with in the delimiters like</li>
</ul>
<ul style="text-align: justify;">
<li>{Binding element name = some control ID, path = property name mode = &ldquo;value&rdquo;}
<h2>&nbsp; &darr;</h2>
One time One way (default) Two way</li>
</ul>
<ul style="text-align: justify;">
<li>Example to bind the data from one silver light control to other silver light control in one way mode.</li>
<li>Create a new silver light app</li>
<li>Change the list box name to list sample</li>
<li>Goto common properties in properties window</li>
<li>Go to Items collection property</li>
<li>Clicks on ellipses button</li>
</ul>
<ul style="text-align: justify;">
<li>Click on add button 4 times,</li>
</ul>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7395" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_523.png" alt="Screenshot_52" width="314" height="242" /></p>
<p style="text-align: justify;">Then 4 list box items will be added</p>
<p style="text-align: justify;">Select first list box item</p>
<ul style="text-align: justify;">
<li>Go to content property</li>
<li>Type the content or red</li>
<li>Similarly change the contents of list box in list box items to green, blue, orange respectively</li>
<li>Create a two text boxes with name text box 1 and text box2</li>
<li>Go to source and write the following code to</li>
</ul>
<ul style="text-align: justify;">
<li>&lt;text box name =&rdquo;text box1 ---- text = bending</li>
<li>Element name = &ldquo;list sample path= selected item. Content, mode= one way}&rdquo;/&gt;</li>
<li>&lt;Text Box name = &ldquo;Text box 2&rdquo; --- Back ground =&rdquo; {binding element name =&rdquo;list sample&rdquo; path= selected item content mode = one way}&rdquo;/&gt;</li>
<li>Run the app in &amp; check</li>
<li>When ever user selects any element text box1 data will be change and text box 2 background is changed but if user change us the data in text box1 that is in target it will not be updated to the source i.e selected item of list box list sample</li>
</ul>
<ul style="text-align: justify;">
<li>To implement two way mode with text box1 and list sample</li>
<li>Go to text box1, XAML source and change the mode to two way like</li>
<li>&lt;text box .name = &ldquo;text box 1&rdquo; --------</li>
<li>Text &ndash; &ldquo;Binding element name = list sample,</li>
</ul>
<ul style="text-align: justify;">
<li>Run the app in &amp; check</li>
<li>Whenever user selects any element of the text party of the text box1 &amp; back ground property of text box2 will change automatically</li>
<li>Similarly modify the data in text box that is type a different color name &amp; use tab key. This will modify the selected item content with in the list sample, which indicates two way binding</li>
</ul>
<h2 style="text-align: justify;"><strong>Implementing data binding with silver light controls and class properties</strong></h2>
<p style="text-align: justify;">In target control property we write our binding element like</p>
<p style="text-align: justify;">{Binding path = data field name/properties</p>
<p style="text-align: justify;">Mode = value, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update source Trigger = value}</p>
<p style="text-align: justify;">One time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; default</p>
<p style="text-align: justify;">One way&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; explicit</p>
<p style="text-align: justify;">Two way&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (used with two way)</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7396" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_532.png" alt="Screenshot_53" width="420" height="234" /></p>
<h2 style="text-align: justify;"><strong>Methods with binding expression class</strong></h2>
<p style="text-align: justify;"><strong>Up date source:-</strong> &nbsp;This method is use to update the source data when the data is updated with in the target.</p>
<p style="text-align: justify;">To create object for expression class we use another method known as binding expression of the target control i.e. get binding expression (depending property)</p>
<p style="text-align: justify;"><strong>Syntax:-</strong></p>
<p style="text-align: justify;">Class name object name = target control ID.</p>
<p style="text-align: justify;">Get- binding expression (Dependency property);</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7397" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_542-460x51.png" alt="Screenshot_54" width="645" height="71" /></p>
<p style="text-align: justify;">Ex:- Binding expression BE= Text Box1. Getbinding expression (text box. Text)</p>
<p style="text-align: justify;">Note:- This binding expression class and get binding expression methods if we want to implement 2 way mode binding</p>
<p style="text-align: justify;"><strong>Data context property of the controls</strong></p>
<p style="text-align: justify;">This property is used to set the object name of the class with which the data field we want to bind the data</p>
<p style="text-align: justify;">Example with binding of the data with class</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7398" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_551-460x285.png" alt="Screenshot_55" width="425" height="262" /></p>
<p style="text-align: justify;">Add a silver light page to the app only in vs 2010</p>
<ul style="text-align: justify;">
<li>Select solution</li>
<li>Right click</li>
<li>Add new item</li>
<li>Select the silver light from installed templates</li>
<li>Select the silver light page template</li>
<li>Type the page name</li>
<li>Click on add</li>
<li>Design the page</li>
<li>Go to page1. Xaml.cs file c# code file</li>
<li>Create a class cls example with public accessibility</li>
<li>U write this code in same names pase (or) u want to write separately up to y</li>
</ul>
<p style="text-align: justify;">Public class cls employee</p>
<p style="text-align: justify;">{ string designation;</p>
<p style="text-align: justify;">Public string p designation</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Set { Designation = vaule:}</p>
<p style="text-align: justify;">Get {return designation}</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Write the following code in page class</p>
<p style="text-align: justify;">Partial class page 1 : page</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Cls employee obj = new cls employee ():</p>
<p style="text-align: justify;">Public page 1 ()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; constructor</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Initialize component ();</p>
<p style="text-align: justify;">Obj1. P designation = &ldquo;programmer&rdquo;;</p>
<p style="text-align: justify;">Text box1. Data contentment = Obj1;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Go to XAML source code and write the following code and write the following code to implement binding</p>
<p style="text-align: justify;">&lt;Text box name = &ldquo;text box1&rdquo;&hellip;&hellip;&hellip;..</p>
<p style="text-align: justify;">Text = &ldquo;{binding path = P designation mode = one way }&rdquo;/&gt;</p>
<h2 style="text-align: justify;"><strong>Implementing two way mode data binding in the above example.</strong></h2>
<p style="text-align: justify;">Using system. Windows. Data;</p>
<p style="text-align: justify;">CLSEM ployeec obj1= new close ployeec2.</p>
<p style="text-align: justify;">Public page 1 ()</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Obj1. P designation = &ldquo; programmer&rdquo;;</p>
<p style="text-align: justify;">Text box 1 = datacontex1= obj 1;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Private void btn submit-click(---)</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7399" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_561.png" alt="Screenshot_56" width="362" height="293" /></p>
<p style="text-align: justify;">Binding ex press ion BE= text box 1. Get binding expression (text box1. Text);</p>
<p style="text-align: justify;">Text block 4. Text = objt. P designation;</p>
<ol style="text-align: justify;">
<li>Update sources</li>
</ol>
<p style="text-align: justify;">Text block 5. Text = ob1. P designation;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Go to design of page1. Xaml.</p>
<p style="text-align: justify;">Go to xaml source</p>
<p style="text-align: justify;">Change the code of text box1. Binding like</p>
<p style="text-align: justify;">Binding path= designaing &ndash; mode= two way, update source trigger = exploit &ldquo;/&gt;</p>
<p style="text-align: justify;">Run the application &amp; check.</p>165:T1e60,<h2 style="text-align: justify;">SilverLight WCF Integration</h2>
<p style="text-align: justify;">WCF is used to make the communication in the intranet projects and in the internet projects, the Microsoft&nbsp; design ned WCF using distributed technology and using standard based technology</p>
<p style="text-align: justify;"><strong>&nbsp;&nbsp;&nbsp;&nbsp; Distributed Technology &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</strong></p>
<p style="text-align: justify;"><img class="alignnone wp-image-7521" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_610-460x414.png" alt="Screenshot_6" width="554" height="499" /></p>
<h3 style="text-align: justify;">Server</h3>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7522" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_710.png" alt="Screenshot_7" width="398" height="295" /></p>
<p style="text-align: justify;"><strong>Standard based technology</strong></p>
<p style="text-align: justify;"><img class="alignnone wp-image-7523" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_713-460x199.png" alt="Screenshot_7" width="630" height="271" /></p>
<p style="text-align: justify;">The Microsoft designed remoting with distributed technology, In the remoting always we have to implement threes different application</p>
<ol style="text-align: justify;">
<li>Private assembly</li>
<li>Server application</li>
<li>Client application</li>
</ol>
<p style="text-align: justify;">The private assembly dll file features we have to distribute to the server application and to the client application</p>
<p style="text-align: justify;">The Microsoft designed web services using standard based technology, using web services we can make the communication in the intranet project and in the internet projects.</p>
<p style="text-align: justify;">Web service designed in the special type of proxy machines(middle wares)</p>
<p style="text-align: justify;">The web service implemented persons distributing web URL to the main project, based on web URL we can access web service features in the remote location.</p>
<p style="text-align: justify;">While working with WCF integration in the silver light application, we have to open silverlight application hosting page as asp.net webpage, while opening the project the Microsoft given two different projects in the single application</p>
<ol style="text-align: justify;">
<li>Silverlight application</li>
<li>net application</li>
</ol>
<p style="text-align: justify;">We have to implement WCF service in the asp.net folder, while adding WCF service in the project automatically getting two files</p>
<ol style="text-align: justify;">
<li>I service 1. Cs</li>
<li>Service 1. SVC.Cs</li>
</ol>
<p style="text-align: justify;"><strong>I service 1.cs :</strong> &nbsp;The Microsoft given predefined interface in the iservice 1.cs fiel, we have to declare methods in the interface</p>
<p style="text-align: justify;"><strong>Service 1. Svs.cs:</strong> &nbsp;the Microsoft given predefined class in the&nbsp; service 1. Svc.cs file, in the predefined class we should have to implement all interface methods.</p>
<p style="text-align: justify;">After implementing the service class methods we have to execute service 1. Svc file, getting service reference, by adding this reference in the intranet projects and in the internet projects we can distribute WCF service features.</p>
<p style="text-align: justify;"><strong>Client access policy. Xml:</strong> &nbsp;This file is used to grant cross domain features to the WCF service.</p>
<p style="text-align: justify;">The WCF service reference we have to add in the silver light application</p>
<p style="text-align: justify;">Import the WCF namespace</p>
<p style="text-align: justify;">Create instance to the WCF service class</p>
<p style="text-align: justify;">D&eacute;class&eacute; the event</p>
<p style="text-align: justify;">Define the event</p>
<p style="text-align: justify;">Call the WCF service method</p>
<h2 style="text-align: justify;"><strong>Example on WCF Integration with SilverLight</strong></h2>
<p style="text-align: justify;">Open new silver light application with Asp.net webpage as hosting page.</p>
<p style="text-align: justify;">Add text box and button control in the main page. XAML file</p>
<p style="text-align: justify;"><strong>Add WCF service</strong></p>
<p style="text-align: justify;">Go to solution explorer window right click on the asp.net folder select add &agrave; click on new item &agrave; select WCF service &agrave; click on add button</p>
<p style="text-align: justify;"><strong>Declaring methods in the iservice interface</strong></p>
<p style="text-align: justify;">Go to iservice 1. Cs file module</p>
<p style="text-align: justify;">[service contract]</p>
<p style="text-align: justify;">Public interface iservice1</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">[operation contract]</p>
<p style="text-align: justify;">String addstr();</p>
<p style="text-align: justify;">[operation contract]</p>
<p style="text-align: justify;">Void dowork();</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Implementing iservice interface methods in the service class</p>
<p style="text-align: justify;">Go to service 1. SVC.CS file module</p>
<p style="text-align: justify;">Public class service 1: iservice1</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Public void do work ()</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Public string addstr()</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Return &ldquo;from WCF&rdquo;;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">To give cross domain features to the WCF service we have to add XML file name with &lsquo; client accesspolicy. XML&rsquo;</p>
<p style="text-align: justify;"><strong>&nbsp;</strong></p>
<p style="text-align: justify;"><strong>Adding XML file:</strong> Go to solution explorer window right click on the asp.net folder select add &agrave; click on new item, select XML file click on add button</p>
<p style="text-align: justify;">Go to XML file module</p>
<p style="text-align: justify;">&lt;? XML version&nbsp; = &ldquo;1.0&rdquo; encoding = &ldquo;utf&nbsp; - 8&rdquo; ? &gt;</p>
<p style="text-align: justify;">&lt;access &ndash; policy&gt;</p>
<p style="text-align: justify;">&lt;cross &ndash; domain &ndash;access&gt;</p>
<p style="text-align: justify;">&lt;policy&gt;</p>
<p style="text-align: justify;">&lt;allow- from http_request _headers = &ldquo;*&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;domain uri = &ldquo;*&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/allow _from&gt;</p>
<p style="text-align: justify;">&lt;grant &ndash; to&gt;</p>
<p style="text-align: justify;">&lt;resource include _ subpaths = &ldquo;true&rdquo; path = &ldquo;/&rdquo; /&gt;</p>
<p style="text-align: justify;">&lt;/grant &ndash; to&gt;</p>
<p style="text-align: justify;">&lt;/policy&gt;</p>
<p style="text-align: justify;">&lt;/cross _ domain &ndash; access&gt;</p>
<p style="text-align: justify;">&lt;/access &ndash; policy&gt;</p>
<p style="text-align: justify;">Execute service 1. Svc file, getting service rul</p>
<p style="text-align: justify;">As per this application service url is</p>
<p style="text-align: justify;">http: //loathes: 1033/ servicel.svc</p>166:Td45,<h2><strong>Distributing WCF features in the SilverLight Application</strong></h2>
<p>Go to solution explorer <img class="alignnone size-full wp-image-7526" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_714.png" alt="Screenshot_7" width="47" height="19" />&nbsp;right click on silverlight foler <img class="alignnone size-full wp-image-7526" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_714.png" alt="Screenshot_7" width="47" height="19" />&nbsp;click on &lsquo;add. Service reference Address: http: //loathes : /003 / servicel.svc Click on go button <img class="alignnone size-full wp-image-7526" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_714.png" alt="Screenshot_7" width="47" height="19" />&nbsp;click on ok button</p>
<h3><strong>Note</strong></h3>
<p>By default the Microsoft given namespace name is &lsquo;service reference1&rsquo; Go to main page .XAML code behind window Using silverlight application 53. Service reference1; Namespace silverlight application 53 { Public partical class mainpage: user control { Public mainpage() { Initialize component (); Service 1 client obj = new service 1 client(); Obj. add str completed + = new event handler &lt;addstrcompleted eventargs&gt; (obj_addstrcompleted); Obj.addstraasyncc); } Strubg s; Void obj_add strcompleted (object sender, addstr completed event args e) { S = e.result . tosting(); } Private void button_click (object sender, routed eventrags e) { Textbox1.text = s; } } }</p>
<h3><strong>Note:- </strong></h3>
<p>while declaring addstrcompleted event press two times tab key after giving &ldquo;+= Using addstrcompleted event eventArgs parameter we can get WCF method data &nbsp;</p>
<h2><strong>Effects In the SilverLight</strong></h2>
<p>Effects are used to give rich interactive web graphical features, the silver light support two types of effects</p>
<ol>
<li>Blur effect</li>
<li>Shadow effect</li>
</ol>
<h2>SilverLight Blur Effect</h2>
<p>Open new silver light application Go to XAML mode In the canvas tag &lt;canvas&gt; &lt;button X:name = &ldquo;b1&rdquo; height = &ldquo;100&rdquo; width = &ldquo;250&rdquo; content = &ldquo;welcome&rdquo; fontsize = &ldquo;36&rdquo; click = &ldquo;b1- click&rdquo;&gt; &lt;button. Effect&gt; &lt;blur effect radius = &ldquo;100&rdquo; &gt; &lt;/bluer effect &gt; &lt;/button. Effect&gt; &lt;/button&gt; &lt;/canvas&gt; &nbsp;</p>
<h2><strong>Blur Effect giving at Runtime</strong></h2>
<p>Go to button click event Using system. Windows. Media. Effects; Private void bl-clicks (objet sender, routed event args e ) { If (bl.effect == null) { Blur effect b = new blureffet (); b.radius = 100;</p>
<ol>
<li>Effect = b;</li>
</ol>
<p>} Else { Bl. Effect = null; } } &nbsp;</p>
<h2><strong>SilverLight Shadow Effect</strong></h2>
<p>Open new silverlight application Go to SAML mode In the canvas tag &lt;canvas&gt; &lt;button X: name = &ldquo;bi&rdquo; Height = &ldquo;100&rdquo; width = &ldquo;250&rdquo; content = &ldquo;welcome&rdquo; font size = &ldquo;40&rdquo; canvas. Left = &ldquo;60&rdquo; canvas . top : &ldquo;100&rdquo;&gt; &lt;button. Effect&gt; &lt;dropshoadow effect blurradius = &ldquo;100&rdquo; shadow depth = &ldquo;100&rdquo;&gt; &lt;/dropshadow effect&gt; &lt;/button. Effect&gt; &lt;/button&gt; &lt;/canvas&gt;</p>167:T2c6e,<p><strong>Data set</strong> In this job, Path the path is the file <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />columns <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />load <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />(SCD) &nbsp; <strong>Oracle enterprise&nbsp;</strong> Table name =&nbsp; dim 2 Write method&nbsp; = upset (up date and insert) Upset order = update then insert Compile and Run &nbsp; <strong>GO to SQL plus&nbsp;</strong> Select * from dim2; &nbsp; <strong>TO insert new values&nbsp;</strong></p>
<ul>
<li>Delete SRC ;</li>
<li>Insert into SRC values (111,&rdquo;Smitha&rdquo;);</li>
</ul>
<p>Insert in to SRC values (444, &ldquo;Anu&rdquo;); &nbsp;</p>
<ul>
<li>Compile and RUN Job (a);</li>
</ul>
<p>Compile and RUN Job&nbsp; (a); <strong>Output&nbsp;</strong> &nbsp; Skid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Es &ndash; date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ee- date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACF ----------------------------------------------------------------------------------------------------------- 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shilpa&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Y 2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reruka &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Y 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 333&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Archana &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Y 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sumathi &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Y &nbsp; <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />7.5 version &nbsp; <strong>SCD 1 and 2</strong> SCD&rsquo;s are implemented in 7 using change capture&nbsp; and change apply.&nbsp; (SCD 1) <strong>Change Capture&nbsp;</strong> Capture the changes between before data and After data and generates change code. <strong>SCD 1</strong> <strong><img class="alignnone wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />SCD &ndash; II :-</strong>&nbsp; (7.5 version) &nbsp; <img class="alignnone wp-image-7118" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_77-460x270.png" alt="Screenshot_77" width="516" height="303" /> &nbsp; &nbsp; If code =1 ,ten ESS &ndash;date = current data EE &ndash;date =&rdquo;9999-12-31&rdquo; Code =2 ee-dab =current date -1</p>
<h3><strong>Surrogate key Stage</strong></h3>
<ul>
<li>Alternative primary key</li>
<li>Generates Sequence number</li>
<li>Surrogate key Stage differs completely in stage and version in 7.5 and 8.0.1</li>
</ul>
<p>Q: Column Generator also&nbsp; generates Sequence number, So why do we use Surrogate key ? &nbsp;</p>
<h3>Sol<strong>:&nbsp;&nbsp;&nbsp; Surrogate Key</strong></h3>
<p><strong><img class="alignnone wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /></strong>we can pass the values with parameters <strong><img class="alignnone wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /></strong>Can pass the parameter in runtime <strong><img class="alignnone wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /></strong>Parameterization is possible</p>
<pre style="text-align: center;"><em><strong>Interested in mastering <a href="https://tekslate.com/datastage-training/" target="_blank" rel="noopener">DataStage&nbsp;Training</a>?Enroll now for FREE demo on DataStage Training.</strong></em></pre>
<p><strong>Column Generator&nbsp;</strong></p>
<ul>
<li>We can&rsquo;t do</li>
<li>version :-</li>
</ul>
<ol>
<li>How to create Sequence</li>
<li>How to restart Sequence</li>
</ol>
<p>Q:&nbsp; How can you update parameter values Sol:-&nbsp;&nbsp; APS, Routines <strong>Job :-&nbsp; (Source Type&nbsp; = flat file)</strong> <img class="alignnone size-full wp-image-7119" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_78.png" alt="Screenshot_78" width="447" height="109" /> &nbsp; <strong>Surrogate&nbsp; key&nbsp;</strong> Generated output column name = SKID Source Name&nbsp; = C : /Skid. Txt<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Empty file Source Type&nbsp; = flat file <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;output <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;DO mapping <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Drag SKID to top <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Compile and RUN <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Generate Sequence no. 1 to 14<sup>th</sup> for 14 records <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />When it is RUN for the 2<sup>nd</sup> time <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Sequence status from 15, 16 &nbsp; <strong>To identify the last highest value</strong> <img class="alignnone wp-image-7120" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_79-460x50.png" alt="Screenshot_79" width="563" height="60" /> &nbsp; &nbsp; <strong>Job :- &nbsp;(Surrogate&nbsp; key Generator)</strong> Source Type&nbsp; = Data Sequence <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Source name = C :/Skid.txt <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;Empty&nbsp; file name<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />last generated value is stored<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />recalls the last generated, it status increment value<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />process is auto missed&agrave;last generated value can also be stored in data base <strong>&nbsp;</strong> <strong>Job:-&nbsp;&nbsp; (Source type = Sequence Data base)</strong> <img class="alignnone size-full wp-image-7121" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_80.png" alt="Screenshot_80" width="373" height="67" /> &nbsp; Source type&nbsp; = data type Sequence Data base type = oracle Oracle server name = oracle Password = tiger Username = Scott Source name = shilpa In SQL plus,&nbsp;&nbsp; create a data base Sequence object<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Create sequence shilpa;&nbsp;&nbsp; Sequence created<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Output<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Do mapping</p>168:T289f,<h3>Oracle Enterprise</h3>
<p>Table name = dim 1</p>
<p>Write method = upset Upset order&nbsp; = update then insert Compile and RUN <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />In SQL plus, Select * from dim 1; &nbsp; <strong>Skip&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></p>
<p><strong>S no&nbsp;</strong><strong>&nbsp; &nbsp; &nbsp; S&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name</strong></p>
<p>1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 111&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; shilpa</p>
<p>2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;222&nbsp; &nbsp; &nbsp; &nbsp; Renuka</p>
<p>3&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;333&nbsp; &nbsp; &nbsp; &nbsp;Archama &nbsp;</p>
<p><strong>To insert new values</strong> <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />delete SRC;</p>
<ul>
<li>Insert in to SRC Values (222, &lsquo;Anil&rsquo;); Insert in to SRC Values (444, &lsquo;Sravani&rsquo;);</li>
<li>Commit;</li>
<li>Compile and Run job (a)</li>
<li>Compile and Run Job (b)</li>
<li>Select * from dim 1;</li>
<li>Skip S no S name</li>
</ul>
<p>1&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shilpa</p>
<p>2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;Renuka</p>
<p>3&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;333&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;Archama</p>
<p>4&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;444&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sravani &nbsp; &nbsp;</p>
<p><strong>SCD &ndash; type 2</strong> <strong>Table 1</strong> Create table SRC&nbsp; (S no&nbsp; number&nbsp; (3), S name&nbsp; varchar2&nbsp; (25)&nbsp; ); <strong>Table 2&nbsp;</strong> Create Table dim 2 (skid number&nbsp; (2), S no number&nbsp; (3), S name varchar2 (25), Es &ndash; date data, EE &ndash; data date, ACF varchar2 (2)); <strong>5 types for SCD &ndash; Type 2</strong> S 1 :- Select output link as fact link S2 :- Map the look up key S No S3 :-Source type&nbsp; = Flat file =Source Name&nbsp; = (Empty file name) S4:-&nbsp;&nbsp; Identify&nbsp; the purpose of each field Skid = Surrogate key S no= business Key S name = type 2 Es &ndash;date = Effective date EE &ndash; date&nbsp; = Expiration date ACF&nbsp; = Current Indicator&nbsp; (&ldquo;Y&rdquo;)</p>
<h3>Derivation</h3>
<p>Skid = Surrogate key S no=&nbsp; S no S name = S name Es &ndash;date = Current date EE &ndash; date&nbsp; = &ldquo;9999 &ndash; 12-31&rdquo;&nbsp; (default DB/2&nbsp; format) ACF&nbsp; = Current Indicator&nbsp; (&ldquo;Y&rdquo;)</p>
<h3>Expire</h3>
<p>EE &ndash; date&nbsp;&nbsp; = Date from Julian Day ((Julian Day from Date&nbsp; (Current Date&nbsp; ())&nbsp; -1)) ACF = &ldquo;N&rdquo; S5 :- Map required fields to fact table</p>
<h3>Load properties</h3>
<p>S1 :- Set Data set properties S2 :-Set oracle properties Table Name&nbsp; = dim 2 Write method = upset (update and insert) Upset order = update then Insert &nbsp; <img class="alignnone wp-image-7115" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_76-460x161.png" alt="Screenshot_76" width="560" height="196" /> &nbsp;</p>
<p><strong>Oracle enterprise 0</strong> Load dim 2 table &agrave; column &agrave; change date to Times stamp <strong>&nbsp;</strong></p>
<p><strong>Oracle enterprise 1&nbsp;</strong> Load SRC table <strong>&nbsp;</strong></p>
<p><strong>S no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S name</strong> 111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shilpa 222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Renuka 333&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Archama</p>
<pre style="text-align: center;"><em><strong>Learn DataStage&nbsp;by Tekslate - Fastest growing sector in the industry.
Explore Online <a href="https://tekslate.com/datastage-training/" target="_blank" rel="noopener">DataStage Training</a> and course is aligned with industry needs &amp; developed by industry veterans.
Tekslate will turn you into DataStage Expert.</strong></em></pre>
<h3>Transformer</h3>
<p>Drag and drop the fields Times stamp to date&nbsp;&nbsp; (before. Es. date)&nbsp;&nbsp; = Es &ndash; date Times stamp to date&nbsp;&nbsp; (before. Es. date)&nbsp;&nbsp; = Ee &ndash; date In before &nbsp;<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> change Es &ndash; date, Ee &ndash; date to date &nbsp; <strong>SCD</strong> 1)&nbsp; Select fact link 2)&nbsp; Map the look up Key SNO 3) Source type = flat file Source name = E:/shilpa/SCD 2. Txt; 4)Select&nbsp; all <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Right click <img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />&nbsp;clear derivation &nbsp; Derivation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; purpose&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expire Double click&nbsp; Surrogate key ()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Skid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Surrogate key &nbsp; S no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;business key S name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type 2 &nbsp; Current date ()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Es &ndash; date&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;effective date &ldquo;9999 &ndash; 12 - 31&rdquo;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Ee &ndash;date &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Expiration date &ldquo;Y&rdquo;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ACF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Current indicator &nbsp; Ee &ndash; date = Date from Julian Day&nbsp;&nbsp; ((Julian Day from Date&nbsp; (Current Date&nbsp; ())&nbsp; -1)) &nbsp;</p>
<ol>
<li>Map required fields to fact table</li>
</ol>
<p>Compile and Run <strong>Output</strong> <strong>Skid &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;S no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; S name</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Es &ndash; date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ee- date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ACF</strong> 1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 111&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shilpa &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y 2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;222&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Reruka &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Y 3 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 333&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Archana &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Y &nbsp; (b)&nbsp; Data set ---------------&agrave; oracle enterprise Copy the path of DFM Data set&nbsp; (a)&nbsp; -<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" /> Columns -<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Save --<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />(SCD) <strong>For indepth understanding of DataStage click on</strong></p>
<ul>
<li class="title"><a href="https://tekslate.com/introduction-datastage/" target="_blank" rel="noopener">Introduction to DataStage</a></li>
<li class="title"><a href="https://tekslate.com/architecture-data-stage/" target="_blank" rel="noopener">Architecture of Data Stage</a></li>
<li><a href="https://tekslate.com/oracle-enterprise-data-stage/" target="_blank" rel="noopener">Oracle Enterprise in Data Stage</a></li>
<li><a href="https://tekslate.com/scd-slow-changing-dimension-data-stage/" target="_blank" rel="noopener">SCD(Slow changing Dimension) in Data Stage</a></li>
<li><a href="https://tekslate.com/tutorials/datastage-tutorials/" target="_blank" rel="noopener">DataStage Tutorials</a></li>
</ul>169:T16c3,<h2 style="text-align: justify;">HTML Class Attribute</h2>
<p style="text-align: justify;">The class HTML attribute is used to associate an element with a style sheet, and specifies the class of element, you learn more about the use of the class attribute when you will learn cascading Style sheet(CSS). The value of the attribute may also be a space-separated list of class names. For example.</p>
<p style="text-align: justify;">class=&rdquo;className1&nbsp;&nbsp; classname2&nbsp;&nbsp; classname3&rdquo;</p>
<h2 style="text-align: justify;">HTML Style Attribute</h2>
<p style="text-align: justify;">The style HTML attribute&nbsp; allows you to specify CSS rules within the element. For example</p>
<p style="text-align: justify;">&lt;p style=&rdquo;font-family:arial; color:#FF0000;&rdquo;&gt;Some text&hellip; &lt;/p&gt;</p>
<h2 style="text-align: justify;">Generic Attributes</h2>
<p style="text-align: justify;">Here&rsquo;s table of some other attributes that are readily usable with many of HTML&rsquo;s tags.</p>
<table>
<tbody>
<tr>
<td width="213"><strong>Attribute</strong></td>
<td width="213"><strong>Options</strong></td>
<td width="213"><strong>Function</strong></td>
</tr>
<tr>
<td width="213">align</td>
<td width="213">right,left,center</td>
<td width="213">Horizontally aligns tags</td>
</tr>
<tr>
<td width="213">valign</td>
<td width="213">top,middle,bottom</td>
<td width="213">Vertically aligns tags within an HTMl element.</td>
</tr>
<tr>
<td width="213">bgcolor</td>
<td width="213">numeric, hexadecimal,RGB values</td>
<td width="213">Places a background color behind an element</td>
</tr>
<tr>
<td width="213">background</td>
<td width="213">URL</td>
<td width="213">Places an background image behind an element</td>
</tr>
<tr>
<td width="213">ID</td>
<td width="213">User Defined</td>
<td width="213">Names an element for use with cascading style sheets</td>
</tr>
<tr>
<td width="213">Class</td>
<td width="213">User defined</td>
<td width="213">classifies an element for use with cascading style sheets</td>
</tr>
<tr>
<td width="213">Width</td>
<td width="213">Numeric value</td>
<td width="213">Specifies the width of tables, images, or table cells</td>
</tr>
<tr>
<td width="213">height</td>
<td width="213">Numeric value</td>
<td width="213">Specifies the height of tables, images,or table&nbsp; cells</td>
</tr>
<tr>
<td width="213">Title</td>
<td width="213">User Defined</td>
<td width="213">&ldquo;Pop-Up&rdquo; title for your element.</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">We will see related examples as we will proceed to study other HTML tags.</p>
<p style="text-align: justify;">World wide web Consortium(w3c) recommends lowercase in HTML 4, And demands lowercase tags in <strong>XHTML</strong></p>
<h2 style="text-align: justify;">Attributes</h2>
<p style="text-align: justify;">An attribute is used to define the characteristics of an element and is placed inside the element&rsquo;s opening tag. All attributes are made up of two parts: a name and a value.</p>
<p style="text-align: justify;">The value of the attribute should be put in double quotation marks, and is separated from the name by the equals sign</p>
<p style="text-align: justify;">Many HTML tags have a unique set of their own attributes. Right now we want to focus on a set of generic attributes.</p>
<h2 style="text-align: justify;">Core Attributes</h2>
<p style="text-align: justify;">The four core attributes that can be used on the majority of HTML elements(although not all) are:</p>
<ul style="text-align: justify;">
<li>id</li>
<li>title</li>
<li>class</li>
<li>style</li>
</ul>
<h2 style="text-align: justify;">HTML&nbsp;id Attribute</h2>
<p style="text-align: justify;">The id HTML attribute can be used to uniquely identify any element within a page(or style sheet). There are two primary reasons that you might want to use an id attribute on an element:</p>
<p style="text-align: justify;">If an element carries an id attribute as a unique identifier it is possible to identify just that element and its content.</p>
<p style="text-align: justify;">If you have two elements of the same name within a webpage(or style sheet), you can use the id attribute to distinguish between elements that have the same name.</p>
<p style="text-align: justify;">For now, the id attribute could be used to distinguish between two paragraph elements, like so:</p>
<p style="text-align: justify;">&lt;p id=&rdquo;html&rdquo;&gt; This para explains what is HTML&lt;/p&gt;</p>
<p style="text-align: justify;">&lt;p id=&rdquo;css&rdquo;&gt;This para explains what is casecading style sheet&lt;\p&gt;</p>
<p style="text-align: justify;">Note that there are some special rules for the value of the id attribute, it must :</p>
<p style="text-align: justify;">Begin with a letter (A.Z or a.z) and can then be followed by any number of letters, digits(0,9), hyphens, underscores, colons, and periods.</p>
<p style="text-align: justify;">Remain unique within that document; no two attributes may have the same value within that HTML document.</p>
<h2 style="text-align: justify;">HTML&nbsp;Title Attribute</h2>
<p style="text-align: justify;">The title HTML attribute gives a suggested title for the element. The behavior of this attribute will depend upon the element that carries it, although it is often displayed as a tooltip or while the element is loading.<strong>&nbsp;</strong></p>
<h2 style="text-align: justify;">Use Lowercase Attributes</h2>
<p style="text-align: justify;">Attribute names and attribute values are case-insensitive.</p>
<p style="text-align: justify;">However, the World Wide Web Consortium(w3c) recommends lowercase attributes/attribute values in their HTML 4 recommendation.</p>
<p style="text-align: justify;">Newer versions of (X) HTML will demand lowercase attributes.</p>16a:T46c5,<h2>HTML Elements</h2>
<p>The &lt;html&gt; element is the containing element for the whole HTML document. Each HTML document should have one &lt;html&gt; and each document should end with a closing &lt;/html&gt; tag. Following two elements appear as direct children of an &lt;html&gt; element:</p>
<ul>
<li>&lt;head&gt;</li>
<li>&lt;body&gt;<strong>&nbsp;</strong></li>
</ul>
<h2>The &lt;head&gt; Element</h2>
<p>The &lt;head&gt; element is just a container for all other header elements. It should be the first thing to appear after the opening &lt;html&gt; tag Each &lt;head&gt; element should contain a &lt;title&gt; element indicating the title of the document, although it may also contain any combination of the following elements, in any order : The &lt;base&gt; tag is used to create a &ldquo;base&rdquo; url for all links on the page. The &lt;object&gt; tag is designed to include images, javascript objects, Flash animations, MP3 files, QuickTime movies and other components of a page. The &lt;link&gt; tag is used to link to an external file, such as a style sheet or Javascript file The &lt;style&gt; tag is used to include CSS rules inside the document The &lt;script&gt; tag is used to include JAVA script or VBscript inside the document The &lt;meta&gt; tag includes information about the document such as keywords and a description, which are particularly helpful for search applications.</p>
<h2>HTML Base Tag</h2>
<p>&lt;html&gt; &lt;head&gt; &lt;title&gt;practice HTML base tag&lt;/title&gt; &lt;base href=&rdquo;http://www.sekharit.com&rdquo; target=&rdquo;_blank&rdquo;/&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt; This tag is using base path to display the image. &lt;/p&gt; &lt;img src=&rdquo;/image/html.gif&rdquo;/&gt; &lt;p&gt; This link will open in new window because we have used _blank in base tag.&lt;/p&gt; &lt;p&gt; Try to click this &lt;a href=&rdquo;/php/index.htm&rdquo;&gt;PHP tutorial&lt;/a&gt; &lt;/body&gt; &lt;/html&gt;</p>
<h2>HTML Link Tag</h2>
<p>&lt;Link rel=&rdquo;stylesheet&rdquo; type=&rdquo;text/css&rdquo; href=&rdquo;/style.css&rdquo;&gt;</p>
<h2>HTML Style Tag</h2>
<p>Style sheets describe how documents are presented on screens, in print, or perhaps how they are pronounced. W3C has actively promoted the use of style sheets on the web since the Consortium was founded in 1994. Cascading Style Sheets(CSS) is a style sheet mechanism that has been specifically developed to meet the needs of web designers and users. With CSS, you can specify a number of style properties for given HTMl element. Each properly has a name and a value, sperated by a colon(:) Each property declaration is separated by semi-colon(;)</p>
<h3><strong>&lt;p style=&rdquo;color:red:font-size:24px&rdquo;&gt;Using Style Sheet Rules&lt;/p&gt;</strong></h3>
<h2>HTML-Div Elements</h2>
<p>The &lt;div&gt; tag is nothing more than a container for other tags, Much like the body tag, Div elements are block elements and work behind the scenes grouping other tags together. Use only the following attributes with your div element.</p>
<ul>
<li>id</li>
<li>Width</li>
<li>height</li>
<li>title</li>
<li>style</li>
</ul>
<p>For the purpose of this example, we have included the style attribute in order to color our div tag in order to bring a stronger visualization for our viewer.</p>
<h2>HTML Code</h2>
<p>&lt;body&gt; &lt;div style=&rdquo;background: green&rdquo;&gt; &lt;h5&gt;SEARCH LINKS&lt;/h5&gt; &lt;a target=&rdquo;_blank&rdquo; href=&rdquo;http://www.google.com&rdquo;&gt;Google&lt;/a&gt; &lt;/div&gt; &lt;/body&gt;</p>
<h2>HTML Div Element</h2>
<p>Above is a great visual about how a div plays the role&nbsp; of a container of other HTML elements, applying a background color/image is the only real way to visualize your div tags.</p>
<h2>HTML &ndash; Links and Anchors</h2>
<p>The web got its spidery name from the plentiful connections between web sites. These connections are made using anchor tags to create links. Text, images, and Forms may be used to create these links.</p>
<h2>HTML &ndash; Hypertext Reference(href)</h2>
<p>The href attribute defines reference that the link refers to . Basically this is where the user will be taken if they wish to click this link Hypertext references can be Internal,Local, or Global. Internal-Links to anchors on the current page Local-Links to other pages within your domain. c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; copyright &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;copy;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;#169; R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; registered trademark&nbsp; &amp;reg;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;#174; TM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; trademark&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;trade;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;#8482; <strong>&nbsp;</strong></p>
<h2>HTML color-bgcolor</h2>
<p>The bgcolor attributes is used to control the background of an HTML element, specifically page and table backgrounds. Bgcolor can be placed within several of the HTML tags. However, we suggest you only use it for your page&rsquo;s main background(&lt;body&gt;)&nbsp; and in tables. Syntax &lt;TAGNAME bgcolor=&rdquo;value&rdquo;&gt; Quick and dirty, here is how to change the background of your web page. Just use the bgcolor attribute in the &lt;body&gt; tag and you are golden</p>
<h3>HTML Code</h3>
<p>&lt;body bgcolor=&rdquo;Silver&rdquo;&gt; &lt;p&gt; We set the background&hellip;.&lt;/p&gt; &lt;/body&gt;</p>
<h2>HTML &ndash; Background</h2>
<p>images can be placed within elements of HTML. Tables, paragraphs, and body may all have a background image. To accomplish this, we use the background attribute as follows.</p>
<h3>HTML Code</h3>
<p>&lt;table height=&rdquo;100&rdquo; width=&rdquo;150&rdquo; background=http://www.tizag.com/pics/htmlT/background.jpb&gt; &lt;tr&gt;&lt;td&gt; This table has a background image&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt;</p>
<h2>HTML-Background Repeat</h2>
<p>In the first example we happen to be lucky because our image and our table had exactly the same size pixel dimensions. Everything looks great.</p>
<h3><strong>HTML Code</strong></h3>
<p>&lt;table height=&rdquo;200&rdquo; width=&rdquo;300&rdquo;&nbsp; background=<a href="http://www.tizag.com/pics/htmlT/background.jpg">http://www.tizag.com/pics/htmlT/background.jpg</a>&gt; &lt;tr&gt;&lt;td&gt;This table has a background image&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; It is obvious this is often not the desired outcome,however,it can also be quite useful as you will see in the following example.</p>
<h2>HTML-Patterned Backgrounds</h2>
<p>Repeating a generic image as a background doesn&rsquo;t have much practical use. We either need to find an image to fit exactly as our background or have an image an image editing program to adjust the dimensions of our image. From a different angle, we can use this default attribute to our benefit say if we wanted to have some sort of pattern as our background, In an image editing program such as Adobe Photoshop, or Paint Shop Pro, We could create a very small(perhaps 4X4 pixels) and create a couple of basic patterns, <strong>4X4 image</strong> Now here is the same image set as the background to our same table.</p>
<h3>HTML Code</h3>
<p>&lt;table height=&rdquo;100&rdquo; width=&rdquo;150&rdquo; background=&rdquo;http://www.tizag.com/pics/htmlT/pattern.jpg&rdquo;&gt; &lt;tr&gt;&lt;td&gt;This table has a background patterned image&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt;</p>
<h2>HTML-Transparent Background</h2>
<p>Another great technique, along the same lines as the patterned images, is that of transparent, colored backgrounds. Most image editors have some sort of transparency device to create images that appear see through. We&rsquo;re not going to cover how to do this with every single program. However, most of the time all you need to do is fill your canvas with the color you would like and then set the opacity to something below 100%. Then make sure you save your file as a gift not a jpeg, and all systems should be go. Now that you have had the crash course on creating transparent files, you place them onto your websites the exact same way as you would a repeating background.</p>
<h3>HTML Code</h3>
<p>&lt;table background=<a href="http://www.tizag.com/pics/htmlT/transparent.gif">http://www.tizag.com/pics/htmlT/transparent.gif</a>&gt; &lt;tr&gt;&lt;td&gt;This table has a red transparent background image&lt;/td&gt;&lt;/tr&gt; <strong>_blank Target:</strong> <strong>ESPN.com</strong></p>
<h2>HTML-Anchors</h2>
<p>To link to sections of your existing page a name must be given to the anchor, In the example below, we&rsquo;ve created a mini table of contents for this page. By placing blank anchors just after each heading, and naming them, We can then create reference links to those sections on this page as shown below. Fist, the headings of this page contain blank, named anchors, They look like this</p>
<h3><strong>Tizag&rsquo;s Own Code:</strong></h3>
<p>&lt;h2&gt; HTML Links and Anchors&lt;a name=&rdquo;top&rdquo;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;h2&gt; HTML Text Links&lt;a name=&rdquo;text&rdquo;&gt;&lt;/a&gt;&lt;/h2&gt; &lt;h2&gt; HTML Email&lt;a name=&rdquo;email&rdquo;&gt;&lt;/a&gt;&lt;/h2&gt; Now create the reference links, placing the pound symbol followed by the name of the anchor in the href of the new link.</p>
<h3><strong>&nbsp;</strong><strong>Anchor Code:</strong></h3>
<p>&lt;a href=&rdquo;#top&rdquo;&gt; Go to the Top&lt;/a&gt; &lt;a href=&rdquo;#text&rdquo;&gt;Learn about Text Links&lt;/a&gt; &lt;a href=&rdquo;#email&rdquo;&gt;Learn about Email Links&lt;/a&gt;</p>
<h2>HTML &ndash; Email Links</h2>
<p>Creating an email link is simple. If you want somebody to mail you about your site a good way to do it is place an email link with a subject already in place for them.</p>
<h3>HTML Code</h3>
<p>&lt;ahref=<a href="mailto:emai@sekharit.com?subject=Feedback">mailto:emai@sekharit.com?subject=Feedback</a>&gt;<a href="mailto:Email@sekharit.com%3c/a">Email@tekslate.com&lt;/a</a>&gt;</p>
<h3><strong>Email Links</strong></h3>
<p><a href="mailto:Email@seharit.com">Email@tekslatecom</a> In some circumstances it may be necessary to fill in the body of the Email for the user as well.</p>
<h3>HTML Code</h3>
<p>&lt;a href=<a href="mailto:email@sekharit.com?subject=Feedback&amp;body=sweet%20site!">mailto:email@tekslate.com?subject=Feedback&amp;body=sweet site!</a>&gt;Email@tekslate.com&lt;/a&gt;</p>
<h3><strong>Complete Email</strong></h3>
<p><a href="mailto:Email@sekharit.com">Email@tekslate.com</a></p>
<h2>HTML-Download Links</h2>
<p>Placing files available for download is done in exactly the same fashion as placing text links. Things become complicated if we want to place image links available for download. The best solution for images is to use a thumbnail link that we discuss in the next lesson.</p>
<h3>HTML Code</h3>
<p>&lt;a href=http://www.sekharit.com/pics/htmlT/blanktext.zip&gt; Text Document&lt;/a&gt; Download a Text Document: Text Document</p>
<h3>HTML &ndash; Default Links; Base</h3>
<p>Use the &lt;base&gt; tag in the head element to set a default URL for all links on a page to go to. It&rsquo;s always a good idea to set a base tag just incase your links become bugged somewhere down the line. Usually set your base to your home page.</p>
<h3>&nbsp;HTML Code</h3>
<p>&lt;head&gt; &lt;base href=&rdquo;http://www.seharit.com&rdquo;&gt; &lt;/head&gt;</p>
<h2>HTML &ndash; Images</h2>
<p>Images are a staple of any web designer, so it is very important that you understand how to use them properly. Use the &lt;img/&gt; tag to place an image on your web page.</p>
<h3>HTML&nbsp; Code</h3>
<p>&lt;img src=&rdquo;sunset.gif&rdquo; height =&rdquo;50&rdquo; width = &ldquo;100&rdquo;&gt;</p>
<h3><strong>Image</strong></h3>
<p><img class="alignnone size-full wp-image-9090" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_774.png" alt="Screenshot_77" width="160" height="100" /></p>
<h2>HTML &ndash; Image src</h2>
<p>Above we have defined the src attribute. Src stands for source, the source of the image or more appropriately, where the picture file is located. As with links described in a previous lesson, you may use any standard URL to properly point the src attribute to a local or external source. There are two ways to define the source of an image. First you may use a standard URL, (src=http://www.Tizag.com/pics/htmlT/sunset.gif) As your second choice, you may copy or upload the file onto your web server and access it locally using standard directory tree methods. (src=&rdquo;&hellip;/sunset.gif&rdquo;) The location of this picture file is in relation to your location of your .html file.</p>
<h3><strong>URL Types</strong></h3>
<p><strong>Local Src &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Location Description</strong> src=&rdquo;sunset.gif&rdquo;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; picture file resides in same directory as .html file src=&rdquo;&hellip;/sunset.gif&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; picture file resides in previous directly as .html file src=&rdquo;..pics/sunset.gif&rdquo;&nbsp; picture file resides in the pic directory in a previous directory as .html file &nbsp; A URL can&rsquo;t&nbsp; contain drive letters, since a src URL is a relational source interpretation based on the location of your html file and the location of the picture file. Therefore something like src=&rdquo;c:\\www\web\pics\&rdquo; will not work. Pictures must be uploaded along with your .html file to your web server. Each method has its pros and cons, for instance using the URL of pictures on other sites poses a problem if the web master(s) of the other site happen to change the physical location of the picture file. Copying the file directly to your web server solves this problem. However, as you continue to upload picture files to your system, you may eventually run short on hard drive space. Use your best judgment to meet your needs.</p>
<h2>HTML -&nbsp; Alternative Attribute</h2>
<p>The alt attribute specifies alternate text to be displayed if for some reason the browser cannot find the image, or if a user has image files disabled. Text only browsers also depend on the alt attribute since they cannot display pictures. <strong>HTML Code</strong> &lt;img src=<a href="http://example.com/brokenlink.sunset.gif">http://example.com/brokenlink.sunset.gif</a> alt=&rdquo;Beautiful Sunset&rdquo;/&gt; &nbsp;</p>
<h3><strong>Alternative Text</strong></h3>
<p><strong>HTML &ndash; Image Height and Width</strong> To define the height and width of the image, rather than letting the browser compute the size, use the height and width attributes. <strong>HTML Code</strong> &lt;img src=&rdquo;sunset.gif&rdquo;&nbsp; height = &ldquo;50&rdquo; width=&rdquo;100&rdquo;&gt; <strong>Height and Width</strong> <img class="alignnone size-full wp-image-9091" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_784.png" alt="Screenshot_78" width="163" height="105" /> &nbsp; Above we have defined the src, height and width attributes, By information the browser of the image dimensions it knows to set aside a place for that image. Without defining an image&rsquo;s dimensions your site may load poorly; text and other images will be moved around when the browser finally figures out how big the picture is supposed to be and then makes room for the picture.</p>
<h2>Vertically and Horizontally Align Images</h2>
<p>Use the align and valign attributes to place images within your body, or sections.</p>
<ol>
<li>align(Horizontal)</li>
</ol>
<ul>
<li>right</li>
<li>left</li>
<li>center</li>
</ul>
<ol start="2">
<li>Valign(Vertical)</li>
</ol>
<ul>
<li>top</li>
<li>bottom</li>
<li>center</li>
</ul>
<p>Below is an example of how to align an image to the right of a paragraph. <strong>HTML Code</strong> <strong>&lt;p&gt; </strong>This is paragraph 1, yes it is &hellip;&lt;/p&gt; &lt;p&gt; &lt;img src=&rdquo;sunst.gif&rdquo; align =&rdquo;right&rdquo;&gt; The image will appear along the &hellip;. isn&rsquo;t it ? &lt;/p&gt; &lt;p&gt; This is the third paragraph that appears&hellip;. &lt;/p&gt; Image Wrap Around: This is paragraph. yes it is. I think this paragraph serves as a nice example to show how this image alignment works The image will appear along the right hand side of the paragraph. As you can see this is very nice for adding a little eye candy that relates to the specified paragraph. If we were talking about beautiful tropical sunsets, this picture would be perfect. But we aren&rsquo;t talking about that, so it&rsquo;s rather a waste, isn&rsquo;t it ? This is the third paragraph that appears below the paragraph with the image!</p>
<h2>Images as Links</h2>
<p>This will be quick review of the <strong>links &ndash; image lesson </strong>Images are very useful for links and can be created with the HTML below. <strong>HTML Code</strong> &lt;a href=&rdquo;http://www.tizag.com/&rdquo;&gt; &lt;img src=&rdquo;sunset.gif&rdquo;&gt; &lt;/a&gt;</p>
<h3>Image Links</h3>
<p>&nbsp; <img class="alignnone size-full wp-image-9092" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_793.png" alt="Screenshot_79" width="165" height="100" /> Now your image will take you to our home page when you click it. Change it to your home page URL</p>16b:T6a3,<h2 style="text-align: justify;">External Style Sheet</h2>
<p style="text-align: justify;">If you have to give same look and feel to many pages then it is a good idea to keep all the style sheet rules in a single style sheet file and include this file in all the HTML pages. You can include a style sheet file into HTML document using &lt;link&gt; element. Below is an example.</p>
<p style="text-align: justify;">&lt;head&gt;</p>
<p style="text-align: justify;">&lt;link rel=&rdquo;stylesheet&rdquo; type=&rdquo;text/css&rdquo; href=&rdquo;yourstyle.css&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/head&gt;</p>
<h2 style="text-align: justify;">Internal Style Sheet</h2>
<p style="text-align: justify;">If you want to apply style sheet rules to a single document only then you can include those rules into that document only. Below is an example :</p>
<p style="text-align: justify;">&lt;head&gt;</p>
<p style="text-align: justify;">&lt;style type=&rdquo;text/css&rdquo;&gt;</p>
<p style="text-align: justify;">body { background-color: pink; }</p>
<p style="text-align: justify;">p{color:blue;20px;font-size:24px}</p>
<p style="text-align: justify;">&lt;/style&gt;</p>
<p style="text-align: justify;">&lt;/head&gt;</p>
<h2 style="text-align: justify;">Inline Style Sheet</h2>
<p style="text-align: justify;">You can apply style sheet rules directly to any HTML elemet. This should be done only when you are interested to make a particular change in any HTML element only. To use inline styles you use the style attribute in the relevant tag. Below is an example:</p>
<p style="text-align: justify;">&lt;p style=&rdquo;color:red;font-size:24px;&rdquo;&gt;Using Style Sheet Rules&lt;/p&gt;</p>16c:T3c32,<h3><strong>HTML</strong></h3>
<p>This stands for Hyper Text Markup Language.</p>
<h3><strong>HTTP</strong></h3>
<p>This stands for Hyper Text Transfer Protocol</p>
<h3><strong>HTML &ndash; Formatting Element W/Tags</strong></h3>
<p>As you begin to place more and more elements onto your web site, it will become necessary to make minor changes to the formatting of those elements. In our HTML Attributes lesson we dicussed ways to add some flavor with attributes and align elements within other elements. Several tags exits to further amplify text elements. These formatting tags can make text bold, italic,sub/superscripted, and more.</p>
<h3><strong>Bold, Italic and More</strong></h3>
<p><strong>HTML code</strong> &lt;p&gt; An example of &lt;b&gt; Bold Text&lt;/b&gt;&lt;/p&gt; &lt;p&gt; An example of &lt;em&gt;Emphasized Text&lt;/em&gt;&lt;/p&gt; &lt;p&gt; An example of &lt;strong&gt; Strong Text&lt;/strong&gt;&lt;/p&gt; &lt;p&gt; An example of &lt;i&gt;Italic Text&lt;/i&gt;&lt;/p&gt; &lt;p&gt; An example of &lt;sup&gt; superscripeted Text&lt;/sup&gt;&lt;/p&gt; &lt;p&gt; An example of &lt;code&gt; Computer Code Text&lt;/code&gt;&lt;/p&gt;</p>
<h3><strong>HTML Formatting</strong></h3>
<p>An example of Bold Text An example of Emphasized Text An example of Strong Text An example of italic Text An example of superscripted Text An example of Subscripted Text An example of <span style="text-decoration: line-through;">struckthrough Text</span> An example of Computer code text. All of these tags add a pinch of flavor to paragraph elements. They can be used with any text type element.</p>
<h3><strong>Preserve Formatting &ndash; The &lt;pre&gt; Element</strong></h3>
<p>Sometimes you want your text to follow the exact format of how it is written in the HTML document. In those cases, you can use the preformatted tag &lt;pre&gt;. Any text between the opening &lt;pre&gt; tag and the closing &lt;/pre&gt; tag will preserve the formatting of the source document. &lt;pre&gt; function testfunction(&nbsp; strText&nbsp; ){ alert(strText) } &lt;/pre&gt; This will produce following result: function testFunction(&nbsp; strText&nbsp;&nbsp;&nbsp; ){ alert (startText) }</p>
<h3><strong>HTML Color Coding System- Color Names</strong></h3>
<p>There are 3 different methods to set color. The simplest being the Generic terms of colors. Examples: black, white, red, green, and blue. Generic colors are preset HTML coded colors where the values is simply the name of each color, Here is a sample of the most widely supported colors and their respective name values. &nbsp; <img class="alignnone size-full wp-image-9084" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_765.png" alt="Screenshot_76" width="355" height="360" /> &nbsp;</p>
<h3><strong>HTML Coloring System &ndash; RGB values</strong></h3>
<p>we do not recommend that you use RGB for safe web design because non-IE browsers do not support HTML RGB. However, if you plan on learning CSS then you should glance over this topic. RGB stands for Red, Green, Blue, Each can have a value from 0(none of that color) to 255 (fully that color). The format for RGB is &ndash; rgb(RED,GREEN,BLUE), just like the name implies. Below is an example of RGB in use, but if you are not using a browser that support it, do not worry, that is just one of the problems with HTML RGB &nbsp;</p>
<h3><strong>Red, Green, and Blue Values</strong></h3>
<p>bgcolor=&rdquo;rgb(255,255,255)&rdquo; white bgcolor=&rdquo;rgb(255,0,0)&rdquo;&nbsp;&nbsp;&nbsp; Red bgcolor=&rdquo;rgb(0,255,0)&rdquo; Green bgcolor=&rdquo;rgb(0,0,255)&rdquo;&nbsp;&nbsp; Blue &nbsp;</p>
<h3><strong>HTMl Coloring System &ndash; Hexadecimal</strong></h3>
<p>The hexadecimal system is complex and difficult to understand at first. Rest assured that the system becomes much, MUCH easier with practice and as a blossoming web developer, it is critical to understand hexadecimals HTML code: &lt;p&gt; &lt;font size=&rdquo;5&rdquo;&gt; Here is a size 5 font&lt;/font&gt; &lt;/p&gt; &nbsp;</p>
<h3><strong>Font Size</strong></h3>
<p>Here is a size 5 font. &nbsp;</p>
<h3><strong>Font Color</strong></h3>
<p>Set the color of your font with color. &nbsp;</p>
<h3><strong>HTML Code</strong></h3>
<p>&lt;font color=&rdquo;#990000&rdquo;&gt; This is text is hexacolor #990000&lt;/font&gt; &lt;br/&gt; &lt;font color=&rdquo;red&rdquo;&gt; This text is red&lt;/font&gt; &nbsp;</p>
<h3><strong>Font Color</strong></h3>
<p>This text is hexcolor&nbsp;&nbsp; #990000 This text is red &nbsp;</p>
<h3><strong>Font Face</strong></h3>
<p>Choose a different font face using any font you have installed. Be aware that if the user viewing the page doesn&rsquo;t have the font installed, they will not be able to see it. Instead they will do fault to Times New Roman.And option is to choose a few that are similar in appearance. <strong>&nbsp;</strong></p>
<h3><strong>HTML Code</strong></h3>
<p>&lt;p&gt; &lt;font face=&rdquo;Bookam old style, Book Antiqua, Garmond&rdquo;&gt; This paragraph has had its font&hellip;.. &lt;/font&gt; &lt;/p&gt; &nbsp;</p>
<h3><strong>Font Face</strong></h3>
<p>This paragraph has had its font formatted by the font tag! &nbsp;</p>
<h3><strong>HTML Entities</strong></h3>
<p>Some characters are reserved in HTML. It is not possible to use the less than(&lt;) or greater than(&gt;) signs in your text, because the browser will mix them with tags. To actually display reserved characters, we must use character entities in the HTML source code to be capable of using them in your own web publications. They are far more reliable and widely compatible among web browsers and are the standard for colors on the internet. A hexadecimal is a 6 digit representation of a color, The first two digits(RR) represent a red value, the next two are a green value(GG), and the last are the blue value(BB) Here&rsquo;s a hexadecimal you might see in an HTML document.<strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>My First Hexadecimal:</strong></h3>
<p>bgcolor=&rdquo;#RRGGBB&rdquo; &nbsp;</p>
<h3><strong>HTML Color Code &ndash; Breaking the code</strong></h3>
<p>The following table shows how letters are incorporated into the hexadecimal essentially extending the numbers system to 16 values. Hang in there it all makes sense shortly.</p>
<h3>&nbsp;</h3>
<h3><strong>Hexadecimal Color Values:</strong></h3>
<table>
<tbody>
<tr>
<td width="86"><strong>Decimal</strong></td>
<td width="25">0</td>
<td width="25">1</td>
<td width="25">2</td>
<td width="25">3</td>
<td width="25">4</td>
<td width="25">5</td>
<td width="25">6</td>
<td width="25">7</td>
<td width="25">8</td>
<td width="25">9</td>
<td width="36">10</td>
<td width="36">11</td>
<td width="36">12</td>
<td width="36">13</td>
<td width="36">14</td>
<td width="36">15</td>
</tr>
<tr>
<td width="86"><strong>Hexadecimal</strong></td>
<td width="25">0</td>
<td width="25">1</td>
<td width="25">2</td>
<td width="25">3</td>
<td width="25">4</td>
<td width="25">5</td>
<td width="25">6</td>
<td width="25">7</td>
<td width="25">8</td>
<td width="25">9</td>
<td width="36">A</td>
<td width="36">B</td>
<td width="36">C</td>
<td width="36">D</td>
<td width="36">E</td>
<td width="36">F</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;</strong> So use letters as numbers? we will answer this question as we dive into converting hexadecimals to regular numbers, Let&rsquo;s have&nbsp; a look at real Hexadecimal.</p>
<h3><strong>A Real Hexadecimal</strong></h3>
<p>bgcolor=&rdquo;#FFFFFFF&rdquo; The letter &ldquo;F&rdquo; is the maximum amount we can send each color and as you may deduce, this color(#FFFFFF) represents the color white. A formula exists to calculate the numeric equivalent of a hexadecimal. &nbsp;</p>
<h3><strong>HTML &ndash; Font and Basefont</strong></h3>
<p>The &lt;font&gt; tag is used to add style, size, and color to the text on your site. Use the size, color , and face attributes to customize your fonts. Use a &lt;basefont&gt; tag to set all of your text to the same size, face, and color. &nbsp; <strong>The font and basefont tags are deprecated and should not be used. Instead, use css styles to manipulate your font.</strong></p>
<h3><strong>Font Size</strong></h3>
<p>Set the size of your font with size. The orange of accepted values is from 1(smallest) to 7(largest). The default size of a font is 3. A character entity looks like this: &amp;entity_name; OR &amp;#entity_number; To display a less than sign we must write: &amp;lt; or &amp;#60; Tip : The advantage of using an entity name, instead of a number, is that the name is easier to remember. However, the disadvantage is that browsers may not support all entity names(the support for entity numbers is very good)</p>
<h3><strong>Non-breaking Space</strong></h3>
<p>A common character entity used in HTML is the non-breaking space(&amp;nbsp); Browsers will always truncate spaces in HTML pages. IF you write 10 spaces in your text, the browser will remove 9 of them, before displaying the page. To add spaces to your text, you can use the &amp;nbsp; character entity. &nbsp;</p>
<h3><strong>HTML Useful Character Entities</strong></h3>
<p><strong>Note :</strong> Entity names are case sensitive! &nbsp; <strong>Result Description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Entity Name &nbsp;&nbsp;&nbsp;&nbsp;Entity Number</strong> non-breaking space &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;#160; &lt;&nbsp;&nbsp;&nbsp;&nbsp; less than&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;lt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;#60; &gt; &nbsp;&nbsp;&nbsp;&nbsp;greater than&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;#38; &amp;&nbsp;&nbsp;&nbsp; ampersand&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;amp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &amp;#162; C&nbsp;&nbsp;&nbsp; Cent&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;cent; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;#162; E&nbsp;&nbsp;&nbsp;&nbsp; pound&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;pound; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;#163; yen &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;yen; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;#165; euro &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;euro; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;#8364; section &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;sect; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;#167; &nbsp;</p>
<h3><strong>HTML &ndash; Text Links</strong></h3>
<p>Use the &lt;a&gt;&lt;/a&gt; tags to define the start and ending of an anchor. Decide what type of href attribute you need and place this attribute into the opening tag. The next you place between the opening and closing tags will be shown as the link on a page. Use the demonstration below as a reference. &nbsp;</p>
<h3><strong>HTML Code&nbsp;</strong></h3>
<p>&lt;a href=&rdquo;http://www.tekslate.com/&rdquo;&nbsp; target=&rdquo;_blank&rdquo;&gt;Home&lt;/a&gt; &lt;a href=&rdquo;<a href="http://www.espn.com/">http://www.espn.com/</a>&rdquo; target=&rdquo;_blank&rdquo;&gt; EspnHome&lt;/a&gt; &lt;a href=&rdquo;<a href="http://www.yahoo.com">http://www.yahoo.com</a>/&rdquo; target=&rdquo;_blank&rdquo; &gt; Yahoo Home&lt;/a&gt; &nbsp; <strong>Global Link :</strong> <strong>&nbsp;</strong>TizagHome ESPN Home Yahoo Home &nbsp; <strong>HTML &ndash; Link targets</strong> The target attribute defines whether to open the page in a separate window, or to open the link in the current browser window. <strong>HTML Code</strong> target=&rdquo;_blank&rdquo; opens new page in a browser window &ldquo;_self&rdquo; Loads the new page in current window _parent&rdquo; Loads new page into a frame that is superior to where the link lies _top&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Loads new page into the current browserwindow, cancelling all frames The example below shows how you would link to ESPN.com, a popular sports web site. The target attribute is added to allow the browser to open ESPN in a new window, so that the viewer can remain at our web site. Here&rsquo;s the example &nbsp; <strong>HTML Code</strong> &lt;a href=http://www.ESPN.com&nbsp; target=&rdquo;_blank&rdquo;&gt;ESPN.COM&lt;/a&gt; &lt;a href=&rdquo;<a href="http://www.espn.com/">http://www.espn.com/</a>&rdquo; target=&rdquo;_blank&rdquo;&gt; EspnHome&lt;/a&gt; &lt;a href=&rdquo;<a href="http://www.yahoo.com">http://www.yahoo.com</a>/&rdquo; target=&rdquo;_blank&rdquo; &gt; Yahoo Home&lt;/a&gt;</p>
<h3><strong>Global Link</strong></h3>
<p><strong>&nbsp;</strong>TizagHome ESPN Home Yahoo Home</p>
<h3><strong>HTML &ndash; Link targets</strong></h3>
<p>The target attribute defines whether to open the page in a separate window, or to open the link in the current browser window.</p>
<h3>HTML Code</h3>
<p>target=&rdquo;_blank&rdquo; opens new page in a browser window &ldquo;_self&rdquo; Loads the new page in current window _parent&rdquo; Loads new page into a frame that is superior to where the link lies _top&rdquo;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Loads new page into the current browserwindow, cancelling all frames &nbsp; The example below shows how you would link to ESPN.com, a popular sports web site. The target attribute is added to allow the browser to open ESPN in a new window, so that the viewer can remain at our web site. Here&rsquo;s the example</p>
<h3><strong>HTML Code</strong></h3>
<p>&lt;a href=http://www.ESPN.com&nbsp; target=&rdquo;_blank&rdquo;&gt;ESPN.COM&lt;/a&gt;</p>
<div id="malwarebytes-root"></div>
<div id="malwarebytes-root"></div>16d:T634,<h2>HTML Script Tag</h2>
<p>A script is a small piece of program that can add interactivity to your website. For example, a script could generate a pop-up alert box message, or provide a dropdown menu. This script could be Javascript or VBScript. You can write your Event Handlers using any of the scripting language and then you can trigger those functions using HTML attributes.</p>
<h2>External Script</h2>
<p>If you have to use a single script functionality among many HTML pages then it is a good idea to keep that function in a single script file and then include this file in all the HTML pages. You can incluse a style sheet file into HTML document using &lt;script&gt; element. Below is an example. &lt;head&gt; &lt;script src=&rdquo;yourfile.js&rdquo; type=&rdquo;text/javascript&rdquo; /&gt; &lt;/head&gt;</p>
<h2>Internal Script</h2>
<p>You can write your script code directly into your HTML document. Usually we keep script code in header of the document using &lt;script&gt; tag. otherwise there is no restriction and you can put your source code anywhere in the document. You can specify where to make a script run automatically(as soon as the page loads), or after he user has done something(like click on a link). Below is an example this would write a Hello Javascript! message as soon as the page loads: &lt;head&gt; &lt;title&gt; internal script&gt;&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;script type=&rdquo;text/javascript&rdquo;&gt; alert(&ldquo;Hello Javascript!&rdquo;) &lt;/script&gt; &lt;/body&gt; This will produce following result : Hello Javascript!</p>16e:T3cc6,<h2 style="text-align: justify;">Table</h2>
<p style="text-align: justify;">Table are very useful to arrange in HTML and they are used very frequently by almost all we developers.Tables are just like spreadsheets and they are made up of rows and columns.</p>
<p style="text-align: justify;">You will create a table in HTML/XHTML by using&lt;table&gt; tag,Inside&lt;table&gt; element the table is written out&nbsp; row by row .A row is contained&nbsp; inside a &lt;tr&gt; tag,which stands for table row .And each cell is then written inside the row element using a &lt;td&gt; tag.which stands for table data.</p>
<p style="text-align: justify;">Example of HTML Table</p>
<p style="text-align: justify;">&lt;table border=&rdquo;1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 1, column 1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td&gt; Row 1, column 2&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 2, column 1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 2, column 2&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<table style="height: 91px;" width="519">
<tbody>
<tr>
<td width="175">Row1,Column1</td>
<td width="163">Row 1, column 2</td>
</tr>
<tr>
<td width="175">Row 2, column 1</td>
<td width="163">Row 2, column 2</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><strong>Note:</strong> In the above example border is an attribute of &lt;tabel&gt; and it will put border across all the cells. If you do not need a border then you cal use border=&rdquo;0&rdquo;.The border attribute and other attributes also mentioned&nbsp; in this session are deprecated and they have been repalced by CSS. So it recommended to use CSS instead os using any attribute directly.</p>
<p style="text-align: justify;"><strong>Table Heading &ndash;The &lt;th&gt; Element</strong></p>
<p style="text-align: justify;">Table heading can be defined using &lt;th&gt; element .This tag will be put to replace &lt;td&gt; tag which is used to represent actual data. Normally you will put your top row as table heading as shown below, otherwise you can use&lt;th&gt; element at any place:</p>
<p style="text-align: justify;">&lt;table border=&rdquo;1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Name&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Salary&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Ramesh Raman&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt;5000&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Shabbir Hussein&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt;7000&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result. You can see its making heading as a bold one:</p>
<table>
<tbody>
<tr>
<td width="166"><strong>Name</strong></td>
<td width="97"><strong>Salary</strong></td>
</tr>
<tr>
<td width="166">Ramesh Raman</td>
<td width="97">5000</td>
</tr>
<tr>
<td width="166">Shabbir Hussein</td>
<td width="97">7000</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;"><strong>Note</strong></p>
<p style="text-align: justify;">Each cell must, however, have either a&lt;td&gt; or a &lt;th&gt; element in order for the table to display correctly even if that element is empty.</p>
<p style="text-align: justify;">Table Cell padding and Cell spacing:</p>
<p style="text-align: justify;">There are two attributes called cellpadding and cellspacing which you will use to adjust the white space in your table cell.Cell spacing defines the width of the border,while cellpadding represents the distance betwenn cell borders and the content with in.Following is the example:</p>
<p style="text-align: justify;">&lt;table border=&rdquo;1&rdquo; cell padding=&rdquo;5&rdquo; cellspacing=&rdquo;5&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;th&gt;Name&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt;Salary&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt;Ramesh Raman&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt;5000&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt;Shabbir Hussein&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; 7000&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result</p>
<table>
<tbody>
<tr>
<td width="163"><strong>Name</strong></td>
<td width="163"><strong>Salary</strong></td>
</tr>
<tr>
<td width="163">Ramesh Raman</td>
<td width="163">5000</td>
</tr>
<tr>
<td width="163">Shabbir Hussein</td>
<td width="163">7000</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;">Colspan and Rowspan Attributes</h2>
<p style="text-align: justify;">You will use colspan attribute if you want to merge two or more columns into a single column. Similiar way you will use rowspan if you want to merge two or more rows.Following is the example:</p>
<p style="text-align: justify;">&lt;table border=&rdquo;1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 1&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 2&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 3&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td rowspan =&rdquo;2&rdquo;&gt; Row 1 Cell1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 1 Cell1&lt;/td&gt;&lt;td&gt; Row 1 Cell3&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td&gt;Row 2 Cell 2 &lt;/td&gt;&lt;td&gt;Row 2 Cell 3 &lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td colspan=&rdquo;3&rdquo;&gt;Row 3 Cell 1&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result</p>
<h3 style="text-align: justify;">&nbsp;</h3>
<h3 style="text-align: justify;"><img class="alignnone wp-image-9105" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_842-460x176.png" alt="Screenshot_84" width="395" height="150" /></h3>
<h3 style="text-align: justify;">&nbsp;</h3>
<h2 style="text-align: justify;">Tables Backgrounds</h2>
<p style="text-align: justify;">You can set table background using of the following two ways:</p>
<ul style="text-align: justify;">
<li>Using bgcolor attribute &ndash;You can set background color for whole table or just for one cell.</li>
<li>Using background attribute- You can set background image for whole table or just for one cell.</li>
</ul>
<p style="text-align: justify;"><strong>Note</strong>: You can set border color also using bordercolor attribute.</p>
<p style="text-align: justify;">Here is an example of using bgcolor attribute:</p>
<p style="text-align: justify;">&lt;table border=&rdquo;5&rdquo; bordercolor=&rdquo;green&rdquo; bgcolor=&rdquo;gray&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 1&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 2&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 3&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td rowspan=&rdquo;2&rdquo; &gt;Row 1 Cell 1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td bg color =&rdquo;red&rdquo; &gt; Row 1 Cell2&lt;/td&gt;&lt;td&gt; Row 1 Cell3&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td&gt; Row 2 Cell 2&lt;/td&gt;&lt;td&gt; Row 2 Cell 3&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td colspan=&rdquo;3&rdquo;&gt; Row 3 Cell 1&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<h3 style="text-align: justify;"><img class="alignnone wp-image-9106" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_852-460x178.png" alt="Screenshot_85" width="354" height="137" /></h3>
<h2 style="text-align: justify;">Tables Back grounds</h2>
<p style="text-align: justify;">You can set table background using of the following two ways:</p>
<ul style="text-align: justify;">
<li>Using <em>bgcolor</em> attribute &ndash;You can set background color for whole table or just for one cell.</li>
<li>Using <em>background</em> attribute- You can set background image for whole table or just for one cell.</li>
</ul>
<p style="text-align: justify;"><strong>Note:</strong> You can set border color also using <em>bordercolor</em> attribute.</p>
<p style="text-align: justify;">Here is an example of using bgcolor attribute:</p>
<p style="text-align: justify;">&lt;table border=&rdquo;5&rdquo; border color=&rdquo;green&rdquo; bgcolor=&rdquo;gray&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 1 &lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 2 &lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 3 &lt;/th&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td rowspan=&rdquo;2&rdquo;&gt;Row 1 Cell 1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td bgcolor =&rdquo;red&rdquo;&gt; Row 1 Cell 2 &lt;/td&gt;&lt;td&gt; Row 1 Cell 3 &lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td&gt; Row 2 Cell&nbsp; 2&lt;/td&gt;&lt;td&gt; Row 2 Cell 3 &lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td colspan =&rdquo;3&rdquo; &gt;Row 3 Cell 1&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<h3 style="text-align: justify;">&nbsp;<img class="alignnone wp-image-9107" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_862-460x177.png" alt="Screenshot_86" width="350" height="134" /></h3>
<p style="text-align: justify;">Here is an example of using background attribute:</p>
<p style="text-align: justify;">&lt;table border=&rdquo;1&rdquo; background =&rdquo;/images/home.gif&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 1 &lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 2 &lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Column 3 &lt;/th&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td rowspan=&rdquo;2&rdquo;&gt;Row 1 Cell 1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td bgcolor =&rdquo;red&rdquo;&gt; Row 1 Cell 2 &lt;/td&gt;&lt;td&gt; Row 1 Cell 3 &lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td&gt; Row 2 Cell&nbsp; 2&lt;/td&gt;&lt;td&gt; Row 2 Cell 3 &lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;&lt;td colspan =&rdquo;3&rdquo; background=&rdquo;/images/pattern1.gif&rdquo;&gt;Row 3 Cell 1&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_871-460x178.png" alt="Screenshot_87" width="380" height="147" /></p>
<h2 style="text-align: justify;">Table Height and Width</h2>
<p style="text-align: justify;">You can set a table width and height using width and height attributes. You can specify table width or height in terms of integer value or in terms of percentage of available screen area. Following is the example:</p>
<p style="text-align: justify;">&lt;table border=&rdquo;1&rdquo; width=&rdquo;400&rdquo; height=&rdquo;150&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 1 ,Column 1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 1 ,Column 2&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 2 ,Column 1&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 2 ,Column 2&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9109" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_881-460x64.png" alt="Screenshot_88" width="373" height="51" /></p>
<p style="text-align: justify;">&lt;table border=&rdquo;1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt;</p>
<p style="text-align: justify;">&lt;table border =&rdquo;1&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Name&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;th&gt; Salary&lt;/th&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Ramesh Raman&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; 5000&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Shabbir Hussein&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; 7000&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt;</p>
<p style="text-align: justify;">&lt;ul&gt;</p>
<p style="text-align: justify;">&lt;li&gt; This is another cell&lt;li&gt;</p>
<p style="text-align: justify;">&lt;li&gt;Using list inside this cell&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;/ul&gt;</p>
<p style="text-align: justify;">&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 2 ,Column 1 &lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td&gt; Row 2 ,Column 2&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9110" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_891-460x141.png" alt="Screenshot_89" width="415" height="126" /></p>16f:T64c4,<p style="text-align: justify;">HTML forms are required when you want to collect some data from the site visitor. For example registration information: name, email&nbsp; address, credit card, etc.</p>
<p style="text-align: justify;">A form will take input from the site visitor and then will post your back-end applications such as CGI,ASP Script or PHP script etc. Then your back-end application will do required processing on that data in whatever way you like.</p>
<p style="text-align: justify;">Form elements are like text field, textarea fields,drop-down menus, radio buttons, checkboxes, etc. Which are used to take information from the user.</p>
<p style="text-align: justify;">A simple syntax of using &lt;form&gt; is as follows:</p>
<p style="text-align: justify;">&lt;form action=&rdquo;back-end script&rdquo; method =&rdquo;posting method&rdquo; form elements like input, textarea etc&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">Most frequently used form attributes are :</p>
<p style="text-align: justify;"><strong>name</strong> : This is the name of the form.</p>
<p style="text-align: justify;"><strong>action</strong>: Here you will specify any script URL which will receive uploaded data.</p>
<p style="text-align: justify;"><strong>method</strong>: Here you will specify method to be used to upload data. IT can take various values but most frequently used are GET and POST.</p>
<p style="text-align: justify;"><strong>target</strong>: it specifies the target page where the result of the script will be displayed. It takes various like _blank,_self,_parent etc.</p>
<p style="text-align: justify;"><strong>enctype</strong>: You can use the enctype attribute to specify how the browser encodes the data before it sends it to the server. Possible values are like :</p>
<p style="text-align: justify;"><strong>application/x-www-form-urlencoded</strong> &ndash; This is the standard method most forms use converts spaces to the plus sign and non-alphanumeric characters into the hexadecimal code front character in a ASCII text.</p>
<p style="text-align: justify;">mulitpart/form-data- This allows the data to be sent in parts, with each consecutive part corresponding the form control. In the order they appear in the form Each part can be an optional content-type header of its own indicating the type of data for that form control.</p>
<p style="text-align: justify;">There are different types of form controls that you can use to collect data from a visitor to your site.</p>
<p style="text-align: justify;">Text input controls</p>
<p style="text-align: justify;">Buttons</p>
<p style="text-align: justify;">Checkboxes and radio buttons.</p>
<p style="text-align: justify;">Select boxes</p>
<p style="text-align: justify;">File select boxes</p>
<p style="text-align: justify;">Hidden controls</p>
<p style="text-align: justify;">Submit and rest buttons</p>
<h2 style="text-align: justify;">HTML Forms &ndash; Text Input Controls</h2>
<p style="text-align: justify;">There are actually three types of text input used on forms.</p>
<p style="text-align: justify;"><strong>Single-line text input controls :</strong>Used for items that require only one line of user input ,such as search boxes or names.They are created using the &lt;input&gt; element.</p>
<p style="text-align: justify;"><strong>Passoword input controls: </strong>Single &ndash;Line text input that makes the characters a user enters.</p>
<p style="text-align: justify;"><strong>Multiline text input control : </strong>Used when the user is requires to give detail that may be lower than a single sentence. Multi-line input controls are created with the &lt;textarea&gt; element.</p>
<h2 style="text-align: justify;">Single &ndash;Line Text input controls</h2>
<p style="text-align: justify;">Single_Line input control are created using an &lt;input &gt;element whose type attribute has a value text. Here is a basic example of a single-line text input used to take first name and last name.</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/hello_get.cgi&rdquo; method=&rdquo;get&rdquo;&gt; First name:&lt;input type=&rdquo;text&rdquo; name=&rdquo;first_name&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;br&gt;</p>
<p style="text-align: justify;">Last name: &lt;input type=&rdquo;text&rdquo; name=&rdquo;last name&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;input type =&rdquo;submit&rdquo; value=&rdquo;submit&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-9096" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_803.png" alt="Screenshot_80" width="253" height="62" /></p>
<p style="text-align: justify;">Following is the list of attributes for &lt;input&gt; tag.</p>
<p style="text-align: justify;"><strong>type:</strong> indicates the type of input control you want to create. This element is also used to create other form controls such as radio buttons and check boxes.</p>
<p style="text-align: justify;"><strong>name:</strong> Used to give the name part of the name/value pair that is sent to the server, representing each form control and the value the user entered.</p>
<p style="text-align: justify;"><strong>value:</strong> Provides an initial value for the text input control that the user will see when the forms loads.</p>
<p style="text-align: justify;"><strong>size :</strong>Allows you to specify the width of the text-input control in terms of characters.</p>
<p style="text-align: justify;"><strong>maxlength:</strong> Allows you to specify the maximum number of characters a user can enter into the text box.</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;head&gt;</p>
<p style="text-align: justify;">&lt;title&gt; Practice HTML input text tag&lt;/title&gt;</p>
<p style="text-align: justify;">&lt;/head&gt;</p>
<p style="text-align: justify;">&lt;body&gt;</p>
<p style="text-align: justify;">&lt;p&gt; Try with different input text&lt;/p&gt;</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi_bin/hello_get.cgi&rdquo;method=&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">First name:&lt;input type=&rdquo;text&rdquo; name=&rdquo;first_name&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;br&gt;</p>
<p style="text-align: justify;">Last name:&lt;input type =&rdquo;text&rdquo; name=&rdquo;last_name&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value=&rdquo;submit&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<h2 style="text-align: justify;">Password input controls</h2>
<p style="text-align: justify;">This is also a form of single-line text input controls are created using an &lt;input&gt; element whose type attribute has a value of password.</p>
<p style="text-align: justify;">Here is a basic example of a single &ndash;line password input used to take user password:</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/hello_get.cgi&rdquo; method =&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">Login : &lt;input type=&rdquo;text&rdquo; name=&rdquo;login&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;br&gt;</p>
<p style="text-align: justify;">password:&lt;input type=&rdquo;text&rdquo; name=&rdquo;password&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value=&rdquo;submit&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-9097" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_8110.png" alt="Screenshot_81" width="218" height="79" /></p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;head&gt;</p>
<p style="text-align: justify;">&lt;title&gt;practice HTML input password tag&lt;/title&gt;</p>
<p style="text-align: justify;">&lt;/head&gt;</p>
<p style="text-align: justify;">&lt;body&gt;</p>
<p style="text-align: justify;">&lt;form action=&rdquo;method&rdquo;=&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">Login: &lt;input type=&rdquo;text&rdquo; name=&rdquo;login&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;br&gt;</p>
<p style="text-align: justify;">Password:&lt;input type=&rdquo;text&rdquo; name=&rdquo;password&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;reset&rdquo; value=&rdquo;reset&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<h2 style="text-align: justify;">Multiple &ndash; Line text input controls</h2>
<p style="text-align: justify;">If you want to allow a visitor to your site to enter more than one line of text, you should create a multiple-line text input control using the &lt;textarea&gt; element.</p>
<p style="text-align: justify;">Here is a basic example of a multi-line text input used to take item description:</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/hello_get.cgi&rdquo; method =&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">Description : &lt;br/&gt;</p>
<p style="text-align: justify;">&lt;textarea rows=&rdquo;5&rdquo; cols=&rdquo;50&rdquo; name=&rdquo;description&rdquo;&gt;</p>
<p style="text-align: justify;">Enter description here&hellip;..</p>
<p style="text-align: justify;">&lt;/textarea&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value=&rdquo;submit&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<p style="text-align: justify;"><strong>Description</strong></p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-9098" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_823.png" alt="Screenshot_82" width="195" height="104" /></p>
<p style="text-align: justify;">Following is the detail of above used attributes for &lt;textarea&gt; tag</p>
<p style="text-align: justify;"><strong>name</strong> : The name of the control. This is used in the name/value pair that is sent to the server.</p>
<p style="text-align: justify;"><strong>rows </strong>: Indicates the number of rows of text area box.</p>
<p style="text-align: justify;"><strong>cols: </strong>indicates the number of columns of text area box.</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;head&gt;</p>
<p style="text-align: justify;">&lt;title&gt; Practice HTML input textarea tag &lt;/title&gt;</p>
<p style="text-align: justify;">&lt;./head&gt;</p>
<p style="text-align: justify;">&lt;body&gt;</p>
<p style="text-align: justify;">&lt;p&gt; Try with different cols and rows&lt;/p&gt;</p>
<p style="text-align: justify;">&lt;form action=&rdquo;&rdquo; method=&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">Description:&lt;br/&gt;</p>
<p style="text-align: justify;">&lt;textarea rows=&rdquo;5&rdquo; cols=&rdquo;50&rdquo; name=&rdquo;description&rdquo;&gt;\</p>
<p style="text-align: justify;">Enter decription here&hellip;.</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value=&rdquo;submit&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;<strong>&nbsp;</strong></p>
<h2 style="text-align: justify;">HTML Forms &ndash; Creating Button</h2>
<p style="text-align: justify;">There are various ways in HTML to create clickable buttons, you can create clickable button using &lt;input&gt; tag.</p>
<p style="text-align: justify;">When you use the &lt;input&gt; element to create a button, the type of button you create is specified using the type attribute. The type attribute can take the following values :</p>
<p style="text-align: justify;"><strong>Submit</strong> : This creates a button that automatically submits a form.</p>
<p style="text-align: justify;"><strong>reset </strong>: This creates a button that automatically resets form controls to their intial values.</p>
<p style="text-align: justify;"><strong>button</strong>: This creates a button that is used to trigger a client &ndash; side script when the user clicks that button.</p>
<p style="text-align: justify;"><strong>Here is the example&nbsp;</strong></p>
<p style="text-align: justify;">&lt;form action=&rdquo; http :// <a href="http://www.example.com/text.asp">www.example.com/text.asp</a>&rdquo; method = &ldquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; name=&rdquo;submit&rdquo; value=&rdquo;submit&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;br/&gt;&nbsp; &lt;br/&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;reset&rdquo; value=&rdquo;submit&rdquo; /&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;reset&rdquo; value=&rdquo;Reset&rdquo; /&gt;</p>
<p style="text-align: justify;">&lt;input type =&rdquo;button&rdquo; value=&rdquo;Button&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<p style="text-align: justify;">You can use an image to create a button .Here is the syntax:</p>
<p style="text-align: justify;">&lt;form&nbsp; action=<a href="http://www.example.com/test.asp@%20method%20=">http://www.example.com/test.asp@ method =</a>&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;image&rdquo; name=&rdquo;imagebutton&rdquo; src=&rdquo;URL&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">Here <em>src</em> attribute specifies a location of the image on your webserver.</p>
<p style="text-align: justify;">You can use &lt;button&gt; element to create various button .Here is the <strong>syntax:</strong></p>
<p style="text-align: justify;">&lt;form action =<a href="http://www.example.com/test.asp">http://www.example.com/test.asp</a> method=&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;button type =&rdquo;submit&rdquo;&gt;Submit&lt;/button&gt;</p>
<p style="text-align: justify;">&lt;br/&gt;&lt;br/&gt;</p>
<p style="text-align: justify;">&lt;button type =&rdquo;reset&rdquo;&gt;Reset&lt;/button&gt;</p>
<p style="text-align: justify;">&lt;button type =&rdquo;button&rdquo;&gt;Button&lt;/button&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">This will produce following result:-</p>
<h2 style="text-align: justify;">HTML Forms-Checkboxes Control</h2>
<p style="text-align: justify;">Checkboxes are used when more than one option is required to be selected. They are created using &lt;input&gt;tag as shown below.</p>
<p style="text-align: justify;">Here is example HTML code for a form with two checkboxes.</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/checkbox.cgi&rdquo; method =&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;maths&rdquo; value =&rdquo;on&rdquo;&gt;Maths</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;physics&rdquo; value =&rdquo;on&rdquo;&gt;Physics</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value =&rdquo;Select Subject&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">The result of this code is the following form</p>
<p style="text-align: justify;">Maths &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Physics</p>
<p style="text-align: justify;">Following is the list of important check box attributes:</p>
<p style="text-align: justify;"><strong>type</strong>: Indicates that you want to create a check box.</p>
<p style="text-align: justify;"><strong>name</strong>: Name of the control.</p>
<p style="text-align: justify;"><strong>value</strong>: The value that will be used if the checkbox is selected. More than one checkbox should share the same name only if you want to allow users to select several items from the same list.</p>
<p style="text-align: justify;"><strong>checked</strong>: Indicate that when the pages loads, the check box should be selected.</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;head&gt;</p>
<p style="text-align: justify;">&lt;title&gt; Practice HTML input checkbox tag&lt;/title&gt;</p>
<p style="text-align: justify;">&lt;/head&gt;</p>
<p style="text-align: justify;">&lt;body&gt;</p>
<p style="text-align: justify;">&lt;p&gt; Try with different checkbox and different attribute&lt;/p&gt;</p>
<p style="text-align: justify;">&lt;form action=&rdquo;&rdquo; method=&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;maths&rdquo; value=&rdquo;on&rdquo;/&gt;Maths</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;physics&rdquo; value=&rdquo;on&rdquo;/&gt;Physics</p>
<p style="text-align: justify;">&lt;input type=&rdquo;reset&rdquo; value =&rdquo;reset&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<h2 style="text-align: justify;">HTML Forms-Radio box Control</h2>
<p style="text-align: justify;">Radio Buttons are used when only one option is required to be selected. They are created using &lt;input&gt; tag as shown below:</p>
<p style="text-align: justify;">Here is example HTML code for a form with two radio button:</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/radiobutton.cgi&rdquo; method=&rdquo;post&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;maths&rdquo; value =&rdquo;on&rdquo;&gt;Maths</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;physics&rdquo; value =&rdquo;on&rdquo;&gt;Physics</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value =&rdquo;Select Subject&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">The result of this code is the following form</p>
<p style="text-align: justify;">Maths &nbsp; &nbsp;Physics</p>
<p style="text-align: justify;">Following is the list of important radiobox attributes:</p>
<p style="text-align: justify;"><strong>type:</strong>Indicate that you want to create a radiobox.</p>
<p style="text-align: justify;"><strong>name: </strong>Name of the control.</p>
<p style="text-align: justify;"><strong>value: </strong>Used to indicate the value that will be sent to the server if this option is selected.</p>
<p style="text-align: justify;"><strong>checked:</strong> Indicate that this option should be selected by default when the page loads.</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;head&gt;</p>
<p style="text-align: justify;">&lt;title&gt;Practice HTML input radiobox tag&lt;/title&gt;</p>
<p style="text-align: justify;">&lt;/head&gt;</p>
<p style="text-align: justify;">&lt;body&gt;</p>
<p style="text-align: justify;">&lt;p&gt;Try with different radio box and different attributes &lt;/p&gt;</p>
<p style="text-align: justify;">&lt;form action =&rdquo;&rdquo;method=&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;maths&rdquo; value=&rdquo;on&rdquo;/&gt;Maths</p>
<p style="text-align: justify;">&lt;input type=&rdquo;checkbox&rdquo; name=&rdquo;physics&rdquo; value=&rdquo;on&rdquo;/&gt;Physics</p>
<p style="text-align: justify;">&lt;input type=&rdquo;reset&rdquo; value =&rdquo;reset&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<h2 style="text-align: justify;">HTML Forms-Select box control</h2>
<p style="text-align: justify;">Drop down box is used when we have many options available to be selected but only one or two will be selected.</p>
<p style="text-align: justify;">Here is example HTML code for aform with one drop down box</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/dropdown.cgi&rdquo; method=&rdquo;post&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;select name=&rdquo;dropdown&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;option value=&rdquo;maths&rdquo; selected&gt;Maths&lt;/option&gt;</p>
<p style="text-align: justify;">&lt;option value=&rdquo;Physics&rdquo; selected&gt;Physics&lt;/option&gt;</p>
<p style="text-align: justify;">&lt;/select&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value =&rdquo;Submit&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">The result of this code is the following form.</p>
<p style="text-align: justify;">Following is the list of important attributes of &lt;select&gt;:</p>
<p style="text-align: justify;"><strong>name</strong>: This is the name for the control.</p>
<p style="text-align: justify;"><strong>size</strong>: This can be used to present a scrolling list box.</p>
<p style="text-align: justify;"><strong>multiple</strong>: If set to &ldquo;multiple&rdquo; then allows a user to select multiple items from the menu.</p>
<p style="text-align: justify;">Following is the list of important attributes of &lt;option&gt;:</p>
<h3 style="text-align: justify;"><strong>HTML</strong></h3>
<p style="text-align: justify;"><strong>value:</strong> The value that is sent to the server if this option is selected.</p>
<p style="text-align: justify;"><strong>Selected:</strong> Specifies that this option should be the initially selectedvalue when the page loads.</p>
<p style="text-align: justify;"><strong>label:</strong> An alternative way of labelling options.</p>
<h2 style="text-align: justify;">HTML Forms &ndash;File Select Boxes</h2>
<p style="text-align: justify;">If you want to allow a user to upload a file to your website from his computer, you will need to use a file upload box, also known as a file select box. This is also created using the &lt;input&gt; element.</p>
<p style="text-align: justify;">Here is example HTML code for a form with one file select box.</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/hello_get.cgi&rdquo; method=&rdquo;post&rdquo; name=&rdquo;fileupload&rdquo; enctype=&rdquo;multipart/form-data&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;file&rdquo; name=&rdquo;file upload&rdquo; accept =&rdquo;image/*&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">The result of this code is the following form</p>
<h2 style="text-align: justify;">HTML Forms-Hidden Controls</h2>
<p style="text-align: justify;">If you will want to pass information between pages without the user seeing it. Hidden form controls remain part of any form, but the user cannot see them in the Web browser. They should not be used for any sensitive information you do want the user to see because the user could see this data is she looked in the source of the page.</p>
<p style="text-align: justify;">Following hidden form is being used to keep current page number. When a user will click next page then the value of hidden form will be sent to the back-end application and it will decide which page&nbsp;&nbsp; has be displayed next.</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/hello_get.cgi&rdquo; method =&rdquo;get&rdquo; name=&rdquo;pages&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;p&gt; This is page 10&lt;/p&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;hidden&rdquo; name=&rdquo;pagenumber&rdquo; value=&rdquo;10&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;input type =&rdquo;submit&rdquo; value=&rdquo;next page&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<h2 style="text-align: justify;">HTML Forms &ndash;submit and Reset Button</h2>
<p style="text-align: justify;">These are special buttons which can be created using &lt;input&gt; When submit button is clicked then Forms data is submitted to the back-end application. When reset button is clicked then all the forms control are reset to default state.</p>
<p style="text-align: justify;">You already have seen submit button above, we will give one reset example here:</p>
<p style="text-align: justify;">&lt;form action=&rdquo;/cgi-bin/hello_get.cgi&rdquo; method =&rdquo;get&rdquo;&gt;</p>
<p style="text-align: justify;">First name:&lt;input type=&rdquo;text&rdquo; name=&rdquo;first_name&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;br&gt;</p>
<p style="text-align: justify;">Last name:&lt;input type=&rdquo;text&rdquo; name=&rdquo;last_name&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;submit&rdquo; value=&rdquo;submit&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;input type=&rdquo;reset&rdquo; value=&rdquo;Reset&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/form&gt;</p>
<p style="text-align: justify;">This will produce following result. Type something and click reset button.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-9102" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_832.png" alt="Screenshot_83" width="205" height="82" /></p>170:T2b83,<p style="text-align: justify;">With HTML frames, you can display more than one HTML document in the same browser window .Each HTML document is called a frame, and each frame is independent of the others.</p>
<p style="text-align: justify;">The disadvantages of using frames are:</p>
<p style="text-align: justify;">HTML Frames are not excepted to be supported in future versions of HTML</p>
<p style="text-align: justify;">HTML Frames are difficult to use.(printing the entire page is difficult&gt;</p>
<p style="text-align: justify;">The web developer must keep track of more HTML documents.</p>
<h2 style="text-align: justify;">The HTML Frame Set Element</h2>
<p style="text-align: justify;">The HTML frame set element holds one or more frame elements .Each frame element can hold a separate document.</p>
<p style="text-align: justify;">The frame set element states How many columns or rows there will be in the frame set and how much percentage /pixels of space will occupy each of them.</p>
<p style="text-align: justify;">The HTML frame element</p>
<p style="text-align: justify;">The&lt;frame&gt; tag defines one particular window (frame) with in a frame set.</p>
<p style="text-align: justify;">In the example below we have a frame set with two columns.</p>
<p style="text-align: justify;">The first column is set to 25% of the width of the browser window. The second column is set to 75% of the width of the browser window.The document &ldquo;frame_a.htm&rdquo; is put into the first column, and the document &ldquo;frame_b.htm&rdquo; is put into the second column:</p>
<p style="text-align: justify;">&lt;frame set cols=25%,75%&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_a.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_b.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/frameset&gt;</p>
<p style="text-align: justify;">Note: The frameset column size can also be set in pixels (cols=&rdquo;200,500&rdquo;), and one of the columns can be set to use the remaining space, with an asterisk(cols=&rdquo;25%,*&rdquo;).</p>
<h3 style="text-align: justify;">Basic Notes &ndash;Useful tips</h3>
<p style="text-align: justify;"><strong>Tip:</strong> Add the &lt;noframes&gt; tag for browsers that do not support frames.</p>
<p style="text-align: justify;"><strong>Important:</strong> You cannot use the &lt;body&gt;&lt;/body&gt; tags together with the &lt;frameset&gt;&lt;/frameset&gt; tags! However if you add a &lt;noframes&gt; tag containing some text for browsers that do not support frames,you will have to enclose the text in &lt;body&lt;/body&gt; tags! See how it is done in the first example below.</p>
<p style="text-align: justify;">How to use the &lt;no frames&gt;tag (for browsers that do not support frames):</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;frameset cols=&rdquo;25%,50%,25%&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_a.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_b.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_c.hmt&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;noframes&gt;</p>
<p style="text-align: justify;">&lt;body&gt; Your browser does not handle frames!&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/noframes&gt;</p>
<p style="text-align: justify;">&lt;/frameset&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<p style="text-align: justify;">How to create a html frame set with three documents, and how to mix them in rows and column.</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;frameset rows=&rdquo;50%, 50%&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_a.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;frameset cols=&rdquo;25%, 75%&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_b.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_c.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/frameset&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<p style="text-align: justify;">Frameset with noresize =&rdquo;noresize&rdquo;</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;frameset rows=&rdquo;50%,50%&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;frame noresize=&rdquo;noresize&rdquo; src=&rdquo;frame_a.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;frame noresize=&rdquo;noresize&rdquo; src=&rdquo;frame_b.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/frameset&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<p style="text-align: justify;">Navigation</p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;frameset cols=&rdquo;120,*&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo; tryhtml_contents.htm&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;frame src=&rdquo;frame_a.htm&rdquo; name=&rdquo;showframe&rdquo;/&gt;</p>
<p style="text-align: justify;">&lt;/frameset&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<p style="text-align: justify;">Website Layouts</p>
<p style="text-align: justify;">Most websites have put their content in multiple columns(formatted like a magazine or newspaper).</p>
<p style="text-align: justify;">Multiple columns are created by using &lt;table&gt;or &lt;div&gt; tags.Some CSS are normally also added to position elements or to create backgrounds or colourful look for the pages.</p>
<p style="text-align: justify;">HTML Layouts &ndash;Using Tables</p>
<p style="text-align: justify;">The simplest way of creating layouts is by using the HTML &lt;table&gt; tag.</p>
<p style="text-align: justify;">The following example uses a table with 3 rows and 2 Columns &ndash;the first and last row spans both columns using the colspan attribute.</p>
<p style="text-align: justify;"><strong>Example</strong></p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;body&gt;</p>
<p style="text-align: justify;">&lt;table width =&rdquo;500&rdquo; border=&rdquo;0&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td colspan =&rdquo;2&rdquo; style =&rdquo;background-color:#FFA500;&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;h1&gt; Main Title of WebPage&lt;/h1&gt;</p>
<p style="text-align: justify;">&lt;/td&gt;&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr valign=&rdquo;top&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;td style =&rdquo;background-color:#FFD700;width:100px;text-align:top;&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;b&gt; Menu &lt;/b&gt;&lt;br/&gt;</p>
<p style="text-align: justify;">HTML &lt;br/&gt;</p>
<p style="text-align: justify;">CSS &lt;br/&gt;</p>
<p style="text-align: justify;">Javascript&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;td style=background-color:#EEEEEE;height:200px;width:400px;text-align:top;&rdquo;&gt;</p>
<p style="text-align: justify;">Content goes here&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;tr&gt;</p>
<p style="text-align: justify;">&lt;td colspan=&rdquo;2&rdquo; style=&rdquo;background-color:#FFA500;text-align:center;&rdquo;&gt;</p>
<p style="text-align: justify;">Copyright&copy;2011 W3Schools.com&lt;/td&gt;</p>
<p style="text-align: justify;">&lt;/tr&gt;</p>
<p style="text-align: justify;">&lt;/table&gt;</p>
<p style="text-align: justify;">&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<p style="text-align: justify;">The Html code above will produce the following result:</p>
<p style="text-align: justify;">Main Title of webpage</p>
<p style="text-align: justify;">Menu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Content goes here</p>
<p style="text-align: justify;">HTML</p>
<p style="text-align: justify;">CSS</p>
<p style="text-align: justify;">Javascript</p>
<p style="text-align: justify;">Copyright(c)2011 W3Schools.com</p>
<p style="text-align: justify;">Note: Even though it is possible to create nice laytouts with HTML tables , tables were designed for presenting tabular data-NOT as a layout tool!</p>
<h2 style="text-align: justify;">HTML Layouts-Using Div Elements</h2>
<p style="text-align: justify;">The div element is a block level element used for grouping HTML elements.</p>
<p style="text-align: justify;">The following example uses five div elements to create a multiple column layout, creating the same result as in the previous example:</p>
<p style="text-align: justify;"><strong>Example</strong></p>
<p style="text-align: justify;">&lt;html&gt;</p>
<p style="text-align: justify;">&lt;body&gt;</p>
<p style="text-align: justify;">&lt;div id=&rdquo;container&rdquo; style=&rdquo;width :500px&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;div id =&rdquo;header&rdquo; style =&rdquo;background-color:#FFA500;&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;h1 style =&rdquo;margin-bottm:0;&rdquo;&gt; Main title of the Webpage&lt;/h1&gt;&lt;/div&gt;</p>
<p style="text-align: justify;">&lt;div id =&rdquo;menu &ldquo; style=&rdquo;background-color:#FFD700;height:200px;width:100px;float:left;&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;b&gt; Menu &lt;/b&gt; &lt;/br&gt;</p>
<p style="text-align: justify;">HTML &lt;/br&gt;</p>
<p style="text-align: justify;">CSS &lt;/br&gt;</p>
<p style="text-align: justify;">JavaScript&lt;/br&gt;</p>
<p style="text-align: justify;">&lt;div id =&rdquo;content&rdquo; style=&rdquo;background-color:#EEEEEE;height:200px;width:400px;float:left;&rdquo;&gt; content goes here&lt;/div&gt;</p>
<p style="text-align: justify;">&lt;div id =&rdquo;footer&rdquo; style=&rdquo;background-color:#FFA500;clear:both;trext-align:center;&rdquo;&gt;</p>
<p style="text-align: justify;">Copy right (c) 2011 W3 schools.com&lt;/div&gt;</p>
<p style="text-align: justify;">&lt;/div&gt;</p>
<p style="text-align: justify;">&lt;/body&gt;</p>
<p style="text-align: justify;">&lt;/html&gt;</p>
<p style="text-align: justify;">The HTML Code above will produce the following result:</p>
<p style="text-align: justify;">Main Title of Web Page</p>
<p style="text-align: justify;">Menu</p>
<p style="text-align: justify;">HTML</p>
<p style="text-align: justify;">CSS JavaScript</p>
<p style="text-align: justify;">Content goes here</p>
<p style="text-align: justify;">Copyright(c) 2011W3Schools.com</p>
<p style="text-align: justify;">HTML Layout &ndash;Useful Tips</p>
<p style="text-align: justify;"><strong>Tip</strong></p>
<p style="text-align: justify;">The biggest advantage of using CSS is that,if you can place the CSS code in an external style sheet,your site becomes MUCH EASIER to maintain .You can change the layout of al your pages by editing one file.</p>
<p style="text-align: justify;">Tip: Because advanced layouts take time to create, a quicker option is use to a template. Search Google for free website templates (these are pre-built website layouts you can use and customize).</p>
<p style="text-align: justify;">&nbsp;</p>171:T2084,<h2 style="text-align: justify;">Lists</h2>
<p style="text-align: justify;">As you can see, all this tag does is draw a line across you content, and used properly, its results can be outstanding.</p>
<p style="text-align: justify;">You can list out your items, subjects or menu in the form of a list. HTML gives you three different types of lists.</p>
<p style="text-align: justify;">&lt;ul&gt; - An unordered list. This will list items using bullets.</p>
<p style="text-align: justify;">&lt;ol&gt;- A ordered list. This will use different schemes of numbers to list your items.</p>
<p style="text-align: justify;">&lt;dl&gt;- A definition list. This is arrange your items in the same way as they are arranged in a dictionary.</p>
<h2 style="text-align: justify;">HTML Unordered Lists</h2>
<p style="text-align: justify;">An unordered is&nbsp; a collection of related items that have no special order or sequence. The most common unordered list you will find on the Web is a collection of hyperlinks to other documents.</p>
<p style="text-align: justify;">This list is created by using &lt;ul&gt; tag. Each item in the list is marked with a bullet. The bullet itself comes in three flavors: Squares, discs, and circles. The default bullet displayed by most web browsers is the traditional full disc.</p>
<p style="text-align: justify;">One Movie list is given below.</p>
<p style="text-align: justify;">&lt;center&gt;</p>
<p style="text-align: justify;">&lt;h2&gt; Movie List&lt;/h2&gt;</p>
<p style="text-align: justify;">&lt;/center&gt;</p>
<p style="text-align: justify;">&lt;ul&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Ram Teri Ganga Meli&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Mera Naam Jocker&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt;Titanic&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Ghost in the ship&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;/ul&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<h3 style="text-align: justify;">Movie List</h3>
<ul style="text-align: justify;">
<li>Ram Teri Ganga Meli</li>
<li>Mera Naam Jocker</li>
<li>Titanic</li>
<li>Ghost in the ship</li>
</ul>
<p style="text-align: justify;">You can use type attribute to specify the type of bullet you like. By default its is a disc. Follwing are the possible way:</p>
<p style="text-align: justify;">&lt;ul type=&rdquo;square&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;ul type=&rdquo;disc&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;ul type=&rdquo;circle&rdquo;&gt;</p>
<table>
<tbody>
<tr>
<td width="213">&lt;ul type=&rdquo;square&rdquo;&gt;</td>
<td width="213">&lt;ul type=&rdquo;disc&rdquo;&gt;</td>
<td width="213">&lt;ul type=&rdquo;circle&rdquo;&gt;</td>
</tr>
<tr>
<td width="213">
<ul>
<li>Hindi</li>
<li>English</li>
<li>Maths</li>
<li>Physics</li>
<li>Hindi</li>
<li>English</li>
<li>Maths</li>
<li>Physics</li>
<li>Hindi</li>
<li>English</li>
<li>Maths</li>
<li>Physics</li>
</ul>
</td>
<td width="213">&nbsp;</td>
<td width="213">&nbsp;</td>
</tr>
</tbody>
</table>
<h2 style="text-align: justify;">HTML Ordered Lists</h2>
<p style="text-align: justify;">The typical browser formats the contents of an ordered list just like an unordered list, except that the items are numbered instead of bulleted. The numbering starts at one and is incremented by one for each successive ordered list element tagged with&lt;li&gt;</p>
<p style="text-align: justify;">This list is created by using &lt;ol&gt; tag. Each item in the list is marked with a number.</p>
<p style="text-align: justify;">One Movie list&nbsp; is given below:</p>
<p style="text-align: justify;">&lt;center&gt;</p>
<p style="text-align: justify;">&lt;h2&gt;Movie List&lt;/h2&gt;</p>
<p style="text-align: justify;">&lt;/centre&gt;</p>
<p style="text-align: justify;">&lt;ol&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Ram teri Ganga Meli&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt;Mera Naam Jocker&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt;Titanic&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt;Ghost in the ship&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;/ol&gt;</p>
<p style="text-align: justify;">This will produce following result.</p>
<h3 style="text-align: justify;">Movie List</h3>
<ol style="text-align: justify;">
<li>Ram Teri Ganga Meli</li>
<li>Mera Naam Jocker</li>
<li>Titanic</li>
<li>Ghost in the ship</li>
</ol>
<p style="text-align: justify;">You can use type attribute to specify the type of numbers you like. By default its is a generic members, Following are the other possible way:</p>
<p style="text-align: justify;">&lt;ol type=&rdquo;I&rdquo;&gt; - Upper-Case Numberals</p>
<p style="text-align: justify;">&lt;ol type=&rdquo;a&rdquo;&gt; - Lower-Case Letters.</p>
<p style="text-align: justify;">&lt;ol type=&rdquo;i&rdquo;&gt; - Upper-Case Letters.</p>
<table>
<tbody>
<tr>
<td width="160">&lt;ol type=&rdquo;i&rdquo;&gt;</td>
<td width="160">&lt;ol type=&rdquo;i&rdquo;&gt;</td>
<td width="160">&lt;ol type=&rdquo;a&rdquo;&gt;</td>
<td width="160">&lt;ol type = &ldquo;A&rdquo;&gt;</td>
</tr>
<tr>
<td width="160">
<ol>
<li>Hindi</li>
<li>Hindi</li>
<li>Hindi</li>
<li>Hindi</li>
<li>English</li>
<li>English</li>
<li>English</li>
<li>English</li>
</ol>
</td>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
</tr>
<tr>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
</tr>
<tr>
<td width="160">
<ul>
<li>Maths</li>
<li>Maths</li>
</ul>
</td>
<td width="160">&nbsp;</td>
<td width="160">
<ol>
<li>Maths</li>
<li>Maths</li>
<li>Physics</li>
<li>Physics</li>
<li>Physics</li>
<li>Physics</li>
</ol>
</td>
<td width="160">&nbsp;</td>
</tr>
<tr>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
<td width="160">&nbsp;</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">You can user start attribute to specify the beginning of any index. By default it&rsquo;s a first number or character. In the following example index starts from 5.</p>
<p style="text-align: justify;">&lt;center&gt;</p>
<p style="text-align: justify;">&lt;h2&gt;Movie List&lt;/h2&gt;</p>
<p style="text-align: justify;">&lt;/centre&gt;</p>
<p style="text-align: justify;">&lt;ol start=&rdquo;5&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Ram Teri Ganga Meli&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Mera Naam Jocker&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Titanic&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;li&gt; Ghost in the chip&lt;/li&gt;</p>
<p style="text-align: justify;">&lt;/ol&gt;</p>
<p style="text-align: justify;">This will produce following result:</p>
<h3 style="text-align: justify;">Movie List</h3>
<ol style="text-align: justify;" start="5">
<li>Ram Teri Ganga Meli</li>
<li>Mera Naam Jocker</li>
<li>Titanic</li>
<li>Ghost in the ship</li>
</ol>
<h2 style="text-align: justify;">HTML Definition Lists</h2>
<p style="text-align: justify;">HTML and XHTML also support a list style entirely different from the ordered and unordered lists we have discussed so far-definition lists. Like the entries you find in a dictionary or encyclopedia, complete with text, pictures, and other multimedia elements, the Definition List is the ideal way to present a glossary, list of terms, or other name/value list.</p>
<p style="text-align: justify;">Definition List makes use of following three tags.</p>
<p style="text-align: justify;">&lt;dl&gt; - Defines the start of the list</p>
<p style="text-align: justify;">&lt;dt&gt;- A term</p>
<p style="text-align: justify;">&lt;dd&gt; - Term definition</p>
<p style="text-align: justify;">&lt;/dl&gt; - Defines the end of the list</p>
<p style="text-align: justify;"><strong>Example</strong></p>
<p style="text-align: justify;">&lt;dl&gt;</p>
<p style="text-align: justify;">&lt;dt&gt;&lt;b&gt;HTML&lt;/b&gt;&lt;/dt&gt;</p>
<p style="text-align: justify;">&lt;dd&gt;This stands for Hyper Text Markup Language&lt;/dd&gt;</p>
<p style="text-align: justify;">&lt;dt&gt;&lt;b&gt;HTTP&lt;/b&gt;&lt;/dt&gt;</p>
<p style="text-align: justify;">&lt;dd&gt; This stands for Hyper Text Transfer Protocol&lt;/dd&gt;</p>
<p style="text-align: justify;">&lt;/dl&gt;</p>172:Teff,<h2>Writing Event Handler</h2>
<p>It is very easy to write an even handler. Following example explains how to write an event handler. Let&rsquo;s write one simple function myalert in the header of the document. We will call this function when any user will bring mouse over a paragraph written in the example : &lt;head&gt; &lt;title&gt; Event Handler Example t&lt;/title&gt; &lt;script type=&rdquo;text/javascript&rdquo;&gt; function myalert() { alert(&ldquo;I am an event handler&hellip;&hellip;&rdquo;); return; } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;span onmouseover-&ldquo;myAlert();&rdquo;&gt; Bring your mouse here to see an alert &lt;/span&gt; &lt;/body&gt; Now this will produce following result. Bring your mouse over this line and see the result : Bring your mouse here to see an alert</p>
<h2>The &lt;noscript &gt; Element</h2>
<p>You can also provide alternative info for users whose browsers don&rsquo;t support scripts and for users who have disabled scripts. You do this using the &lt;noscript&gt; tag. &lt;noscript&gt; Please enable javascript &lt;/noscript&gt; &nbsp;</p>
<h2>Default Scripting Language</h2>
<p>You can specify a default scripting language for all your scripting tags to use. This saves you from having to specify the language every time you use a script tag within the page. Below is the example : &lt;meta http-equiv=&rdquo;Content-Script-Type&rdquo; content=&rdquo;text/Javascript&rdquo;&gt; &nbsp;</p>
<h2>HTML Meta Tag</h2>
<p>HTMl lets you specify metadata-information about a document rather than document content in a variety of ways. The META element can be used to include name/value pairs describing properties of the HTML document, such as author, Expiry Date, a list of key words, author etc. Metadata provided by using meta tag is a very important part of the web. It can assist search engines in finding the best match when a user performs a search. Search engines will often look at any metadata attached to a page especially keywords- and rank it higher than another page&nbsp; with less relevant metadata, or with no metadata at all. &nbsp;</p>
<h2>Adding Meta Tags to your Documents</h2>
<p>You can add metadata to your web pages by placing &lt;meta&gt; tags between the &lt;head&gt; and &lt;/head&gt;tags. The can include the following attributes</p>
<table>
<tbody>
<tr>
<td width="115">Attribute</td>
<td width="523">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Description</td>
</tr>
<tr>
<td width="115">Name</td>
<td width="523">Name for the property, can be anything, Examples include, keywords, description, author, revised, generation etc.</td>
</tr>
<tr>
<td width="115">Content</td>
<td width="523">Specifies the property&rsquo;s values</td>
</tr>
<tr>
<td width="115">Scheme</td>
<td width="523">Specifies a scheme to use to interpret the property&rsquo;s value(as declared in the content attribute)</td>
</tr>
<tr>
<td width="115">http-equiv</td>
<td width="523">Used for http response message headers. For example http-equiv can be used to refresh the page or to set a cookie. Value include content-type,expires,refresh and set-cookie</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Note</strong> Core attributes for all the elements are discussed in next chapter.</p>
<h3>Meta Tag Examples</h3>
<p>Let&rsquo;s see few important usage of Meta Tags.</p>
<h3>Specifying Keywords</h3>
<p>We specify keywords which will be used by the search engine to search a web page. So using following tag you can specify important keywords related to your page. &lt;head&gt; &lt;meta name=&rdquo;keywords&rdquo; content=&rdquo;HTML, meta tags, metadata&rdquo;/&gt; &lt;/head&gt;</p>173:T1177,<h2>Embedded CSS &ndash;The &lt;style&gt; Element</h2>
<p>You can put your CSS rules into an HTML document using the &lt;style&gt; element. This tag is placed inside &lt;head&gt;&hellip;&lt;/head&gt;&nbsp; tags.</p>
<p>Rules defined using this syntax will be applied to all elements available in the document.</p>
<p>Here is the generic syntax &nbsp;</p>
<p><img class="alignnone size-full wp-image-9194" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_187.png" alt="Screenshot_18" width="442" height="265" /> &nbsp;</p>
<h2>Attributes</h2>
<p>Attributes associated with &lt;style&gt; elements are:</p>
<table>
<tbody>
<tr>
<td width="103"><strong>Attribute</strong></td>
<td width="104"><strong>Value</strong></td>
<td width="432"><strong>Description</strong></td>
</tr>
<tr>
<td width="103">type</td>
<td width="104">text/css</td>
<td width="432">Specifies the style sheet language as a content &ndash;type (MIME type).This is required attribute.</td>
</tr>
<tr>
<td width="103">media</td>
<td width="104">screen tty tv projection handheldprint braileaural all</td>
<td width="432">Specifies the device the document will be displayed on. Default value is all. This is optional attribute.</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Example</strong> Following is the example of embed CSS based on above syntax:</p>
<p>&nbsp; <img class="alignnone wp-image-9195" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_198-460x338.png" alt="Screenshot_19" width="460" height="337" /> &nbsp;</p>
<h2>Inline CSS-the Style Attribute</h2>
<p>You can use style attribute of any HTML element to define style rules. These rules will be applied to that element only. Here is the generic syntax: &nbsp; <img class="alignnone wp-image-9196" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_208-460x138.png" alt="Screenshot_20" width="487" height="146" /> &nbsp;</p>
<p><strong>Example</strong> Following is the example of inline CSS based on above syntax:</p>
<p>&nbsp; <img class="alignnone wp-image-9197" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_2113-460x64.png" alt="Screenshot_21" width="520" height="71" /> &nbsp;</p>
<p>External CSS- The &lt;link&gt; Element: The &lt;link&gt; element can be used to include an external style sheet file in your HTML document. An external style sheet is a separate text file with .css extension . You define all the Style rules with in this text file and then you can include this file in any HTML document using&lt;link&gt; element.</p>
<p>Here is the generic syntax of including external CSS file:</p>
<p><img class="alignnone wp-image-9198" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_2211-460x135.png" alt="Screenshot_22" width="419" height="123" /> &nbsp;</p>
<h2>Attributes</h2>
<p>Attributes associated with &lt;style&gt; elements are: &nbsp;</p>
<table width="686">
<tbody>
<tr>
<td width="104"><strong>Attribute</strong></td>
<td width="97"><strong>Value</strong></td>
<td width="485"><strong>Description </strong></td>
</tr>
<tr>
<td width="104">Type</td>
<td width="97">text/css</td>
<td width="485">Specifies the style sheet language as a content-type (MIME &ndash;type).This attribute is required.</td>
</tr>
<tr>
<td width="104">href</td>
<td width="97">URL</td>
<td width="485">Specifies the style sheet file having style rules .This&nbsp; attribute is&nbsp; a required.</td>
</tr>
<tr>
<td width="104">media</td>
<td width="97">screen tty tv projection handheldprint braile aural all</td>
<td width="485">Specifies the device the document will be displayed on. Default value is all. This is optional attribute.</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>Example</strong> Consider a simple style sheet file with a name my style.css having the following rules: &nbsp;</p>
<p><img class="alignnone size-full wp-image-9202" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_238.png" alt="Screenshot_23" width="436" height="340" /></p>
<p>Now you can include this file mystyle .css in any HTML document as follows:</p>
<p><img class="alignnone wp-image-9203" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_247-460x107.png" alt="Screenshot_24" width="404" height="93" /> &nbsp; &nbsp;</p>174:Tbe6,<h2>CSS Comments</h2>
<p>Many times you may need to put additional comments in your style sheet blocks. So it is very easy to comment any part in style sheet. You simple put your comments inside /*&hellip; this is a comment in style sheet&hellip;.. */ You can use /*&hellip;.. */ to comment multi-line blocks in similar way you do in C and C++ programming languages. <strong>Example</strong> /* This is an external style sheet file */ h1,h2,h3 { color: #36C; font-weight : normal; letter-spacing: .4em; margin-bottom: lem; text-transform: lowercase; } /* end of style rules, */ &nbsp;</p>
<h3><strong>CSS Units </strong></h3>
<p>Before we start actual exercise, I would like to give a brief&nbsp; idea about the CSS measurement units. CSS supports a number of measurements including absolute units such as inches, centimeters, points, and so on, as well as relative measures such as percentages and em units. You need these values while specifying various measurements in your style rules e.g border = &ldquo;1px solid red&rdquo; we have listed out all the CSS measurement units along with proper Examples &nbsp;</p>
<table style="height: 675px;" width="777">
<tbody>
<tr>
<td width="91"><strong>Unit</strong></td>
<td width="334"><strong>Description</strong></td>
<td width="213"><strong>Example</strong></td>
</tr>
<tr>
<td width="91">%</td>
<td width="334">Defines a measurement as a percentage relative to another value, typically an enclosing element</td>
<td width="213">p{font-size:16pt;line-height:125%}</td>
</tr>
<tr>
<td width="91">cm</td>
<td width="334">Defines a measurement in centimeters</td>
<td width="213">div {margin-bottom:2cm}</td>
</tr>
<tr>
<td width="91">Em</td>
<td width="334">A relative measurement for the height of a font in em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each &ldquo;em&rdquo; unit would be 12pt; thus, 2em would be 24pt</td>
<td width="213">p{letter-spacing:7em;}</td>
</tr>
<tr>
<td width="91">Ex</td>
<td width="334">This value defines a measurement relative to a font&rsquo;s X-height. The x-height is determined by the height of the font&rsquo;s lowercase letter X.</td>
<td width="213">p{font-size:24pt;line-height:3ex;}</td>
</tr>
<tr>
<td width="91">In</td>
<td width="334">Defines a measurement in inches.</td>
<td width="213">P{word-spacing: 15in;}</td>
</tr>
<tr>
<td width="91">mm</td>
<td width="334">Defines a measurement in millimeter</td>
<td width="213">p{word-spacing:15mm;}</td>
</tr>
<tr>
<td width="91">pc</td>
<td width="334">Defines a measurement in picas, A pica is equivalent to 12 points; thus there are 6 picas per inch</td>
<td width="213">p{font-size:20c;}</td>
</tr>
<tr>
<td width="91">pt</td>
<td width="334">Defines a measurement in points. A point is defined as 1/72<sup>nd</sup> of an inch</td>
<td width="213">body{font-size:18pt;}</td>
</tr>
<tr>
<td width="91">px</td>
<td width="334">Defines a measurement in screen pixels.</td>
<td width="213">p{padding:25px;}</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>175:T1dde,<h2>Set<strong> The Font</strong> Style</h2>
<p>Following is the example which demonstrates how to set the font style of an element. Possible values are normal, italic and oblique. &lt;p style =&rdquo;font-style:italic&rdquo;&gt; This text will be rendered in italic style. &lt;/p&gt;</p>
<h2>Set The Font Variant</h2>
<p>following is the example which demonstrates how to set the font variant of an element. Possible values are normal and small caps. &lt;p style=&rdquo;font-variant:small-caps;&rdquo;&gt; This text will be rendered as small caps&lt;/p&gt;</p>
<h2>Set The Font Weight</h2>
<p>following is the example which demonstrates how to set the font weight of an element. The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100,200,300,400,500,600,700,800,900 &lt;p style =&rdquo;font-weight: bold;&rdquo;&gt; This font is bold &lt;/p&gt; &lt;p style=&rdquo;font-weight:bolder;&rdquo;&gt; This font is bolder &lt;/p&gt; &lt;p style=&rdquo;font-weight:900;&rdquo;&gt; This font is 900 weight. &lt;/p&gt;</p>
<h2>Set The Font Size</h2>
<p>Following is the example which demonstrates how to set the font size of an element. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixel or in % &lt;p style=&rdquo;font-size:20px&rdquo;&gt; This font size is 20 pixels &lt;/p&gt; &lt;p style=&rdquo;font-size:small;&rdquo; &gt; This font size is small &lt;/p&gt; &lt;p style=&rdquo;font-size:large;&rdquo;&gt; This font size is large &lt;/p&gt;</p>
<h3>Shorthand Property</h3>
<p>You can use the font property to set all the font properties at once. For example: &lt;p style=&rdquo;font: italic small-caps bold 15px Georgia;&rdquo;&gt; Applying all the properties on the text at once. &lt;/p&gt;</p>
<h2>Manipulate Text using CSS</h2>
<p>You can set following text properties of an element: The color property is used to set the color of a text. The direction property is used to set the text direction The letter-spacing property is used to add or subtract space between the letters that make up a word The word-spacing property is used to add or subtract space between the words of a sentence. The text-indent property is used to indent the text of a paragraph. The text-align property is used to align the text of a paragraph. The text &ndash; decoration property is used to underline, over line, and strike through text. The text-transform property is used to capitalize text or text to uppercase or lowercase letters. The white-space property is used to control the flow and formatting of text. The text-shadow property is used to set the text shadow around a text. &nbsp;</p>
<h2>Set the Text Color</h2>
<p>Following is the example which demonstrates how to set the text color. Possible value could be any color name in any valid format. This text will be written in red. &lt;/p&gt; &nbsp;</p>
<h2>Set the Text Direction</h2>
<p>Following is the example which demonstrates how to set the direction of a text. Possible values are ltr or rtl. &lt;p style =&rdquo;direction:rtl;&rdquo;&gt; This text will be rendered from right to left &lt;/p&gt; &nbsp;</p>
<h2>Set the Space between Characters</h2>
<p>Following is the example which demonstrates how to set the space between characters. Possible values are normal or a number specifying space. &lt;p style=&rdquo;letter-spacing:5px;&rdquo;&gt; This text is having space between letters.</p>
<h2>Set the Space between Words</h2>
<p>Following is the example which demonstrates how to set the space between words. Possible values are normal or a number specifying space. &lt;p style=&rdquo;word-spacing:5px; &rdquo;&gt; This text is having space between words. &lt;/p&gt;</p>
<h2>Set the Text Indent</h2>
<p>Following is the example which demonstrates how to indent the first line of a paragraph. Possible values are % or&nbsp; a number specifying indent space. &lt;p style=&rdquo;text-indent:1cm;&rdquo;&gt; This text will have first line indented by 1cm and this line will remain at its actual position this is done by CSS textg-indent property. &lt;/p&gt;</p>
<h2>Set the Text Alignment</h2>
<p>Following is the example which demonstrates how to align a text. Possible values are left, right,centre,justify &lt;p style=&rdquo;text-align:right;&rdquo;&gt; This will be right aligned. &lt;/p&gt; &lt;p style=&rdquo;text-align:center;&rdquo;&gt; This will be center aligned. &lt;/p&gt; &lt;p style=&rdquo;text-align:left;&rdquo;&gt; This will be left aligned. &lt;/p&gt;</p>
<h2>Decorating the Text</h2>
<p>Following is the example which demonstrates how to decorate a text. Possible values are none, underline,overline,line-through, blink. &lt;p style=&rdquo;text_decoration:underline;&rdquo;&gt; This will be underfined &lt;/p&gt; &lt;p style=&rdquo;text-decoration:line-through;&rdquo;&gt; This will be striked through. &lt;/p&gt; &lt;p style =&rdquo;text-decoration:overline;&rdquo;&gt; This will have a over line. &lt;/p&gt; &lt;p style=&rdquo;text-decoration:blink&rdquo;;&gt; This text will have blinking effect &lt;/p&gt;</p>
<h2>Set the Text Cases</h2>
<p>Following is the example which demonstrates how to set the cases for a text. Possible values are none,capitalize,uppercase,lowercase&hellip; &lt;p style=&rdquo;text-tranform:capitalize;&rdquo;&gt; This will be capitalized &lt;/p&gt; &lt;p style=&rdquo;text-transform:uppercase;&rdquo;&gt; This will be in uppercase &lt;/p&gt; &lt;p style=&rdquo;text-transform:lowercase;&rdquo;&gt; This will be in lowercase &lt;/p&gt; &nbsp;</p>
<h2>Set the White space between Text</h2>
<p>Following is the example which demonstrates how white space inside an element is handled. Possible values are normal,pre,nowrap. &lt;p style=&rdquo;white-space:pre;&rdquo;&gt; This text has a line break and the white-space pre setting tells the browser to honor it just like the HTML pre tag.&lt;/p&gt;</p>
<h2>Set the Text shadow</h2>
<p>Following is the example which demonstrates how to set the shadow around a text. This may not be supported by all the browsers. &lt;p style=&rdquo;text-shadow:4px&nbsp; 4px&nbsp; 8px&nbsp; blue;&rdquo;&gt; if your browser supports the css text-shadow property, this text will have a blue shadow.&lt;/p&gt; &nbsp;</p>
<h2>Styling Links</h2>
<p>Links can be styled with any CSS property(eg: color, font-family, background,etc) special for links are that can be styled differently depending on what state they are in. The four links states are:</p>
<ul>
<li>a:link &ndash; a normal, unvisited link</li>
<li>a:visited &ndash; a link the user has visited</li>
<li>a:hover &ndash; a link when the user mouses over it</li>
<li>a:active &ndash; a link the moment it is clicked</li>
</ul>
<p><strong>&nbsp;</strong> <strong>Example</strong> a:link{color:#FF0000;}&nbsp;&nbsp; /*unvisited link */ a:visited{color:#00FF00;}&nbsp; /*visited link&nbsp; */ a:hover{color:#FF00FF;}&nbsp;&nbsp; /* mouse over link&nbsp;&nbsp; */ a:active{color:#0000FF;}/* selected link&nbsp; */ &nbsp;</p>
<h3><strong>Example</strong></h3>
<p>a:link{text-deorational:none;} a:visited{text-decoration:none;} a:hover{text-decoration:underline;} a:active{text-decoration:underline;} &nbsp; <strong>Example</strong> a:link{background-color: #B2FF99;} a:visied{background-color: #FFFF85;} a:hover{background-color: #FF704D;} a:active{background-color: #FF704D;} When setting the style for several link states, there are some order rules:</p>
<ul>
<li>a:hover MUST come after a:link and a:visited</li>
<li>a:active MUST come after a:hover</li>
</ul>176:T234a,<h2>CSS Colors</h2>
<p>CSS user color values to specify a color, Typically , these are used to set a color either for the foreground of an element(i.e, its text) or else for the background of the element. They can also be used to affect the color of boarder and other decorative effects. You can specify your color values in various formats. Following table tells you all possible formats:</p>
<table>
<tbody>
<tr>
<td width="213"><strong>Format</strong></td>
<td width="213"><strong>Syntax</strong></td>
<td width="213"><strong>Example</strong></td>
</tr>
<tr>
<td width="213">Hex Code</td>
<td width="213">#RRGGBB</td>
<td width="213">P{color, #FFoooo;}</td>
</tr>
<tr>
<td width="213">Short Hex Code</td>
<td width="213">#RGB</td>
<td width="213">P{color,#6A7;}</td>
</tr>
<tr>
<td width="213">RGB%</td>
<td width="213">rgb(TTT%, ggg%,bbb%)</td>
<td width="213">P{color:rgb(50%,50%,50%);}</td>
</tr>
<tr>
<td width="213">RGB Absolute</td>
<td width="213">rgb(TTT,ggg,bbb)</td>
<td width="213">P{color:rgb(0,0,255);}</td>
</tr>
<tr>
<td width="213">Key word</td>
<td width="213">Aqua, black.etc..</td>
<td width="213">P{color:teal;}</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h2>Setting Backgrounds using CSS</h2>
<p>You can set following background properties of an element: The back ground &ndash; color property is used to set the back ground color of an element The background &ndash; image property is used to set the back ground image of an element The background &ndash; repeat property is used to control the repetition of an image in the background. The back ground &ndash; position property is used to control the position of an image in the back ground The back ground &ndash; attachment property is used to control the scrolling of an image in the back The back ground property is used as short hand to specify a number of other back ground properties &nbsp;</p>
<h2>Set the Background Color</h2>
<p>Following is the example which demonstrate how to set the back ground color for an element &lt;p style = &ldquo;back ground &ndash; color :yellow;&rdquo;&gt; This text has a yellow background color &lt;/p&gt; &nbsp;</p>
<h2>Set the Background Image</h2>
<p>Following is the example which demonstrates how to set the background image for an element &lt;table style=&rdquo;background &ndash; image :url(/images/paternal.gif);&rdquo;&gt; &lt;tr&gt;&lt;td&gt; This table has background image set &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &nbsp;</p>
<h2>Repeat the Background Image</h2>
<p>Following is the example which demonstrates how to repeat the background image if image is small. You can use non-repeat value for background-repeat property if you don&rsquo;t want to repeat an image, in this case image will display only once. By default background-repeat property will have repeat value. &lt;table sytle=&rdquo;background-image:url(/images/pattern1.gif);&nbsp; background-repeat:repeat;&rdquo;&gt;\&lt;tr&gt;&lt;td&gt; This table has background image which multiple times. &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; Following is the example which demonstrates how to repeat the background image vertically &lt;table style=&rdquo;background-image=url(/images/pattern1.gif); background-repeat: repeat-y;&rdquo;&gt; &lt;tr&gt;&lt;td&gt; This table has background image set which will repeat vertically. &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &nbsp; Following is the example which demonstrates how to repeat the background image horizontally. &lt;table style=&rdquo;background-image:url(/images/pattern.gif); background-repeat:repeat-x;&rdquo;&gt; &lt;tr&gt;&lt;td&gt; This table has background image set which will repeat horizontally. &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &nbsp;</p>
<h2>Set the Background Image Position</h2>
<p>Following is the example which demonstrates how to set the background image position 100 pixels away from the left side &lt;table style=&rdquo;background-image : url(/images/pattern1.gif); background-position:100px;&rdquo;&gt; &lt;tr&gt;&lt;td&gt; Background image positioned 100 pixels away from the left. &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; Following is the example which demonstrates how to set the background image position 100 pixels away from the left side and 200 pixels down from the top. &nbsp; &lt;table style = &ldquo;background &ndash; image :url(/image/pattern1.gif); background &ndash; position:100px 200px;&rdquo;&gt; &lt;tr&gt;&lt;td&gt; This table has background image positioned 100 pixels away from the left and 200 pixel from the top &lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &nbsp;</p>
<h2>Set Background Attachment</h2>
<p>Background attachment determines whether a background image is fixed or scrolls with the rest of the page. Following is the example which demonstrates how to set the fixed background image. &lt;p style=&rdquo;background-image:url(/images/pattern1.gif); background-attachment:fixed;&rdquo;&gt; This paragraph has fixed background image. &lt;/p&gt; Following is the example which demonstrates how to set the scrolling background image. &lt;p style=&rdquo;background-image:url(/images/pattern1.gif); background-attachment:scroll;&rdquo;&gt; This paragraph has scrolling background&nbsp; image. &lt;/p&gt; &nbsp;</p>
<h2>Background Shorthand Property</h2>
<p>AS you can see from the examples above, there are many properties to consider when dealing with backgrounds. To shorten the code, it is also possible to specify in one single property. This is called a shorthand property. The shorthand property for background is simply &ldquo;background&rdquo;; &nbsp; <strong>Example</strong> body { background:#FFFFFFF url(&lsquo;img_tree.png&rsquo;) no-repeat right top; When using the shorthand property the order of the property values are :</p>
<ul>
<li>background-color</li>
<li>background-image</li>
<li>background-repeat</li>
<li>background-attachment</li>
<li>background-position</li>
</ul>
<p>It does not matter if one of the property values is missing, as long as the ones that are present are in&nbsp; this order. &nbsp;</p>
<h2>Setting Fonts using CSS</h2>
<p>You can set following font properties of an element: The font-family property is used to change the face of a font. The font-style property is used to make a font italic or oblique The font-variant property is used to create a small-caps effect. The font &ndash; weight property is used to increase or decrease how bold or light a font appears. The font-size property is used to increase or decrease the size of a font The font property is used as shorthand to specify a number of other font properties. &nbsp; <img class="alignnone size-full wp-image-9211" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_278.png" alt="Screenshot_27" width="458" height="197" /> &nbsp; On computer screens, sans-serif fonts are considered easier to read than serif fonts. &nbsp;</p>
<h2>CSS Font Families</h2>
<p>In CSS, there are two types of font family names: <strong>generic family &ndash; </strong>a group of font families with a similar look(like &ldquo;serif&rdquo;or &ldquo;Monispace&rdquo;) <strong>font family &ndash;</strong> a specific font family(like &ldquo;Times New Roman&rdquo; or &ldquo;Arial&rdquo;)<strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<table>
<tbody>
<tr>
<td width="213"><strong>Generic family</strong></td>
<td width="213"><strong>font family</strong></td>
<td width="213"><strong>Description</strong></td>
</tr>
<tr>
<td width="213">Serif</td>
<td width="213">Times New roamGeorigia</td>
<td width="213">Seri fonts have small lines at the end on. some characters</td>
</tr>
<tr>
<td width="213">Sans-serif</td>
<td width="213">ArialVerdana</td>
<td width="213">&ldquo;Sans&rdquo; means without-these fonts do not save the lines at the end of characters.</td>
</tr>
<tr>
<td width="213">Monoscope</td>
<td width="213">Courier New Lucida Console</td>
<td width="213">All monoscope characters have the same width</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;</strong></p>
<h2>Font Family</h2>
<p>The font family of&nbsp; a text is set with the font-family property. The font-family property should hold several font names as a &ldquo;fallback&rdquo; system. If the browser does not support the first font, it tries the next font Start with the font you want, and end with a generic family, to let the browser pick a similar font the generic family, if no other fonts are available <strong>Note</strong> If the name of a font family is more than one word, it must be in quotation marks, like font family &ldquo;Times New Roman&rdquo; More than one font family is specified in a comma-separated list: <strong>Example</strong> p{font-family:&rdquo;Times New Roman&rdquo;,Times, serif; } Following is the example which demonstrates how to set the font family of an element. Possible value could be any font family name. &lt;p style=&rdquo;font-family: Georgia, garmond, sarif;&rdquo;&gt; This text is rendered in either Georgia, garmond, or the default serif font depending on which font you have at your system. &lt;/p&gt;</p>177:T1533,<h2>CSS Images</h2>
<p>Images are very important part of any Web Page. Though it is not recommended to include lot of images but it is still important to use good images wherever it is required. CSS plays a good role to control image display. You can set following image properties using CSS. The <strong>border</strong> property is used to set the width of an image border. The <strong>height </strong>property is used to set the height if an image. The <strong>width</strong> property is used to set the width if an image. The &ndash;<strong>moz-opacity</strong> property is used to set the opacity of an image.</p>
<h2>Image Border Property</h2>
<p>The border property of an image is used to set the width of an image border. This property can have a value in length of in %. A width of zero pixels means no border. Here is the example: &lt;img style=&rdquo;border:0px;&rdquo; src=/images/css.gif/&gt; &lt;br&nbsp; /&gt; &lt;img style=&rdquo;border: 3px dashed red:&rdquo; src=&rdquo;/images/css.gif&rdquo;/&gt; &nbsp;</p>
<h2>Image Height Property</h2>
<p>The height property of an image is used to set the height of an image border. This property can have a value in length or in %.While giving value in %, it applies it in respect of the box in which an image is available. <strong>Here is the example</strong> &lt;img style=&rdquo;border:1px solid red;&rdquo;&nbsp;&nbsp; width :100px;&rdquo; src=/images/css.gif/&gt; &lt;br/&gt; &lt;img&nbsp; style=&rdquo;border:1px solid red:&rdquo; width:100%; src=&rdquo;/images/css.gif&rdquo;/&gt; &nbsp;</p>
<h2>Image Width Property</h2>
<p>The width property of an image is used to set the width of an image. This property can have a value in length of in % . while giving value in %, it applies it in respect of the box in which an image is available</p>
<h4>&nbsp;</h4>
<p><strong>Here is the Example</strong> &lt;img style =&rdquo;border :1px&nbsp; solid red; width :100px;&rdquo; Src=&rdquo;/images/css.gif&rdquo;/&gt; &lt;br/&gt; &lt;img style = &ldquo;border :1px solid red; width :100%;&rdquo; Src=&rdquo;/images/css.gif&rdquo;/&gt; &nbsp;</p>
<h2>moz-opacity&nbsp; Property</h2>
<p>The &ndash;moz-opacity property of an image is used to set the opacity of an image. This property is used to create a transparent image in Mozilla.IE uses filter: alpha(opacity=x) to create transparent images. In Mozilla(-moz-opacity:x) x can be a value from 0.0-1.0.A lower value makes the element more transparent. In IE (filter:alpha(opacity;=x)) x can be a value from 0 -100. A lower value makes the element more transparent Here is the example: &lt;img style =&rdquo;border :1px solifd red; mox &ndash; opacity:0.4; filter:alpha (opacity=40);src=&rdquo;/images/css.gif&rdquo;/&gt;</p>
<h3>Example 1</h3>
<p>Creating a transparent Image The CSS3 property for transparency is opacity First we will show you how to create a transparent image with CSS Img { Opacity:0.4; Filter:alpha(opacity =40);/* for IE8 and earlier*/ IE9 , Firefox , Chrome, Opera and Safari use&nbsp; the property opacity for transparency . the opacity property can take a value from0.0 &ndash; 1.0. A lower value makes the element more transparent. IE8 and earlier use filter:ampha(opacity=x).The&nbsp; x can take a value from 0-100.A lower value makes the element more transparent. &nbsp;</p>
<h3>Example 2</h3>
<p>Image transparency-Hover effect The CSS looks like this: Img { Opacity:0.4; Filter:alpha(opacity=40);/* For IE8 and earlier*/ } Img;hover { Opacity:1.0; Filter:alpha(opaciy=100); For IE8 and earlier*/ The first CSS block is similar to the code in Example1.In addition ,we have added What should happen when a user hover one of the images .In this case we want the image to NOT be transparent when the user hover over it. The CSS for this is:opacity=1. IE8 and earlier:filter:alpha(opacity=100). When the mouse pointer moves away from the image,the image will be transparent again. &nbsp;</p>
<h3>Example 3</h3>
<p>Text in Transparent Box &lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/css&rdquo;&gt; div&gt;background { Width :500px; Height:250px; Background:url(klematis.jpg)repeat; Border:2px solid black; } div.transbox { Width:400px; Height:180px; Margin:30px 50px; Background-clor:#ffffff; Border:1 px solid black; Opacity:0.6; Filter:alpha(opacity=60):/For IE8 and earlier*/ } div.transbox p { Margin:30px 40px; Font-weight:bold; Color:#000000; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class=&rdquo;background&rdquo;&gt; &lt;div class=&rdquo;transbox&rdquo;&gt; &lt;p&gt;This is some text that is placed in the transparent box. This is some text that is placed in the transparent box. This is some text that is placed in the transparent box. This is some text that is placed in the transparent box. This is some text that is placed in the transparent box. &lt;p&gt; &lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; &nbsp; First, we create a div element(class=&rdquo;background&rdquo;) with a fixed height and width ,a background image, and a border. Then we create a smaller div(class=&rdquo;transbox&rdquo;)inside the div element. The &ldquo;transom&rdquo; div have a fixed width, a black ground color, and a border-and it is transparent, Inside the transparent div, we add some text inside a p element. &nbsp;</p>
<h2>CCC Display and Visibility</h2>
<p>The display property specifies if/how an element is displayed ,and the visibility property be visible or hidden.</p>178:T24de,<h2>CSS Tables</h2>
<h3>Table Borders</h3>
<p>To specify table borders in CSS, use the border property. The example below specifies a black border for table ,th, and td elements. &nbsp; <strong>Example</strong> table th, td { border: 1px solid black; } Notice that the table in the example above has double borders.This is because both the table and the th/td elements have separate borders. To display a single border for the table ,use the border-collapse&nbsp; property. &nbsp;</p>
<h2>Collapse Borders</h2>
<p>The border-collapse property sets whether the table borders are collapsed into a single border or separated. <strong>&nbsp;</strong> <strong>Example</strong> table { border-collapse:collapse; } table, th, td { border: 1px solid black; } &nbsp;</p>
<h3><strong>Table Width and Height</strong></h3>
<p>Width and Height of a table is defined by&nbsp; the width and height properties. The example below sets the width of the table to 100% and the height of the th elements to 50 px: &nbsp; <strong>Example</strong> table { width:100% } th { height: 50px; } &nbsp;</p>
<h2>Table Text Alignment</h2>
<p>The text in a table is aligned with the text-align and vertical &ndash;align properties. The text-align property sets the horizontal alignment, like left, right, or center: &nbsp; <strong>Example</strong> td{ text-align:right; } The vertical &ndash;align property sets the vertical alignment, like top, bottom, or middle. &nbsp; <strong>Example</strong> td{ height:50px; vertical &ndash;align : bottom; } &nbsp;</p>
<h2>Table Padding</h2>
<p>To control the space between the border and content in table,use the padding&nbsp; property on td and th elements: &nbsp; <strong>Example</strong> td { padding:15px; } &nbsp;</p>
<h2>Table Color</h2>
<p>The example below specifies the color of the borders, and the text and background color of th elements: &nbsp; <strong>Example</strong> table ,td,th { border:1px solid green; } th { background &ndash;color:green; } &nbsp; <strong>Example</strong> &lt;style type=&rdquo;text/css&rdquo;&gt; tr:nth-child(odd) { background &ndash;color:red;} tr:nth-child(even) { background &ndash;color:green;} table, tr, td,th{ border:1px solid black; border-collapse:collapse; } &lt;/style&gt; &nbsp; <strong>Example</strong> &lt;style type=&rdquo;text/css&rdquo;&gt; #customers{ border-collapse:collapse; font-family :&rdquo;Trebuchet MS&rdquo;, Arial, Helvetice,sans-serif; width :100%; } # customers td,# customers th{ border :1px solid#98BF21; font-size:1.2 em; padding:3 px 7px 2px; } # customers th{ background-color:#A7C942; color:#FFFFFF; font-size:1.4em; padding-bottom: 4px; padding-top:5px; text-align:left; } # customers tr.alt td{ background &ndash;color:#EAF2D3; color: #000000; &lt;/style&gt; &nbsp;</p>
<h2>CSS-Cursors</h2>
<p>The cursor&nbsp; property of CSS allows you to specify the type of cursor that should be displayed to the user. One good usage of this property is in using images for submit buttons on forms. By default, when a cursor hovers over a link, the cursor changed from a pointer to a hand. For a submit button on a form this does not happen. Therefore ,using the cursor property to change the cursor to hand whenever someone hovers over an image that is a submit button .This provides&nbsp; a visual clue that they can click&nbsp; it. The table that follows shows possible values for the cursor property: &nbsp;</p>
<table>
<tbody>
<tr>
<td width="61"><strong>value</strong></td>
<td width="577"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Description</strong></td>
</tr>
<tr>
<td width="61">Auto</td>
<td width="577">Shape of the cursor depends on the context area it is over .For example an I over text ,a hand over a link ,a nd so on.</td>
</tr>
<tr>
<td width="61">Crosshair</td>
<td width="577">A cross hair or plus sign</td>
</tr>
<tr>
<td width="61">Default</td>
<td width="577">An arrow</td>
</tr>
<tr>
<td width="61">Pointer</td>
<td width="577">A pointing hand(in IE 4 this value is hand)</td>
</tr>
<tr>
<td width="61">Move</td>
<td width="577">The I bar</td>
</tr>
<tr>
<td width="61">e-resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved right(east)</td>
</tr>
<tr>
<td width="61">ne-resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved up and right(north/east)</td>
</tr>
<tr>
<td width="61">nw &ndash;resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved up and left(north/west)</td>
</tr>
<tr>
<td width="61">n-resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved up(north)</td>
</tr>
<tr>
<td width="61">se-resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved up and right(south/east)</td>
</tr>
<tr>
<td width="61">sw-resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved up andleft (south/west)</td>
</tr>
<tr>
<td width="61">s-resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved down(south)</td>
</tr>
<tr>
<td width="61">w-resize</td>
<td width="577">The cursor indicate that an edge of a box is to be moved left(west)</td>
</tr>
<tr>
<td width="61">Text</td>
<td width="577">The I bar</td>
</tr>
<tr>
<td width="61">Wait</td>
<td width="577">An hour glass</td>
</tr>
<tr>
<td width="61">Help</td>
<td width="577">A question mark or balloon, ideal for use over help buttons</td>
</tr>
<tr>
<td width="61">&lt;url&gt;</td>
<td width="577">The source of a cursor image file</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3>Note</h3>
<p>you should try to use only these values to add helpful information for users ,and in places they would except to see that cursor. For example ,using the crosshair when someone&nbsp; hovers over a link confuse visitors. &nbsp;</p>
<h3>Here is the example</h3>
<p>&lt;p&gt; Move the mouse over the words to see the cursor change: &lt;/p&gt; &lt;div style=&rdquo;cursor: auto&rdquo;&gt;Auto&lt;/div&gt; &lt;div style=&rdquo;cursor: crosshair&rdquo;&gt;Crosshair&lt;/div&gt; &lt;div style=&rdquo;cursor: default&rdquo;&gt;Default&lt;/div&gt; &lt;div style=&rdquo;cursor: pointer&rdquo;&gt;Pointer&lt;/div&gt; &lt;div style=&rdquo;cursor: move&rdquo;&gt;Move&lt;/div&gt; &lt;div style=&rdquo;cursor: e-resize&rdquo;&gt;e-resize&lt;/div&gt; &lt;div style=&rdquo;cursor: ne-resize&rdquo;&gt;ne-resize &lt;/div&gt; &lt;div style=&rdquo;cursor: nw-resize&rdquo;&gt;nw-resize &lt;/div&gt; &lt;div style=&rdquo;cursor: n-resize&rdquo;&gt;n-resize &lt;/div&gt; &lt;div style=&rdquo;cursor: se-resize&rdquo;&gt;se-resize &lt;/div&gt; &lt;div style=&rdquo;cursor: sw-resize&rdquo;&gt;sw-resize &lt;/div&gt; &lt;div style=&rdquo;cursor: s-resize&rdquo;&gt;s-resize &lt;/div&gt; &lt;div style=&rdquo;cursor: w-resize&rdquo;&gt;w-resize &lt;/div&gt; &lt;div style=&rdquo;cursor: text&rdquo;&gt;text &lt;/div&gt; &lt;div style=&rdquo;cursor: wait&rdquo;&gt;wait &lt;/div&gt; &lt;div style=&rdquo;cursor: help&rdquo;&gt;help &lt;/div&gt; &nbsp;</p>
<h3><strong>CSS &ndash;Scroll bars</strong></h3>
<p>There may be a case when an elements content might be larger than the amount of space allocated to it .For example given width and height properties did not allow enough room to accommodate the content of the element. CSS provide a property called overflow which tells the browser what to do if the box&rsquo;s content is larger than the box itself. This property can take one of the following values:</p>
<table>
<tbody>
<tr>
<td width="121"><strong>Value</strong></td>
<td width="517"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Description</strong></td>
</tr>
<tr>
<td width="121">visible</td>
<td width="517">Allows the content to overflow the border of its containing element.</td>
</tr>
<tr>
<td width="121">hidden</td>
<td width="517">The content of the nested element is simply cut off at the border of the containing element and no scroll bars is visible.</td>
</tr>
<tr>
<td width="121">scroll</td>
<td width="517">The size of the containing element does not change, but the scroll bars are added to allow the user to scroll to see the content.</td>
</tr>
<tr>
<td width="121">auto</td>
<td width="517">The purpose is the same as scroll, but the scrollbar will be shown only if the content does overflow.</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3>Here is the example</h3>
<p>&lt;style type=&rdquo;text/css&rdquo;&gt; .scroll { display: block; Border:1px solid red; Padding:5px; Margin-top:5px; Width:300px; Height:50px; Overflow:scroll; } Auto{ Display:block; Border:1px solid red; Padding:5px; Margin-top:5px; Width:300px; Height:50px; Overflow:auto; } &lt;/style&gt; &lt;p&gt; Example of scroll value:&lt;/p&gt; &lt;div class=&rdquo;scroll&rdquo;&gt; I am going to keep lot of content here just to show you how scrollbars works if there just to show you how scrollbars works if there is an overflow in an element box. This provides your horizontal as well as vertical scrollbars. &lt;/div&gt; &lt;br/&gt; &lt;p&gt;Example of auto value:&lt;/p&gt; &lt;div class=&rdquo;auto&rdquo;&gt; I am going to keep lot of content here just to show you how scrollbars works if there just to show you how scrollbars works if there is an overflow in an element box. This provides your horizontal as well as vertical scrollbars. &lt;/div&gt;</p>179:T23e1,<h2>CSS Lists</h2>
<p>Lists are very helpful in conveying a set of either numbered or bulleted points. This tutorial teaches you how to control list type, position, style etc. using CSS There are following five CSS properties which can be used to control lists: The list-style-type Allows you to control the shape or appearance of the marker. The list-style-position specifies whether a long point that wraps to a second line should align with the first line or start underneath the start of the marker. The list-style-image specifies an image for the marker rather than a bullet point or number. The list-style serves as shorthand for the preceding properties. The marker-offset specifies the distance between a marker and the text in the list. Now we will see how to use these properties with examples. <strong>&nbsp;</strong></p>
<h2>The list-style-type Property</h2>
<p>The list-style-type properly allows you to control the shape or style of bullet point (also known as a marker) in the case of unordered lists, and the style of numbering characters in ordered lists. Here are the values which can be used for an unordered list :</p>
<table>
<tbody>
<tr>
<td width="141"><strong>Value</strong></td>
<td width="141"><strong>Description</strong></td>
</tr>
<tr>
<td width="141">None</td>
<td width="141">NA</td>
</tr>
<tr>
<td width="141">Disc(default)</td>
<td width="141">A filled-in circle</td>
</tr>
<tr>
<td width="141">Circle</td>
<td width="141">An empty circle</td>
</tr>
<tr>
<td width="141">Square</td>
<td width="141">A filled in square</td>
</tr>
</tbody>
</table>
<p>Here are the values which can be used for an ordered list:</p>
<table>
<tbody>
<tr>
<td width="213"><strong>&nbsp;&nbsp; Value</strong></td>
<td width="213"><strong>Description</strong></td>
<td width="213"><strong>Example</strong></td>
</tr>
<tr>
<td width="213">Decimal</td>
<td width="213">Number</td>
<td width="213">1,2,3,4,5</td>
</tr>
<tr>
<td width="213">Decimal-leading-Zero</td>
<td width="213">0 before the number</td>
<td width="213">01,02,03,04,05</td>
</tr>
<tr>
<td width="213">Lower-alpha</td>
<td width="213">Lowercase alphanumeric characters</td>
<td width="213">a,b,c,d,e</td>
</tr>
<tr>
<td width="213">Upper-alpha</td>
<td width="213">Uppercase alphanumeric characters</td>
<td width="213">A,B,C,D,E</td>
</tr>
<tr>
<td width="213">lower-roman</td>
<td width="213">Lowercase Roman numerals</td>
<td width="213">i,ii,iii,iv,v</td>
</tr>
<tr>
<td width="213">uppercase-roman</td>
<td width="213">Uppercase roman numerals</td>
<td width="213">i,ii,iii,iv,v</td>
</tr>
<tr>
<td width="213">lower-greek</td>
<td width="213">The marker is lower-greek</td>
<td width="213">alpha,beta,gamma</td>
</tr>
<tr>
<td width="213">lower-latin</td>
<td width="213">The marker is lower-latin</td>
<td width="213">a,b,c,d,e</td>
</tr>
<tr>
<td width="213">upper-latin</td>
<td width="213">The marker is upper-latin</td>
<td width="213">A,B,C,D,E</td>
</tr>
<tr>
<td width="213">Hebrew</td>
<td width="213">The marker is traditional Hebrew numbering</td>
<td width="213">&nbsp;</td>
</tr>
<tr>
<td width="213">Armenian</td>
<td width="213">The marker is traditional Armenian numbering</td>
<td width="213">&nbsp;</td>
</tr>
<tr>
<td width="213">Geogrian</td>
<td width="213">The marker is traditional Georgian numbering</td>
<td width="213">&nbsp;</td>
</tr>
<tr>
<td width="213">cjk-ideographic</td>
<td width="213">The marker is plain ideographic numbers</td>
<td width="213">&nbsp;</td>
</tr>
<tr>
<td width="213">hiragana</td>
<td width="213">The marker is hiragana</td>
<td width="213">a,i,u,e,o,ka,ki</td>
</tr>
<tr>
<td width="213">Katakana</td>
<td width="213">The marker is katakana</td>
<td width="213">A,I,U,E,O,KA,XI</td>
</tr>
<tr>
<td width="213">hiragana-iroha</td>
<td width="213">The marker is hiragana-iroha</td>
<td width="213">i,ro,ni,ho,he,to</td>
</tr>
<tr>
<td width="213">katakana-iroha</td>
<td width="213">The marker is katakana-iroha</td>
<td width="213">I,RO,HA,NI,HA,HE,TO</td>
</tr>
</tbody>
</table>
<p>&nbsp; Here is the example: &lt;ul style=&rdquo;list-style-type:circle;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social science&lt;/li&gt; &lt;li&gt;physics&lt;/li&gt; &lt;/ul&gt; &lt;ul style=&rdquo;list-style-type:square;&rdquo; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ul&gt; &lt;ol style=&rdquo;list-style-type:decimal;&rdquo;&gt; &lt;li&gt; maths&lt;/li&gt; &lt;li&gt;Social Science&lt;li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt; &lt;ol style=&rdquo;list-style-type:lower-alpha;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt; &lt;ol syle=&rdquo;list-style-type:lower-roman;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt; &nbsp;</p>
<h2>The list style position property</h2>
<p>The list-style-position property indicates whether the marker should inside or outside of the box containing the bullet points. It can have one the two values</p>
<table>
<tbody>
<tr>
<td width="319"><strong>Value</strong></td>
<td width="319"><strong>Description</strong></td>
</tr>
<tr>
<td width="319">None</td>
<td width="319">NA</td>
</tr>
<tr>
<td width="319">Inside</td>
<td width="319">If the text goes onto a second line, the text will wrap underneath the marker. It will also appear indented to where the text would have started if the list had a value oof outside.</td>
</tr>
<tr>
<td width="319">Outside</td>
<td width="319">If the text goes onto a second line, the text will be alighned with the start of the first line(to the right of the bullet)</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3>Here is the example</h3>
<p>&lt;ul style=&rdquo;list-style-type:circle;&rdquo; list-style-position:outside;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ul&gt; &lt;ul style=&rdquo;list-style-type:square;list-style-position:inside;&rdquo;&gt; &lt;li&gt; Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ul&gt; &lt;ol style=&rdquo;list-style-type:decimal;list-style-position:cutside;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt; &lt;ol style=&rdquo;list-style-type:lower-alpha;list-style-position:inside;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt; &nbsp;</p>
<h2>CSS list-style-image property</h2>
<p>The list-style-image allows you to specify an image so that can your own bullet style. The syntax is as follows, similar to the background-image property with the letters ril starting the value of the property followed by the URL in brackets. If it does not find given image then default bullets are used.</p>
<h3>Here is the example</h3>
<p>&lt;ul&gt; &lt;li style=&rdquo;list-style-image : url(/images/bullet.gif;)&rdquo;&gt; Maths&lt;/li&gt; &lt;li&gt;Social science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ul&gt; &lt;ol&gt; &lt;li style=&rdquo;list-style-image:url(/images/bullet.gif);&rdquo;&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt; &nbsp;</p>
<h2>CSS&nbsp;list &ndash; style property</h2>
<p>The list-style allows you to specify all the list properties into a single expansion. These properties can appear in any order. Here is the example. &lt;ul style=&rdquo;list-style:inside square;&rdquo;&gt; &lt;li&gt; Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ul&gt; &lt;ol style = &ldquo;list-style: outside upper-alpha;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt; &nbsp;</p>
<h2>The marker-offset Property</h2>
<p>The marker-offset property allows you to specify the distance between the markers and the text relating to that marker. Its value should be a length as shown in the following example: Unfortunately, however, this property is not supported in IE 6 or Netscape 7.</p>
<h3>Here is the example</h3>
<p>&lt;ul style=&rdquo;list-style: inside square; marker &ndash; offset:2em;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social Science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ul&gt; &lt;ol style=&rdquo;list-style: outside upper-alpha; marker-offset:2cm;&rdquo;&gt; &lt;li&gt;Maths&lt;/li&gt; &lt;li&gt;Social science&lt;/li&gt; &lt;li&gt;Physics&lt;/li&gt; &lt;/ol&gt;</p>
<h2>The CSS box Model</h2>
<p>All HTML elements can be considered as boxes. In CSS, the term &ldquo;box mode&rdquo; is used when talking about design and layout. The CSS box model is essentially a box that wraps around HTML elements, and it consists of : margins, borders, padding,and the actual content. The box model allows us to place a boarder around elements and space elements in relation to other elements. The image below illustrates the box mode; &nbsp; <img class="alignnone wp-image-9218" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_286-460x336.png" alt="Screenshot_28" width="371" height="271" /></p>17a:T169b,<h2>Positioning</h2>
<p>The CSS positioning properties allow you to position an element. It can also place an element behind another, and specify what should happen when an elements content is toll big. Elements can be positioned using the top, bottom, left and right properties. However, these properties will not work unless the position property is set first. They also work differently depending on the positioning method. There are four different positioning methods.</p>
<h2>Static Positioning</h2>
<p>HTML elements are positioned static by default. A static&nbsp; positioned element is always positioned according to the normal flow of the page. &nbsp;</p>
<h2>Fixed Positioning</h2>
<p>An element with fixed position is positioned relative to the browser window. It will not move even if the window is scrolled: <strong>Example</strong> p.pos_fixed { Position:fixed; Top:30px; Right:5px; } &lt;!DOCTYPE html PUBLIC&rdquo;-//W3C//DTD XHTML 1.0 Transitional//EN&rdquo; http://www/w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&gt; &lt;html&gt; &lt;head&gt; &lt;style type=text/css&rdquo;&gt; p.pos_fixed { Position:fixed; Top:30px; Right:5px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p class=&rdquo;pos _fixed &ldquo;&gt;Some more text&lt;/p&gt; &lt;p&gt;b&gt;Note:&lt;/b&gt; IE7 and IE8 supports the fixed value only if a &lt;!DOCTYPE is specified.&lt;/p&gt; &lt;p&gt;Some text&lt;/p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ p&gt; &lt;p&gt;Some text&lt;/ &lt;/body&gt; &lt;/html&gt;</p>
<h3>Note</h3>
<p>IE7 and IE 8 support the fixed value only of a !DOCTYPE is specified. Fixed positioned elements are removed from the normal flow. The document and other elements behave like the fixed positioned element does not exist. Fixed positioned elements can overlap other elements. &nbsp;</p>
<h2>Relative Positioning</h2>
<p>A relative positioned element is positioned relative to its normal position.</p>
<h3>Example</h3>
<p>h2.pos_left { position:relative; left:-20px; } h2.pos_right { position:relative; left:20px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h2&gt;This is a heading with no position&lt;/h2&gt; &lt;h2 class=&rdquo;pos_left&rdquo;&gt;This heading is moved left according to its normal position&lt;/h2&gt; &lt;h2 class=&rdquo;pos_right&rdquo;&gt;This heading is moved right according to its normal position&lt;/h2&gt; &lt;p&gt; Relative positioning moves an element RELATIVE to its original position.&lt;/p&gt; &lt;p&gt; The style&rdquo;left:-20px&rdquo;subtracts 20 pixels from the elements original left position.&lt;/p&gt; &lt;p&gt; The style&rdquo;left:-20px&rdquo;adds 20 pixels from the elements original left position.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; The content of relatively positioned elements can be moved and overlap other elements, but the reserved space for the element is still preserved in the normal flow.</p>
<h3>Example</h3>
<p>H2.pos_top { position:relative; top:-50px; <strong>}</strong> &lt;html&gt; &lt;head&gt; &lt;style type=text/css&rdquo;&gt; h2.pos_top { position:relative; top:50px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h2&gt;This is a heading with no position&lt;h2&gt; &lt;h2class=&rdquo;pos _top&rdquo;&gt; This heading is moved upwards according to its normal position&lt;/h2&gt; &lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; Even if the content of the relatively positioned element is moved, the reserved space for the element is still preserved in the normal flow.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; Relatively positioned elements are often used as container blocks for absolutely positioned elements.</p>
<h2>Absolute Positioning</h2>
<p>An absolute position element is positioned relative to the first parent element that has a position other than static. If no such element is found, the containing block is &lt;html&gt;; Example h2 { position :absolute; left:100px; top:150px; } &lt;html&gt; &lt;head&gt; &lt;style type=text/css&rdquo;&gt; h2 { position: absolute; left:100px; top:150px; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h2&gt;This is a heading with an absolute position&lt;/h2&gt; &lt;p&gt;With absolute positioning , an element can be placed anywhere on a page. The heading below is placed 100px from the left of the page and 150px from the top of the page.&lt;p&gt; &lt;body&gt; &lt;html&gt; Absolutely positioned elements are removed from the normal flow. The document and other elements behave like the absolutely positioned element does not exist. Absolutely positioned elements can overlap other elements. &nbsp;</p>
<h2>CSS-Layers</h2>
<p>CSS gives you opportunity to create layers of various divisions. The CSS layers refer to applying the z-index property to elements that overlap each other. The z-index property is used along with position property to create an effect of layers. You can specify which element should come on top and which element should come at bottom. A z-index property can help you to create more complex webpage layouts. Following is the example which shows how to create layers in CSS. &lt;div style=&rdquo;background-color: red; width:300px; height :100px; position :relative; top:10px; left:80px; z-index:2&rdquo;&gt; &lt;/div&gt; &lt;div style=&rdquo;background-color: yellow; width:300px; height:100px; position :relative; top:-60px; left:35px; z-index:1&rdquo;&gt; &lt;/div&gt; &lt;div style=&rdquo;background-color: green; width:300px; height:100px; position :relative; top:-220px; left:120px; z-index:3&rdquo;&gt; &lt;/div&gt; &nbsp;</p>17b:T259a,<h2>What is CSS Float?</h2>
<p>With CSS float ,an element can be pushed to the left or right ,allowing other elements to wrap around it . Float is very often used for images, but it is also useful when&nbsp; working with layouts.</p>
<h2>How Elements Float</h2>
<p>Element are floated horizontally, this means that an element can only be floated left or right, not up or down. A floated element will move as far to the left or right as it can.Usually this means all the way to the left or right of the containing element. The elements after the floating element will flow around it. The elements before the floating element will not be affected. If an image is floated to the right ,a&nbsp; following text flows around it to the left:</p>
<h3>Example</h3>
<p>img { float:right; } &lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/css&rdquo;&gt; img { float:right; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt; In the paragraph below ,we have added an image with style&lt;b&gt; float:right &lt;/b&gt;.The result is that the image will float to the right in the paragraph &lt;/p&gt; &lt;p&gt; &lt;img src=&rdquo;logocss.gif&rdquo; width =&rdquo;95&rdquo;height =&rdquo;84&rdquo;/&gt; This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. This is some text. &lt;/p&gt; &lt;/body&gt; &lt;/html&gt; &nbsp;</p>
<h3><strong>Floating Elements Next to Each Other</strong></h3>
<p>If you pace several floating elements after each other, they will float next to each other if there is room. Here we have made an image gallery using the float property: &nbsp;</p>
<h3><strong>Example</strong></h3>
<p>thumbnail { float:left; width:110px; height:90px; margin:5px; } &lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/ccs&rdquo;&gt; Thumbnail { Float:left; Width:110px; Height:90px; Margin:5px; } &lt;/style&gt; &lt;/head&gt; &nbsp; &lt;body&gt; &lt;h3&gt;Image Gallery&lt;/h3/ &lt;p&gt;Try resizing the window to see what happens when the images does not have enough room&lt;/p&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis_small.jpg&rdquo;width=&rdquo;107&rdquo;height=&rdquo;90&rdquo;&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis2_small.jpg&rdquo;width=&rdquo;107&rdquo;height=&rdquo;80&rdquo;&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis3_small.jpg&rdquo;width=&rdquo;116&rdquo;height=&rdquo;90&rdquo;&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis4_small.jpg&rdquo;width=&rdquo;120&rdquo;height=&rdquo;90&rdquo;&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis_small.jpg&rdquo;width=&rdquo;107&rdquo;height=&rdquo;90&rdquo;&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis2_small.jpg&rdquo;width=&rdquo;107&rdquo;height=&rdquo;80&rdquo;&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis3_small.jpg&rdquo;width=&rdquo;116&rdquo;height=&rdquo;90&rdquo;&gt; &lt;img class=&rdquo;thumbnail&rdquo;src=&rdquo;klematis4_small.jpg&rdquo;width=&rdquo;120&rdquo;height=&rdquo;90&rdquo;&gt; &lt;body&gt; &lt;html&gt; Turning off float-Using Clear Elements after the floating element will flow around it. To avoid this, use the clear property. The clear property specifies which sides of an element other floating elements are not allowed. Add a text line into the image gallery, using the clear property</p>
<h3>Example</h3>
<p><strong>.text_line</strong> <strong>{</strong> <strong>Cler:both;</strong> <strong>}</strong> &lt;html&gt; &lt;head&gt; &lt;style type=text/css&rdquo;&gt; .thumbnail { Flaot:left; width:110px; height:90px; &lt;td colspan=&rdquo;4&rdquo;&gt;This is the foot of the table&lt;/td&gt; &lt;/tr&gt; &lt;/tfoot&gt; &lt;/tbody&gt; &lt;tr&gt; &lt;td&gt;cell 1&lt;/td&gt; &lt;td&gt;cell 2&lt;/td&gt; &lt;td&gt;cell 3&lt;/td&gt; &lt;td&gt;cell 4&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &hellip;more rows here containing four cells&gt;&gt;&gt;. &lt;/tr&gt; &lt;/tbody&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;cell 1&lt;/td&gt; &lt;td&gt;cell 2&lt;/td&gt; &lt;td&gt;cell 3&lt;/td&gt; &lt;td&gt;cell 4&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &hellip;more rows here containing four cells&gt;&gt;&gt;. &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; This will produce following result <img class="alignnone wp-image-9237" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_308-460x243.png" alt="Screenshot_30" width="634" height="334" /> &nbsp;</p>
<h2>Nested Tables</h2>
<p>You can use one table inside another table.Not only tables you can use almost all the tags inside table data tag&lt;td&gt;. Following is the example of using another table and other tags inside a table cell. <img class="alignnone wp-image-9238" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_3113-460x48.png" alt="Screenshot_31" width="590" height="61" /> &nbsp;</p>
<h2>Using Table Caption</h2>
<p>The caption tags will serve as a title or explanation and show up at the top of the table. This tag is deprecated in newer version of HTML/XHTML. &lt;table border=&rdquo;1&rdquo;&gt; &lt;caption&gt;This is the caption&lt;/caption&gt; &lt;tr&gt; &lt;td&gt;row 1,column 1&lt;/td&gt;&lt;td&gt;row1, column&nbsp; 2&lt;/td&gt; &lt;tr&gt; &lt;/table&gt; &nbsp;</p>
<h3><strong>This is produce following result:</strong></h3>
<p><img class="alignnone wp-image-9239" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_3211-460x66.png" alt="Screenshot_32" width="482" height="69" /> &nbsp;</p>
<h2>Using a Header, Body and Footer</h2>
<p>Tables can be divided into three portions: aheader, abody,and a foot. The head and foot are rather similar to headers and footers in a word-processed document that remain the same for every page,while the body is the main content of the table. The three elements for separating the head,body and foot of a table are: &lt;thead&gt;-to create a separate table header. &lt;tbody&gt;-to indicate the main body of the table. &lt;tfoot&gt;-to create a separate table footer. A table may contain several&lt;tbody&gt;elements to indicate different pages of groups of data.But is notable that &lt;thead&gt; and &lt;tfoot&gt; tags should appear before &lt;tbody&gt; &lt;table border=&rdquo;1&rdquo; width=&rdquo;100%&rdquo;&gt; &lt;thead&gt; &lt;tr&gt; &lt;td colspan=&rdquo;4&rdquo;&gt;This is the head of the table&lt;/td&gt; &lt;/tr&gt; &lt;/thead&gt; &lt;tfoot&gt; &lt;tr&gt; margin :5px; } .text-line { clear :both margin-bottom:2px;} &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h3&gt; Image Gallery&lt;/h3&gt; &lt;p&gt; Try resizing the window to see what happens when the images does not have enough room.&lt;/p&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis_small.jpg&rdquo; width=&rdquo;107&rdquo; height=&rdquo;90&rdquo;&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis2_small.jpg&rdquo; width=&rdquo;107&rdquo; height=&rdquo;80&rdquo;&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis3_small.jpg&rdquo; width=&rdquo;116&rdquo; height=&rdquo;90&rdquo;&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis4_small.jpg&rdquo; width=&rdquo;120&rdquo; height=&rdquo;90&rdquo;&gt; &lt;h3 class =&rdquo;text_line&rdquo;&gt;Second row&lt;/h3&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis_small.jpg&rdquo; width=&rdquo;107&rdquo; height=&rdquo;90&rdquo;&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis2_small.jpg&rdquo; width=&rdquo;107&rdquo; height=&rdquo;80&rdquo;&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis3_small.jpg&rdquo; width=&rdquo;116&rdquo; height=&rdquo;90&rdquo;&gt; &lt;img class =&rdquo;thumbnail&rdquo; src=&rdquo;klematis4_small.jpg&rdquo; width=&rdquo;120&rdquo; height=&rdquo;90&rdquo;&gt; &lt;/body&gt; &lt;/html&gt; &nbsp;</p>
<h2>CSS Horizontal&nbsp;Aligning Block Elements</h2>
<p>A block element is an element that takes up the full width valaible ,and has a line break before and after it . Examples of block elements: &lt;h1&gt; &lt;p&gt; &lt;div&gt; For aligning text, see the CSS Text chapter. In this chapter we will show you how to horizontally align block elements for layout purposes. Centre Aligning Using the margin Property Block elements can be aligned by setting the left and right margins to &ldquo;auto&rdquo;. <strong>Note :</strong> Using margin:auto will not work in IE 8 and earlier,unless a !DOCTYPE is declared. Setting the left and right margins to auto specifies that they should split the available margin equally .The result is cantered element: <strong>Example</strong> .center { margin &ndash;left:auto; margin-right:auto; width:70%; background &ndash;colour: #b0e0e6; } &nbsp;</p>
<h3>Tip</h3>
<p>Aligning has no effect if the width is 100%</p>
<h3>Note</h3>
<p>In IE5 there is a margin handling bug for block elements. To make the example above work in IE5, add some extra code.</p>
<h3>Note</h3>
<p>In IE 5 there&nbsp; is a margin handling bug for block elements.To make the example above work in IE 5,add some extra code. &nbsp;</p>
<h2>Left and Right Aligning Using the position Property</h2>
<p>One method of aligning elements is to use absolute positioning:</p>
<h3>Example</h3>
<p>.right { position :absolute; right:0px; width :300px; background-color:#b0e0e6; }</p>
<h3>Note</h3>
<p>Absolute positioned elements are removed from the normal flow, and can overlap elements.</p>17c:T5db,<h2>CSS Attribute Selectors &nbsp;&amp; &nbsp;Style HTML Elements with specific Attributes</h2>
<p>It is possible to style HTML element that have specific attributes, not just class and id. <strong>Note</strong> IE7 and IE8 support attribute selectors only if a !DOCTYPE is specified. Attribute selection is NOT supported in IE6 and lower.</p>
<h3>Attribute Selector</h3>
<p>The example below styles all element with a little attribute. <strong>Example </strong> [title] { color:blue; }</p>
<h2>Attribute and Value Selector</h2>
<p>The example below styles all elements with title=&rdquo;W3Schools&rdquo;. <strong>Example</strong> [title=W3School] { border:5px solid green; }</p>
<h2>Attribute and Value Selector-Multiple Values</h2>
<p>The example below style all elements with a title attribute that contains a specified value. This works even if the attribute has space separated values:</p>
<h3>Example</h3>
<p>[title~=hello]{color:blue;} The example below styles all elements with a lang attribute that contains a specified value. This works even if the attribute has hyphen(_) separated values: &nbsp;</p>
<h3>Example</h3>
<p>[lang|=en]{color:blue;} &nbsp;</p>
<h2>Styling Forms</h2>
<p>The attribute selectors are particularly useful for styling forms without class or ID. &nbsp;</p>
<h3>Example</h3>
<p>input[type=&rdquo;text&rdquo;] { width:150px; display:block; margin-bottom:10px; background-color:Yellow; intpu[type=&rdquo;button&rdquo;] width:120px; margin-left:35px; display:block;</p>17d:Te95,<h2>Hiding an Element-display: none or visibility :hidden</h2>
<p>Hiding an element can be done by setting the display property to &ldquo;none&rdquo; or the visibility property to &ldquo;hidden&rdquo;. However, notice that these two methods produce different results: Visibilyt:hidden hides an element, but it will still take up the same space as before.The element will be hidden, but still affect the layout.</p>
<h3>Example</h3>
<p>h1.hidden{visibility:hidden;} &lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/ccs&rdquo;&gt; h.hidden{visibility:hidden;} &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt;This is a visible heading&lt;/h1&gt; &lt;p&gt;Notice that the hidden heading still takes up space.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;</p>
<h2>Display</h2>
<p>none hides an element, and it will not take up any space.The element will be hidden, and the page will be and displayed as the element is not there:</p>
<h3>Example</h3>
<p>H1.hidden{display:none:} &lt;html&gt; &lt;head&gt; &lt;style type=text/ccs&rdquo;&gt; H1.hidden(display:none;) &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h1&gt; This is a visible heading&lt;/h1&gt; &lt;h1 class=&rdquo;hidden&rdquo;&gt;This is a hidden heading&lt;/h1&gt; &lt;p&gt; Notice that the hidden heading does not take up Space.&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; &nbsp;</p>
<h2>CSS Display-Block and Inline elements</h2>
<p>A block element is an element that takes up the full width available, and has a line break before and after it. <strong>Examples of block elements:</strong></p>
<ul>
<li>&lt;h1&gt;</li>
<li>&lt;p&gt;</li>
<li>&lt;div&gt;</li>
</ul>
<p>An inline element only takes up as much width as necessary,and does not force line breaks. Examples of inline elements:</p>
<ul>
<li>&lt;span&gt;</li>
<li>&lt;a&gt;</li>
</ul>
<p>An inline element only takes up much width as necessary, and does not force line breaks. &nbsp;</p>
<h3>Examples of inline elements</h3>
<ul>
<li>&lt;span&gt;</li>
<li>&lt;a&gt;</li>
</ul>
<p>&nbsp;</p>
<h2>Changing How an Element is displayed</h2>
<p>Changing an inline element to block element, or vice versa, can be useful for making the page look a specific way, and still follow web standards. The following example displays list items as inline elements:</p>
<h3>Example</h3>
<p>li{display:inline;} &lt;html&gt; &lt;head&gt; &lt;style type=text/ccs&rdquo;&gt; l1 (display:inline;) &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt; Display this link list as a horizontal menu:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=&rdquo;/html/default.asp&rdquo;targer=&rdquo;_blank&rdquo;HTML&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&rdquo;/css/default.asp&rdquo;targer=&rdquo;_blank&rdquo;CSS&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&rdquo;/js/default.asp&rdquo;targer=&rdquo;_blank&rdquo;JavaScript&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&rdquo;/xml/default.asp&rdquo;targer=&rdquo;_blank&rdquo;&gt;XML&lt;/a&gt;&lt;/li&gt; &lt;ul&gt; &lt;/body&gt; &lt;/html&gt; The following example displays span elements as block elements:</p>
<h3>Example</h3>
<p>Span{display:block;} &lt;/html&gt; &lt;/head&gt; &lt;/style type=&rdquo;text/css&rdquo; &gt; Span { Display:block; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;h2&gt;Nirvana&lt;/h2&gt; &lt;span&gt;record:MTV Unplagged in New York&lt;/span&gt; &lt;span&gt;Year:1993&lt;/span&gt; &lt;h2&gt;Radiohead&lt;/h2&gt; &lt;span&gt;Record:OK Computer&lt;/span&gt; &lt;span&gt;Year:1997&lt;/span&gt; &lt;body&gt; &lt;/html&gt;</p>
<h3>Note</h3>
<p>Changing the display type of an element changes only how the element is displayed. Not what kind of element it is. For example: An inline element set to display :block is not allowed to have a block element nested inside of it. &nbsp;</p>17e:T2a0a,<h2>Cross browser Compatibility Issues</h2>
<p>When aligning elements like this, it is always a good idea to pre-define margin and padding for the &lt;body&gt; element. This is avoid visual differences in different browsers. There is a problem with IE8 and earlier, when using the position property. If a container element (in our case &lt;div class=@container&rdquo;&gt;) has a specified width and the! DOCTYPE declaration is missing, IE8 and earlier versions will add a 17px margin on the right side. This seems to be space reserved for a scrollbar. Always set the DOCTYPE declaration when using the position property:</p>
<h3>Example</h3>
<p>body{ margin:0; padding:o; } .container { position :relative; width :100%; } .right { position :absolute; right: width :800px; background-color:#b0e0e6; } Left and Right Aligning Using the float Property One method of aligning elements is use the float property: Example .right { float:right; width : 300px; background &ndash;color:#b0e0e6;</p>
<h2>Cross Browser Compatibility Issues</h2>
<p>When aligning element like this, it is always a good idea to pre-define margin and padding for the &lt;body&gt; element. This is to avoid visual differences in different browsers. There is a problem with IE 8 and earlier when using the float property .If the !DOC TYPE declaration is missing IE8 and earlier version will add a 17px margin on the right side. This seems to be space reserved for a scroll bar. Always set the! DOC TYPE declaration when using the float property: &nbsp;</p>
<h3>Example</h3>
<p>body { margin:0; padding:0; } .right{ float:right; width :300px; background-color:#b0e0e6; } &nbsp;</p>
<h3><strong>CSS pseudo-classes</strong></h3>
<p>CSS pseudo-classes are used to add special effects to some selectors. <strong>Syntax</strong> The syntax of pseudo-classes: selector:pseudo-class {property:value;} CSS classes can also be used with pseudo-classes: selector.class : pseudo-class {property:value} <strong>Anchor Pseudo-classes</strong> Links can be displayed in different ways in a CSS-Supporting browser: Example a:link {color:#FF0000;}/* unvisited link*/ a:visited{color:#00FF00;}/* visited link*/ a:hover{color:#FF00FF;}/* mouse over link*/ a:active {color:#0000FF;}/*selected link*/ &nbsp; <strong>Note:</strong> a:hover MUST come after a :link and a:visited in the CSS defintionin order to be effective!! &nbsp; <strong>Note:</strong> a:active MUST come after a:hover in the CSS definition in order to be effective!! <strong>Note</strong> Pseudo-class names are not case-sensitive.</p>
<h3>Pseudo Classes and CSS Classes</h3>
<p>Pseudo-classes can be combined with CSS classes: a:red:visited{color:#FF0000;} &lt;a class=&rdquo;red&rdquo;href=&rdquo;css_syntax .asp&rdquo;&gt;CSS syntax&lt;/a&gt; If the link in the example above has been visited ,it will be displayed in red. &nbsp;</p>
<h2>CSS-The : first &ndash;child Pseudo-class</h2>
<p>The : first &ndash;child pseudo-class matches a specified element that is the first child of another element. &nbsp; <strong>Note</strong> For :first &ndash;child to work in IE8 and earlier ,a &lt;!DOC TYPE&gt; must be declared. &nbsp;</p>
<h3>Match the first &lt;p&gt; element</h3>
<p>In the following example, the selector matches any &lt;p&gt; element that is the first child of any element: <strong>Example</strong> &lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/css&rdquo;&gt; p:first-child { color:blue; &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;Iam a strong man&lt;/P&gt; &lt;p&gt; I am a strong man&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;</p>
<h2>Match the first &lt;i&gt; element in all &lt;p&gt; elements</h2>
<p>In the following example, the selector matches the first &lt;i&gt; element in all &lt;p&gt; elements: <strong>Example </strong> &lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/css&rdquo;&gt; &lt;p&gt;:first-child { font-weight:bold; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;I am a &lt;i&gt; strong&lt;/i&gt; man. I am a &lt;i&gt; strong&lt;/i&gt; man. &lt;p&gt;I am a &lt;i&gt; strong&lt;/i&gt; man. I am a &lt;i&gt; strong&lt;/i&gt; man. &lt;/body&gt; &lt;/html&gt; Match all &lt;i&gt; elements in all first child &lt;p&gt; elements In the following example ,the selector matches all &lt;i&gt; elements in &lt;p&gt; elements that are the first child of another element:</p>
<h3>Example</h3>
<p>&lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/csss&rdquo;&gt; p:first &ndash;childi { color:blue; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;I am a &lt;i&gt; strong&lt;/i&gt; man. I am a &lt;i&gt; strong&lt;/i&gt; man. &lt;p&gt;I am a &lt;i&gt; strong&lt;/i&gt; man. I am a &lt;i&gt; strong&lt;/i&gt; man. &lt;/body&gt; &lt;/html&gt; &nbsp;</p>
<h2>CSS-The :lang Pseudo &ndash;class</h2>
<p>The: lang pseudo &ndash;class allows you to define special rules for different languages. <strong>Note:</strong> IE 8 supports the :lang pseudo &ndash;class only if a &lt;!DOC TYPE&gt; is specified . In the example below,the :lag class defines the quotation marks for q elements with lang=&rdquo;no&rdquo;: <strong>Example</strong> &lt;html&gt; &lt;head&gt; &lt;style type=&rdquo;text/css&rdquo;&gt; <strong>q:lang(no){quotes:&rdquo;~&rdquo; &ldquo;~&rdquo;;}</strong> &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;p&gt;Some text&lt;q lang=&rdquo;no&rdquo;&gt; A quote in a paragraph&lt;/q&gt; some text&lt;/p&gt; &lt;/body&gt; &lt;/html&gt; &nbsp;</p>
<h3><strong>CSS Pseudo-elemets</strong></h3>
<p>CSS pseudo-elements are used to add special effects to some selectors. <strong>Syntax</strong> The syntax of pseudo-elements: selector:pseudo-element{property:value;} Syntax The syntax of pseudo-elements: selector:pseudo-elements{property:value;} CSS classes can also be used with pseudo-elements: selector class:pseudo-element{property:value;} &nbsp;</p>
<h3>The : first-line Pseudo &ndash; element</h3>
<p>The &ldquo;first-line&rdquo; pseudo-element is used to add a special style to the first line of a text. In the following example the browser formats the first line of text in a p element according to the style in the &ldquo;first-line&rdquo; pseudo-element(where the browser breaks the line, depends on the size of the browser window): <strong>Example</strong> p:first-line { color:#ff0000; font-variant:small-caps; } &nbsp; <strong>Note :</strong> The &ldquo;first-line &rdquo; pseudo-element can only be used with block-level elements. &nbsp; <strong>Note :</strong> The following properties apply to the &ldquo;first-line&rdquo; pseudo-element</p>
<ul>
<li>font properties</li>
<li>color properties</li>
<li>background properties</li>
<li>word-spacing</li>
<li>letter-spacing</li>
<li>text-decoration</li>
<li>text-decoration</li>
<li>vertical-align</li>
<li>text-transform</li>
<li>line-height</li>
<li>clear</li>
</ul>
<p>&nbsp; <strong>The : first &ndash;letter Pseudo-element</strong> The &ldquo;first-letter&rdquo; pseudo-element is used to add a special to the first letter of a text. &nbsp; <strong>Example</strong> p:first-letter { color:#ff0000; font-size:xx-large; } &nbsp; <strong>Note</strong> The &ldquo;first-letter&rdquo; pseudo-element can only be used with block level elements &nbsp; <strong>Note</strong> The following properties apply to the &ldquo;first-letter&rdquo; pseudo-element:</p>
<ul>
<li>font properties</li>
<li>color properties</li>
<li>background properties</li>
<li>margin properties</li>
<li>padding properties</li>
<li>border properties</li>
<li>text-decoration</li>
<li>vertical-align(only if &ldquo;float&rdquo; is &ldquo;none&rdquo;)</li>
<li>text-transform</li>
<li>line-height</li>
<li>float</li>
<li>clear</li>
</ul>
<h2>Pseudo-elements and CSS classes</h2>
<p>Pseudo-elements can be combined with CSS classes : p.article:first-letter{color:#ff0000;} &lt;p class=&rdquo;article&rdquo;&gt; A paragraph in an article&lt;/p&gt; The example above will display the first letter of all paragraphs with class=&rdquo;article&rdquo;, in red. &nbsp;</p>
<h2>Multiple Pseudo-elements</h2>
<p>Several pseudo-elements can also be combined. In the following example, the first letter of paragraph will be red, in an xx-large. The rest of the first line will be blue, and in small-caps. The rest of the paragraph will be default size and color. <strong>Example</strong> p:first-letter { color:#ff0000; font-size:XX-large; } p:first-line { color:#000000; font-variant:small-caps; &nbsp;</p>
<h2>CSS-The:before Pseudo-elements</h2>
<p>The &ldquo;:before&rdquo; pseudo-element can be used to insert some content before the content of an element. The following example inserts an image before each&lt;hl&gt; element: <strong>Example</strong> h1:before content: url(smiley.gif); &nbsp;</p>
<h2>CSS-The:after Pseudo-element</h2>
<p>The &ldquo;:after&rdquo; pseudo-element can be used to insert some content after the content of an element. The following example inserts an image after each&lt;h1&gt; element: <strong>Example :</strong> h1:after content:url(smiley.gif); &nbsp;</p>
<h2>All CSS Pseudo classes/Elements</h2>
<table>
<tbody>
<tr>
<td width="213"><strong>Selector</strong></td>
<td width="213"><strong>Example</strong></td>
<td width="213"><strong>Example description</strong></td>
</tr>
<tr>
<td width="213">;link</td>
<td width="213">a:link</td>
<td width="213">Selects all unvisited links</td>
</tr>
<tr>
<td width="213">;visited</td>
<td width="213">a:visited</td>
<td width="213">Selects all visited links</td>
</tr>
<tr>
<td width="213">;active</td>
<td width="213">a:active</td>
<td width="213">Selects the active link</td>
</tr>
<tr>
<td width="213">:hover</td>
<td width="213">a:hover</td>
<td width="213">Selects links on mouse over</td>
</tr>
<tr>
<td width="213">:focus</td>
<td width="213">input:focus</td>
<td width="213">Selects the input element which has focus</td>
</tr>
<tr>
<td width="213">:first-letter</td>
<td width="213">p:first-letter</td>
<td width="213">Selects the first letter of every&lt;p&gt; element</td>
</tr>
<tr>
<td width="213">:first-line</td>
<td width="213">p:first-line</td>
<td width="213">Selects the first line of every&lt;p&gt; element</td>
</tr>
<tr>
<td width="213">:first-child</td>
<td width="213">p:first-child</td>
<td width="213">Selects every&lt;p&gt; element that is the first child of its parent</td>
</tr>
<tr>
<td width="213">:before</td>
<td width="213">p:before</td>
<td width="213">insert content before every &lt;p&gt; element</td>
</tr>
<tr>
<td width="213">:after</td>
<td width="213">p:after</td>
<td width="213">Insert content after every &lt;p&gt; element</td>
</tr>
<tr>
<td width="213">:lang(language)</td>
<td width="213">p:lang(it)</td>
<td width="213">Selects every &lt;p&gt; element with a lang attribute value starting with &ldquo;it&rdquo;</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>17f:T274f,<h2>CSS Outlines</h2>
<p>Outlines are very similar to the borders by there are few major differences in borders and outlines: An outline does not take up space. Outline do not have to be rectangular. Out line is always the same on all sides; you cannot specify different values for different side of the element.</p>
<h3>Note</h3>
<p>The outline properties are not supported by IE 6 or Netscape 7. You can set the following outline properties using CSS. The outline &ndash;width property is used to set the width of the outline. The outline &ndash;style property is used to set the line style for the The outline &ndash;color width property is used to set the color of the outline. The outline property is used to set all the above three properties in a single statement. &nbsp;</p>
<h2>CSS Margin</h2>
<p>The margin property defines the space around an HTML element .It is possible to use negative values to overlap content. The values of the margin property are not inherited by child elements. Remember that the adjacent vertical margins (top and bottom margins) will collapse into each other so that the distance between the blocks is not the sum of the margins, but only greater of the two margins or the same size as one margin if both are equal. There are following four properties to set an element margin. The margin A short hand property for setting the margin properties in one declaration. The margin &ndash;bottom Specifies the bottom margin of an element. The margin &ndash;top specifies the top margin of an element. The margin &ndash;left specifies the left top margin of an element. The margin &ndash;right specifies the right margin of an element. Now we will see how to use these properties with examples. &nbsp;</p>
<h2>CSS Margin Property</h2>
<p>The margin property allows you set all of the properties for the four margins in one declaration .Here is the syntax to set margin around a paragraph. &lt;style type=&rdquo;tesxt/css&rdquo;&gt; p{margin :15px} all four margins will be 15px p{ margin :10px 2%} top and bottom margin will be 10 px, left and right margin will be 2% of the total width of the document. p{ margin :10px 2% -10px} top and bottom margin will be 10 px, left and right margin will be 2% of the total width of the document, bottom margin will be -10px. p{ margin :10px 2% -10px auto} top and bottom margin will be 10 px, left and right margin will be 2% of the total width of the document, bottom margin will be -10px, left margin will be set by the browser &lt;/style&gt; Here is the example: &lt;p style=&rdquo;margin: 15px; border:1px solid black;&rdquo;&gt; top and bottom margin will be&nbsp; 10 px, left and right margin will be 2% of the total width of the document. &lt;/p&gt; &lt;p style=&rdquo;margin:10 px 2% -10px ; border:1px &nbsp;solid black&rdquo;;&gt; top margin will be 10px,left and right margin will be 2% of the total width of the document , bottom margin will be -10px&lt;/p&gt; &lt;p style=&rdquo;margin:10 px 2% -10px ; &nbsp;auto;border:1px &nbsp;solid black&rdquo;;&gt; top margin will be 10px,left and right margin will be 2% of the total width of the document , bottom margin will be -10px ,left margin will be set by the browser&lt;/p&gt; The margin &ndash;bottom Property: The margin- bottom property allows you set bottom margin of an element .It can have a value in length,% or auto. here is the example: &lt;p style=&rdquo;margin &ndash;bottom: 15px; border:1px sild black;&rdquo;&gt; This is&nbsp; a paragrapgh with a specified bottom margin. &lt;/p&gt; &lt;p style =&rdquo;margin &ndash;bottom: 5%; border:1px soild black;&rdquo;&gt; This is another paragraph with a specified bottom margin in percent&lt;/p&gt; &nbsp;</p>
<h2>CSS Margin Top Property</h2>
<p>Then margin-top property allows you set top margin of an element .It can have a value in length,%or auto Here is the example: &lt;p style =&rdquo;margin &ndash;top: 15px; border:1px solid black;&rdquo;&gt; This is a paragraph with a specified top margin &lt;/p&gt; &lt;p style =&rdquo;margin -top: 5%; border:1px solid black;&rdquo;&gt; This is a paragraph with a specified top margin in percent &lt;/p&gt; &nbsp;</p>
<h3>CSS&nbsp;margin &ndash;left property</h3>
<p>The margin -&nbsp; left property allows&nbsp; you set left margin of an element .It can have a value in length% or auto.</p>
<h3>Here is the example</h3>
<p>&lt;p style =&rdquo;margin &ndash;left: 15px; border:1px solid black;&rdquo;&gt; This is a paragraph with a specified left margin &lt;/p&gt; &lt;p style =&rdquo;margin- left: 5%; border:1px solid black;&rdquo;&gt; This is a paragraph with a specified left margin in percent &lt;/p&gt;</p>
<h3>CSS&nbsp;margin &ndash;right property</h3>
<p>The margin - right property allows&nbsp; you set right margin of an element .It can have a value in length% or auto. Here is the example: &lt;p style =&rdquo;margin &ndash;right: 15px; border:1px solid black;&rdquo;&gt; This is a paragraph with a specified right margin &lt;/p&gt; &lt;p style =&rdquo;margin- right: 5%; border:1px solid black;&rdquo;&gt; This is a paragraph with a specified left margin in percent &lt;/p&gt; &nbsp;</p>
<h2>Margin &ndash; shorthand property</h2>
<p>To shorten the code, it is possible to specify all the margin properties in one property. This is called a short hand property. The short hand property for all the margin properties is margin&rdquo;&rdquo; &nbsp;</p>
<h3>Example</h3>
<p>margin:100px 50px; The margin property can have from one to four values</p>
<ul>
<li>margin:25px 50 px 75 px 100px;</li>
<li>top margin is 25px</li>
<li>right margin is 50 px</li>
<li>bottom margin is 75 px</li>
<li>left margin is 100px</li>
<li>margin :25px 50 px 75 px;</li>
<li>top margin is 25px</li>
<li>right and left margins are 50 px</li>
<li>bottom margin is 75px</li>
<li>margin: 25px 50 px;</li>
<li>top and bottom margins are 25px</li>
<li>right and left margins are 50 px</li>
<li>margin : 25px;</li>
<li>all four margins are 25px</li>
</ul>
<p>&nbsp;</p>
<h2>CSS- Padding&rsquo;s</h2>
<p>The <em>padding</em> property allows you to specify how much space should appear between the content of an element and its border: There are following five CSS properties which can be used to control lists: The value of this attribute should be either a length, a percentage, or the word inherits. If the value is inherit it will have the same padding as its parent element. If a percentage is used, the percentage is of the containing box. You can also set different values for the padding on each side of the box using the following properties: The <strong>padding &ndash;bottom</strong> Specifies the bottom padding of an element. The <strong>padding &ndash;top</strong> specifies the top padding of an element. The <strong>padding &ndash;left</strong> specifies the left padding of an element. The <strong>padding &ndash;right</strong> specifies the right padding of an element. The padding Serves as short hand for the preceding properties. Now we will see how to use these properties with examples.</p>
<h3>The padding- bottom Property</h3>
<p>The padding &ndash;bottom property sets the bottom padding (space) of an element .This can take a value in terms of length of%.</p>
<h3>Here is the example</h3>
<p>&lt;p style =&rdquo;padding-bottom: 15px; border: 1px solid black;&rdquo;&gt; This is a paragraph with specified bottom padding &lt;/p&gt; &lt;p style =&rdquo;padding-bottom: 5%; border: 1px solid black;&rdquo;&gt; This is another paragraph with specified bottom padding in percent &lt;/p&gt;</p>
<h3>The padding &ndash;top&nbsp; Property</h3>
<p>The <em>padding</em> &ndash;<em>top</em> property sets the top padding (space) of an element. This can take a value in terms of length of%. Here is the example: &lt;p style =&rdquo;padding-top: 15px; border: 1px solid black;&rdquo;&gt; This is a paragraph with specified top padding &lt;/p&gt; &lt;p style =&rdquo;padding-top: 5%; border: 1px solid black;&rdquo;&gt; This is another paragraph with specified top padding in percent &lt;/p&gt;</p>
<h3>The padding &ndash;left&nbsp; Property</h3>
<p>The <em>padding</em> &ndash;<em>top</em> property sets the left padding (space) of an element. This can take a value in terms of length of%. Here is the example: &lt;p style =&rdquo;padding-left: 15px; border: 1px solid black;&rdquo;&gt; This is a paragraph with specified left padding &lt;/p&gt; &lt;p style =&rdquo;padding-left: 15%; border: 1px solid black;&rdquo;&gt; This is another paragraph with specified left padding in percent &lt;/p&gt; &nbsp;</p>
<h3><strong>The padding &ndash;right Property:</strong></h3>
<p>The <em>padding</em> &ndash;<em>top</em> property sets the right padding (space) of an element. This can take a value in terms of length of%. Here is the example: &lt;p style =&rdquo;padding-right: 15px; border: 1px solid black;&rdquo;&gt; This is a paragraph with specified right padding &lt;/p&gt; &lt;p style =&rdquo;padding-right: 5%; border: 1px solid black;&rdquo;&gt; This is another paragraph with specified right top padding in percent &lt;/p&gt; &nbsp;</p>
<h2>CSS Padding Property</h2>
<p>The <em>padding</em> property sets the left, right, top and bottom&nbsp; padding (space) of an element. This can take a value in terms of length of%. Here is the example: &lt;p style =&rdquo;padding: 15px; border: 1px solid black;&rdquo;&gt; all four padding will be 15px &lt;/p&gt; &lt;p style =&rdquo;padding: 10px 2%; border: 1px solid black;&rdquo;&gt; top and bottom padding will be 10px,left and right padding will be 2% of the total width of the document. &lt;/p&gt; &lt;p style =&rdquo;padding: 10px 2% 10px; border: 1px solid black;&rdquo;&gt; top and bottom padding will be 10px,left and right padding will be 2% of the total width of the document, bottom padding will be 10px. &lt;/p&gt; &lt;p style =&rdquo;padding: 10px 2% 10px 10px; border: 1px solid black;&rdquo;&gt; top and bottom padding will be 10px,left and right padding will be 2% of the total width of the document, bottom padding&nbsp; and top padding will be 10px. &lt;/p&gt; &nbsp;</p>180:T5a5,<h2>Calendar Extender</h2>
<p>Calendar control is used to automatically popup the calendar when user click on a control like text box and automatically hiding after user select the date and the selected date is displayed in text box. Target control ID : <strong>Popup Position</strong> : Used to specify the position where to popup the calendar for the target control <strong>Popup Button ID : </strong>Used to specify ID of a Button control clicking on which the calendar has to popup. When this property was not set then clicking on target control itself with popup the calendar. <strong>Format :</strong> Used to specify the format for date to be displayed in the target control. While specifying the format use small d for the day, capital M for month &amp; small y for the year. <strong>Example</strong> The following example demonstrates how to use the calendar extender. Add a page to the website and then place a Toolkit script manager &amp; a text box on a and set ID of textbox as T1. Within html source of the page take a calendar extender and set following properties to it. &lt;asp: CalendarExtender ID=calendarExtendar1 runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T1&rdquo; popupposition =&rdquo;Right&rdquo; format=&rdquo;dd/mm/yyyy&rdquo;/&gt; At runtime when you click on the text box the calendar will pop up on right side of the text box, the selected date will be displayed in text box &amp; calendar will be hidden</p>181:T786,<h2>Collapsible Panel Extender</h2>
<p>This control is used to make a panel expanded and collapsed dynamically at runtime properties. Target Control ID : <strong>Expand Control ID :</strong> Used to specify ID of the control clicking on which the target control has to be expand. <strong>Collapse Control ID : </strong>Used to specify ID of that control clicking on which the target control has to be collapsed. <strong>Expanded size :</strong> Used to specify height of the target control when it is expanded. <strong>Collapsed size :</strong> Used to specify height of the target control when it is collapsed. <strong>Expanded Text :</strong> Used to specify the text to display when the target control is expanded within the text &amp; label <strong>Collapsed Text :</strong> Used to specify the text to display when the target control is collapsed within the text lagel. <strong>TextLabelID:</strong> Used to specify ID of a label in which you want to display expanded text and collapsed text. <strong>Example</strong> The following example demonstrates how to use the collapsible panel extender. Add a page to the website and then place a Tool kit Script manager &amp; a label &amp; panel on the page and for the label set the ID as L1 and provide some content within the panel. Within HTML source of the page Drag &amp; Drop a collapsible panel Extender and set following properties to it. &lt;asp: collapsible panel Extender ID=&rdquo; collapsible panel Extender1 runat=&rdquo;server&rdquo; targetControlID=&rdquo;panel1&rdquo; Expand controlID=&rdquo;L1&rdquo; collapse control ID=&rdquo;L1&rdquo; ExpandSize=&rdquo;150&rdquo; collapsesize=&rdquo;0&rdquo; ExpandText=&rdquo;[Click Here to collapse]&rdquo; collapsed Text=&rdquo;[click here to expand]&rdquo; TextLableID=&rdquo;L1&rdquo;&gt;&nbsp; &lt;/asp: collapsible panel Extender&gt; At runtime By clicking on the Label L1 you can collapse and expand the panel</p>182:T638,<h2>Confirm Button Extender</h2>
<p>This control is used to display a confirmation message before executing the code of a button. <strong>Properties</strong> <strong>Target Control ID : </strong>Used to specify ID of a button control for which you want to display a confirmation message. <strong>Confirm Text :</strong> Used to specify the confirm message to display when user click on the target control. <strong>Example</strong> <strong>&nbsp;</strong>The following example demonstrates how to use the confirm Button Extender. Add a page to the website and place a Tool Kit script manger on it. Take two textboxes and a Button a page and for the textboxes set the ID T1 &amp; T2 and for the Button set the ID Btncopy. Set the caption for Button as copy Write the following code within the copy button click event to copy the text in T1 to the text box T2.</p>
<h3>Button Click Event</h3>
<p><strong>&nbsp; </strong>T2. Text=T1. Text</p>
<ul>
<li>within the HTML source of the page drag &amp; drop a confirm button extender and set following properties to it.</li>
</ul>
<p>&lt;asp: confirmButtonExtender ID=confirmButton Extender1 runat=&rdquo;server&rdquo; TargetControlID=&rdquo;Btncopy&rdquo; confirm Text=&rdquo;Do you re &nbsp; Really want to copy ? &rdquo;&gt; &lt;/asp: confirmButtonExtender&gt; At runtime after typing some text in T1 if you click on the copy Button then it will display a confirmation message and within this when you click on cancel Button then executing the code of copy button will be cancelled and clicking on ok Button will execute the code of copy Button</p>183:T6da,<h2>Modal Popup Extender</h2>
<p>This control is used to display your own confirmation dialogbox instead of the default JavaScript dialog box. <strong>PopupcontroID</strong> : Used to specify the control to popup. <strong>OkcontrolID</strong> : Used to specific ID of the control that represent ok in the confirmation <strong>Cancel Control ID</strong> : Used to specify ID of the control that represent cancel in the confirmation. <strong>Target Control ID</strong> : Used to specify the ID of the control for which the model popup has to be display. This must be same has that target control ID of the confirm Button Extender for which the model popupExtender is set. <strong>Example</strong> The following example modifies the previous example to display the modelpopup extender for the confirmButton Extender Take a panel on the page and within the panel take a label and two buttons and for the label set the cation &ldquo; Do you really want to copy ? &rdquo; and for the Buttons set the caption &ldquo;yes&rdquo; and &ldquo;NO&rdquo; and set the ID of the Buttons as btnyes &amp; Btn Within HTML source of the page drag &amp; drop a Modelpopup Extender and set following properties for it. &lt;asp: ModelpopupExtender Id=ModelpopupExtender1 runat=&rdquo;server&rdquo; TargetControlID=&rdquo;Btncopy&rdquo; okcontrolID=&rdquo;Btnyes&rdquo; cancelcontrolID=&rdquo;BtnNo&rdquo; popup controlID=&rdquo;panel1&rdquo;&gt; &lt;/asp:modelpopupExtender&gt; Modify the confirmButton Extender properties as follows &lt;asp: confirmButtonExtender&nbsp;&nbsp; ID=&rdquo;ConfirmButtonExtender&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;BtnCopy&rdquo; DisplaymodalpopupId=&rdquo;modalpopupExtendar1&rdquo;&gt; &lt;/asp:ConfirmButtonExtender&gt;</p>184:T54d,<h2>Drag Panel Extender</h2>
<p>Drag panel Extender is used to allow the user to dynamically drag a panel on the page It has two important properties targetControlID &amp;&nbsp; DraghandleId where DraghandleID is used to specify ID of the control by clicking on which the target control can be dragged. While using Dragpanel Extender you must enclosed in a div tag in which the height property of style set to the required value within which the target control can be dragged <strong>Example</strong> The following example Demonstrate how to use a drag panel extender. Add &lsquo;a&rsquo; page to the website and place a Toolkit script manager and a panel on that page and within the panel take a label with the caption &ldquo;click Here TO Drag&rdquo; and next to the label provide any content within the panel. Within HTML source of the page drag and drop DragpanelExtender and set the following properties to it by enclosing it in a Div tag as follows. &lt;div style = &ldquo;height : 600px&rdquo;&gt; &lt;asp:DragpanelExtender Id=&rdquo;DragPanelExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID= &ldquo;panel1&rdquo; DragHandleID =&rsquo;Label1&rsquo;&gt; &lt;/asp: DragPanelExtender&gt; &lt;/div&gt; At runtime by clicking on the label caption &lsquo;click Here to Drag&rsquo; you can drag the panel to anywhere within an area of 600 px.</p>185:T573,<h2>Drop Shadow Extender</h2>
<p>DropshadowExtender is used to provide shadow effect for a control. It has the property target control ID to specify ID of the control which you want to extend with dropshadowExtender &amp; other properties available for it are as follows. <strong>width : </strong>Used to specify width of the shadow for the target control. <strong>Opacity : </strong>Used to specify how much opacity the show is. <strong>Rounded :</strong> Indicates whether or not corners of the target control becomes rounded. <strong>Radius:</strong> Used to specify the radius to use to make the corners of the target control rounded when Rounded property was set to &lsquo;true&rsquo; <strong>Example&nbsp;</strong> The following example demonstrates how to use drop shadow extender. Add a page to the website and place a toolkit script manager &amp; an image control on that page and set an Image in a image control by using &lsquo;Image URL&rsquo; property. Within HTML source of the page drag and drop a Dropshadowextender and set following properties to it to create shadow effect for that Image control. &lt;asp: DropShadowExtender&nbsp;&nbsp; ID=&rdquo;DropShadowExtender&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;Image1&rdquo; Radius=&rdquo;10&rdquo; Rounded =&rdquo;true&rdquo; width=&rdquo;15&rdquo; opacity=&rdquo;0.5&rdquo;&gt; &lt;/asp: DropshadowExtender&gt;</p>186:Ta03,<h2>Filtered TextBox Extender</h2>
<p>This control is used to filter the characters allowed into the textbox. <strong>TargetControlID :</strong> <strong>FilterType :</strong> Used to specify which type of filter to apply for the target control . It has 4 possible values. <strong>custom</strong> <strong>lowercase letters</strong> <strong>numbers</strong> <strong>Uppercase letters</strong> <strong>&nbsp;</strong> <strong>Filtermode : </strong>Used to specify the mode to specify to filter the characters allowed in to the target control, and it has two possible values. <strong>ValidChars : </strong>Used to specify the characters to allow into the textbox when filter mode is set to valid chars. <strong>Invalid chars :</strong> When filtermode property is set, to invalid chars then use this property to specify the list of characters that you don&rsquo;t want to allow into the target control. <strong>Example</strong> The following example uses filtered text box extender to allow any character other than uppercase characters into a text box. Add a page to the website and then take a Toolkit script manager and a textbox on the page, set ID of that textbox as T1 Within HTML source of the page drag &amp; drop a filter textbox extender and set following properties for it. &lt;asp:filteredTextBoxExtender ID=&rdquo;Filtered TextBox Extender1&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;T1&rdquo; filterMode=&rdquo;InvalidChars&rdquo; Invalidchars=&rdquo;ABCDEFGHIJKLMNOPQRSTUVWXYZ&rdquo;&gt; &lt;/asp:filteredTextBoxExtender&gt; HTML EDITOR Extender: HTML editor extender is used to extend a textbox and aloe the user to edit the text in textbox .Similar to the editor provided to type the email message while sending email. It has the property &lsquo;Toolbar&rsquo; to specify which buttons you want with in the Toolbar of HTML editor Extender. <strong>Example</strong> The following example makes a textbox as editor as textbox as an editor by using Html editor Extender. Add a page to the website , take a toolkit script manager on it along with a textbox and set ID of the textbox as T1. With in HTML source of the page drag and drop HTML editorExtender and set following properties to it &lt;asp: HTMLEditor Extender ID=&rdquo;HTML editor Extender runat =&rdquo;sever&rdquo; TargetcontrolID =&rdquo;T1&rdquo; Enable sanitization=&rdquo;false&rdquo;&gt; &lt;Toolbar&gt; &lt;asp:Bold/&gt; &lt;asp:Italic/&gt; &lt;asp:UnderLine/&gt; &lt;asp:cut/&gt; &lt;asp:copy/&gt; &lt;asp:paste/&gt; &lt;/Toolbar&gt; &lt;/asp:HTML EditorExtender&gt;</p>187:Te0b,<h2>HOVER Menu Extender</h2>
<p>HOVER Menu Extender is used to make a control visible only when mouse point is over another control.<strong>&nbsp;</strong> <strong>Properties</strong> <strong>targercontrolID:</strong> <strong>popupcontrolID :</strong> used to specify ID of the control to popup. <strong>Offset x &amp; Offset y</strong>: used tospecify psotion for the popup control relative to the target control. <strong>PopDelay</strong>: Used to specify the time in milli-seconds at which the popup control has to be popup. <strong>Example</strong> The following example demonstrates how to use the HOVER MenuExtender. Add a page to the website and then take a Toolkit Script manager on it and then a gridview control, for the gridview control set the ID &lsquo;GVDept&rsquo;, Autogenerate columns property to false and then create a layout of gridview control with in HTML source of the page as follows: with in GV Control &lt;columns&gt; &lt;asp:TemplateField Headertext=&rdquo;Deptno&rdquo;&gt; &lt;Item Template &gt; &lt;asp:Linkbutton ID =&rdquo;LnkEdit&rdquo; runat =&rdquo;server&rdquo; Text=&rdquo;Edit&rdquo; commandName=&rdquo;Edit&rdquo;/&gt; &lt;asp: Label ID=&rdquo;lblDno&rdquo; runat=&rdquo;Server&rdquo; Text=&rsquo;&lt;%#Eval(&ldquo;Deptno&rdquo;)%&gt;/&gt; &lt;asp:HoverMenuExtender&nbsp; ID=&rdquo;HoverMenuExtender1&rdquo; runat=&rdquo;Server&rdquo; TargetControlID=&rdquo;LblDno&rdquo; popupcontrolID=&rdquo;LnkEdit&rdquo; offset=&rdquo;-40&rdquo; popDelay=&rdquo;50&rdquo; &gt; &lt;/asp: HoverMenuExtender&gt; &lt;/ItemTemplate&gt; &lt;EditItemTemplate&gt; &lt;asp: Label ID =&rdquo;lblDno&rdquo; runat=&rdquo;server&rdquo; Text=&lt;%#Eval(&ldquo;Deptno&rdquo;)%&gt;/&gt; &lt;/EditItemTemplate&gt; &lt;/asp: Templatefield&gt; &lt;asp:TemplateField HeaderText=&rdquo;Dname&rdquo;&gt; &lt;ItemTemplate&gt; &lt;asp:Labek ID=&rdquo;LblDame&rdquo; runat=&rdquo;server&rdquo; Text=&lt;%#Eval(&ldquo;Dname&rdquo;%&gt;/&gt; &lt;/ItemTemplate&gt; &lt;EditItem Template&gt; &lt;asp:TextBox Id=&rdquo;TxtDname&rdquo; runat=&rdquo;server&rdquo; Text=&rdquo;&lt;%#Bind(&lsquo;Dname&rsquo;)%&gt;/&gt; &lt;/EditItemTemplate&gt; &lt;/asp:TemplateFiled&gt; &lt;asp: TemplateField HeaderText=&rdquo;Location&rdquo;&gt; &lt;Item Template&gt; &lt;asp:Label ID=&rdquo;LblLoc&rdquo; runat=&rdquo;server&rdquo; Text=&rsquo;&lt;%#Eval(&ldquo;Loc&rdquo;)%&gt;/&gt; &lt;/ItemTemplate&gt; &lt;EditItem Template&gt; &lt;asp: TextBox ID=&rdquo;TxtLoc&rdquo; runat=&rdquo;Server&rdquo; Text=&rdquo;&lt;%#Bind(&lsquo;Loc&rsquo;)%&gt;/&gt; &lt;/EditItemTemplate&gt; &lt;/asp:TemplateField&gt;&lt;/columns&gt; &lt;asp:Gridview&gt; Within the code of the page create a method with the name FillGrid() as follows and calling the method in the pagelaod event. private void FillGrid() { sqlconnection Cn= new sqlconnection( &ldquo;Server=Nikhil, Database=mydb; Uid=sa; pwd=123&rdquo;); SqlDataAdapter Da= new SqlDataAdapater(&ldquo;Select * from dept&rdquo;, Cn); Dataset Ds=new Dataset(); Da.fill(Ds,&rdquo;Dept&rdquo;) GVDept.DataSource=DS.Tables[&ldquo;Dept&rdquo;]; GVDept.DataBind(); } Call the fillGrid() method.In page load event. Write the following code with in the &lsquo;RowEditing&rsquo; event of te GridView to convert the row into edit mode. under GVDept-RowEditing &ndash;Event { GVDept.EditIndex=e.NewEditIndex; FillGrid(); } At runtime when you place mouse pointer over the Deptno then the edit LinkButton will display to the left of the Deptno and clicking on the Edit Button will convert the row to edit mode. Until mouse pointer is over when you place mouse pointer over the Deptno.</p>188:T7d5,<h2>Drop Down Extender</h2>
<p>DropDownExtender is used to make a control DropDown when user click on another control and immediately after user select a option fromit&nbsp; the control dropeddown will be automatically hidden. <strong>Properties</strong> <strong>Target ControlID:</strong> <strong>DropDownControlID</strong>: Used to specify the ID of the control to dropdown when user click on the target control. <strong>Example</strong> The following example demonstrates how to use dropdown Extender control. Add apage to the website and then place a Toolkit Script manager on ti and then an Image control &amp; just below the Image control take a panel and within the panel take three linkbuttons with the captions get to Name of an Image available in&nbsp; your website. Within code of the page create a method with the name linkclicked and with inthat methos write the following code. &nbsp; protected void LinkClicked(object Sender,EventArgs e) { string path=&rdquo;~/image/&rdquo;+((LinkButton) sender).Text+&rdquo;.jpg&rdquo;; Image1.ImageUrl=path; } With in the properties of 3 LinkButtons get the click event to name of the methos we created in the code that is &lsquo;LinkClicked&rsquo;. Set ImageUrl Property for the Image control within the pageload event as follows to display the Image in Image Control Immediately page is loaded. -Page Load &ndash; Image1.ImageUrl=&rdquo;~/Images/Tulips.jpg&rdquo;; Within HTML source of the page drag and DropDownExtender and set following properties to it. &lt;asp:DropDownExtender ID=&rdquo;DropDownExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;Image1&rdquo;DropDownControlID=&rdquo;Panel1&rdquo;&gt; &lt;/asp:DropDownExtender&gt; At runtime when you click on the image then the panel will dropDownjust below the Image control and clicking on LinkButtion will display corresponding Image with in the ImageControl and the panel will be automatically hidden. *http://www.visualstudiolaunch.com/vs2012vle/Home visualstudio-2012.</p>189:Tc77,<h2>Dynamic Populate Extender</h2>
<p>This control is used to populate a control available on the page dynamically with data. <strong>It has following properties:</strong> <strong>Target ControlID</strong> used to specify ID of the control to extend. <strong>ServiceMethod</strong> used to specify the name of the method that will return the data to populate in the targetcontrol. <strong>Example</strong> The following example populates a panel control with a gridview with data from the table based on the linkbutton on which user will click. Add a page to the website and place a ToolKit ScriptManger on it. Within HTMLsource of the page with in the headsection create a Javascript function with the name getdata as follows. &lt;script type=&rdquo;text/javascript&rdquo;&gt; function getdata(value) { var D =$find(&lsquo;Dynamic populateExtender1&rsquo;); if(D) D.populate(value); } &lt;/script&gt; With in HTML source of the page enclose each linkbutton in separate &lt;div&gt; tag &amp; for that &lt;div&gt; tag in the &lsquo;onlclick&rsquo; event call the javascript function getdata by setting the values 0, 1, &amp; 2 respectively. &lt;div onlcick=&rdquo;getdata(this.value) value=&rdquo;0&rdquo;&gt; &lt;asp:LinkButton- - - - - - - - - --- -- - - - - - &lt;/div&gt; &lt;div onclick =&rdquo;getdata(this.value)&rdquo; value=&rdquo;1&rdquo;&gt; &lt;asp:LinkButton --- - - - - - - - - - &lt;/div&gt; &lt;div onclick=&rdquo;getdata(this.value)&rdquo;value=&rdquo;2&rdquo;&gt; &lt;asp: LinkButton - - - - - - - - - - - - - &lt;/div&gt; With in HTML source of the page take a Dynamic populate Extender and set following properties for it. &lt;asp:Dynamic populate Extender Id =&rdquo;DynamicPopulateExtender1&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;panel1&rdquo; ServiceMethod=&rdquo;GetData&rdquo;&gt; &lt;/asp:DynamicpopulateExtender&gt; With in the Design of the page click on the smart tag ofpanel control and choose &ldquo;add dynamic populate method &ldquo; that will create a method in the code with same name as the service method set for Dynamic populate method. Public static string GetData(string contextKey) { sql connection cn=new sql connection(&ldquo;server=Nikhil;database=mydb; uid=sa; pwd=123&rdquo;); SqlDataAdapte Da= new SqlDataAdapater(&ldquo;Select*from EMP&rdquo;,cn); Switch(contentkey) { case&rdquo;1&rdquo;; Da=new SqlDataAdapter(&ldquo;Select * from dept&rdquo;,cn); break; case&rdquo;1&rdquo;; Da=new SqlDataAdapter(&ldquo;Select * from programmer&rdquo;,cn); break; &nbsp; } Dataset Da=new .Dataset(); Da.Fill(DS); Gridview GV=new GridView(); GV.Datasource=Ds.Tables[0]; GV.DataBind(); Stringwritter SW=new stringWriter(); HTML textwritter HTW=new HTML TextWriter(SW); GV.RenderControl(HTW); HTW.close(); return SW.Tostring(); } At runtime when you click on the linkbutton caption employees it will get the data from EMP table ,When you click on LinkButton with the caption Departments,then it will get the data from Dept table and when you click on the LinkButton with the caption programmers, is will get the data from the programmers table and this data will be filles with in a GV and the GV will populate into the panel,Dynamically.</p>18a:T666,<h2>List Search Extender</h2>
<p>ListSearchExtender is used with a ListBox control to Automatically select the item starting with the letters you type in the text box.</p>
<h3>Properties</h3>
<p>TargetControlID: <strong>Prompt Position:</strong> Used to specify where to display the prompt for the target control. <strong>Prompt Text :</strong> Used to specify the default promptText. <strong>Prompt CSS class :</strong> Used to specify the CSS class to use to display the prompt. <strong>Example&nbsp;</strong> The following example demonstrates how to use the list search extender. Add a page to the website and then place a Toolkit Script Manager and a ListBox on the page and within the Listbox Add some Items. Within HTML source of the page with in the head section create a CSS style with the name prompt as follws. &lt;style type=&rdquo;text/css&rdquo;&gt; .prompt { font-family:Arial Black; font-size:medium; color : Blue; } <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>&lt;/style&gt; &nbsp; Within HTML Source itself Drag &amp; drop a ListSearchExtender and set following properties to it. &lt;asp: ListsearchExtender&nbsp;&nbsp; Id=&rdquo;ListSearchExtende1&rdquo;&nbsp; runat=&rdquo;server&rdquo;&nbsp; TargetControlID=&rdquo;L1&rdquo;&nbsp;&nbsp; Promptposition=&rdquo;Top&rdquo;&nbsp; PromptText=&rdquo;Type The text&rdquo; promptcssclass=&rdquo;prompt&rdquo;&gt; &lt;/asp:ListSearchExtender&gt; At runtime while focus is in the ListBox if you the text then the first Item in the LB starting with text you typed will automatically selected.</p>18b:T11c7,<h2>Masked Edit Extender</h2>
<p>This Control is used to provide a mask to the control to restrict it to accept only specific data <strong>Properties</strong> <strong>TargetControlID :</strong> <strong>Mask Type :&nbsp;</strong>Used to specify the type of mask to apply for the target control. This can be&nbsp;Datetime</p>
<ul>
<li>Date</li>
<li>None</li>
<li>Number</li>
<li>Time</li>
</ul>
<p><strong>Mask :&nbsp;</strong> Used to specify the mask for the target control based on the mask type. <strong>Autocomplete :</strong> Indicates whether or not the value of target control is automatically completed if user make it incomplete. <strong>&nbsp;</strong></p>
<h2>Masked Edit Validate</h2>
<p>This control is used to validate the control that is extended with masked edit extender. <strong>Properties&nbsp;</strong> <strong>Control To Validate :</strong></p>
<ul>
<li>Used to specify the ID of the control to validate using Masked Edit Validator this must be same as TargetCotnrolID of Masked Edit Extender</li>
</ul>
<p><strong>ControlExtender:</strong></p>
<ul>
<li>Used to specify the ID of the maskedEditExtender which you are extending with masked edit Validator.</li>
</ul>
<p><strong>ISvalid Empty :</strong></p>
<ul>
<li>Indicates Whether or not the control to validate will be valid if it is empty.</li>
</ul>
<p><strong>Invalid Value Message :</strong></p>
<ul>
<li>Used to specify the error Message to display when the value in control to validate is invalid based on Mask set for Masked Edit Extender.</li>
</ul>
<p><strong>Empty value Message :</strong> Used to specify the error message to display when control is empty and this can be set only when is valid empty property is set to false. To specify the mask for the masked Edit Extender control you can use the following&nbsp; characters. 9&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &ndash;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only a numeric character L&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only a letter $&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only a letter or a space C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only a custom character (case Sensitive) A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only a letter or a custom character N&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only a numeric or custom character ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Any Character /&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Date separator :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Time Separator .&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Decimal Separator ,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thousand Separator \&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Escape Character {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Initial decimal for repetition of masks }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Final delimiter for repetition of masks <strong>Example</strong> The following example demonstrates how to use maskedEditExtender &amp; maskedEditValidator. Add a page to the website and then place a toolkit script manager &amp; a textbox on it and set ID of the Textobx as T1. Within HTML Source of the page drag &amp; drop a masked Edit Extender and set following properties to it make the Textobx T1 accept only Date. &lt;asp: MaskedEditExtender&nbsp; Id=&rdquo;MaskedEditExtender&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;T1&rdquo; MaskType=&rdquo;Date&rdquo; Mask=&rdquo;99/99/9999&rdquo; Autocomplete=&rdquo;false&rdquo;&gt; &lt;/asp: Masked Edit Extender&gt; Within HTML Source of the page Drag &amp; Drop a masked Edit Validator and set following properties for it to validate Textbox T1 based on the mask set for maskedEditExtender1 &lt;asp: MaskedEditValidator ID=&rdquo;MaskedEditValidator1&rdquo; runat=&rdquo;server&rdquo; controlTOValidate = &ldquo;T1&rdquo; ControlExtender=&rdquo;maskedEditExtender1&rdquo; ISValidEmpty=&rdquo;true&rdquo; InvalidvalueMessage=&rdquo;You must enter date in dd/mm/yyyy format&rdquo;&gt; &lt;/asp:MaskedEditValidator&gt; At runtime when user is providing an Invalidvalue in the textbox t1 then an error message is display with masked Editvalidator.</p>18c:T6d3,<h2>Mutually Exclusive Checkbox Extender</h2>
<p>This control is used with checkboxes to provide multiple options to the user using checkboxes and allow the user to select only one or none. <strong>Properties</strong> <strong>TargetControlID:</strong> <strong>Key:</strong> Used to specify a group name for checkboxes so that a set of mutually exclusive checkBoxExtenders will be treated as one group and allows the user to select only one or more from the group. <strong>Example</strong> The following Example demonstrates how to use mutually</p>
<h2>Exculsive CheckBOXExtender Control</h2>
<p>Add a page to the website and then place a Toolkit Script manager &amp; three checkboxes on it and set their ID&rsquo;s as C1, C2, &amp;C3 respectively. Also set a caption for all three checkboxes. Within HTML source of the page drag &amp; drop three mutuallyExclusiveChackBoxExtender control and set following properties for it. &lt;asp : MutuallyExtensivecheck Box Extender ID=&rdquo;MutuallyExclusivecheckBoxExtender1&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;C1&rdquo; key=&rdquo;MyGroup&rdquo;&gt; &lt;/asp : MutuallyExculsivecheckBoxExtender&gt; &lt;asp:MutuallyExclusiveCheckBoxExtender2 Id=&rdquo;MutuallyExclusiveCheckBoxExtender2&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;C2&rdquo; Key=&rdquo;mygroup&rdquo;&gt; &lt;/asp: MutuallyExclusivecheckboxExtender&gt; &lt;asp: MutuallyExclusiveCheckBoxExtener ID=&rdquo; mutually Exclusive CheckBoxExtender3&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;c3&rdquo; Key=&rdquo;MyGroup&rdquo;&gt; &lt;/asp:MutuallyExclusiveCheckBoxExtender&gt; At runtime among these three checkboxes you can select only one or none, which is not possible with radio buttons.</p>18d:T767,<h2>Numericup Down Extender</h2>
<p>NumericupDownExtender is used with a TextBox control to allow the user to select a value from a list of values by clickin g on Up &amp; Down arrow keys.<strong>&nbsp;</strong> <strong>Properties</strong> <strong>TargetControlID :</strong> <strong>Minimum &amp; Maximum : </strong>Used to specify minimum &amp; maximum values user can select with NumbericupDownExtender. <strong>Step :</strong> Used to specify the value to increment or decrement when user click on up &amp; Down arrow keys. <strong>refValues :</strong> Used to specify the list of string values separated with semi colon when you want to use numericupDownExtender to select the string values.</p>
<h3><strong>Example</strong></h3>
<p>The following example demonstrates how to use NumericupDownExtender control Add a page to the website and then take aToolkitscriptmanager &amp; 2 text boxes on it and set their ID&rsquo;s as T1 &amp; T2. Within HTML source of the page Drag &amp; Drop a numeric updownExtender and set following properties for it to allow the user to select values in the range of 1 to 100 within the 1 to 100 within the textbox T1 by using numericupdownextender &lt;asp:NumericupDownExtender&nbsp; ID=&rdquo;NumericupdownExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T1&rdquo; Minimum = &ldquo;1&rdquo; Maximum =&rdquo;100&rdquo; step=&rdquo;5&rdquo; width=&rdquo;100&rdquo;&gt; &lt;/asp:NumericDownExtender&gt; Within HTML source itself Drag &amp; Drop another numeric updown Extender and set following properties for it to allow the user to select a month within the textbox T2 by using NumericupDownExtender. &lt;asp:NumericDownExtender ID=&rdquo;NumericupdownExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T2&rdquo; Refvalues=&rdquo;Jan;Feb;Mar;Apr;May;June;July;Aug;Sep;Oct;Nov;Dec&rdquo;&gt; &lt;/asp:NumericDownExtender&gt;</p>18e:T509,<h2>Paging Bulleted List Extender</h2>
<p>This control is used to apply paging for bulleted list control. This control has only one important property Target controls. Bulleted list control to extend using the paging Bulleted List Extender. <strong>Example</strong> The following example demonstrates how to use the paging Bulleted ListExtender control Add a page to the website and then take a ToolkitScriptManager and a BulletedList control and set ID of the BulletedList control as B2. Within the page load event write the following code to get employees names from the table Emp and display them in BulletedList control PageLoad : { sqlconnection cn = new sqlconnection(&ldquo;server=Nikhil;database=Mydb;UserId=sa;password=123&rdquo;); sqlDataAdapter Da= new sqlDataAdapter(&ldquo;select Ename from EMP order by Ename&rdquo;,cn); Dataset DS= new Dataset(); Da.fill(Ds,&rdquo;Emp&rdquo;); BL.Datasource=DS.Table[&ldquo;EMP&rdquo;]; BL.DataTextfiled=&rdquo;Ename&rdquo;; BL.DataBind(); }} Within HTML source of the page Drag &amp; Drop a paging Bulleted listExtender and set its TargetControlID property to the ID of Bulleted list that is BL. At runtime employees name are displayed in BulletedList by dividing them into pages based on Alphabets with which the employee name starts.</p>18f:T699,<h2>Popup Control Extender</h2>
<p>PopupcontrolExtender is used to make a control popup when user click on a control display the selected value in the target control&nbsp; and hide the popupcontrol. <strong>Properties</strong> <strong>TargetcontrolID :</strong> <strong>PopupcontrolID :</strong> Used to specify ID of the control to popup when the user click on the target control <strong>offset x &amp; offset Y</strong> : Used to specify position of the popup control relative to the target control</p>
<h3><strong>Example</strong></h3>
<p>The following example demonstrates how to use the popupcontrolExtender. Add a page to the website and place a ToolkitScriptManager followed by an update panel &amp; within the update panel a textbox &amp; panel and for the textbox set the ID as T1. Within the panel control in updatepanel take a radiobuttonlist control, set its ID as &lsquo;RL&rsquo; and Add some items to it using the items property. Within HTML source of the page Drag &amp; Drop a popup control/Extender and set following properties for it. &lt;asp:popupcontrolExtender ID=&rdquo;popupcontrolExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T1&rdquo; popupcontrolID=&rdquo;panel1&rdquo;&nbsp; offset=&rdquo;30&rdquo;&gt; &lt;/asp:popupcontrolExtender&gt; For the RadioButtonList set Autopostback property true and write the following code within selectedIndexchanged of that RadioButtonList. RL-selectedIndexchanged { popupcontrolExtender1.commit(RL.selcted value); } At runtime when you click in the Textbox the panel with RadiobuttonList will popup and whatever the Radiobutton you select, value of that radiobutton will be displayed and will be hidden</p>190:T74b,<h2>Resizable Control Extender</h2>
<p><strong>&nbsp;</strong>This control is used to allow the user to resize a control dynamically at runtime. <strong>TargetcontrolID :</strong> <strong>Handlecssclass:</strong> Used to specify the css class use display the handle for the Targetcontrol by clicking on which user <strong>Resizablecssclass </strong>: Used to specify the cassclass to use to change the appearance of the TargetControl while it is resized. <strong>Minumumwidth &amp; Minimum Height :</strong> Used to specify Maximum width &amp; height for the Target control.</p>
<h3>Example</h3>
<p>The following example demonstrates how to use the resizable controlextender. Add a page to the website and then place a Toolkitscript Manager &amp; a panel on the page and within the panel take an image control and within HTML source of the page for image control remove the complete value of &lsquo;style&rsquo; property and then set &lsquo;width &amp; height &rsquo; properties within the style to 100 % Within HTML source of the page within the head section create two css styles with the names &lsquo;handle &rsquo; and &lsquo;resize&rsquo; as follows &lt;style type=&rdquo;text/css&rdquo;&gt; .handle { background-color:Black; width : 10 px; height:10px; } .resize { border-style&nbsp; : solid; border-width:thich; border-color:Blue; } &lt;/style&gt; Within the HTML source of the page itself drag &amp; drop a resizable control Extender &amp; set following properties to it. (within panel) &lt;asp:Resizablecontrolextender ID=&rdquo;ResizablecontrolExtender&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;panel1&rdquo; Handlecssclass=&rdquo;handle&rdquo; Resizablecssclass=&rdquo;resize&rdquo;&gt; &lt;/asp:ResizablecontrolExtender&gt; At runtime by clicking on the handle available at the bottom right corner of the panel you can resize the panel.</p>191:T57b,<h2>Slider Extender</h2>
<p><strong>&nbsp;</strong>Slider Extender control is used to provide a slider on the page and allow the user to select a value within a specified rang using the slide. <strong>TargetContorlID:</strong> <strong>BoundcontrolID : </strong>Used to specify the control with in which you want to display the current value of the slide. <strong>Minimum &amp; Maximum :</strong> Used to specify the range of values user can select with slider Extender <strong>Decimals </strong>: Used to specify number of digits you want to display after the decimal point. <strong>Example</strong> The following example demonstrates how to use the slider extender. Add a page to the website and place aToolkitscriptManager and a Textbox &amp; label and set the ID&rsquo;s of Textbox &amp; lable as T1 &amp; L1. Within HTML Source of the page drag &amp; drop a sliderExtender &amp; set following properties for it. &lt;asp:sliderExtender ID=&rdquo;sliderExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T1&rdquo; BoundcontrolID=&rdquo;21&rdquo; Minimum=&rdquo;10&rdquo; Maximum=&rdquo;100&rdquo; decimals=&rdquo;2&rdquo;&gt; &lt;/asp:sliderExtender&gt; At runtime in the place of TextBox you will get slider and when you select a value in the slider and when you select a value in the slider using the slider handle then the current value of the slider will be displayed in label.</p>192:Te30,<h2>Slide Show Extender</h2>
<p>This control is used to create a slideshow of images and allow the user to navigate between the slides next and previous and also play the slide at specified intervals. <strong>Properties&nbsp;</strong> <strong>TargetContorlID:</strong> I<strong>magedescriptionLabelID </strong>: Used to specify the ID of the label in which you want to display description of the current image. <strong>ImageTitleLabelID :</strong> Used to specify ID of the label in which you want to display title of the current image. <strong>Next Button ID :</strong> Used to specify ID of the Button that is used to move to the next slide. <strong>previousButton Id :</strong> Used to specify ID of the button to use to move to the previous slide. <strong>playButtonID :</strong> Used to specify ID of the Button to use to play the slideshow. <strong>PlayButton Text :</strong> Used to set a caption for the play button. <strong>StopButtonText :</strong> Used to set a caption for stop button. <strong>PlayInterval :</strong> Used to specify the interval in milli seconds at which the slide as to be changed when you start playing the slide show. <strong>SlideshowserviceMethod :</strong> Used to specify a method name that will return the images to display in the slideshow as slide array. <strong>Loop :</strong> Indicates whether or not the slideshow will continuous in a loop without stopping after playing it for once.</p>
<h3>Example</h3>
<p>The following example demonstrates how to use the slideshow extender. Add a page to the website and then place a ToolkitscriptManager on it &amp; then a panel &amp; design the panel as follows. &nbsp; <img class="alignnone size-full wp-image-9150" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_901.png" alt="Screenshot_90" width="286" height="266" /> &nbsp; Within the HTML source of the page drag &amp; drop a slideshow extender and set following properties for it. &lt;asp:slideshowextender&nbsp; Id=&rdquo;slideshowExtender&rdquo; runat=&rdquo;server&rdquo; imageDescriptionLableID=&rdquo;L2&rdquo; ImageTitleLabelID=&rdquo;L1&rdquo;&nbsp; NextButtonId=&rdquo;Btnnext&rdquo;&nbsp; playButtonText=&rdquo;play&rdquo;&nbsp; playbuttonID=&rdquo;Btnplay&rdquo; stopButtonText=&rdquo;stop&rdquo; previousButtonID=&rdquo;btnprev&rdquo; playinterval=&rdquo;3000&rdquo; slideshowservicemethod=&rdquo;Getimages&rdquo; usecontextkey=&rdquo;True&rdquo; Loop=&rdquo;true&rdquo; &gt; &lt;/asp:slideshowExtender&gt; Within the design of the page click on the smart tag and choose &ldquo; Add slideshow pageMethod&rdquo; option that will create a method in the code with the same name as the method name you set for the slide show service method property of the slideshowextender write the following code within that method. using system.AjaxcontrolToolkit; public static&hellip;. { return new slide[] { new slide(&ldquo;Image/Desert.jpg&rdquo; ,&rdquo;Desert&rdquo;, &ldquo;This is Desert Image&rdquo;); new slide(&ldquo;images/Lighthouse.jpg&rdquo;,&rdquo;Lighthouse&rdquo; . &ldquo;This is lighthouse image&rdquo;); new slide(&ldquo;Images/penguins.jpg&rdquo;,&rdquo;penguins&rdquo;,&rdquo;This is LighthouseImage&rdquo;); new slide(&ldquo;Images/Tulips.jpg&rdquo;,&rdquo;koala&rdquo;,&rdquo;This is koala Image&rdquo;) }; } At runtime by default first image will be displayed in image control &amp; by clicking on next button you can move to the next slide, by clicking on previous button you can move the previous slide &amp; by clicking on play button you can play the slideshow at the interval specified with playInteraval property.</p>193:T630,<h2>TextBox WaterMark Extender</h2>
<p>This control is used to provide watermark for the textbox Indicating what value to input in the textbox without using a label to provide a caption for the textbox properties. &nbsp; <strong>TargetControlID :</strong> <strong>WatermarkText </strong>: Used to specify what is the text to display in textbox as watermark. <strong>Watermarkcssclass</strong>: Used to specify the cssclass to use to display the watermark. <strong>Example&nbsp;</strong> The following example demonstrates how to use Textbox water mark extender. Add a page to the website and then take a Toolkitscriptmanager &amp; two textboxes on the page and set ID&rsquo;s of Textboxes as T1 &amp; T2. Within HTML source of the page within the head section create a css class with the name watermark as follows. &lt;style type=&rdquo;text/css&rdquo;&gt; .watermark { font-family : ArialBlack; font-size: large; color: Gray; } &lt;/style&gt; Within HTML Source itself drag &amp; drop two textbox watermark extenders and set following properties for that &lt;asp: TextBoxWatermarkExtender ID=&rdquo;TextBoxWaterMarkExtender&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T1&rdquo; watermarkText=&rdquo;userID&rdquo; watermarkcssclass=&rdquo;watermark&rdquo;&gt;&lt;/asp:Textboxwatermarkextender&gt; &lt;asp:TextBoxWatermarkExtender Id=&rdquo;TextBoxWaterMarkExtender 2&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T2&rdquo; watermarkText=&rdquo;password&rdquo; watermarkcssclass=&rdquo;watermark&rdquo;&gt;&nbsp; &lt;/asp:TextBoxWatermarkExtender&gt; &nbsp;</p>194:T4d6,<h2>Toggle Button Extender</h2>
<p>This control is used with checkbox and it is used to provide different for checkboxes when it is checked and unchecked</p>
<h3>&nbsp;P<strong>roperties&nbsp;</strong></h3>
<p><strong>TargetControlID:</strong> <strong>CheckImageURL :</strong> Used to specify url of the image to display when the Targetcontrol is checked. <strong>UncheckImageURl </strong>: Used to specify url of the image to display when the target control is unchecked. Imagewidth &amp; image height : Used to specify width &amp; height of the image. <strong>Example&nbsp;</strong> The following example demonstrates how&nbsp; to use the ToggleButtonExtender Add a page to the website &amp; place a ToolkitScriptmanager &amp; a check box on it &amp; for the checkbox set the ID as C1. With the HTML source of the page drag &amp; drop a Toggle Button Extender and set following properties for it. &lt;asp:ToggleButtonExtender&nbsp; Id=&rdquo;ToggleButtonExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;c1&rdquo; checkedImageurl=&rdquo;~/Images/checked.ico&rdquo; uncheckedimageurl=&rdquo;~/images/unchecked.ico&rdquo; imagewidth=&rdquo;20&rdquo; image height=&rdquo;20&rdquo;&gt; &lt;/asp:ToggleButtonExtender&gt;</p>195:T51a,<h2>Validator Callout Extender</h2>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>This control is used with validation controls to display the error message in a callout. It has only one important property TargetcontrolID.</p>
<h3><strong>Example</strong></h3>
<p>The following example demonstrates how to use valiudatorcalloutextender. Add a page to the website and then take a Toolkit scriptmanager &amp; a Textbox &amp; a requiredfillvalidator &amp; a button on the page and set following properties for the required field validator. controlTovalidate&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Textbox1 ErrorMessage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This TextBox must not be Blank Display&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; None Within HTML source of the page Drag &amp; drop a validatorcalloutextender &amp; set its Target controlID to the ID of required field validator that os &lsquo;Required field validator1&rsquo;</p>196:T7b8,<h2 style="text-align: justify;">Update Panel Animation Extender</h2>
<p style="text-align: justify;"><strong>&nbsp;</strong>This control is used to extend the update panel and create animations for update panel while updating the update panel is in progress or updating update panel is completed . It has the property TargetControlID to specify the ID of the updatepanle to extend &amp; animations property is used to specify the animations to play with in animations property you can use the events &lsquo;on updated&rsquo; &amp; &lsquo;on updating&rsquo; It supports the all the animations that are supported&nbsp; by AnimationExtender.</p>
<h3 style="text-align: justify;"><strong>Example&nbsp;</strong></h3>
<p style="text-align: justify;">The following example demonstrates how to use update panel Animation Extender.</p>
<p style="text-align: justify;">Add a page to the website and place a Toolkitscriptmanager and an updatepanel &amp; within the updatepanel take one label &amp; calendercontrol &amp; then write the following code with in the calendar selection changed event</p>
<p style="text-align: justify;">Label1.text=Calender1.selectedDate.ToshortDateString();</p>
<p style="text-align: justify;">Within the HTML source of the page drag &amp; drop an updatepanelAnimation extender and set following properties to it.</p>
<p style="text-align: justify;">&lt;asp: updatepanelAnimationExtender Id=&rdquo;updatepanelAnimationExtender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;updatepanel1&rdquo;&gt; &lt;Animations&gt;</p>
<p style="text-align: justify;">&lt;onupdated&gt;</p>
<p style="text-align: justify;">&lt;color propertykey = &ldquo;background&rdquo; startvalue=&rdquo;#999966&rdquo;&nbsp; Endvalue=&rdquo;#FFFFFF&rdquo; Duration=&rdquo;3.0&rdquo; /&gt;</p>
<p style="text-align: justify;">&lt;/onupdated&gt;</p>
<p style="text-align: justify;">&lt;/Animation&gt;</p>
<p style="text-align: justify;">&lt;/asp:updatepanelAnimationExtender</p>197:T7d8,<h2>Rating</h2>
<p>Rating control is used to accept rating from user and it has the following important properties. <strong>Starcss class:</strong> Used to specify the css class to use to display the star within the rating control. <strong>Empty starcssclass</strong>: Used to specify the cssclass to use to display an empty star with the Rating control. <strong>Filledstarcssclass:</strong> Used to specify the cssclass to use to display a filledstar with in the rating control. <strong>Waiting starcssclass:</strong> Used to specify the css class to use to display the star that is waiting to be selected. <strong>MaxRating:</strong> Used to specify the maximum rating user can select. <strong>CurrentRating:</strong> Used to get or set the current rating. <strong>Example</strong> The following example demonstrates how to use the rating control. Add a page to the website and place a ToolKitScriptManager, aRating Control &amp; a Label on the page. With in the HTML Source of the page in the headsection create css class as follows. &lt;style type=&rdquo;text/css&rdquo;&gt; .star { width:30px; height:30px; background-repeat: no-repeat; padding:0px; margin:0px; } .emptystar { background-Image:Url(Images/emptystar.png); } .filledstar { background-Image:Url(Images/filledstar.png); } &lt;/style&gt; Within HTML source it self set following properties for the Rating control. &lt;asp:Rating ID=&rdquo;Rating1&rdquo; runat=&rdquo;server&rdquo; starcssclas=&rdquo;Star&rdquo; Emptystarcssclass=&rdquo;emptystar&rdquo; filledstarcssclass=&rdquo;filledstar&rdquo; waitingstarcssclass=&rdquo;emptystar&rdquo; MaxRating=&rdquo;5&rdquo; CurrentRating=&rdquo;2&rdquo; AutpostBack=&rdquo;True&rdquo;&gt; &lt;asp:Rating&gt; For the label make the text property empty and write the following code with in &lsquo;changed&rsquo; event of rating control. Rating1-changed { Label1.text=&rdquo;Rating Given Is&rdquo; + Rating1.currentRating.Tostring(); } } site <a href="http://www.asp.net/ajax">www.asp.net/ajax</a></p>198:T913,<h2>Password Strength</h2>
<p>This control is used to provide password strength with in either the text or bar indicator. <strong>Properties</strong> <strong>TargetControlID:</strong> <strong>StrengthIndicator Type:</strong> Used to specify what is the indicator typeto use that has two options text and bar indicator. <strong>Text strength Descriptions :</strong> Used to specify list of strings to display indicating the strength separated with semicolon. <strong>Textstrength Description style:</strong> list of CSS class separated with semicolon which are used to represent the strength. <strong>Barbordercss class</strong>:</p>
<ul>
<li>Used to specify the css class ti use for the border when the strength indicator type is set to Bar indicator.</li>
</ul>
<p><strong>Example</strong> The following example demonstrates how to use the password strength control. Add a page to the website and place a Toolkit Script manager followed by two textboxes on the page and set ID of the Textboxes. With in HTML source of the page in the head section create css style as follows &lt;style type=&rdquo;text/css&rdquo;&gt; .poor{background-color:Red; color:white; font-family:Arial Black; font-size:large; } .weak {background-color:Maroon; color:white; font-family:Arial Black; font-size:large; } .good { background-color:blue; color:white; font-family:Arial Black; font-size:large; } .strong { background-color:green; color:white; font-family:Arial Black; font-size:large; } .border { border-style:solid; border-width:medium; border-color:Blue; width:180px; padding:2px; } &lt;/style&gt; Within HTML source it self take two password strength controls and set following properties for it. &lt;asp:passwordstrength ID=&rdquo;passwordstrength1&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;T1&rdquo; TextstrengthDescriptions=&rdquo;poor;weak;good;strong&rdquo; Textstrenght DescriptionsStyles=&rdquo;poor;weak;good;strong&rdquo; StrengthIndicatorType=&rdquo;Text&rdquo;&gt; &lt;asp:passwordstrength&gt; &lt;asp:passwordstrengthId=&rdquo;passwordstrength2&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;T2&rdquo; BarBorderCssclass=&rdquo;border&rdquo;&nbsp; TextstrengthDescriptionStyles=&rdquo;poor;weak;good;strong&rdquo; StrengthIndicatorType=&rdquo;BarIndicator&rdquo;&gt; &lt;/asp:Passwordstrength&gt;</p>199:T75e,<h2>Tab Container</h2>
<p>Tabcontainer is used to create a tabbed Interface on the page.It has the tabpanel to specify&nbsp; the Tabpanels to create with in the Tabconstainer&amp; every tab panel has &lsquo;headerTemplate&amp; &lsquo;Contenttemplate&rsquo;Where Header Template is used to provide heading&nbsp; for the Tabpanel and content Template is used to the content to display on the Tabpanel.Other properties Tab container has are as follows.</p>
<h2>Tab Strip Placement</h2>
<p>Used to specify where to display the Tabstrips with in the Tab container, <strong>Scroll bars</strong> Used to specify which scroll bars you want to display for the Tabcontainer .It has the following options. None Horizontal Vertical Both Auto</p>
<h2>Active Tab Index</h2>
<p>Used to get or set the Indes of the tab which is currently active in tab container. It has the event &lsquo;Active Tabchanged&rsquo; as the default event that will be raised whenever user select a new tabpanel with in the tabeconatiner</p>
<h3><strong>Example</strong></h3>
<p>the following example creates a tabcontainer with two tabpanels within it. Add a page to the website ,take a toolkit script manager on the page and within HTML source of the page create tab panels within the tab container. &lt;asp: Tabpanel ID=&rdquo;Tp1&rdquo; runat=&rdquo;server&rdquo;&gt; &lt;headerTemplate&gt; Tab1 &lt;/headerTempalte&gt; &lt;content Template&gt; &lt;asp:calender ID=&rdquo;c1&rdquo; runat=&rdquo;server&rdquo;/&gt; &lt;/contentTemplate&gt; &lt;/asp:TabPanel&gt; &lt;asp:TabPanel ID=&rdquo;Tp2&rdquo; runat=&rdquo;server&rdquo;/&gt; &lt;HeaderTemplate&gt; Tab2 &lt;/HeaderTemplate&gt; &lt;contentTemplate&gt; &lt;asp:Image ID=&rdquo;Image1&rdquo; runat=&rdquo;server&rdquo; width=&rdquo;300&rdquo; height=&rdquo;300&rdquo; ImageUrl=&rdquo;~/Images/penguins.jpg&rdquo;)&gt; &lt;/contentTemplate&gt; &lt;/asp:Tabpanel&gt;</p>19a:T82b,<h2>Animation Extender</h2>
<p>Animation Extender is used to create animations for the controls on that page. It has the property target control ID to specify the id of the control to which you want to apply the animation using this animation Extender. IT has the property animation to specify the list of animations you want to apply for the target control. <strong>Example</strong> The following example demonstrates how to use Animation Extender to create Animations. Add a page to the website and take a Toolkit script manger &amp; a panel on the page and within the panel provide any content you want. Within HTML source of the page drag &amp; drop an animation Extender &amp; create the required animations for the panel by setting the panel as target control as follows. &lt;asp:Animation Extender ID=&rdquo;Animation Extender1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;panel1&rdquo;&gt; &lt;Animations&gt; &lt;onLoad&gt; &lt;Fadeout Duration = &ldquo;0.5&rdquo; minimum opacity =&rdquo;0.3&rdquo;/&gt; &lt;/onLoad&gt; &lt;onmouseover&gt; &lt;&gt; &lt;parallel&gt; &lt;Fadein Duration = &ldquo;0.5&rdquo;&gt; &lt;color property key=&rdquo;background&rdquo;&gt; start value=&rdquo;#FFFFFF&rdquo; Endvalue=&rdquo;#FFFF00&rdquo; duration =&rdquo;0.5&rdquo; /&gt; &lt;/parallel&gt; &lt;onmouseover&gt; &lt;parallel&gt; &lt;Fadeout Duration = &ldquo;0.5&rdquo; minimum opacity=&rdquo;0.3&rdquo; /&gt; &lt;color property key=&rdquo;background&rdquo; startvalue=&rdquo;#FFFF00&rdquo; Endvalue=&rdquo;#FFFFFF&rdquo; Duration = &ldquo;0.5&rdquo; /&gt; &lt;/parallel&gt; &lt;/onmouseout&gt; &lt;/animations&gt; &lt;/asp:Animation Extender&gt; When you run the page then immediately after the panel is loaded it will be fade out and whenever mousepointer placed over the panel then the panel become fade in and also the background of the panel will be changed from white to yellow and whenever you move the mouse pointer out of the panel then the panel with the fade out and at the same time the background of the panel will be changed from yellow to white. &nbsp;</p>
<h3>3)</h3>19b:T831,<h2>Auto Complete Extender</h2>
<p>Auto complete Extender is generally used with a text box control to provide a list of values from a database or any other data source to provide a list of values just below the list box&nbsp; so that user can select a value from the list. It has the following important properties. target control ID <strong>Service Method : </strong>Used to specify the method name that returns the list of values to display for that target control <strong>Minimum prefix Length </strong>: Used to specify minimum number of characters to type within the target control to execute the service method and get list of values to display.<strong>&nbsp;</strong> <strong>Example</strong> The following example demonstrates how to use auto complete extender control. Add a page to the website and place a Toolkit script manger and a Label and text box and for the label set the caption employee name and for the Textbox set the ID T1. Within HTML source of the page take one auto complete extender and set following properties for it. &lt;asp : Auto completeExtender ID = &ldquo;AutoCompleteExtendr1&rdquo; runat=&rdquo;server&rdquo; TargetControlID=&rdquo;T1&rdquo; MinumumprefixLength=&rdquo;1&rdquo; service Method=&rdquo;GetNames&rdquo;&nbsp; Useconnect key=&rdquo;True&rdquo;&gt; &lt;/asp:AutoCompleteExtender&gt; Within the design of that page click on the smart tag of text box control and choose &ldquo;<a href="https://tekslate.com/ajax-always-visible-control-extender-with-example/" target="_blank" rel="noopener">AutoCompleteMethod</a>&rdquo; to create the method &ldquo;creatNames()&rdquo; that is specified as service method for the autocomplete Extender and within that method write the following code. Under GetName() Sql connection Cn= new sqlconnection (&ldquo;select Ename form Emp where Ename like&rdquo; + prefixText+&rdquo;%&rdquo;,cn); cn.open(); sqlDataReader Dr=cmd.ExecuteReader(); List&lt;string&gt; Names = new List &lt;string &gt; () ; while(Dr.Read()) { Names.Add(Dr[&ldquo;Ename&rdquo;].Tostring()); } Dr.close(); cn.close(); return Names.ToArray(); }</p>19c:T80f,<p><strong>Balloon Popup Extender</strong> Balloon popup Extender is used to provide a popup for the control when ever mouse pointer is over it&nbsp; and whenever the control got the focus. Balloonpopup Extender has the following important properties. <strong>TargetControlID:</strong> Used to specify ID of the control to extend using the BallonpopupExtender. <strong>BallonpopupControlID :</strong> Used to specify ID of that control to popup, which is generally in panel. <strong>BalloonStyle :</strong> Used to specify the style of Balloon you want to popup the Balloon popup control <strong>Position : </strong>Used to specify the position where you want to display the popup for the target control. <strong>Balloon Size : </strong>Used to specify the size of the Balloon you want. <strong>Display of Focus :</strong> Indicates whether or not popup is displayed when the focus is within the target contro. <strong>Display on Mouse over :</strong> Indicates whether or not the popup is displayed whenever mouse pointer is over the target control. <strong>Example&nbsp;</strong> The following example demonstrates how to use the Balloon popup extender. Add a page to the web site and take a Toolkit script manger on it. Take a text box &amp; panel on the page, set ID of Text box T1 &amp; within the panel provide some text that you want to provide as the popup for the textbox : Within HTML source of the page Drag &amp; drop a Ballon popup extender and set following properties to it. &lt;asp: Balloon Popup Extender ID=&rdquo;Balloon Popup Extender1&rdquo; runat=&rdquo;server&rdquo; TargetControlID = &ldquo;T1&rdquo; BalloonpopupcontrolID=&rdquo;panel1&rdquo; position=&rdquo;TopRight&rdquo; Balloon Style=&rdquo;cloud&rdquo; Display on focus =&rdquo;false&rdquo; BalloonSize = &ldquo;small&rdquo; DisplayonMouseover=&rdquo;True&rdquo;&gt; &lt;/asp:Balloon popup Extender&gt; At runtime when you place the Mousepointer over the Textbox T1 Textbox T1 then the panel will pop up in cloud style at the top right of the Textbox T1. <strong>&nbsp;</strong></p>19d:Tc60,<h2>Accordion</h2>
<p>Accordion control is used to provide a number of panes on the page allow the user to expand a panel by clicking on its header when user select a pane then all other panes available in the accordion control will be automatically collapsed. <strong>Properties</strong> <strong>FadeTransitions :</strong> Used to specify whether or not the FadeTransition effect will apply to the pane whenever it is expanded or collapsed. <strong>Framespersecond :</strong> Used to specify no of frame to change within a second while applying Fade Transitions. <strong>Transition Duration :&nbsp;</strong> Used to specify the time in Millie-seconds for the total transition to complete <strong>Headercssclass :</strong> Used to specify the css class you want to use to display the header for accordion panes available within Accordion control when it is not selected. <strong>Headerselectedcssclass :</strong> Used to specify the css class to use to display the header of Accordion panes when they are selected. <strong>Required opened pane :</strong> Indicates whether or not atleast one pane is opened within the accordion control. Use the property panes to create panes within the accordion control &amp; for every pane you have to specify header&amp; content where header is used to specify heading for that &amp; content is used to specify the context to display within that pane. <strong>Example</strong> The following example demonstrates how to use the accordion. Add a page to the website and then take a Toolkit scriptmanager on the page and within the HTML source of the page within the headsection create two css class with the names &lsquo;header&rsquo; &amp; &lsquo;Selectedheader&rsquo; as follows &lt;style type=&rdquo;text/css&rdquo;&gt; .header { background-color:Black; font-family&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Arial Black; font-size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : large; color:white; } .selected header { background-color:Blue : font-family:Arial Black: font-size&nbsp;&nbsp; :large; color : white ; } Within HTML source of the page itself drag&amp; drop an accordion control and design it as follows with two Accordion panes. &lt;asp: Accordion ID=&rdquo;Accordion1&rdquo;&nbsp; runat=&rdquo;server&rdquo; FadeTransitions=&rdquo;true&rdquo; Headercssclass=&rdquo;header&rdquo; Framepersecond=&rdquo;30&rdquo; TransitionDuration=&rdquo;2000&rdquo; Headerselectedcssclass=&rdquo;selectedheader&rdquo; requireiopenedpane=&rdquo;true&rdquo;&gt;&nbsp; &lt;panes&gt; &lt;asp:Accordionpane Id=&rdquo;AP1&rdquo; runat=&rdquo;server&rdquo;&gt; &lt;Header&gt; This is Accordion Panel &lt;/Header&gt;&nbsp; &lt;context&gt; This is according panel context &lt;br/&gt; This is Accordion panel context &lt;br/&gt; ------------------ ------ &lt;/context&gt; &lt;/asp:Accordionpane&gt; &lt;asp:Accordiopane Id=&rdquo;AP2&rdquo; runat=&rdquo;server&rdquo;&gt; &lt;Header&gt; This is Accordion pane 2 &lt;/Header&gt; &lt;context&gt; This is Accordion pane 2 context &lt;br/&gt; This is Accordion pane 2 context &lt;br/&gt; ---- ------------------- &lt;/context&gt; &lt;/asp:Accordionpane&gt; &lt;/panes&gt; &lt;/asp:Accordion&gt; &nbsp;</p>19e:T1143,<h2>Cascading Drop Down</h2>
<p>This control is used with dropdown list control and it is used to automatically get values to display in a dropdown list by executing a method Asynchronously.</p>
<h3>Properties</h3>
<p><strong>TargetcontrolID :</strong> <strong>ParentcontrolID :</strong> Used to specify the ID of the parent dropdownlist from which it has to take the value to get the list of values for targetcontrol of the current cascading dropdown. <strong>Category :</strong> Used to specify a category name for the cascading drop down <strong>Loading Text</strong> : Used to specify the text to display in the target control while loading item into it. <strong>Prompt Text :</strong> Used to specify the text to display in for the Target control after loading items to it. <strong>ServideMethod :</strong> Used to specify the method name that is called to get the list of items to display within the target cotrol.</p>
<h3>Example</h3>
<p>The following example demonstrates how to use the cascading dropdown with dropdownlist controls. Add a page to the website and take a ToolkitscriptManager on it along with two Dropdownlist controls and set their ID&rsquo;s as DDL1 &amp; DDL2. Within HTML source of the page Drop &amp; Drop two cascading drop down controls &amp; set following for them. &lt;asp : cascading Dropdown ID=&rdquo;cascading Drop Down1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID = &ldquo;DDL1&rdquo; category=&rdquo;countries&rdquo; LoadingText=&rdquo;[Loading countries]&rdquo; promptText = &ldquo;select your country&rdquo;&nbsp; Servidemethod=&rdquo;Getcountries&rdquo; usecontentkey = &ldquo;True&rdquo;&gt; &lt;/asp: cascadingDropDown&gt; &lt;asp : Cascading Dropdown ID=&rdquo;cascading Dropdown2&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;DDL2&rdquo; parentcontrolID=&rdquo;DDL1&rdquo; category=&rdquo;states&rdquo; LoadingText = &ldquo;[loading states]&rdquo; propmptText = &ldquo;select your state&rdquo; usecontextkey=&rdquo;True&rdquo;&gt; &nbsp;&lt;/asp:cascadingDropDown&gt; Within the design of the page click on the smart tag of 1<sup>st</sup> dropdown list &amp; choose &ldquo;Add cascading Drop down page method&rdquo; &nbsp;to create a Method in the code getcounties which is set as the serviceMethods for the 1 st cascading Dropdown &amp; write the following code with in it.{ sqlconnection cn= new sqlconnection (&ldquo;server=Nikhil; database=mydb;uid=sa;pwd=123&rdquo;); Sqldatadpater Da=new Sql DataAdapter(&ldquo;Select country from countires&rdquo;, cn); Dataset Ds= new Dataset(); Da.fill(Ds,&rdquo;countries&rdquo;); CascadingDropDownNameValue[]Items=new cascading DropDownNamevalue[d.Tables[&ldquo;countries&rdquo;].Rows.count]; int i=0; foreach(DataRow Dr in Ds.Tables[&ldquo;Countries&rdquo;].Rows) { Items[i++]=new cascadingDropDownNameValue(Dr[0].Tostring(),Dr[0].Tostring()); } returns Items; } With in the design of the page click on the smart tag of second DropDownList &amp; choose&rdquo;Add cascading DropDownPageMethod&rdquo; to create a method in the code with the name &ldquo;GetStates&rdquo; which is the serviceMethos set to 2 nd dropdownlist and write the following code with in that mehod. { string country=knowncategoryvalues; country=country.substring(country.Indexof(&ldquo;:&rdquo;)+1); country=country.substring(0,country.Length-1); Sqlconnection cn=new sqlconnection(&ldquo;Server=Nikhil; database=mydb;uid=sa;pwd=123); SqldataAdapter Da=new sqlDataAdapter( &ldquo;Select state from states from states where country=&rdquo;&rsquo;+country+&rsquo;&rdquo;,cn); Dataset Ds = new Dataset(); Da.fill(Ds.&rdquo;States&rdquo;); CascadingDropDownNameValue[]Items=new CascadingDropDownNameValue[DS.Table[&ldquo;states&rdquo;].Rows.count]; int i=0; foreach(DataRow Dr in Ds.Tables[&ldquo;states&rdquo;].Rows) { Item[i++]=new cascading DropDownNameValue( Dr[0].Tostring()); } returns Items; } At runtime immediately after the page is loaded list of countries will be add to 1 st Dropdownlist&amp; when you select a country in DropDownlist then a list of states related to the country are added to the second dropdown list &amp; all this done asynchronously. For this example you required the following two tables in database. create table countries(country&nbsp; varchar(30)) create table states (country varchar(30),state varchar(30)) For more info on &nbsp;<span class="white-back">Ajax Always Visible Control Extender&nbsp;</span></p>19f:T187e,<p>&nbsp; &nbsp; <img class="alignnone wp-image-9559" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/155-460x422.png" alt="1" width="674" height="618" /> &nbsp; &nbsp; <strong>ETL Tool</strong> E &ndash; Extract <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />setting the data T-transform<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />doing Intermediate operation L-Load<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Load to destination &nbsp; <strong>Tools</strong> Data stage, Informatica, AB-Initio, SSIS, OWB et &nbsp; <strong>Analytical tool</strong> To create multi &ndash; Dimensional object and object and provides supports for multi &ndash;Dimensional analysis &nbsp; <strong>Tools</strong> <strong>&nbsp;</strong>COGNOS, BO, Hyperion, SSAS, Micro strategy, OBIEE etc. &nbsp; <strong>Reporting tools</strong> To display the data in the understand and required format, we go for this, &nbsp; <strong>Tools</strong> COGNOS, BO, SSRS, Hyperion, Micro strategy B Crstal on &nbsp;OBIEE etc. &nbsp;</p>
<pre style="text-align: center;"><em><strong>Inclined to build a profession as Teradata&nbsp;Developer? Then here is the blog post on
 <a href="https://tekslate.com/teradata-training/" target="_blank" rel="noopener">Online Teradata Training</a>.</strong></em></pre>
<p>It is composed on observable and recordable facts, that are off be found in transaction(or)operation system &nbsp; <strong>Information</strong> <strong>&nbsp;</strong>It is an integrated collection of facts and&nbsp; is used as the[organized &ndash; data is called information] bases for decision making &nbsp; <strong>Need of dataware housing</strong> To have single version of data, in single storage To complete with other organization market To analysis tactical strategic queries etc. Definition of ODS, DWH, BI, OLTP, OLAP <strong> QLTP</strong> <strong>&nbsp;</strong>On line transaction processing Here day to day operations data available (immediate operation data) Here all the DML operation can be performed. <strong> ODS(Operational data store)</strong> It is data stag structure that acts like repository for near real time operational data rather than long trand data. This ODS may for them become to enterprise operational database(or) stage area to data were house <strong> DWH(Data were house)</strong> It is data base structure, where huge data store, so that we can take appropriate decision <strong>OLAP(Online Analytical processing)</strong> It is an application that collects managing and present multi&ndash; dimensional data analysis and management purpose. <strong>BI(Business Intelligence)</strong> BI retrieve the data from data warehouse to make business decision and management(it can takes the&nbsp; help OLAP) <strong>Data warehouse Definition</strong> There are many authors founder define different approaches INMON SEAM KELLY etc. &nbsp; <strong>INMON</strong> Some people calling INMON father of data ware house A Data ware house is subject oriented Integrated. Time variant Non-volatile, Data Granularity Collection or data, in this support of Decision making <strong>SEAM KELLY</strong> A Data warehouse is subject oriented, integrated, Non- volatile, time variant, separate collection of data &nbsp; <strong>Subject Oriented</strong> The data in data ware house should belong to a specific subject Area, Domain (or) Business &nbsp; <strong>Example</strong> Entire banking, Information in single place Entire medias information in single place &nbsp; <strong>Integrated</strong> By loading the data we need follows standardized mechanism, we have single management data &nbsp; <strong>Example</strong> Naming conversion, coding measurement, data attribute etc. &nbsp; <strong>Non &ndash; volatile</strong> Data in the data were house data, should not updata and delete. &nbsp; <strong>Time variant</strong> The data should be store based on time frame so that, we cab current month sales, what is &nbsp; <strong>Previous month</strong> sales, what could be sales of future month</p>
<pre style="text-align: center;"><em><strong>Check out the top Teradata&nbsp;Interview Questions now!</strong></em></pre>
<p><strong>Separate</strong> <strong>&nbsp;</strong>Where &nbsp;have should be separate traditional system &nbsp; <strong>Accessible</strong> Where have should be high available etc. &nbsp;</p>
<h2>Data Warehousing life cycle</h2>
<p>It is combination of 3 life cycles creating a data base and modeling database. ETL requirement gathering ETL Analysis ETL Design ETL Coding <a href="https://tekslate.com/etl-testing-training" target="_blank" rel="noopener">ETL Testing</a> ETL deployment and maintenance <strong>Analytical life cycle</strong> Requirement gathering analysis Designing the objects Create multi-dimensional object Testing multi- dimensional object Deployment implement <strong>Reporting life cycle</strong> Reporting Testing Reporting Design Reporting Coding Reporting Publishers And maintenance.</p>
<div><strong>For Indepth knowledge on Teradata click on:</strong></div>
<ul>
<li><span class="white-back"><a href="https://tekslate.com/bteq-features-teradata/" target="_blank" rel="noopener">BTEQ Features in Teradata</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/secondary-index-teradata/" target="_blank" rel="noopener">Secondary Index in TeraData</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/memory-management-teradata/" target="_blank" rel="noopener">Memory Management in TeraData</a></span></li>
<li><a href="https://tekslate.com/tpump-structure-process-teradata/" target="_blank" rel="noopener">TPUMP Structure and Process In TeraData</a></li>
<li><a href="https://tekslate.com/multiple-cliques-system-high-level-teradata/" target="_blank" rel="noopener">Multiple Cliques In System (OR) High Level In TeraData</a></li>
</ul>
<div class="tags">&nbsp;</div>1a0:T13f2,<h2 style="text-align: justify;">Types of Dimensions</h2>
<h3 style="text-align: justify;">Confirmed Dimension</h3>
<p style="text-align: justify;">If the dimension is shared by multiple fact tables then the dimension is called as Confirmed Dimension.</p>
<p style="text-align: justify;"><img class=" wp-image-14010 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/01/Confirmed-Dimension-460x417.jpg" alt="Confirmed Dimension" width="429" height="389" /></p>
<h3 style="text-align: justify;">Degenerate Dimension</h3>
<p style="text-align: justify;">It is an attribute in the fact table and used to satisfy the latest requirements from the customer</p>
<p style="text-align: justify;">Ex: Avg No of goods sold per order= Sales Qty/OrderNo</p>
<h3 style="text-align: justify;">Junk Dimension</h3>
<p style="text-align: justify;">The Dimension which Contains textual codes(Abbrevations) and flag variables is called Junk Dimension</p>
<p style="text-align: justify;">Ex: Textual Codes - IND,USD,AUD Flag Variables - Yes/No Male/Female True/False 1/0</p>
<h3 style="text-align: justify;">Large Dimension</h3>
<p style="text-align: justify;">If the dimension contains more number of columns(&gt;100) or more number of rows(&gt;2million), then it is called as large or monster dimension.</p>
<h3 style="text-align: justify;">Mini Dimension</h3>
<p style="text-align: justify;">If the dimension contains less number of columns(&lt;5) and less number of rows(&lt;1000) then it is called as mini dimension</p>
<h3 style="text-align: justify;">Slowing Changing Dimension(SCD)</h3>
<p style="text-align: justify;">The dimension which changes w.r.t number of rows or number of columns over a period of time, is called as <a class="zem_slink" title="Slowly changing dimension" href="http://en.wikipedia.org/wiki/Slowly_changing_dimension" target="_blank" rel="noopener wikipedia">slowly changing dimension</a></p>
<p style="text-align: justify;">SCD are of 3 Types</p>
<p style="text-align: justify;">Type1 - It maintains latest data only</p>
<p style="text-align: justify;">Type2 - It maintains complete data about all transactions</p>
<p style="text-align: justify;">Type3 - It maintains current values along with immediate previous values</p>
<p style="text-align: justify;"><strong>Example</strong></p>
<table style="height: 114px;" width="296">
<tbody>
<tr>
<td>PNo</td>
<td>PName</td>
<td>Cost</td>
</tr>
<tr>
<td>101</td>
<td>Dove</td>
<td>15</td>
</tr>
<tr>
<td>102</td>
<td>Olay</td>
<td>20</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Type II</p>
<table style="height: 124px;" width="297">
<tbody>
<tr>
<td>&nbsp;PNo</td>
<td>&nbsp;PName</td>
<td>PCost</td>
</tr>
<tr>
<td>&nbsp;101</td>
<td>Dove</td>
<td>10</td>
</tr>
<tr>
<td>102</td>
<td>Olay</td>
<td>20</td>
</tr>
<tr>
<td>101</td>
<td>Dove</td>
<td>15</td>
</tr>
</tbody>
</table>
<p style="text-align: justify;">Type III</p>
<table style="height: 97px;" width="398">
<tbody>
<tr>
<td>PNo</td>
<td>PName</td>
<td>Prev Cost</td>
<td>Present Cost</td>
</tr>
<tr>
<td>101</td>
<td>Dove</td>
<td>10</td>
<td>15</td>
</tr>
<tr>
<td>102</td>
<td>Olay</td>
<td>-</td>
<td>20</td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;">Static Dimension</h3>
<p style="text-align: justify;">If the dimension is loaded with data only once in a project life cycle time and will never change then it is called as static dimension</p>
<p style="text-align: justify;">Example</p>
<p style="text-align: justify;">Country - India,Pakistan,Srilanka</p>
<p style="text-align: justify;">Currencies - USD,INR,AUD</p>
<h3 style="text-align: justify;">Aggregate Dimension</h3>
<p style="text-align: justify;">The dimension which is loaded at base level and is possible to calculate aggregate functions like sum(),avg(),min() etc is called as aggregate dimension</p>
<h3 style="text-align: justify;">Multi valued Dimension</h3>
<p style="text-align: justify;">If the dimension attributes contains many to many relationship within the data then the dimension is called as multi valued dimension</p>
<h3 style="text-align: justify;">Types of Fact Tables</h3>
<p style="text-align: justify;">Snapshot Fact Table</p>
<p style="text-align: justify;">Cumulative Fact Table</p>
<p style="text-align: justify;">Factless Fact Table</p>
<p style="text-align: justify;"><strong>Snapshot Fact Table</strong></p>
<p style="text-align: justify;">It contains information at a specific point of time</p>
<p style="text-align: justify;">Ex: Sales @ 01-01-2014</p>
<p style="text-align: justify;">Cumulative Fact Table</p>
<p style="text-align: justify;">It contains information about a period</p>
<p style="text-align: justify;">Ex: Sale From 01-01-2014 to 31-01-2014</p>
<p style="text-align: justify;">Factless Fact Table</p>
<p style="text-align: justify;">The fact table which doesn't contain any fact information is called as fact-less fact table</p>
<p style="text-align: justify;">Ex: To track the attendance of a student, To check the product availability in a store, To check the flight availability in the airport</p>1a1:T550a,<p style="text-align: justify;"><strong>What is WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">Windows Communication Foundation (WCF) is an SDK for developing and deploying services on Windows. WCF provides a runtime environment for services, enabling you to expose CLR types as services, and to consume other services as CLR types.</p>
<p style="text-align: justify; padding-left: 30px;">WCF is part of .NET 3.0 and requires .NET 2.0, so it can only run on systems that support it.</p>
<p style="text-align: justify;"><strong>What is service and client in perspective of data communication?</strong></p>
<p style="text-align: justify; padding-left: 30px;">A service is a unit of functionality exposed to the world.</p>
<p style="text-align: justify; padding-left: 30px;">The client of a service is merely the party consuming the service.</p>
<p style="text-align: justify;"><strong>What is address in WCF and how many types of transport schemas are there in WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">Address is a way of letting client know that where a service is located. In WCF, every service is associated with a unique address. This contains the location of the service and transport schemas.</p>
<p style="text-align: justify; padding-left: 30px;">WCF supports following transport schemas</p>
<p style="text-align: justify; padding-left: 30px;">HTTP TCP Peer network IPC (Inter-Process Communication over named pipes) MSMQ</p>
<p style="text-align: justify; padding-left: 30px;">The sample address for above transport schema may look like</p>
<p style="text-align: justify; padding-left: 30px;">http://localhost:81 http://localhost:81/MyService net.tcp://localhost:82/MyService net.pipe://localhost/MyPipeService net.msmq://localhost/private/MyMsMqService net.msmq://localhost/MyMsMqService</p>
<p style="text-align: justify;"><strong>What are contracts in WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">In WCF, all services expose contracts. The contract is a platform-neutral and standard way of describing what the service does.</p>
<p style="text-align: justify; padding-left: 30px;">WCF defines four types of contracts.</p>
<p style="text-align: justify;"><u>Service contracts</u></p>
<p style="text-align: justify; padding-left: 30px;">Describe which operations the client can perform on the service. There are two types of Service Contracts. ServiceContract - This attribute is used to define the Interface. OperationContract - This attribute is used to define the method inside Interface.</p>
<pre style="text-align: justify; padding-left: 60px;">[ServiceContract]
 interface IMyContract
 {
 [OperationContract]
 string MyMethod( );
 }
 class MyService : IMyContract
 {
 public string MyMethod( )
 {
 return "Hello World";
 }
 }</pre>
<p style="text-align: justify;"><u>Data contracts</u></p>
<p style="text-align: justify; padding-left: 30px;">Define which data types are passed to and from the service. WCF defines implicit contracts for built-in types such as int and string, but we can easily define explicit opt-in data contracts for custom types.</p>
<p style="text-align: justify; padding-left: 30px;">There are two types of Data Contracts. DataContract - attribute used to define the class DataMember - attribute used to define the properties.</p>
<pre style="text-align: justify; padding-left: 60px;">[DataContract]
 class Contact
 {
 [DataMember]
 public string FirstName;
[DataMember]
 public string LastName;
 }</pre>
<p style="text-align: justify; padding-left: 60px;">If DataMember attributes are not specified for a properties in the class, that property can't be passed to-from web service.</p>
<p style="text-align: justify; padding-left: 30px;"><u>Fault contracts</u></p>
<p style="text-align: justify; padding-left: 60px;">Define which errors are raised by the service, and how the service handles and propagates errors to its clients.</p>
<p style="text-align: justify; padding-left: 30px;"><u>Message contracts</u></p>
<p style="text-align: justify; padding-left: 60px;">Allow the service to interact directly with messages. Message contracts can be typed or untyped, and are useful in interoperability cases and when there is an existing message format we have to comply with.</p>
<p style="text-align: justify;"><strong>Where we can host WCF services?</strong></p>
<p style="text-align: justify; padding-left: 60px;">Every WCF services must be hosted somewhere. There are three ways of hosting WCF services.</p>
<p style="text-align: justify; padding-left: 60px;">They are</p>
<ul>
<li style="text-align: justify; padding-left: 30px;">IIS</li>
<li style="text-align: justify; padding-left: 30px;">Self Hosting</li>
<li style="text-align: justify; padding-left: 30px;">WAS (Windows Activation Service)</li>
</ul>
<p style="text-align: justify; padding-left: 60px;">For more details see <u>http://msdn.microsoft.com/en-us/library/bb332338.aspx</u></p>
<p style="text-align: justify;"><strong>What is binding and how many types of bindings are there in WCF?</strong></p>
<p style="text-align: justify; padding-left: 60px;">A binding defines how an endpoint communicates to the world. A binding defines the transport (such as HTTP or TCP) and the encoding being used (such as text or binary). A binding can contain binding elements that specify details like the security mechanisms used to secure messages, or the message pattern used by an endpoint.</p>
<p style="text-align: justify; padding-left: 30px;">WCF supports nine types of bindings.</p>
<p style="text-align: justify; padding-left: 30px;"><u>Basic binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the BasicHttpBinding class, this is designed to expose a WCF service as a legacy ASMX web service, so that old clients can work with new services. When used by the client, this binding enables new WCF clients to work with old ASMX services.</p>
<p style="text-align: justify; padding-left: 30px;"><u>TCP binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the NetTcpBinding class, this uses TCP for cross-machine communication on the intranet. It supports a variety of features, including reliability, transactions, and security, and is optimized for WCF-to-WCF communication. As a result, it requires both the client and the service to use WCF.</p>
<p style="text-align: justify; padding-left: 30px;"><u> Peer network binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the NetPeerTcpBinding class, this uses peer networking as a transport. The peer network-enabled client and services all subscribe to the same grid and broadcast messages to it.</p>
<p style="text-align: justify; padding-left: 30px;"><u>IPC binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the NetNamedPipeBinding class, this uses named pipes as a transport for same-machine communication. It is the most secure binding since it cannot accept calls from outside the machine and it supports a variety of features similar to the TCP binding.</p>
<p style="text-align: justify; padding-left: 30px;"><u>Web Service (WS) binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the WSHttpBinding class, this uses HTTP or HTTPS for transport, and is designed to offer a variety of features such as reliability, transactions, and security over the Internet.</p>
<p style="text-align: justify; padding-left: 30px;"><u>Federated WS binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the WSFederationHttpBinding class, this is a specialization of the WS binding, offering support for federated security.</p>
<p style="text-align: justify; padding-left: 30px;"><u>Duplex WS binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the WSDualHttpBinding class, this is similar to the WS binding except it also supports bidirectional communication from the service to the client.</p>
<p style="text-align: justify; padding-left: 30px;"><u>MSMQ binding</u></p>
<p style="text-align: justify; padding-left: 60px;">Offered by the NetMsmqBinding class, this uses MSMQ for transport and is designed to offer support for disconnected queued calls.</p>
<p style="text-align: justify; padding-left: 30px;"><u> MSMQ integration binding </u> Offered by the MsmqIntegrationBinding class, this converts WCF messages to and from MSMQ messages, and is designed to interoperate with legacy MSMQ clients.</p>
<p style="text-align: justify; padding-left: 30px;">For WCF binding comparison, see <u>http://www.pluralsight.com/community/blogs/aaron/archive/2007/03/22/46560.aspx</u></p>
<p style="text-align: justify;"><strong>What is endpoint in WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">Every service must have Address that defines where the service resides, Contract that defines what the service does and a Binding that defines how to communicate with the service. In WCF the relationship between Address, Contract and Binding is called Endpoint.</p>
<p style="text-align: justify; padding-left: 30px;">The Endpoint is the fusion of Address, Contract and Binding.</p>
<p style="text-align: justify;"><strong>How to define a service as REST based service in WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">WCF 3.5 provides explicit support for RESTful communication using a new binding named WebHttpBinding. The below code shows how to expose a RESTful service</p>
<pre style="text-align: justify; padding-left: 30px;">[ServiceContract]
 interface IStock
 {
 [OperationContract]
 [WebGet]
 int GetStock(string StockId);
 }</pre>
<p style="text-align: justify; padding-left: 30px;">By adding the WebGet Attribute, we can define a service as REST based service that can be accessible using HTTP GET operation.</p>
<p style="text-align: justify;"><strong>What is the address formats of the WCF transport schemas?</strong></p>
<p style="text-align: justify; padding-left: 30px;">Address format of WCF transport schema always follow</p>
<p style="text-align: justify; padding-left: 30px;">[transport]://[machine or domain][:optional port] format.</p>
<p style="text-align: justify; padding-left: 30px;">for example:</p>
<p style="text-align: justify; padding-left: 60px;"><strong>HTTP Address Format</strong></p>
<p style="text-align: justify; padding-left: 60px;">http://localhost:8888 the way to read the above url is</p>
<p style="text-align: justify; padding-left: 60px;">"Using HTTP, go to the machine called localhost, where on port 8888 someone is waiting" When the port number is not specified, the default port is 80.</p>
<p style="text-align: justify;"><strong>TCP Address Format</strong></p>
<p style="text-align: justify; padding-left: 30px;">net.tcp://localhost:8888/MyService</p>
<p style="text-align: justify; padding-left: 30px;">When a port number is not specified, the default port is 808:</p>
<p style="text-align: justify; padding-left: 30px;">net.tcp://localhost/MyService</p>
<p style="text-align: justify; padding-left: 30px;"><strong>NOTE:</strong> Two HTTP and TCP addresses from the same host can share a port, even on the same machine.</p>
<p style="text-align: justify;"><strong>IPC Address Format</strong></p>
<p style="text-align: justify; padding-left: 30px;">net.pipe://localhost/MyPipe</p>
<p style="text-align: justify; padding-left: 30px;">We can only open a named pipe once per machine, and therefore it is not possible for two named pipe addresses to share a pipe name on the same machine.</p>
<p style="text-align: justify;"><strong>MSMQ Address Format</strong></p>
<p style="text-align: justify; padding-left: 30px;">net.msmq://localhost/private/MyService net.msmq://localhost/MyService</p>
<p style="text-align: justify;"><strong>What is Proxy and how to generate proxy for WCF Services?</strong></p>
<p style="text-align: justify; padding-left: 30px;">The proxy is a CLR class that exposes a single CLR interface representing the service contract. The proxy provides the same operations as service's contract, but also has additional methods for managing the proxy life cycle and the connection to the service. The proxy completely encapsulates every aspect of the service: its location, its implementation technology and runtime platform, and the communication transport.</p>
<p style="text-align: justify; padding-left: 30px;"><strong>The proxy can be generated using Visual Studio</strong> by right clicking Reference and clicking on Add Service Reference. This brings up the Add Service Reference dialog box, where you need to supply the base address of the service (or a base address and a MEX URI) and the namespace to contain the proxy.</p>
<p style="text-align: justify; padding-left: 30px;"><strong>Proxy can also be generated by using SvcUtil.exe</strong> command-line utility. We need to provide SvcUtil with the HTTP-GET address or the metadata exchange endpoint address and, optionally, with a proxy filename. The default proxy filename is output.cs but you can also use the /out switch to indicate a different name.</p>
<p style="text-align: justify; padding-left: 30px;">SvcUtil http://localhost/MyService/MyService.svc /out:Proxy.cs</p>
<p style="text-align: justify; padding-left: 30px;">When we are hosting in IIS and selecting a port other than port 80 (such as port 88), we must provide that port number as part of the base address:</p>
<p style="text-align: justify; padding-left: 30px;">SvcUtil http://localhost:88/MyService/MyService.svc /out:Proxy.cs</p>
<p style="text-align: justify;"><strong>What are different elements of WCF Srevices Client configuration file?</strong></p>
<p style="text-align: justify; padding-left: 30px;">WCF Services client configuration file contains endpoint, address, binding and contract. A sample client config file looks like</p>
<pre style="text-align: justify; padding-left: 30px;">&lt;system.serviceModel&gt;
 &lt;client&gt;
 &lt;endpoint name = "MyEndpoint"
 address&nbsp; = "http://localhost:8000/MyService/"
 binding&nbsp; = "wsHttpBinding"
 contract = "IMyContract"
 /&gt;
 &lt;/client&gt;
 &lt;/system.serviceModel&gt;</pre>
<p style="text-align: justify;"><strong>What is Transport and Message Reliability?</strong></p>
<p style="text-align: justify; padding-left: 30px;"><strong>Transport reliability</strong> (such as the one offered by TCP) offers point-to-point guaranteed delivery at the network packet level, as well as guarantees the order of the packets. Transport reliability is not resilient to dropping network connections and a variety of other communication problems.</p>
<p style="text-align: justify; padding-left: 30px;"><strong>Message reliability</strong> deals with reliability at the message level independent of how many packets are required to deliver the message. Message reliability provides for end-to-end guaranteed delivery and order of messages, regardless of how many intermediaries are involved, and how many network hops are required to deliver the message from the client to the service.</p>
<p style="text-align: justify;"><strong>How to configure Reliability while communicating with WCF Services?</strong></p>
<p style="text-align: justify; padding-left: 30px;">Reliability can be configured in the client config file by adding reliableSession under binding tag.</p>
<p style="text-align: justify; padding-left: 30px;">&lt;system.serviceModel&gt; &lt;services&gt; &lt;service name = "MyService"&gt; &lt;endpoint address&nbsp; = "net.tcp://localhost:8888/MyService" binding&nbsp; = "netTcpBinding" <strong>bindingConfiguration = "ReliableCommunication"</strong> contract = "IMyContract" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;bindings&gt; &lt;netTcpBinding&gt; &lt;binding name = "ReliableCommunication"&gt; <strong>&lt;reliableSession enabled = "true"/&gt;</strong> &lt;/binding&gt; &lt;/netTcpBinding&gt; &lt;/bindings&gt; &lt;/system.serviceModel&gt;</p>
<p style="text-align: justify;">Reliability is supported by following bindings only</p>
<ul>
<li style="text-align: justify; padding-left: 30px;">NetTcpBinding</li>
<li style="text-align: justify; padding-left: 30px;">WSHttpBinding</li>
<li style="text-align: justify; padding-left: 30px;">WSFederationHttpBinding</li>
<li style="text-align: justify; padding-left: 30px;">WSDualHttpBinding</li>
</ul>
<p style="text-align: justify;"><strong>How to set the timeout property for the WCF Service client call?</strong></p>
<p style="text-align: justify; padding-left: 30px;">The timeout property can be set for the WCF Service client call using binding tag.</p>
<pre style="text-align: justify; padding-left: 30px;">&lt;client&gt;
 &lt;endpoint
 ...
 binding = "wsHttpBinding"
 <strong>bindingConfiguration = "LongTimeout"</strong>
 ...
 /&gt;
 &lt;/client&gt;
 &lt;bindings&gt;
 &lt;wsHttpBinding&gt;
 <strong>&lt;binding name = "LongTimeout" sendTimeout = "00:04:00"/&gt;</strong>
 &lt;/wsHttpBinding&gt;
 &lt;/bindings&gt;</pre>
<p style="text-align: justify; padding-left: 30px;">If no timeout has been specified, the default is considered as 1 minute.</p>
<p style="text-align: justify;"><strong>How to deal with operation overloading while exposing the WCF services?</strong></p>
<p style="text-align: justify; padding-left: 30px;">By default overload operations (methods) are not supported in WSDL based operation. However by using <strong>Name </strong>property of <strong>OperationContract </strong>attribute, we can deal with operation overloading scenario.</p>
<pre style="text-align: justify; padding-left: 30px;">[ServiceContract]
 interface ICalculator
 {
 [OperationContract(Name = "AddInt")]
 int Add(int arg1,int arg2);
[OperationContract(Name = "AddDouble")]
 double Add(double arg1,double arg2);
 }</pre>
<p style="text-align: justify; padding-left: 30px;">Notice that both method name in the above interface is same (Add), however the Name property of the OperationContract is different. In this case client proxy will have two methods with different name AddInt and AddDouble.</p>
<p style="text-align: justify;"><strong>What was the code name for WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">The code name of WCF was <strong>Indigo</strong> .</p>
<p style="text-align: justify; padding-left: 30px;">WCF is a unification of .NET framework communication technologies which unites the following technologies:-</p>
<p style="text-align: justify; padding-left: 30px;">NET remoting MSMQ Web services COM+</p>
<p style="text-align: justify;"><strong>What are the main components of WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">The main components of WCF are</p>
<ul>
<li style="text-align: justify; padding-left: 30px;">Service class</li>
<li style="text-align: justify; padding-left: 30px;">Hosting environment</li>
<li style="text-align: justify; padding-left: 30px;">End point</li>
</ul>
<p style="text-align: justify;"><strong>What are various ways of hosting WCF Services?</strong></p>
<p style="text-align: justify; padding-left: 30px;">There are three major ways of hosting a WCF services</p>
<p style="text-align: justify; padding-left: 30px;">&bull; Self-hosting the service in his own application domain. This we have already covered in the first section. The service comes in to existence when you create the object of Service Host class and the service closes when you call the Close of the Service Host class.</p>
<p style="text-align: justify; padding-left: 30px;">&bull; Host in application domain or process provided by IIS Server.</p>
<p style="text-align: justify; padding-left: 30px;">&bull; Host in Application domain and process provided by WAS (Windows Activation Service) Server.</p>
<p style="text-align: justify;"><strong>What is the difference WCF and Web services?</strong></p>
<p style="text-align: justify; padding-left: 30px;">Web services can only be invoked by HTTP (traditional webservice with .asmx). While WCF Service or a WCF component can be invoked by any protocol (like http, tcp etc.) and any transport type.</p>
<p style="text-align: justify; padding-left: 30px;">Second web services are not flexible. However, WCF Services are flexible. If you make a new version of the service then you need to just expose a new end. Therefore, services are agile and which is a very practical approach looking at the current business trends.</p>
<p style="text-align: justify; padding-left: 30px;">We develop WCF as contracts, interface, operations, and data contracts. As the developer we are more focused on the business logic services and need not worry about channel stack. WCF is a unified programming API for any kind of services so we create the service and use configuration information to set up the communication mechanism like HTTP/TCP/MSMQ etc</p>
<p style="text-align: justify; padding-left: 30px;">For more details, read <a href="http://msdn.microsoft.com/en-us/library/aa738737.aspx">http://msdn.microsoft.com/en-us/library/aa738737.aspx</a></p>
<p style="text-align: justify;"><strong>What is three major points in WCF?</strong></p>
<p style="text-align: justify; padding-left: 30px;">We Should remember ABC.</p>
<ul>
<li style="text-align: justify; padding-left: 30px;"><strong>Address </strong>--- Specifies the location of the service which will be like http://Myserver/MyService.Clients will use this location to communicate with our service.</li>
<li style="text-align: justify; padding-left: 30px;"><strong>Binding</strong> --- Specifies how the two paries will communicate in term of transport and encoding and protocols</li>
<li style="text-align: justify; padding-left: 30px;"><strong>Contract </strong>--- Specifies the interface between client and the server.It's a simple interface with some attribute.</li>
</ul>1a2:T3126,<p style="text-align: justify;"><strong>What are the differences between Personal, Shared and Secured connections?</strong></p>
<ol style="text-align: justify;">
<li>A special connection is created by one user and cannot be used by other users. The connection details are stored in PDAC.LSI folder.</li>
<li>A shared connection can be used by more users through a shared server. The connection details are stored in SDAC.LSI folder in the Business Objects installation folder. However one cannot set rights and securities on objects in a shared connection. Neither can a Universe to exported to repository using a shared connection.</li>
<li>A secured connection overcomes these limitations. Through it rights can be determined on objects and documents. Natures can be exported to the key repository only through a ensure connection. The connection parameters in this case are saved in the CMS.</li>
</ol>
<p style="text-align: justify;"><strong>What are custom hierarchies? How can they be created?</strong></p>
<p style="text-align: justify;">Custom Hierarchies are defined in a universe in order to facilitate custom drill down between items from same or different classes according to user requirement. They can be created from Tools --&gt; Hierarchies in the BO Designer.</p>
<p style="text-align: justify;"><img class="size-full wp-image-15803 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b.jpg" alt="b" width="581" height="397" /></p>
<p style="text-align: justify;"><strong>What is a text in-universe? How are they created?</strong></p>
<p style="padding-left: 30px; text-align: justify;">In an universe, a context defines a particular join path between tables or a distinct group of joins for a precise query. Any objects created on a table column which belong to specific contexts is naturally compatible with all other objects from same contexts. When objects from two or more contexts are used, separate SQL is generated and results are then merged in a clone cube. This makes sure that no improper result is generated due to loop or anyone join path issue.</p>
<p style="padding-left: 30px; text-align: justify;">Contexts may be created using detect contexts feature or manually. They are generally created based on logical calculation and business requirements, hence the identify context method is not very effective. To manually create a context Go to Insert  Context, give the context name and select the joins that should be present in the context. For a universe contexts should be created in a way that all joins(except shortcut joins) fall in at least one context</p>
<p style="text-align: justify;"><img class="size-full wp-image-15804 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b1.jpg" alt="b1" width="351" height="373" /></p>
<p style="text-align: justify;"><strong>What is a chasm device? How can it be solved?</strong></p>
<p style="padding-left: 30px; text-align: justify;">In a dimensional schema based universe, we may have one dimension table joined with two fact tables such that both of them are one-to-many joins(F &gt;- D -&lt;F ). In such a scenario, if we drag a measure each from both the fact tables along with dimensions from dimension table, the value of the measures in the fact tables are inflated. This condition is known as chasm trap.</p>
<p style="padding-left: 30px; text-align: justify;">A chasm trap can be solved using 2 approachs:</p>
<p style="padding-left: 30px; text-align: justify;">- Modern universe SQL parameters, the option, generate multiple inquiries for each measure demands to be selected. This will generate separate SQL statement as each measure and give the proper results. However, this method would not work, if a dimension (for example date) occurs multiple times in the result set due to chasm trap.</p>
<p style="text-align: justify;"><img class="size-full wp-image-15805 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b2.jpg" alt="b2" width="523" height="378" /></p>
<p style="padding-left: 30px; text-align: justify;">- A better path is to put the two joins in two different contexts. This will generate two integrated queries, thus solving the problem.</p>
<p style="text-align: justify;"><strong>What is a fan trap? How can it be solved?</strong></p>
<p style="padding-left: 30px; text-align: justify;">In a universe structure, we may have 3 tables joined in such a way that, the 1st table has a one to many join with the 2nd table, which in turn has a one to many join with the 3rd table(A -&lt; B -&lt; C). In such a scenario, if a measure is present in the 2nd table and it is dragged along with any dimension from the 3rd table, the value of the measure will be inflated. Such a condition is known as a fan trap.</p>
<p style="padding-left: 30px; text-align: justify;">A fan trap is solved by creating an alias of the 2nd table and defining contexts such that, the normal table is joined only with the first table, while the alias is joined with both the 1st and the 3rd table. We would take 2nd table&rsquo;s measure only from the normal table and other dimensions of the 2nd table from the alias table</p>
<p style="text-align: justify;"><strong>Should we encounter fan traps in a data warehouse scenario? If so, then how?</strong></p>
<p style="padding-left: 30px; text-align: justify;">If a data warehouse is based on the Kimball model, it is a dimensional schema. In a universe built on that DW, for a fan trap to occur in such a schema, we require direct join between two fact tables, which is against the principles of dimensional modeling.</p>
<p style="padding-left: 30px; text-align: justify;">On the other hand in a data warehouse based on Inmon model, it is a normalized schema. Though in such a case, universes are generally designed on Data Marts, which are dimensional schemas (where fan traps should not occur). However, if a universe is built on the DW (for the purpose of operational reporting), then a fan trap can occur in that universe</p>
<p style="text-align: justify;"><strong>What is aggregate awareness? What is its advantage?</strong></p>
<p style="padding-left: 30px; text-align: justify;">Aggregate awareness function is used in scenarios where we have same reality tables in various grains. Using this function we can define only one item for the measures in the fact tables as</p>
<p style="padding-left: 30px; text-align: justify;"><img class="alignnone size-full wp-image-15806" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b3.jpg" alt="b3" width="706" height="50" /></p>
<p style="padding-left: 30px; text-align: justify;">We also need to define dimensions for associated granularities and define their incompatibilities with the corresponding facts through the aggregate navigation. This is accesses through Tools -&gt; Aggregate Navigation</p>
<p style="text-align: justify;"><img class="size-full wp-image-15807 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b4.jpg" alt="b4" width="462" height="403" /></p>
<p style="text-align: justify;">The advantage is that in a Webi or Deski report when one drags the measure object with the dimension object of a particular granularity, the measure column from the Fact table of the corresponding granularity is selected in the BO default Query. If we did not use aggregate awareness, we would need to define separate objects for each of the fact tables which would be difficult to understand from a user&rsquo;s point of view.</p>
<p style="text-align: justify;"><strong>What are the 2 different approaches of implementing aggregate awareness? Which one is better in terms of performance?</strong></p>
<p style="text-align: justify;">The 2 approaches are as follows:</p>
<ol style="text-align: justify;">
<li>Aggregate tables are built in the database, which contains the dimension fields(not foreign keys) along with the aggregated measures. In the universe they are present as standalone tables, i.e they are not joined with any dimensions. Aggregate aware function is used to define both the dimensions and measures of such tables.</li>
<li>No aggregate tables are built in the database level. They contain the normal fact table at different granularities. In the universe, aggregate aware is used only to define the measures and aggregate incompatibility is set accordingly.</li>
</ol>
<p style="text-align: justify;">The first approach is better in terms of performance, since for the higher levels of aggregation, all the information is obtained for a single table. However, a large scale implementation of this approach in a dimensional schema is difficult. In most BI projects, the second approach is preferred</p>
<p style="text-align: justify;"><strong>What is a derived table? What is its utility?</strong></p>
<p style="padding-left: 30px; text-align: justify;">A derived table is a table created in the universe using an SQL Query from database level. The columns selected in the query become the columns of the derived table. A derived table can be used for complex calculations, which are difficult to achieve in report level. Such calculations are done in query level itself.</p>
<p style="padding-left: 30px; text-align: justify;">Another use of derived table can be to access tables from a different schema through a dblink.</p>
<p style="text-align: justify;"><img class="size-full wp-image-15808 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b5.jpg" alt="b5" width="532" height="481" /></p>
<p style="text-align: justify;"><strong>How is a derived table different from a view? Which one is a preferred solution?</strong></p>
<p style="padding-left: 30px; text-align: justify;">A derived table is present only in the universe level, while a view is created in data base level. Generally views are preferred since, in its case the onus of calculation remains on the database and it does not load the BO server. However, in cases where developers do not have access to database, derived table is the only solution.</p>
<p style="text-align: justify;"><strong>What is Index Awareness? How is it implemented?</strong></p>
<p style="padding-left: 30px; text-align: justify;">Index awareness is a property of the universe, by means of which values in the filter conditions of the queries/data providers built from the universe, are substituted by their corresponding indexes or surrogate keys. Generally the values in the filter condition come from a dimension table (like country etc) and we require a join with the fact table to get this value.</p>
<p style="padding-left: 30px; text-align: justify;">However, if index awareness is implemented, this join is eliminated and the query filter takes the equivalent index value from the fact table itself.</p>
<p style="padding-left: 30px; text-align: justify;">To implement index awareness, one needs to identify the dimension fields which are to be used in query filter. In the Edit Properties of the object, we get a Keys tab. In this tab, the source primary key of the table from which the object is derived needs to be defined as primary key, and the database columns for all foreign key relationships with the other tables also need to be defined here. Once this is done for all required dimensions, the universe will become index aware</p>
<p style="text-align: justify;"><img class="size-full wp-image-15809 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b6.jpg" alt="b6" width="642" height="554" /></p>
<p style="text-align: justify;"><strong>How can we use index awareness in universe prompt?</strong></p>
<p style="padding-left: 30px; text-align: justify;">An extended prompt syntax is available since BO 3.1. It is as follows</p>
<p style="padding-left: 30px; text-align: justify;"><img class="alignnone size-full wp-image-15810" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/03/b7.jpg" alt="b7" width="707" height="120" /></p>
<p style="padding-left: 30px; text-align: justify;">If the indexes for the dimension object is defined in the universe and we define the prompt condition on the object with the clause &lsquo;primary key&rsquo; in place of free or constrained, then the filter condition will convert the prompt values entered to their corresponding indexes and eliminate the join with the dimension table</p>
<p style="text-align: justify;">&nbsp;</p>1a3:T5942,<h2><span style="color: #993300;">WebMethods Interview Questions</span></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to find dependents of a selected element on the server?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Right click on the element for which you have to find the dependents in the navigational panel and click on the option find dependents.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is EAI?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">EAI or Enterprise Applications Integration can be defined as data that can be integrated from disparate applications regardless of the platform, allowing the sharing of business processes amongst multiple.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the primary function of the built-in pub.flow:savePipeline service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Save the current pipeline to a named memory location on the Integration Server.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is webMethods Developer?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">WebMethods Developer is a graphical development tool that you use to build, edit, and test integration logic. It provides an integrated development environment in which to develop the logic and supporting objects that carry out the work of an integration solution. It also provides tools for testing and debugging the solutions you create.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to invoke a service from a browser?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">http://servername:port/invoke/folder.subFolder.subsubFolder/serviceName</span> <span style="color: #000000;"> (the package name is not part of the URL in any way).</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What happens when the pub.flow:tracePipeline service is invoked?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">The Integration Server logs the name-value pairs in the pipeline at that time.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to remove a system lock from an element?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">System locks can be removed by making the server side files of the element as readable.right Click on the element in developer which is system locked.and choose the lock properties. It will display the server side files for the element. Make the files as readable and click the refresh button in the developer.You will find that the element is no more locked.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the primary purpose of a Web Service Connector?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">The purpose of Web Service Connector is to invoke a Web Service on a different web server Start up service will execute whenever the package is loaded or re-loaded</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to Restore a Session on a Server?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Developer gets disconnected from the server if the server goes down or if there is a problem in the network. Do not close the developer. If you close the developer you wont be able to save the changes.Once the server come up or the network problem is resolved. you will be automatically connected to the server and then you can restore your session.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do I change the JVM used by Integration Server?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">To change to the JDK used by webMethods you will need to edit the IntegrationServer\bin\server.bat or IntegrationServer/bin/server.sh file used to start up Integration Server.</span> <span style="color: #000000;"> Edit the file and change the following line to point to the JDK path</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">SET JAVA_DIR=C:\opt\j2sdk1.4.2</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are Structural transformations in WebMethods?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Splitting one field into several or merging fields, reordering portions of a message or renaming fields are known as structural transformations.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is a Startup Service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">A startup service is one that Integration Server automatically executes when it loads a package into memory.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the main companies which provide EAI tools / software?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;"><strong>The below companies are provide EAI tools:</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">TIBCO</span></li>
<li style="text-align: justify;"><span style="color: #000000;">WebMethods</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Vitria</span></li>
<li style="text-align: justify;"><span style="color: #000000;">iPlanet</span></li>
<li style="text-align: justify;"><span style="color: #000000;">MQSeries (IBM)</span></li>
<li style="text-align: justify;"><span style="color: #000000;">iPlanet</span></li>
<li style="text-align: justify;"><span style="color: #000000;">BizTalk (Microsoft)</span></li>
<li style="text-align: justify;"><span style="color: #000000;">WebLogic (BEA)</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is a Flow Service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">A flow service is a service that is written in the <a href="https://tekslate.com/web-methods-training" target="_blank" rel="noopener">webMethods</a> flow language. This simple yet powerful language lets you encapsulate a sequence of services within a single service and manage the flow of data among them.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the default behavior, if a Flow EXIT does not specify a &ldquo;from&rdquo;?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">$loop will be assumed, and a com.wm.lang.flow.FlowException will be thrown if the EXIT is not in a LOOP.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to preserve existing pipeline before a restorePipeline step?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Set the &ldquo;$merge&rdquo; variable in restorePipeline or &ldquo;merge&rdquo; in restorePipelineFromFile to be true. This will ensure that everything in the pipeline before a restorePipeline step is preserved.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>By default, the webMethods Integration Server has an HTTP listener assigned to which port?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">5555</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to open a session on a different server?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Select &ldquo;session&rdquo; from the menu in toolbar and click open. key in the server IP and port on which you have to open the connection.The user name and password on that server.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do I debug the Developer IDE itself ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Start the developer up in debug mode, similar to the Integration server-</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">cd pathToWMInstall/Developer/bin</span> <span style="color: #000000;"> developer.bat -debug 10</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do I sort using the JDBC select adapter service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Although there is no tab to specify &ldquo;order by&rdquo; the same functionality is able to be specified in the &ldquo;SELECT&rdquo; tab. One of the columns in the is labelled &ldquo;Sort Order&rdquo; which will allow you to specify the column(s) you wish to sort by. To alter the order: simply alter the order of the columns selected.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the Branch operation?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Branch operation conditionally executes an operation based on the value of a variable at run time.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do I throw an exception when using a try-catch block?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Set a flag in your catch block or leave a variable holding the error message in the pipeline.</span> <span style="color: #000000;"> Outside the catch block put a branch on that variable or flag and if it is non-null then exit with failure or call the service that generates the exception.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>If the webMethods Integration Server is started with from the server root directory with this command, &ldquo;bin\server.bat -debug 9 -log none&rdquo;, what does this tell the server to do?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Start in level 9 debug mode and write all server log information to the screen.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do I see the java code for my flow service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Flow is not turned into java code. It resides on disk as <a href="https://tekslate.com/xml/" target="_blank" rel="noopener">XML</a>&nbsp;representing the flow operations which is then parsed and turned into an in-memory java tree of the operations. Although the underlying code that implements the flow operations is java, it is stored on disk as XML.</span></p>
<h3><span style="color: #993300;">WebMethods Interview Questions For Experienced</span></h3>
<p style="text-align: justify;"><span style="color: #993300;"><strong>When creating Flow services, what is the purpose of a SEQUENCE operation?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">The purpose of Sequence operation is to group a subset of Flow operations so that they are treated as a unit.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is the Pipeline?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">The pipeline is the general term used to refer to the data structure in which input and output values are maintained for a flow service. It allows services in the flow to share data.The pipeline starts with the input to the flow service and collects inputs and outputs from subsequent services in the flow. When a service in the flow executes, it has access to all data in the pipeline at that point.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is WebMethods?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">A company that provides integration tools. The key products include Integration Server, Enterprise Server, Business Integrator, Workflow and Mainframe Integration Server. WebMethods is a company, not a product.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>For a REPEAT operation to execute as long as the specified repeat condition remains true, the count parameter needs to be set to:?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">The count parameter needs to be set to &ldquo;-1 &rdquo; .</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the Advantages of EAI?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;"><strong>Advantages of EAI solutions are:</strong></span></p>
<ol>
<li style="text-align: justify;"><span style="color: #000000;">Streamlines business processes and helps raise organizational efficiency.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Real time information access among systems.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Maintains information integrity across multiple systems.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Speedier transactions at reduced costs.</span></li>
</ol>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">If one of the applications misbehaves and requires to be shut down for maintenance, then with EAI, we can easily &ldquo;decouple&rdquo; it from rest of the systems. Which avoids having to bring down other systems.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>When creating a BRANCH flow element, what is the purpose of the &ldquo;scope&rdquo; field on the properties tab?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">To restrict pipeline access to only the data in this document.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the modules of webMethods Product Suite?</strong></span></p>
<div style="padding-left: 30px; text-align: justify;"><span style="color: #000000;"><strong>WebMethods Product Suite Modules:</strong></span></div>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Integration and B2B</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Service Oriented Architecture</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Business Process Management</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Business Activity Monitoring</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the tools of webMethods Integration?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;"><strong>WebMethod Tools:</strong></span></p>
<ol>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Adapters</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Developer</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Integration Server</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Integration Platform</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Broker</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Monitor</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Optimize for Infrastructure</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods Trading Networks</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods EDI Module</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods EDIINT</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods eStandards Modules</span></li>
<li style="text-align: justify;"><span style="color: #000000;">webMethods PIM</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to Change the Order of Steps in a Flow Service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">We can change the Order of steps in a Flow Service of Various other services which are called in sequence within Flow service using &ldquo;Shift Up and Shift Down&rdquo; buttons exists at top of Editor Panel.</span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">As well we can move any service or Map inside a SEQUENCE or BRANCH using &ldquo;Shift Left and Shift Right&rdquo; buttons</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How should I organize connection pools?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">If you have adapter notifications and adapter services then you will need to have two separate connections. Otherwise you may get strange errors about transactions and the like. You should also avoid having connection pools shared across different functional areas, even if they are pointing to the same database. The reason for this is that tuning the size of the pool becomes quite difficult if you have multiple types of usage of a pool. You are also unable to easily change the database settings for one without impacting on the other. One approach that seems to work quite well is to have separate pools for each package (generally.. not a hard and fast rule though), as your packages should generally be divided up according to functional area too.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the disadvantages of EAI?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;"><strong style="color: #000000;">The main </strong><span style="color: #000000;"><strong>disadvantages</strong></span><strong style="color: #000000;">&nbsp;of using EAI systems:</strong></span></p>
<ol style="list-style-type: lower-roman;">
<li><span style="color: #000000;">Constant change: The very nature of EAI is dynamic and requires dynamic project managers to manage their implementation.</span></li>
<li><span style="color: #000000;">Lack of EAI experts : EAI requires knowledge of many issues and technical aspects.</span></li>
<li>EAI is a tool paradigm: EAI is not a tool, but rather a system and should be implemented as such.</li>
<li style="text-align: justify;"><span style="color: #000000;">Building interfaces is an art : Engineering the solution is not sufficient. Solutions need to be negotiated with user departments to reach a common consensus on the final outcome. A lack of consensus on interface designs leads to excessive effort to map between various systems data requirements.</span></li>
<li><span style="color: #000000;">Loss of detail : Information that seemed unimportant at an earlier stage may become crucial later.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Accountability : Since so many departments have many conflicting requirements, there should be clear accountability for the system&rsquo;s final structure.</span></li>
</ol>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How ACLs Affect locking?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">ACLS are used to give the authorization to the particular user groups. If u give ACL to administrator then the admin group users who are there in that group they can have the access to that particular service. Otherwise we can not use it. This is called ACL locking.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to use SEQUENCE as the Target of a BRANCH?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Set evaluate label property of branch step to true. Then set the label property of sequence with the value on which it needs to be processed.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to Find Elements in the Navigation Panel?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Just right click on the element which you want to see then u click Locate in navigation option then u can see that element in the navigation panel.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is an Element?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">An element is an item that exists in the Navigation panel in webMethods Developer. Elements include folders, services, specifications, IS document types, triggers, and ISschemas. In the Navigation panel, servers and packages are not considered to be elements.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How can the webMethods Integration Server logging date format be changed?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">By editing the watt.server.dateStampFmt parameter in the server.cnf file.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to get the current index of the List in a loop?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">There is a special variable on the pipeline called $iteration which will be incremented as the loop operator works up through the list.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>When coding IS Services, how can a variable of type Document Type be represented in Java?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #000000;">Variable of type Document Type be represented as "IData".</span></p>1a4:T150b9,<h2 style="text-align: justify;">HR Interview Questions</h2>
<p style="text-align: justify;">Start with the present and tell why you are well qualified for the position. Remember that the key to all successful interviewing is to match your qualifications to what the interviewer is looking for. In other words you must sell what the buyer is buying. This is the single most important strategy in job hunting.</p>
<p style="text-align: justify;">So, before you answer this or any question it's imperative that you try to uncover your interviewer's greatest need, want, problem or goal.</p>
<p style="text-align: justify;">To do so, make you take these two steps:</p>
<p style="text-align: justify;">Do all the homework you can before the hr interview to uncover this person's wants and needs (not the generalized needs of the industry or company)</p>
<p style="text-align: justify;">As early as you can in the interview, ask for a more complete description of what the position entails. You might say: &ldquo;I have a number of accomplishments I'd like to tell you about, but I want to make the best use of our time together and talk directly to your needs. To help me do, that, could you tell me more about the most important priorities of this position? All I know is what I (heard from the recruiter, read in the classified ad, etc</p>
<p style="text-align: justify;">Then, ALWAYS follow-up with a second and possibly, third question, to draw out his needs even more. Surprisingly, it's usually this second or third question that unearths what the interviewer is most looking for. You might ask simply, "And in addition to that?..." or, "Is there anything else you see as essential to success in this position?:</p>
<p style="text-align: justify;">This process will not feel easy or natural at first, because it is easier simply to answer questions, but only if you uncover the employer's wants and needs will your answers make the most sense. Practice asking these key questions before giving your answers, the process will feel more natural and you will be light years ahead of the other job candidates you're competing with. After uncovering what the employer is looking for, describe why the needs of this job bear striking parallels to tasks you've succeeded at before. Be sure to illustrate with specific examples of your responsibilities and especially your achievements, all of which are geared to present yourself as a perfect match for the needs he has just described.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are your greatest strengths?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You know that your key strategy is to first uncover your interviewer's greatest wants and needs before you answer questions. And from Question 1, you know how to do&nbsp;this. Prior to any interview, you should have a list mentally prepared of your greatest strengths. You should also have, a specific example or two, which illustrates each strength, an example chosen from your most recent and most impressive achievements. You should, have this list of your greatest strengths and corresponding examples from your achievements so well committed to memory that you can recite them cold after being shaken awake at 2:30AM.</p>
<p style="padding-left: 30px; text-align: justify;">Then, once you uncover your interviewer's greatest wants and needs, you can choose those achievements from your list that best match up. As a general guideline, the 10 most desirable traits that all employers love to see in their employees are:</p>
<p style="padding-left: 30px; text-align: justify;">A proven track record as an achiever...especially if your achievements match up with the employer's greatest wants and needs.</p>
<p style="padding-left: 30px; text-align: justify;">Intelligence...management "savvy".</p>
<p style="padding-left: 30px; text-align: justify;">Honesty...integrity...a decent human being.</p>
<p style="padding-left: 30px; text-align: justify;">Good fit with corporate culture...someone to feel comfortable with...a team player who meshes well with interviewer's team.</p>
<p style="padding-left: 30px; text-align: justify;">Likeability...positive attitude...sense of humor.</p>
<p style="padding-left: 30px; text-align: justify;">Good communication skills.</p>
<p style="padding-left: 30px; text-align: justify;">Dedication...willingness to walk the extra mile to achieve excellence.</p>
<p style="padding-left: 30px; text-align: justify;">Definiteness of purpose...clear goals.</p>
<p style="padding-left: 30px; text-align: justify;">Enthusiasm...high level of motivation.</p>
<p style="padding-left: 30px; text-align: justify;">Confident...healthy...a leader.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are your greatest weaknesses?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Disguise strength as a weakness.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I sometimes push my people too hard. I like to work with a sense of urgency and everyone is not always on the same wavelength.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">Drawback: This strategy is better than admitting a flaw, but it's so widely used, it is transparent to any experienced interviewer.</p>
<p style="padding-left: 30px; text-align: justify;">BEST ANSWER: (and another reason it's so important to get a thorough description of your interviewer's needs before you answer questions): Assure the interviewer that you can think of nothing that would stand in the way of your performing in this position with excellence. Then, quickly review you strongest qualifications.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;Nobody's perfect, but based on what you've told me about this position, I believe I'd make an outstanding match. I know that when I hire people, I look for two things most of all. Do they have the qualifications to do the job well, and the motivation to do it well? Everything in my background shows I have both the qualifications and a strong desire to achieve excellence in whatever I take on. So I can say in all honesty that I see nothing that would cause you even a small concern about my ability or my strong desire to perform this job with excellence.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">Alternate strategy (if you don't yet know enough about the position to talk about such a perfect fit): Instead of confessing a weakness, describe what you like most and like least, making sure that what you like most matches up with the most important qualification for success in the position, and what you like least is not essential.</p>
<p style="padding-left: 30px; text-align: justify;">Example: Let's say you're applying for a teaching position. &ldquo;If given a choice, I like to spend as much time as possible in front of my prospects selling, as opposed to shuffling paperwork back at the office. Of course, I long ago learned the importance of filing paperwork properly, and I do it conscientiously. But what I really love to do is sell (if your interviewer were a sales manager, this should be music to his ears.)</p>
<p style="padding-left: 30px; text-align: justify;">Tell me about something you did &ndash; or failed to do &ndash; that you now feel a little ashamed of ?As with faults and weaknesses, never confess a regret. But don&rsquo;t seem as if you&rsquo;re stonewalling either.</p>
<p style="padding-left: 30px; text-align: justify;">Best strategy: Say you harbor no regrets, then add a principle or habit you practice regularly for healthy human relations.</p>
<p style="padding-left: 30px; text-align: justify;">Example: Pause for reflection, as if the question never occurred to you. Then say to hr, &ldquo;You know, I really can&rsquo;t think of anything.&rdquo; (Pause again, then add): &ldquo;I would add that as a general management principle, I&rsquo;ve found that the best way to avoid regrets is to avoid causing them in the first place. I practice one habit that helps me a great deal in this regard. At the end of each day, I mentally review the day&rsquo;s events and conversations to take a second look at the people and developments I&rsquo;m involved with and do a double check of what they&rsquo;re likely to be feeling. Sometimes I&rsquo;ll see things that do need more follow-up, whether a pat on the back, or maybe a five minute chat in someone&rsquo;s office to make sure we&rsquo;re clear on things&hellip;whatever.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;I also like to make each person feel like a member of an elite team, like the Boston Celtics or LA Lakers in their prime. I&rsquo;ve found that if you let each team member know you expect excellence in their performance&hellip;if you work hard to set an example yourself&hellip;and if you let people know you appreciate and respect their feelings, you&nbsp;wind up with a highly motivated group, a team that&rsquo;s having fun at work because they&rsquo;re striving for excellence rather than brooding over slights or regrets.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why are you leaving (or did you leave) this position?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">(If you have a job presently tell the hr)</p>
<p style="padding-left: 30px; text-align: justify;">If you&rsquo;re not yet 100% committed to leaving your present post, don&rsquo;t be afraid to say so. Since you have a job, you are in a stronger position than someone who does not. But don&rsquo;t be coy either. State honestly what you&rsquo;d be hoping to find in a new spot. Of course, as stated often before, you answer will all the stronger if you have already uncovered what this position is all about and you match your desires to it.</p>
<p style="padding-left: 30px; text-align: justify;">(If you do not presently have a job tell the hr.)</p>
<p style="padding-left: 30px; text-align: justify;">Never lie about having been fired. It&rsquo;s unethical &ndash; and too easily checked. But do try to deflect the reason from you personally. If your firing was the result of a takeover, merger, division wide layoff, etc., so much the better. But you should also do something totally unnatural that will demonstrate consummate professionalism. Even if it hurts, describe your own firing &ndash; candidly, succinctly and without a trace of bitterness &ndash; from the company&rsquo;s point-of-view, indicating that you could understand why it happened and you might have made the same decision yourself.</p>
<p style="padding-left: 30px; text-align: justify;">Your stature will rise immensely and, most important of all, you will show you are healed from the wounds inflicted by the firing. You will enhance your image as first-class management material and stand head and shoulders above the legions of firing victims who, at the slightest provocation, zip open their shirts to expose their battle scars and decry the unfairness of it all.</p>
<p style="padding-left: 30px; text-align: justify;">For all prior positions:</p>
<p style="padding-left: 30px; text-align: justify;">Make sure you&rsquo;ve prepared a brief reason for leaving. Best reasons: more money, opportunity, responsibility or growth.</p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #993300;"><strong>The "Silent Treatment"</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Like a primitive tribal mask, the Silent Treatment loses all it power to frighten you once you refuse to be intimidated. If your interviewer pulls it, keep quiet yourself for a while and then ask, with sincere politeness and not a trace of sarcasm, &ldquo;Is there anything else I can fill in on that point?&rdquo; That&rsquo;s all there is to it.</p>
<p style="padding-left: 30px; text-align: justify;">Whatever you do, don&rsquo;t let the Silent Treatment intimidate you into talking a blue streak, because you could easily talk yourself out of the position.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why should I hire you?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">By now you can see how critical it is to apply the overall strategy of uncovering the employer&rsquo;s needs before you answer questions. If you know the employer&rsquo;s greatest needs and desires, this question will give you a big leg up over other candidates because you will give him better reasons for hiring you than anyone else is likely to&hellip;reasons tied directly to his needs. Whether your interviewer asks you this question explicitly or not, this is the most important question of your interview because he must answer this question favourably in his own mind before you will be hired. So help him out! Walk through each of the position&rsquo;s requirements as you understand them, and follow each with a reason why you meet that requirement so well.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;As I understand your needs, you are first and foremost looking for someone who can manage the sales and marketing of your book publishing division. As you&rsquo;ve said you need someone with a strong background in trade book sales. This is where I&rsquo;ve spent almost all of my career, so I&rsquo;ve chalked up 18 years of experience exactly in this area. I believe that I know the right contacts, methods, principles, and successful management techniques as well as any person can in our industry.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;You also need someone who can expand your book distribution channels. In my prior post, my innovative promotional ideas doubled, then tripled, the number of outlets selling our books. I&rsquo;m confident I can do the same for you.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;You need someone to give a new shot in the arm to your mail order sales, someone who knows how to sell in space and direct mail media. Here, too, I believe I have exactly the experience you need. In the last five years, I&rsquo;ve increased our mail order book sales from $600,000 to $2,800,000, and now we&rsquo;re the country&rsquo;s second leading marketer of scientific and medical books by mail.&rdquo; Etc., etc., etc.,</p>
<p style="padding-left: 30px; text-align: justify;">Every one of these selling &ldquo;couplets&rdquo; (his need matched by your qualifications) is a touchdown that runs up your score. IT is your best opportunity to outsell your competition.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Aren&rsquo;t you overqualified for this position?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">As with any objection, don&rsquo;t view this as a sign of imminent defeat. It&rsquo;s an invitation to teach the interviewer a new way to think about this situation, seeing advantages instead of drawbacks.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I recognize the job market for what it is &ndash; a marketplace. Like any marketplace, it&rsquo;s subject to the laws of supply and demand. So &lsquo;overqualified&rsquo; can be a relative term, depending on how tight the job market is. And right now, it&rsquo;s very tight. I understand and accept that.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;I also believe that there could be very positive benefits for both of us in this match.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Because of my unusually strong experience in ________________ , I could start to contribute right away, perhaps much faster than someone who&rsquo;d have to be brought along more slowly.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;There&rsquo;s also the value of all the training and years of experience that other companies have invested tens of thousands of dollars to give me. You&rsquo;d be getting all the value of that without having to pay an extra dime for it. With someone who has yet to acquire that experience, he&rsquo;d have to gain it on your nickel.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;I could also help you in many things they don&rsquo;t teach at the Harvard Business School. For example&hellip;(how to hire, train, motivate, etc.) When it comes to knowing how to work well with people and getting the most out of them, there&rsquo;s just no substitute for what you learn over many years of front-line experience. You company would gain all this, too.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;From my side, there are strong benefits, as well. Right now, I am unemployed. I want to work, very much, and the position you have here is exactly what I love to do and am best at. I&rsquo;ll be happy doing this work and that&rsquo;s what matters most to me, a lot more that money or title.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Most important, I&rsquo;m looking to make a long term commitment in my career now. I&rsquo;ve had enough of job-hunting and want a permanent spot at this point in my career. I also know that if I perform this job with excellence, other opportunities cannot help but open up for me right here. In time, I&rsquo;ll find many other ways to help this company and in so doing, help myself. I really am looking to make a long-term commitment.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">NOTE: The main concern behind the &ldquo;overqualified&rdquo; question is that you will leave your new employer as soon as something better comes your way. Anything you can say to demonstrate the sincerity of your commitment to the employer and reassure him that you&rsquo;re looking to stay for the long-term will help you overcome this objection.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Where do you see yourself five years from now?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Reassure your interviewer that you&rsquo;re looking to make a long-term commitment&hellip;that this position entails exactly what you&rsquo;re looking to do and what you do extremely well. As for your future, you believe that if you perform each job at hand with excellence, future opportunities will take care of themselves.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I am definitely interested in making a long-term commitment to my next position.</p>
<p style="padding-left: 30px; text-align: justify;">Judging by what you&rsquo;ve told me about this position, it&rsquo;s exactly what I&rsquo;m looking for and what I am very well qualified to do. In terms of my future career path, I&rsquo;m confident that if I do my work with excellence, opportunities will inevitable open up for me. It&rsquo;s always been that way in my career, and I&rsquo;m confident I&rsquo;ll have similar opportunities here.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">Describe your ideal company, location and job.</p>
<p style="padding-left: 30px; text-align: justify;">The only right answer is to describe what this company is offering, being sure to make your answer believable with specific reasons, stated with sincerity, why each quality represented by this opportunity is attractive to you.</p>
<p style="padding-left: 30px; text-align: justify;">Remember that if you&rsquo;re coming from a company that&rsquo;s the leader in its field or from a glamorous or much admired company, industry, city or position, your interviewer and his company may well have an &ldquo;Avis&rdquo; complex. That is, they may feel a bit defensive about being &ldquo;second best&rdquo; to the place you&rsquo;re coming from, worried that you may consider them bush league.</p>
<p style="padding-left: 30px; text-align: justify;">This anxiety could well be there even though you&rsquo;ve done nothing to inspire it. You must go out of your way to assuage such anxiety, even if it&rsquo;s not expressed, by putting their virtues high on the list of exactly what you&rsquo;re looking for, providing credible reason for wanting these qualities.</p>
<p style="padding-left: 30px; text-align: justify;">If you do not express genuine enthusiasm for the firm, its culture, location, industry, etc., you may fail to answer this &ldquo;Avis&rdquo; complex objection and, as a result, leave the interviewer suspecting that a hot shot like you, coming from a Fortune 500 company in New York, just wouldn&rsquo;t be happy at an unknown manufacturer based in Topeka, Kansas.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why do you want to work at our company?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This question is your opportunity to hit the ball out of the park, thanks to the in-depth research you should do before any interview.</p>
<p style="padding-left: 30px; text-align: justify;">Best sources for researching your target company: annual reports, the corporate newsletter, contacts you know at the company or its suppliers, advertisements, articles about the company in the trade press.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are your career options right now?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Prepare for this question by thinking of how you can position yourself as a desired commodity. If you are still working, describe the possibilities at your present firm and why, though you&rsquo;re greatly appreciated there, you&rsquo;re looking for something more&nbsp;(challenge, money, responsibility, etc.). Also mention that you&rsquo;re seriously exploring opportunities with one or two other firms.</p>
<p style="padding-left: 30px; text-align: justify;">If you&rsquo;re not working, you can talk about other employment possibilities you&rsquo;re actually exploring. But do this with a light touch, speaking only in general terms. You don&rsquo;t want to seem manipulative or coy.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why have you been out of work so long ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You want to emphasize factors which have prolonged your job search by your own choice.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;After my job was terminated, I made a conscious decision not to jump on the first opportunities to come along. In my life, I&rsquo;ve found out that you can always turn a negative into a positive IF you try hard enough. This is what I determined to do. I decided to take whatever time I needed to think through what I do best, what I most want to do, where I&rsquo;d like to do it&hellip;and then identify those companies that could offer such an opportunity.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Also, in all honesty, you have to factor in the recession (consolidation, stabilization, etc.) in the (banking, financial services, manufacturing, advertising, etc.) industry.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;So between my being selective and the companies in our industry downsizing, the process has taken time. But in the end, I&rsquo;m convinced that when I do find the right match, all that careful evaluation from both sides of the desk will have been well worthwhile for both the company that hires me and myself.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Tell me honestly about the strong points and weak points of your boss (company, management team, etc.)</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Remember the rule: Never be negative. Stress only the good points, no matter how charmingly you&rsquo;re invited to be critical.</p>
<p style="padding-left: 30px; text-align: justify;">Your interviewer doesn&rsquo;t care a whit about your previous boss. He wants to find out how loyal and positive you are, and whether you&rsquo;ll criticize him behind his back if pressed to do so by someone in this own company. This question is your opportunity to demonstrate your loyalty to those you work with.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What good books have you read lately?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Unless you&rsquo;re up for a position in academia or as book critic for The New York Times, you&rsquo;re not expected to be a literary lion. But it wouldn&rsquo;t hurt to have read a handful of the most recent and influential books in your profession and on management.</p>
<p style="padding-left: 30px; text-align: justify;">Consider it part of the work of your job search to read up on a few of these leading books. But make sure they are quality books that reflect favourably upon you, nothing that could even remotely be considered superficial. Finally, add a recently published bestselling work of fiction by a world-class author and you&rsquo;ll pass this question with flying colors.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Tell me about a situation when your work was criticized?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Begin by emphasizing the extremely positive feedback you&rsquo;ve gotten throughout your career and (if it&rsquo;s true) that your performance reviews have been uniformly excellent.</p>
<p style="padding-left: 30px; text-align: justify;">Of course, no one is perfect and you always welcome suggestions on how to improve your performance. Then, give an example of a not-too-damaging learning experience from early in your career and relate the ways this lesson has since helped you. This demonstrates that you learned from the experience and the lesson is now one of the strongest breastplates in your suit of armor.</p>
<p style="padding-left: 30px; text-align: justify;">If you are pressed for a criticism from a recent position, choose something fairly trivial that in no way is essential to your successful performance. Add that you&rsquo;ve learned from this, too, and over the past several years/months, it&rsquo;s no longer an area of concern because you now make it a regular practice to&hellip;etc.</p>
<p style="padding-left: 30px; text-align: justify;">Another way to answer this question would be to describe your intention to broaden your master of an area of growing importance in your field. For example, this might be a computer program you&rsquo;ve been meaning to sit down and learn&hellip; a new management technique you&rsquo;ve read about&hellip;or perhaps attending a seminar on some cutting-edge branch of your profession. Again, the key is to focus on something not essential to your brilliant performance but which adds yet another dimension to your already impressive knowledge base.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are your outside interests?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Try to gauge how this company&rsquo;s culture would look upon your favourite outside activities and be guided accordingly.</p>
<p style="padding-left: 30px; text-align: justify;">You can also use this question to shatter any stereotypes that could limit your chances. If you&rsquo;re over 50, for example, describe your activities that demonstrate physical stamina. If you&rsquo;re young, mention an activity that connotes wisdom and institutional trust, such as serving on the board of a popular charity.</p>
<p style="padding-left: 30px; text-align: justify;">But above all, remember that your employer is hiring your for what you can do for him, not your family, yourself or outside organizations, no matter how admirable those activities may be.</p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #993300;"><strong>The &ldquo;Fatal Flaw&rdquo; question</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">As every master salesperson knows, you will encounter objections (whether stated or merely thought) in every sale. They&rsquo;re part and parcel of the buyer&rsquo;s anxiety. The key is not to exacerbate the buyer&rsquo;s anxiety but diminish it. Here&rsquo;s how&hellip;</p>
<p style="padding-left: 30px; text-align: justify;">Whenever you come up against a fatal flaw question:</p>
<p style="padding-left: 30px; text-align: justify;">Be completely honest, open and straightforward about admitting the shortcoming. (Showing you have nothing to hide diminishes the buyer&rsquo;s anxiety.)</p>
<p style="padding-left: 30px; text-align: justify;">Do not apologize or try to explain it away. You know that this supposed flaw is nothing to be concerned about, and this is the attitude you want your interviewer to adopt as well.</p>
<p style="padding-left: 30px; text-align: justify;">Add that as desirable as such a qualification might be, its lack has made you work all the harder throughout your career and has not prevented you from compiling an outstanding track record of achievements. You might even give examples of how, through a relentless commitment to excellence, you have consistently outperformed those who do have this qualification.</p>
<p style="padding-left: 30px; text-align: justify;">Of course, the ultimate way to handle &ldquo;fatal flaw&rdquo; questions is to prevent them from arising in the first place. You will do that by following the master strategy described in Question 1, i.e., uncovering the employers needs and them matching your qualifications to those needs.</p>
<p style="padding-left: 30px; text-align: justify;">Once you&rsquo;ve gotten the employer to start talking about his most urgently-felt wants and goals for the position, and then help him see in step-by-step fashion how perfectly your background and achievements match up with those needs, you&rsquo;re going to have one very enthusiastic interviewer on your hands, one who is no longer looking for &ldquo;fatal flaws&rdquo;.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do you feel about reporting to a younger person (minority, woman, etc)?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You greatly admire a company that hires and promotes on merit alone and you couldn&rsquo;t agree more with that philosophy. The age (gender, race, etc.) of the person you report to would certainly make no difference to you.</p>
<p style="padding-left: 30px; text-align: justify;">Whoever has that position has obviously earned it and knows their job well. Both the person and the position are fully deserving of respect. You believe that all people in a company, from the receptionist to the Chairman, work best when their abilities, efforts and feelings are respected and rewarded fairly, and that includes you. That&rsquo;s the best type of work environment you can hope to find.</p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #993300;"><strong>On confidential matters&hellip;</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Your interviewer may press you for this information for two reasons.</p>
<p style="padding-left: 30px; text-align: justify;">First, many companies use interviews to research the competition. It&rsquo;s a perfect set-up. Here in their own lair, is an insider from the enemy camp who can reveal prized information on the competition&rsquo;s plans, research, financial condition, etc.</p>
<p style="padding-left: 30px; text-align: justify;">Second, the company may be testing your integrity to see if you can be cajoled or bullied into revealing confidential data.</p>
<p style="padding-left: 30px; text-align: justify;">What to do? The answer here is easy. Never reveal anything truly confidential about a present or former employer. By all means, explain your reticence diplomatically. For example, &ldquo;I certainly want to be as open as I can about that. But I also wish to respect the rights of those who have trusted me with their most sensitive information, just as you would hope to be able to trust any of your key people when talking with a competitor&hellip;&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">And certainly you can allude to your finest achievements in specific ways that don&rsquo;t reveal the combination to the company safe.</p>
<p style="padding-left: 30px; text-align: justify;">But be guided by the golden rule. If you were the owner of your present company, would you feel it ethically wrong for the information to be given to your competitors? If so, steadfastly refuse to reveal it.</p>
<p style="padding-left: 30px; text-align: justify;">Remember that this question pits your desire to be cooperative against your integrity. Faced with any such choice, always choose integrity. It is a far more valuable commodity than whatever information the company may pry from you. Moreover, once you surrender the information, your stock goes down. They will surely lose respect for you.</p>
<p style="padding-left: 30px; text-align: justify;">One President we know always presses candidates unmercifully for confidential information. If he doesn&rsquo;t get it, he grows visibly annoyed, relentlessly inquisitive, It&rsquo;s all an act. He couldn&rsquo;t care less about the information. This is his way of testing the candidate&rsquo;s moral fiber. Only those who hold fast are hired.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What would you say to your boss if he&rsquo;s crazy about an idea, but you think it stinks?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Remember the rule stated earlier: In any conflict between values, always choose integrity.</p>
<p style="padding-left: 30px; text-align: justify;">Example: I believe that when evaluating anything, it&rsquo;s important to emphasize the positive.</p>
<p style="padding-left: 30px; text-align: justify;">What do I like about this idea?&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Then, if you have reservations, I certainly want to point them out, as specifically, objectively and factually as I can.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;After all, the most important thing I owe my boss is honesty. If he can&rsquo;t count on me for that, then everything else I may do or say could be questionable in his eyes.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;But I also want to express my thoughts in a constructive way. So my goal in this case would be to see if my boss and I could make his idea even stronger and more appealing, so that it effectively overcomes any initial reservation I or others may have about it.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Of course, if he overrules me and says, &lsquo;no, let&rsquo;s do it my way,&rsquo; then I owe him my full and enthusiastic support to make it work as best it can.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How could you have improved your career progress?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You&rsquo;re generally quite happy with your career progress. Maybe, if you had known something earlier in life (impossible to know at the time, such as the booming growth in a branch in your industry&hellip;or the corporate downsizing that would phase out your last job), you might have moved in a certain direction sooner.</p>
<p style="padding-left: 30px; text-align: justify;">But all things considered, you take responsibility for where you are, how you&rsquo;ve gotten there, where you are going&hellip;and you harbor no regrets.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What would you do if a fellow executive on your own corporate level wasn&rsquo;t pulling his/her weight&hellip;and this was hurting your department?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Try to gauge the political style of the firm and be guided accordingly. In general, fall back on universal principles of effective human relations &ndash; which in the end, embody the way you would like to be treated in a similar circumstance.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;Good human relations would call for me to go directly to the person and explain the situation, to try to enlist his help in a constructive, positive solution. If I sensed resistance, I would be as persuasive as I know how to explain the benefits we can all gain from working together, and the problems we, the company and our customers will experience if we don&rsquo;t.&rdquo;</p>
<h2 style="text-align: justify;"><strong>POSSIBLE FOLLOW-UP QUESTION</strong></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>And what would you do if he still did not change his ways?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">ANSWER: &ldquo;One thing I wouldn&rsquo;t do is let the problem slide, because it would only get worse and overlooking it would set a bad precedent. I would try again and again and again, in whatever way I could, to solve the problem, involving wider and wider circles&nbsp;of people, both above and below the offending executive and including my own boss if necessary, so that everyone involved can see the rewards for teamwork and the drawbacks of non-cooperation.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;I might add that I&rsquo;ve never yet come across a situation that couldn&rsquo;t be resolved by harnessing others in a determined, constructive effort.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>You&rsquo;ve been with your firm a long time. Won&rsquo;t it be hard switching to a new company?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">To overcome this objection, you must point to the many ways you have grown and adapted to changing conditions at your present firm. It has not been a static situation. Highlight the different responsibilities you&rsquo;ve held, the wide array of new situations you&rsquo;ve faced and conquered.</p>
<p style="padding-left: 30px; text-align: justify;">As a result, you&rsquo;ve learned to adapt quickly to whatever is thrown at you, and you thrive on the stimulation of new challenges.</p>
<p style="padding-left: 30px; text-align: justify;">To further assure the interviewer, describe the similarities between the new position and your prior one. Explain that you should be quite comfortable working there, since their needs and your skills make a perfect match.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>May I contact your present employer for a reference?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Express your concern that you&rsquo;d like to keep your job search private, but that in time, it will be perfectly okay.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;My present employer is not aware of my job search and, for obvious reasons; I&rsquo;d prefer to keep it that way. I&rsquo;d be most appreciative if we kept our discussion confidential right now. Of course, when we both agree the time is right, then by all means you should contact them. I&rsquo;m very proud of my record there.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Give me an example of your creativity (analytical skill&hellip;managing ability, etc.)</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Remember from Question 2 that you should commit to memory a list of your greatest and most recent achievements, ever ready on the tip of your tongue.</p>
<p style="padding-left: 30px; text-align: justify;">If you have such a list, it&rsquo;s easy to present any of your achievements in light of the quality the interviewer is asking about. For example, the smashing success you orchestrated at last year&rsquo;s trade show could be used as an example of creativity, or analytical ability, or your ability to manage.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Where could you use some improvement?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Keep this answer, like all your answers, positive. A good way to answer this question is to identify a cutting-edge branch of your profession (one that&rsquo;s not essential to your employer&rsquo;s needs) as an area you&rsquo;re very excited about and want to explore more fully over the next six months.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What do you worry about?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Redefine the word &lsquo;worry&rsquo; so that it does not reflect negatively on you.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I wouldn&rsquo;t call it worry, but I am a strongly goal-oriented person. So I keep turning over in my mind anything that seems to be keeping me from achieving those goals, until I find a solution. That&rsquo;s part of my tenacity, I suppose.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>I&rsquo;m concerned that you don&rsquo;t have as much experience as we&rsquo;d like in...</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This question is related to &ldquo;The Fatal Flaw&rdquo; , but here the concern is not that you are totally missing some qualifications, such as CPA certification, but rather that your experience is light in one area.</p>
<p style="padding-left: 30px; text-align: justify;">Before going into any interview, try to identify the weakest aspects of your candidacy from this company&rsquo;s point of view. Then prepare the best answer you possible can to shore up your defenses.</p>
<p style="padding-left: 30px; text-align: justify;">To get past this question with flying colors, you are going to rely on your master strategy of uncovering the employer&rsquo;s greatest wants and needs and then matching them with your strengths. Since you already know how to do this from Question 1, you are in a much stronger position.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>More specifically, when the interviewer poses as objection like this, you should&hellip;</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Agree on the importance of this qualification.</p>
<p style="padding-left: 30px; text-align: justify;">Explain that your strength may be indeed be greater than your resume indicates because&hellip;</p>
<p style="padding-left: 30px; text-align: justify;">When this strength is added to your other strengths, it&rsquo;s really your combination of qualifications that&rsquo;s most important. Then review the areas of your greatest strengths that match up most favorably with the company&rsquo;s most urgently-felt wants and needs.</p>
<p style="padding-left: 30px; text-align: justify;">This is powerful way to handle this question for two reasons. First, you&rsquo;re giving your interviewer more ammunition in the area of his concern. But more importantly, you&rsquo;re shifting his focus away from this one, isolated area and putting it on the unique&nbsp;combination of strengths you offer, strengths which tie in perfectly with his greatest wants.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do you feel about working nights and weekends?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">First, if you&rsquo;re a confirmed workaholic, this question is a softball lob. Whack it out of the park on the first swing by saying this kind of schedule is just your style. Add that your family understands it. Indeed, they&rsquo;re happy for you, as they know you get your greatest satisfaction from your work.</p>
<p style="padding-left: 30px; text-align: justify;">If however, you prefer a more balanced lifestyle, answer this question with another: &ldquo;What&rsquo;s the norm for your best people here?&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">If the hours still sound unrealistic for you, ask, &ldquo;Do you have any top people who perform exceptionally for you, but who also have families and like to get home in time to see them at night?&rdquo; Chances are this company does, and this associates you with this other &ldquo;top-performers who- leave-not-later-than-six&rdquo; group.</p>
<p style="padding-left: 30px; text-align: justify;">Depending on the answer, be honest about how you would fit into the picture. If all those extra hours make you uncomfortable, say so, but phrase your response positively.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I love my work and do it exceptionally well. I think the results speak for themselves, especially in &hellip;(mention your two or three qualifications of greater interest to the employer.</p>
<p style="padding-left: 30px; text-align: justify;">Remember, this is what he wants most, not a workaholic with weak credentials). Not only would I bring these qualities, but I&rsquo;ve built my whole career on working not just hard, but smart. I think you&rsquo;ll find me one of the most productive people here.</p>
<p style="padding-left: 30px; text-align: justify;">I do have a family who likes to see me after work and on weekends. They add balance and richness to my life, which in turn helps me be happy and productive at work. If I could handle some of the extra work at home in the evenings or on weekends, that would be ideal. You&rsquo;d be getting a person of exceptional productivity who meets your needs with strong credentials. And I&rsquo;d be able to handle some of the heavy workload at home where I can be under the same roof as my family. Everybody would win.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Are you willing to relocate or travel?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">First find out where you may have to relocate and how much travel may be involved. Then respond to the question.</p>
<p style="padding-left: 30px; text-align: justify;">If there&rsquo;s no problem, say so enthusiastically.</p>
<p style="padding-left: 30px; text-align: justify;">If you do have a reservation, there are two schools of thought on how to handle it.</p>
<p style="padding-left: 30px; text-align: justify;">One advises you to keep your options open and your reservations to yourself in the early going, by saying, &ldquo;no problem&rdquo;. You strategy here is to get the best offer you can, then make a judgment whether it&rsquo;s worth it to you to relocate or travel.</p>
<p style="padding-left: 30px; text-align: justify;">Also, by the time the offer comes through, you may have other offers and can make a more informed decision. Why kill of this opportunity before it has chance to blossom into something really special? And if you&rsquo;re a little more desperate three months from now, you might wish you hadn&rsquo;t slammed the door on relocating or traveling.</p>
<p style="padding-left: 30px; text-align: justify;">The second way to handle this question is to voice a reservation, but assert that you&rsquo;d be open to relocating (or traveling) for the right opportunity.</p>
<p style="padding-left: 30px; text-align: justify;">The answering strategy you choose depends on how eager you are for the job. If you want to take no chances, choose the first approach.</p>
<p style="padding-left: 30px; text-align: justify;">If you want to play a little harder-to-get in hopes of generating a more enticing offer, choose the second.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Do you have the stomach to fire people? Have you had experience firing many people? Describe the rational and sensible management process you follow in both hiring and firing.</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;My whole management approach is to hire the best people I can find, train them thoroughly and well, get them excited and proud to be part of our team, and then work with them to achieve our goals together. If you do all of that right, especially hiring the right people,</p>
<p style="padding-left: 30px; text-align: justify;">I&rsquo;ve found you don&rsquo;t have to fire very often.</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;So with me, firing is a last resort. But when it&rsquo;s got to be done, it&rsquo;s got to be done, and the faster and cleaner, the better. A poor employee can wreak terrible damage in undermining the morale of an entire team of good people. When there&rsquo;s no other way, I&rsquo;ve found it&rsquo;s better for all concerned to act decisively in getting rid of offenders who won&rsquo;t change their ways.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why have you had so many jobs?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">First, before you even get to the interview stage, you should try to minimize your image as job hopper. If there are several entries on your resume of less than one year, consider eliminating the less important ones. Perhaps you can specify the time you spent at previous positions in rounded years not in months and years.</p>
<p style="padding-left: 30px; text-align: justify;">Example: Instead of showing three positions this way:</p>
<p style="padding-left: 30px; text-align: justify;">6/1982 &ndash; 3/1983, Position A;</p>
<p style="padding-left: 30px; text-align: justify;">4/1983 &ndash; 12/1983, Position B;</p>
<p style="padding-left: 30px; text-align: justify;">1/1984 &ndash; 8/1987, Position C;</p>
<p style="padding-left: 30px; text-align: justify;">&hellip;it would be better to show simply:</p>
<p style="padding-left: 30px; text-align: justify;">1982 &ndash; 1983, Position A;</p>
<p style="padding-left: 30px; text-align: justify;">1984 &ndash; 1987 Position C.</p>
<p style="padding-left: 30px; text-align: justify;">In other words, you would drop Position B altogether. Notice what a difference this makes in reducing your image as a job hopper.</p>
<p style="padding-left: 30px; text-align: justify;">Once in front of the interviewer and this question comes up, you must try to reassure him.</p>
<p style="padding-left: 30px; text-align: justify;">Describe each position as part of an overall pattern of growth and career destination.</p>
<p style="padding-left: 30px; text-align: justify;">Be careful not to blame other people for your frequent changes. But you can and should attribute certain changes to conditions beyond your control.</p>
<p style="padding-left: 30px; text-align: justify;">Example: Thanks to an upcoming merger, you wanted to avoid an ensuing bloodbath, so you made a good, upward career move before your department came under the axe of the new owners.</p>
<p style="padding-left: 30px; text-align: justify;">If possible, also show that your job changes were more frequent in your younger days, while you were establishing yourself, rounding out your skills and looking for the right career path. At this stage in your career, you&rsquo;re certainly much more interested in the best long-term opportunity.</p>
<p style="padding-left: 30px; text-align: justify;">You might also cite the job where you stayed the longest and describe that this type of situation is what you&rsquo;re looking for now.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What do you see as the proper role/mission of&hellip;</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">&hellip;a good (job title you&rsquo;re seeking);</p>
<p style="padding-left: 30px; text-align: justify;">&hellip;a good manager;</p>
<p style="padding-left: 30px; text-align: justify;">&hellip;an executive in serving the community;</p>
<p style="padding-left: 30px; text-align: justify;">&hellip;a leading company in our industry; etc.</p>
<p style="padding-left: 30px; text-align: justify;">Think of the most essential ingredients of success for each category above &ndash; your job title, your role as manager, your firm&rsquo;s role, etc.</p>
<p style="padding-left: 30px; text-align: justify;">Identify at least three but no more than six qualities you feel are most important to success in each role. Then commit your response to memory.</p>
<p style="padding-left: 30px; text-align: justify;">Here, again, the more information you&rsquo;ve already drawn out about the greatest wants and needs of the interviewer, and the more homework you&rsquo;ve done to identify the culture of the firm, the more on-target your answer will be.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Would you lie for the company?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Try to avoid choosing between two values, giving a positive statement which covers all bases instead.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I would never do anything to hurt the company..&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">If aggressively pressed to choose between two competing values, always choose personal integrity. It is the most prized of all values.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Looking back, what would you do differently in your life ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Indicate that you are a happy, fulfilled, optimistic person and that, in general, you wouldn&rsquo;t change a thing.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;It&rsquo;s been a good life, rich in learning and experience, and the best it yet to come.</p>
<p style="padding-left: 30px; text-align: justify;">Every experience in life is a lesson it its own way. I wouldn&rsquo;t change a thing.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Could you have done better in your last job ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Again never be negative.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I suppose with the benefit of hindsight you can always find things to do better, of course, but off the top of my head, I can&rsquo;t think of anything of major consequence.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">(If more explanation seems necessary)</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Describer a situation that didn&rsquo;t suffer because of you but from external conditions beyond your control ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">For example, describe the disappointment you felt with a test campaign, new product launch, merger, etc., which looked promising at first, but led to underwhelming results. &ldquo;I wish we could have known at the start what we later found out (about the economy turning, the marketplace changing, etc.), but since we couldn&rsquo;t, we just had to go for it. And we did learn from it&hellip;&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Can you work under pressure?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Absolutely&hellip;(then prove it with a vivid example or two of a goal or project accomplished under severe pressure.)</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What makes you angry ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Give an answer that&rsquo;s suited to both your personality and the management style of the firm.</p>
<p style="padding-left: 30px; text-align: justify;">Here, the homework you&rsquo;ve done about the company and its style can help in your choice of words.</p>
<p style="padding-left: 30px; text-align: justify;">Examples: If you are a reserved person and/or the corporate culture is coolly professional:</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;I&rsquo;m an even-tempered and positive person by nature, and I believe this helps me a great deal in keeping my department running smoothly, harmoniously and with a genuine esprit de corps. I believe in communicating clearly what&rsquo;s expected, getting people&rsquo;s commitment to those goals, and then following up continuously to check progress.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;If anyone or anything is going off track, I want to know about it early. If, after that kind of open communication and follow up, someone isn&rsquo;t getting the job done, I&rsquo;ll want to know why. If there&rsquo;s no good reason, then I&rsquo;ll get impatient and angry&hellip;and take appropriate steps from there. But if you hire good people, motivate them to strive for excellence and then follow up constantly, it almost never gets to that state.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">If you are feisty by nature and/or the position calls for a tough straw boss.</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;You know what makes me angry? People who (the fill in the blanks with the most objectionable traits for this type of position)&hellip;people who don&rsquo;t pull their own weight, who are negative, people who lie&hellip;etc.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why aren&rsquo;t you earning more money at this stage of your career ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You like to make money, but other factors are even more important.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;Making money is very important to me, and one reason I&rsquo;m here is because I&rsquo;m looking to make more. Throughout my career, what&rsquo;s been even more important to me is doing work I really like to do at the kind of company I like and respect. (Then be prepared to be specific about what your ideal position and company would be like, matching them as closely as possible to the opportunity at hand.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Who has inspired you in your life and why?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Have a few heroes in mind, from your mental &ldquo;Board of Directors&rdquo; &ndash; Leaders in your industry, from history or anyone else who has been your mentor.</p>
<p style="padding-left: 30px; text-align: justify;">Be prepared to give examples of how their words, actions or teachings have helped inspire your achievements. As always, prepare an answer which highlights qualities that would be highly valuable in the position you are seeking.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What was the toughest decision you ever had to make?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Be prepared with a good example, explaining why the decision was difficult&hellip;the process you followed in reaching it&hellip;the courageous or effective way you carried it out&hellip;and the beneficial results.</p>
<p style="padding-left: 30px; text-align: justify;">Tell me about the most boring job you&rsquo;ve ever had.</p>
<p style="padding-left: 30px; text-align: justify;">You have never allowed yourself to grow bored with a job and you can&rsquo;t understand it when others let themselves fall into that rut.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;Perhaps I&rsquo;ve been fortunate, but that I&rsquo;ve never found myself bored with any job I have ever held. I&rsquo;ve always enjoyed hard work. As with actors who feel there are no small parts,</p>
<p style="padding-left: 30px; text-align: justify;">I also believe that in every company or department there are exciting challenges and intriguing problems crying out for energetic and enthusiastic solutions. If you&rsquo;re bored, it&rsquo;s probably because you&rsquo;re not challenging yourself to tackle those problems right under your nose.&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Have you been absent from work more than a few days in any previous position?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">If you have had no problem, emphasize your excellent and consistent attendance record throughout your career.</p>
<p style="padding-left: 30px; text-align: justify;">Also describe how important you believe such consistent attendance is for a key executive&hellip;why it&rsquo;s up to you to set an example of dedication&hellip;and why there&rsquo;s just no substitute for being there with your people to keep the operation running smoothly, answer questions and handle problems and crises as they arise.</p>
<p style="padding-left: 30px; text-align: justify;">If you do have a past attendance problem, you want to minimize it, making it clear that it was an exceptional circumstance and that it&rsquo;s cause has been corrected.</p>
<p style="padding-left: 30px; text-align: justify;">To do this, give the same answer as above but preface it with something like, &ldquo;Other that being out last year (or whenever) because of (your reason, which is now in the past), I have never had a problem and have enjoyed an excellent attendance record throughout my career. Furthermore, I believe, consistent attendance is important because&hellip;&rdquo; (Pick up the rest of the answer as outlined above.).</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What changes would you make if you came on board?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You, of course, will want to take a good hard look at everything the company is doing before making any recommendations.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;Well, I wouldn&rsquo;t be a very good doctor if I gave my diagnosis before the examination.</p>
<p style="padding-left: 30px; text-align: justify;">Should you hire me, as I hope you will, I&rsquo;d want to take a good hard look at everything you&rsquo;re doing and understand why it&rsquo;s being done that way. I&rsquo;d like to have in-depth meetings with you and the other key people to get a deeper grasp of what you feel you&rsquo;re doing right and what could be improved.</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;From what you&rsquo;ve told me so far, the areas of greatest concern to you are&hellip;&rdquo; (name them. Then do two things. First, ask if these are in fact his major concerns. If so then reaffirm how your experience in meeting similar needs elsewhere might prove very helpful).</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How many hours a week do you normally work?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">If you are in fact a workaholic and you sense this company would like that: Say you are a confirmed workaholic, that you often work nights and weekends. Your family accepts this because it makes you fulfilled.</p>
<p style="padding-left: 30px; text-align: justify;">If you are not a workaholic: Say you have always worked hard and put in long hours. It goes with the territory. It one sense, it&rsquo;s hard to keep track of the hours because your work is a labor of love, you enjoy nothing more than solving problems. So you&rsquo;re almost always thinking about your work, including times when you&rsquo;re home, while shaving in the morning, while commuting, etc.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What&rsquo;s the most difficult part of being a (job title)?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">First, redefine &ldquo;difficult&rdquo; to be &ldquo;challenging&rdquo; which is more positive. Then, identify an area everyone in your profession considers challenging and in which you excel. Describe the process you follow that enables you to get splendid results&hellip;and be specific about those results.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;I think every sales manager finds it challenging to motivate the troops in a recession.</p>
<p style="padding-left: 30px; text-align: justify;">But that&rsquo;s probably the strongest test of a top sales manager. I feel this is one area where I excel.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;When I see the first sign that sales may slip or that sales force motivation is flagging because of a downturn in the economy, here&rsquo;s the plan I put into action immediately&hellip;&rdquo; (followed by a description of each step in the process&hellip;and most importantly, the exceptional results you&rsquo;ve achieved.).</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>The &ldquo;Hypothetical Problem&rdquo;</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Instead, describe the rational, methodical process you would follow in analyzing this problem, who you would consult with, generating possible solutions, choosing the best course of action, and monitoring the results.</p>
<p style="padding-left: 30px; text-align: justify;">Remember, in all such, &ldquo;What would you do?&rdquo; questions, always describe your process or working methods, and you&rsquo;ll never go wrong.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What was the toughest challenge you&rsquo;ve ever faced?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">This is an easy question if you&rsquo;re prepared. Have a recent example ready that demonstrates either:</p>
<p style="padding-left: 30px; text-align: justify;">A quality most important to the job at hand; or</p>
<p style="padding-left: 30px; text-align: justify;">A quality that is always in demand, such as leadership, initiative, managerial skill, persuasiveness, courage, persistence, intelligence, etc.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Have you consider starting your own business?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Again it&rsquo;s best to:</p>
<p style="padding-left: 30px; text-align: justify;">Gauge this company&rsquo;s corporate culture before answering and&hellip;</p>
<p style="padding-left: 30px; text-align: justify;">Be honest (which doesn&rsquo;t mean you have to vividly share your fantasy of the franchise or bedand- breakfast you someday plan to open).</p>
<p style="padding-left: 30px; text-align: justify;">In general, if the corporate culture is that of a large, formal, military-style structure, minimize any indication that you&rsquo;d love to have your own business. You might say, &ldquo;Oh, I may have given it a thought once or twice, but my whole career has been in larger organizations. That&rsquo;s where I have excelled and where I want to be.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">If the corporate culture is closer to the free-wheeling, everybody&rsquo;s-a-deal-maker variety, then emphasize that in a firm like this, you can virtually get the best of all worlds, the excitement of seeing your own ideas and plans take shape&hellip;combined with the resources and stability of a well-established organization. Sounds like the perfect environment to you.</p>
<p style="padding-left: 30px; text-align: justify;">In any case, no matter what the corporate culture, be sure to indicate that any desires about running your own show are part of your past, not your present or future.</p>
<p style="padding-left: 30px; text-align: justify;">The last thing you want to project is an image of either a dreamer who failed and is now settling for the corporate cocoon&hellip;or the restless maverick who will fly out the door with key accounts, contacts and trade secrets under his arms just as soon as his bankroll has gotten rebuilt.</p>
<p style="padding-left: 30px; text-align: justify;">Always remember: Match what you want with what the position offers. The more information you&rsquo;ve uncovered about the position, the more believable you can make your case.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are your goals?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Many executives in a position to hire you are strong believers in goal-setting. (It&rsquo;s one of the reason they&rsquo;ve achieved so much). They like to hire in kind.</p>
<p style="padding-left: 30px; text-align: justify;">If you&rsquo;re vague about your career and personal goals, it could be a big turnoff to may people you will encounter in your job search.</p>
<p style="padding-left: 30px; text-align: justify;">Be ready to discuss your goals for each major area of your life: career, personal development and learning, family, physical (health), community service and (if your interviewer is clearly a religious person) you could briefly and generally allude to your spiritual goals (showing you are a well-rounded individual with your values in the right order).</p>
<p style="padding-left: 30px; text-align: justify;">Be prepared to describe each goal in terms of specific milestones you wish to accomplish along the way, time periods you&rsquo;re allotting for accomplishment, why the goal is important to you, and the specific steps you&rsquo;re taking to bring it about. But do this concisely, as you never want to talk more than two minutes straight before letting your interviewer back into the conversation.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What do you for when you hire people?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Speak your own thoughts here, but for the best answer weave them around the three most important qualifications for any position.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Can the person do the work (qualifications)? Will the person do the work (motivation)?</strong></span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Will the person fit in (&ldquo;our kind of team player&rdquo;)?</strong></span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Sell me this stapler&hellip;(this pencil&hellip;this clock&hellip;or some other object on interviewer&rsquo;s desk).</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Of course, you already know the most important secret of all great salesmanship &ndash; &ldquo;find out what people want, then show them how to get it.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">If your interviewer picks up his stapler and asks, &ldquo;sell this to me,&rdquo; you are going to demonstrate this proven master principle. Here&rsquo;s how:</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Well, a good salesman must know both his product and his prospect before he sells anything. If&nbsp;I were selling this, I&rsquo;d first get to know everything I could about it, all its features and benefits.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Then, if my goal were to sell it you, I would do some research on how you might use a fine stapler like this. The best way to do that is by asking some questions. May I ask you a few questions?&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">Then ask a few questions such as, &ldquo;Just out of curiosity, if you didn&rsquo;t already have a stapler like this, why would you want one? And in addition to that? Any other reason? Anything else?&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;And would you want such a stapler to be reliable?...Hold a good supply of staples?&rdquo; (Ask more questions that point to the features this stapler has.)</p>
<p style="padding-left: 30px; text-align: justify;">Once you&rsquo;ve asked these questions, make your presentation citing all the features and benefits of this stapler and why it&rsquo;s exactly what the interviewer just told you he&rsquo;s looking for.</p>
<p style="padding-left: 30px; text-align: justify;">Then close with, &ldquo;Just out of curiosity, what would you consider a reasonable price for a quality stapler like this&hellip;a stapler you could have right now and would (then repeat all the problems the stapler would solve for him)?Whatever he says, (unless it&rsquo;s zero), say, &ldquo;Okay, we&rsquo;ve got a deal.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;"><strong>NOTE:</strong> If your interviewer tests you by fighting every step of the way, denying that he even wants such an item, don&rsquo;t fight him. Take the product away from him by saying, &ldquo;Mr. Prospect,</p>
<p style="padding-left: 30px; text-align: justify;">I&rsquo;m delighted you&rsquo;ve told me right upfront that there&rsquo;s no way you&rsquo;d ever want this stapler. As you well know, the first rule of the most productive salespeople in any field is to meet the needs of people who really need and want our products, and it just wastes everyone&rsquo;s time if we try to force it on those who don&rsquo;t. And I certainly wouldn&rsquo;t want to waste your time. But we sell many items. Is there any product on this desk you would very much like to own&hellip;just one item?&rdquo; When he points something out, repeat the process above. If he knows anything about selling, he may give you a standing ovation.</p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #993300;"><strong>&ldquo;The Salary Question&rdquo; &ndash; How much money do you want?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">For maximum salary negotiating power, remember these five guidelines</p>
<p style="padding-left: 30px; text-align: justify;">Never bring up salary. Let the interviewer do it first. Good salespeople sell their products thoroughly before talking price. So should you. Make the interviewer want you first, and your bargaining position will be much stronger.</p>
<p style="padding-left: 30px; text-align: justify;">If your interviewer raises the salary question too early, before you&rsquo;ve had a chance to create desire for your qualifications, postpone the question, saying something like, &ldquo;Money is important to me, but is not my main concern. Opportunity and growth are far more important.</p>
<p style="padding-left: 30px; text-align: justify;">What I&rsquo;d rather do, if you don&rsquo;t mind, is explore if I&rsquo;m right for the position, and then talk about money. Would that be okay?&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">The #1 rule of any negotiation is: the side with more information wins. After you&rsquo;ve done a thorough job of selling the interviewer and it&rsquo;s time to talk salary, the secret is to get the employer talking about what he&rsquo;s willing to pay before you reveal what you&rsquo;re willing to accept.</p>
<p style="padding-left: 30px; text-align: justify;">So, when asked about salary, respond by asking, &ldquo;I&rsquo;m sure the company has already established&nbsp;a salary range for this position. Could you tell me what that is?&rdquo; Or, &ldquo;I want an income commensurate with my ability and qualifications. I trust you&rsquo;ll be fair with me. What does the position pay?&rdquo; Or, more simply, &ldquo;What does this position pay?&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">Know beforehand what you&rsquo;d accept. To know what&rsquo;s reasonable, research the job market and this position for any relevant salary information. Remember that most executives look for a 20- 25%$ pay boost when they switch jobs. If you&rsquo;re grossly underpaid, you may want more.</p>
<p style="padding-left: 30px; text-align: justify;">Never lie about what you currently make, but feel free to include the estimated cost of all your fringes, which could well tack on 25-50% more to your present &ldquo;cash-only&rdquo; salary.</p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #993300;"><strong>The Illegal Question</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Illegal questions include any regarding your age&hellip;number and ages of your children or other dependents&hellip;marital status&hellip;maiden name&hellip;religion&hellip;political affiliation&hellip;ancestry&hellip;national origin&hellip;birthplace&hellip;naturalization of your parents, spouse or children&hellip;diseases&hellip;disabilities&hellip;clubs&hellip;or spouse&rsquo;s occupation&hellip;unless any of the above are directly related to your performance of the job. You can&rsquo;t even be asked about arrests, though you can be asked about convictions.</p>
<p style="padding-left: 30px; text-align: justify;">ANSWER: Under the ever-present threat of lawsuits, most interviewers are well aware of these taboos. Yet you may encounter, usually on a second or third interview, a senior executive who doesn&rsquo;t interview much and forgets he can&rsquo;t ask such questions.</p>
<p style="padding-left: 30px; text-align: justify;">You can handle an illegal question in several ways. First, you can assert your legal right not to answer. But this will frighten or embarrass your interviewer and destroy any rapport you had.</p>
<p style="padding-left: 30px; text-align: justify;">Second, you could swallow your concerns over privacy and answer the question straight forwardly if you feel the answer could help you. For example, your interviewer, a devout Baptist, recognizes you from church and mentions it. Here, you could gain by talking about your church.</p>
<p style="padding-left: 30px; text-align: justify;">Third, if you don&rsquo;t want your privacy invaded, you can diplomatically answer the concern behind the question without answering the question itself.</p>
<p style="padding-left: 30px; text-align: justify;">Example: If you are over 50 and are asked, &ldquo;How old are you?&rdquo; you can answer with a friendly, smiling question of your own on whether there&rsquo;s a concern that your age my affect your performance. Follow this up by reassuring the interviewer that there&rsquo;s nothing in this job you can&rsquo;t do and, in fact, your age and experience are the most important advantages you offer the employer for the following reasons&hellip;</p>
<p style="padding-left: 30px; text-align: justify;">Another example: If asked, &ldquo;Do you plan to have children?&rdquo; you could answer, &ldquo;I am wholeheartedly dedicated to my career&ldquo;, perhaps adding, &ldquo;I have no plans regarding children.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">(You needn&rsquo;t fear you&rsquo;ve pledged eternal childlessness. You have every right to change your plans later. Get the job first and then enjoy all your options.)</p>
<p style="padding-left: 30px; text-align: justify;">Most importantly, remember that illegal questions arise from fear that you won&rsquo;t perform well.</p>
<p style="padding-left: 30px; text-align: justify;">The best answer of all is to get the job and perform brilliantly. All concerns and fears will then varnish, replaced by respect and appreciation for your work.</p>
<p style="padding-left: 30px; text-align: justify;"><span style="color: #993300;"><strong>The &ldquo;Secret&rdquo; Illegal Question</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Much more frequent than the Illegal question is the secret illegal question. It&rsquo;s secret because it&rsquo;s asked only in the interviewer&rsquo;s mind. Since it&rsquo;s not even expressed to you, you have no way to respond to it, and it can there be most damaging.</p>
<p style="padding-left: 30px; text-align: justify;">Example: You&rsquo;re physically challenged, or a single mother returning to your professional career, or over 50, or a member of an ethnic minority, or fit any of a dozen other categories that do not strictly conform to the majority in a given company.</p>
<p style="padding-left: 30px; text-align: justify;">Your interviewer wonders, &ldquo;Is this person really able to handle the job?&rdquo;&hellip;&rdquo;Is he or she a &lsquo;good fit&rsquo; at a place like ours?&rdquo;&hellip;&rdquo;Will the chemistry ever be right with someone like&nbsp;this?&rdquo; But the interviewer never raises such questions because they&rsquo;re illegal. So what can you do?</p>
<p style="padding-left: 30px; text-align: justify;">ANSWER: Remember that just because the interviewer doesn&rsquo;t ask an illegal question doesn&rsquo;t mean he doesn&rsquo;t have it. More than likely, he is going to come up with his own answer. So you might as well help him out.</p>
<p style="padding-left: 30px; text-align: justify;">How? Well, you obviously can&rsquo;t respond to an illegal question if he hasn&rsquo;t even asked. This may well offend him. And there&rsquo;s always the chance he wasn&rsquo;t even concerned about the issue until you brought it up, and only then begins to wonder.</p>
<p style="padding-left: 30px; text-align: justify;">So you can&rsquo;t address &ldquo;secret&rdquo; illegal questions head-on. But what you can do is make sure there&rsquo;s enough counterbalancing information to more than reassure him that there&rsquo;s no problem in the area he may be doubtful about.</p>
<p style="padding-left: 30px; text-align: justify;">For example, let&rsquo;s say you&rsquo;re a sales rep who had polio as a child and you need a cane to walk.</p>
<p style="padding-left: 30px; text-align: justify;">You know your condition has never impeded your performance, yet you&rsquo;re concerned that your interviewer may secretly be wondering about your stamina or ability to travel. Well, make sure that you hit these abilities very hard, leaving no doubt about your capacity to handle them well.</p>
<p style="padding-left: 30px; text-align: justify;">So, too, if you&rsquo;re in any different from what passes for &ldquo;normal&rdquo;. Make sure, without in any way seeming defensive about yourself that you mention strengths, accomplishments, preferences and affiliations that strongly counterbalance any unspoken concern your interviewer may have.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What was the toughest part of your last job?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">State that there was nothing in your prior position that you found overly difficult, and let your answer go at that. If pressed to expand your answer, you could describe the aspects of the position you enjoyed more than others, making sure that you express maximum enjoyment for those tasks most important to the open position, and you enjoyed least those tasks that are unimportant to the position at hand.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Looking back on your last position, have you done your best work?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">To cover both possible paths this question can take, your answer should state that you always try to do your best, and the best of your career is right now. Like an athlete at the top of his game, you are just hitting your career stride thanks to several factors. Then, recap those factors, highlighting your strongest qualifications.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why should I hire you from the outside when I could promote someone from within?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Help him see the qualifications that only you can offer.</p>
<p style="padding-left: 30px; text-align: justify;">Example: &ldquo;In general, I think it&rsquo;s a good policy to hire from within &ndash; to look outside probably means you&rsquo;re not completely comfortable choosing someone from inside.</p>
<p style="padding-left: 30px; text-align: justify;">&ldquo;Naturally, you want this department to be as strong as it possibly can be, so you want the strongest candidate. I feel that I can fill that bill because&hellip;(then recap your strongest qualifications that match up with his greatest needs).&rdquo;</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Tell me something negative you&rsquo;ve heard about our company&hellip;</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Just remember the rule &ndash; never be negative &ndash; and you&rsquo;ll handle this one just fine.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>On a scale of one to ten, rate me as an interviewer.</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Once again, never be negative. The interviewer will only resent criticism coming from you. This is the time to show your positivism.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>However, don&rsquo;t give a numerical rating. Simply praise whatever interview style he&rsquo;s been using.</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">If he&rsquo;s been tough, say &ldquo;You have been thorough and tough-minded, the very qualities needed to conduct a good interview.&rdquo;</p>
<p style="padding-left: 30px; text-align: justify;">If he&rsquo;s been methodical, say, &ldquo;You have been very methodical and analytical, and I&rsquo;m sure that approach results in excellent hires for your firm&rdquo;. In other words, pay him a sincere compliment that he can believe because it&rsquo;s anchored in the behaviour you&rsquo;ve just seen.</p>1a5:Tac1,<p style="text-align: justify;">Vagrant is an open source tool for building a complete virtual development environment.&nbsp;A&nbsp;test environment is required for testing the latest release and new tools. It works on Linux, Mac OS X, or Windows and although by default it uses VirtualBox for managing the virtualization, it can be used with other providers such as VMware or AWS.</p>
<h2 style="text-align: justify;"><strong>How to install Vagrant</strong></h2>
<p style="text-align: justify;">First you need to download and run the installation kit.</p>
<p style="text-align: justify;">Check that you have dpkg and Virtual box installed:</p>
<p style="text-align: justify;">$ sudo apt-get install virtualbox</p>
<p><strong>Installing Vagrant:</strong></p>
<pre>$ sudo apt-get install vagrant</pre>
<p style="text-align: justify;">Install the <strong><tt>dkms</tt></strong> package to ensure that the VirtualBox host kernel modules (<em>vboxdrv</em>, <em>vboxnetflt</em> and <em>vboxnetadp</em>) are properly updated if the Linux kernel version changes during the next <tt>apt-get upgrade</tt>.</p>
<pre>$ sudo apt-get install virtualbox-dkms

</pre>
<p style="text-align: justify;">Vagrant can quickly deploy the development environment. Get the vagrant images from here.</p>
<p style="text-align: justify;">The following command will install precise32 box from the vagrant website.</p>
<p style="text-align: justify;">$ vagrant box add precise32 http://files.vagrantup.com/precise32.box</p>
<p>-Then create a vagrant file in this folder by calling 'vagrant init', which will be the central file for the project configuration.</p>
<p style="text-align: justify;">$ mkdir vagrant_project $ cd vagrant_project $ vagrant init</p>
<p>Edit the Vagrantfile in this directory and replace</p>
<p style="text-align: justify;">config.vm.box = "precise32"</p>
<p>This will tell it to use this new box. Save the file and exit. Now you can deploy the guest machine with the following command:</p>
<p style="text-align: justify;">vagrant up</p>
<p>This will bring up a VPS running Ubuntu 12.04 LTS. To make use of it, you can easily SSH into it:</p>
<p style="text-align: justify;">vagrant ssh</p>
<p>After you are done working with the guest machine, you can exit and go back to the host with the following command:</p>
<p style="text-align: justify;">exit</p>
<p>If you want to stop and remove the guest machine and all traces of it, run the following command from the host machine:</p>
<p style="text-align: justify;">vagrant destroy</p>
<p>The files that were synchronized with the host machine will not be removed from the host. Additionally, you can redeploy the guest machine again for this configuration using the same <em>vagrant up&nbsp;</em>command.</p>1a6:T696c,<h2 style="text-align: justify;"><strong>Provisions</strong></h2>
<p style="text-align: justify;">"The <strong>vagrant provision</strong> runs any configured provisioners against the running Vagrant managed machine. This command is a great way to quickly test any provisioners, and is especially useful for incremental development of shell scripts, Chef cookbooks, or Puppet modules. We can just make simple modifications to the provisioning scripts on our machine, run a vagrant provision, and check for the desired results.</p>
<p style="padding-left: 30px; text-align: justify;">-Chef Solo</p>
<p style="padding-left: 30px; text-align: justify;">-Chef Server</p>
<p style="padding-left: 30px; text-align: justify;">-Puppet Standalone</p>
<p style="padding-left: 30px; text-align: justify;">-Puppet Server</p>
<p style="padding-left: 30px; text-align: justify;">-Shell</p>
<h2 style="text-align: justify;"><strong>Chef Solo</strong></h2>
<p style="text-align: justify;">The Vagrant Chef Solo provisioner allows you to provision the guest using Chef, specifically with Chef Solo.</p>
<p style="text-align: justify;">chef-solo is an open source version of the chef-client that allows using cookbooks with nodes without requiring access to a Chef server. chef-solo runs locally and requires that a cookbook (and any of its dependencies) be on the same physical disk as the node.</p>
<p style="text-align: justify;">chef-solo is a limited-functionality version of the chef-client and <strong>does not support</strong> the following:</p>
<p style="padding-left: 30px; text-align: justify;">-Node data storage</p>
<p style="padding-left: 30px; text-align: justify;">-Search indexes</p>
<p style="padding-left: 30px; text-align: justify;">-Centralized distribution of cookbooks</p>
<p style="padding-left: 30px; text-align: justify;">-A centralized API that interacts with and integrates infrastructure components</p>
<p style="padding-left: 30px; text-align: justify;">-Authentication or authorization</p>
<p style="padding-left: 30px; text-align: justify;">-Persistent attributes</p>
<p style="text-align: justify;">list the complete set of available options for the Chef Solo provisioner.</p>
<p style="text-align: justify;"><strong>cookbook_path</strong>(string or array) - A list of paths to where cookbooks are stored. By default this is "cookbooks", expecting a cookbooks folder relative to the Vagrantfile location.</p>
<p style="text-align: justify;"><strong>data_bags_path</strong>(string or array) - A path where data bags are stored. By default, no data bag path is set. Chef 12 or higher is required to use the array option. Chef 11 and lower only accept a string value</p>
<p style="text-align: justify;"><strong>environments_path </strong>(string) -&nbsp;A path where environment definitions are located. By default, no environments folder is set.</p>
<p style="text-align: justify;"><strong>nodes_path</strong>(string or array) - A list of paths where node objects (in JSON format) are stored. By default, no nodes path is set.</p>
<p style="text-align: justify;"><strong>recipe_url</strong>(string) - URL to an archive of cookbooks that Chef will download and use.</p>
<p style="text-align: justify;"><strong><span style="font-family: monospace;">environment</span></strong>(string) - The environment you want the Chef run to be a part of. This requires Chef 11.6.0 or later, and that<code>environments_path</code> is set.</p>
<p style="text-align: justify;"><strong><span style="font-family: monospace;">roles_path</span></strong>(string or array) - A list of paths where roles are defined. By default this is empty. Multiple role directories are only supported by Chef 11.8.0 and later.</p>
<p style="text-align: justify;"><strong><span style="font-family: monospace;">synced_folder_type</span></strong> (string) - The type of synced folders to use when sharing the data required for the provisioner to work properly. By default this will use the default synced folder type. For example, you can set this to "nfs" to use NFS synced folders.</p>
<h2 style="text-align: justify;"><strong>Chef Server</strong></h2>
<p style="text-align: justify;">Chef Server allows you to provision your virtual machine without having to keep the cookbooks within the repository itself. There are various benefits to this approach, such as being able to use your production cookbooks from chef server to provision your development environment.</p>
<h2 id="setting_the_chef_server_url" style="text-align: justify;"><strong>The Chef Server URL</strong></h2>
<p style="text-align: justify;">-First step to provisioning with chef server is to tell Vagrant where the chef server is located.</p>
<pre><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span>
  <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:chef_client</span> <span class="k">do</span> <span class="o">|</span><span class="n">chef</span><span class="o">|</span>
    <span class="n">chef</span><span class="o">.</span><span class="n">chef_server_url</span> <span class="o">=</span> <span class="s2">"http://mychefserver.com:4000"</span>
  <span class="k">end</span>
<span class="k">end
</span></code></pre>
<h2 id="setting_the_validation_key_path" style="text-align: justify;"><strong>Validation Key Path</strong></h2>
<p style="text-align: justify;">Chef server uses key pairs in order to verify and register nodes to the chef server (similar to SSH key-based authentication).</p>
<p style="text-align: justify;">The validation key is used by an unregistered client to verify itself and register with the chef server.</p>
<p style="text-align: justify;">Vagrant needs to know the path to this validation key in order to configure the client for chef server.</p>
<p style="text-align: justify;"><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span> </code></p>
<p style="text-align: justify;"><code class="ruby"> <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:chef_client</span> <span class="k">do</span> <span class="o">|</span><span class="n">chef</span><span class="o">|</span> </code></p>
<p style="text-align: justify;"><code class="ruby"> <span class="n">chef</span><span class="o">.</span><span class="n">validation_key_path</span> <span class="o">=</span> <span class="s2">"validation.pem"</span> </code></p>
<p style="text-align: justify;"><code class="ruby"> <span class="k">end</span> </code></p>
<p style="text-align: justify;"><code class="ruby"><span class="k">end</span></code></p>
<p style="text-align: justify;">The path given as the value to the configuration is expanded relative to the project directory if it&rsquo;s a relative path. If it&rsquo;s an absolute path, then it is taken as is.</p>
<h2 id="specifying_the_run_list" style="text-align: justify;"><strong>Specifying the Run List</strong></h2>
<p style="text-align: justify;"><code class="ruby"><span class="k">The run list is the list of things to run on the node, which are recipes and/or roles. Usually the run list is managed by the chef server. In this case, you don&rsquo;t have to do anything, since by default Vagrant will pull the run list from the chef server.</span></code></p>
<pre><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span>
  <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:chef_client</span> <span class="k">do</span> <span class="o">|</span><span class="n">chef</span><span class="o">|</span>
    <span class="c1"># Provision with the apache2 recipe</span>
    <span class="n">chef</span><span class="o">.</span><span class="n">add_recipe</span><span class="p">(</span><span class="s2">"apache2"</span><span class="p">)</span>

    <span class="c1"># Provision with the database role</span>
    <span class="n">chef</span><span class="o">.</span><span class="n">add_role</span><span class="p">(</span><span class="s2">"database"</span><span class="p">)</span>
  <span class="k">end</span>
<span class="k">end

If you need to access the run list directly, you can also use the <code>run_list</code> accessor: </span></code></pre>
<pre><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span>
  <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:chef_client</span> <span class="k">do</span> <span class="o">|</span><span class="n">chef</span><span class="o">|</span>
    <span class="c1"># Modifying the run list directly</span>
    <span class="n">chef</span><span class="o">.</span><span class="n">run_list</span> <span class="o">=</span> <span class="o">[</span><span class="s2">"recipe[foo]"</span><span class="p">,</span> <span class="s2">"role[bar]"</span><span class="o">]</span>
  <span class="k">end</span>
<span class="k">end

</span></code></pre>
<h2 id="specifying_the_environment" style="text-align: justify;"><strong>Specifying the Environment</strong></h2>
<p style="text-align: justify;"><code class="ruby"><span class="k"> Chef 0.10 or later, you have access to environments. If you&rsquo;d like to configure the environment you&rsquo;re node is part of, simply use the <code>environment</code> configuration option:</span></code></p>
<div class="highlight" style="text-align: justify;">
<pre><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span>
  <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:chef_client</span> <span class="k">do</span> <span class="o">|</span><span class="n">chef</span><span class="o">|</span>
    <span class="c1"># Set the environment for the chef server</span>
    <span class="n">chef</span><span class="o">.</span><span class="n">environment</span> <span class="o">=</span> <span class="s2">"development"</span>
  <span class="k">end</span>
<span class="k">end</span>
</code></pre>
</div>
<h2 id="other_configuration_options" style="text-align: justify;"><strong>Configuration Options</strong></h2>
<p style="text-align: justify;">There are other configuration options as well, but these can normally be left as their default. But if your chef server requires these to be customized, they are available to you. This documentation won&rsquo;t go into detail of their function since if you&rsquo;re looking for these you probably already know what they are for:</p>
<pre><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span>
  <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:chef_client</span> <span class="k">do</span> <span class="o">|</span><span class="n">chef</span><span class="o">|</span>
    <span class="n">chef</span><span class="o">.</span><span class="n">validation_client_name</span> <span class="o">=</span> <span class="s2">"chef-validator"</span>
    <span class="n">chef</span><span class="o">.</span><span class="n">client_key_path</span> <span class="o">=</span> <span class="s2">"/etc/chef/client.pem"</span>
  <span class="k">end</span>
<span class="k">end

</span></code></pre>
<h2 id="cleanup" style="text-align: justify;"><strong>Cleanup</strong></h2>
<p style="text-align: justify;">When you provision your Vagrant virtual machine with Chef server, it creates a new Chef Node entry and Chef Client entry on the Chef server, using the hostname of the machine. After you tear down your virtual machine, you must explicitly delete these entries from the Chef server before you provision a new one with Chef server.</p>
<p style="text-align: justify;">For example, using knife:</p>
<p style="text-align: justify;"><code class="bash"><span class="nv">$ </span>knife node delete vagrant-ubuntu-oneiric </code></p>
<p style="text-align: justify;"><code class="bash"><span class="nv">$ </span>knife client delete vagrant-ubuntu-oneiric</code></p>
<p style="text-align: justify;">If you fail to do so, you will get the following error when trying to provision a new virtual machine with the same hostname:</p>
<p style="text-align: justify;"><code class="bash">HTTP Request Returned 409 Conflict: Client already exists.</code></p>
<h2 style="text-align: justify;"><strong>Puppet Standalone</strong></h2>
<p style="text-align: justify;">Puppet in the client-server mode to configure your production environment then you might want to be able to copy &amp; paste from the prod configuration into the Vagrant&rsquo;s standalone puppet&lsquo;s configuration to test stuff. One of the key features necessary for that is enabling file serving via &ldquo;source =&gt; &lsquo;puppet:///path/to/file'&rdquo;.</p>
<h2 style="text-align: justify;"><strong>Enabling Puppet Standalone in Vagrant to Resolve puppet:///&hellip;</strong></h2>
<p style="padding-left: 30px; text-align: justify;">-Make the directory with the files to be served available to the Vagrant VM</p>
<p style="padding-left: 30px; text-align: justify;">-Create fileserver.conf to inform Puppet about the directory</p>
<p style="padding-left: 30px; text-align: justify;">-Tell puppet about the fileserver.conf</p>
<p style="padding-left: 30px; text-align: justify;">-Use it</p>
<h3 style="text-align: justify;"><strong>Make the directory with the files to be served available to the Vagrant VM</strong></h3>
<div class="line number1 index0 alt2" style="text-align: justify;"><code class="ruby comments"># Snippet of &lt;vagrant directory&gt;/Vagrantfile</code></div>
<div class="line number2 index1 alt1" style="text-align: justify;"><code class="ruby plain">config.vm.share_folder </code><code class="ruby string">"PuppetFiles"</code><code class="ruby plain">, </code><code class="ruby string">"/etc/puppet/files"</code><code class="ruby plain">, </code><code class="ruby string">"./puppet-files-symlink"</code></div>
<div class="line number2 index1 alt1" style="text-align: justify;">Notice you don&rsquo;t need to declare a shared folder</div>
<div class="line number2 index1 alt1" style="text-align: justify;">&nbsp;</div>
<div class="line number2 index1 alt1" style="text-align: justify;">
<h3>Create fileserver.conf to inform Puppet about the directory</h3>
<div class="line number1 index0 alt2"><code class="plain plain"># &lt;vagrant directory&gt;/fileserver.conf</code></div>
<div class="line number2 index1 alt1"><code class="plain plain">[files]</code></div>
<div class="line number3 index2 alt2"><code class="plain spaces">&nbsp;&nbsp;</code><code class="plain plain">path /etc/puppet/files</code></div>
<div class="line number4 index3 alt1"><code class="plain spaces">&nbsp;&nbsp;</code><code class="plain plain">allow *</code></div>
<div class="line number4 index3 alt1">
<h3><strong>Tell puppet about the fileserver.conf</strong></h3>
Puppet needs to know that it should read the fileserver.conf file:
<div class="line number1 index0 alt2"><code class="ruby comments"># Snippet of &lt;vagrant directory&gt;/Vagrantfile</code></div>
<div class="line number2 index1 alt1"><code class="ruby plain">config.vm.provision </code><code class="ruby color2">:puppet</code><code class="ruby plain">,</code></div>
<div class="line number3 index2 alt2"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby color2">:options</code> <code class="ruby plain">=&gt; [</code><code class="ruby string">"--fileserverconfig=/vagrant/fileserver.conf"</code><code class="ruby plain">],</code></div>
<div class="line number4 index3 alt1"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby color2">:facter</code> <code class="ruby plain">=&gt; { </code><code class="ruby string">"fqdn"</code> <code class="ruby plain">=&gt; </code><code class="ruby string">"vagrant.vagrantup.com"</code> <code class="ruby plain">} </code><code class="ruby keyword">do</code> <code class="ruby plain">|puppet|</code></div>
<div class="line number5 index4 alt2"><code class="ruby spaces">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code><code class="ruby plain">...</code></div>
<div class="line number6 index5 alt1"><code class="ruby keyword">end</code></div>
<div class="line number6 index5 alt1">
<h3><strong>Use it</strong></h3>
<code class="bash plain">vagrant_dir$ </code><code class="bash functions">echo</code> <code class="bash string">"dummy content"</code> <code class="bash plain">&gt; .</code><code class="bash plain">/puppet-files-symlink/example-file</code><code class="bash plain">.txt</code>
<div class="line number1 index0 alt2"><code class="ruby comments"># Snippet of &lt;vagrant directory&gt;/manifests/&lt;my manifest&gt;.pp</code></div>
<div class="line number2 index1 alt1"><code class="ruby spaces">&nbsp;</code><code class="ruby plain">...</code></div>
<div class="line number3 index2 alt2"><code class="ruby plain">file{</code><code class="ruby string">'/tmp/example-file.txt'</code><code class="ruby plain">:</code></div>
<div class="line number4 index3 alt1"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby keyword">ensure</code> <code class="ruby plain">=&gt; file,</code></div>
<div class="line number5 index4 alt2"><code class="ruby spaces">&nbsp;&nbsp;</code><code class="ruby plain">source =&gt; </code><code class="ruby string">'<a href="puppet://tekslate-admin.vercel.app/files/example-file.txt">puppet:///files/example-file.txt</a>'</code><code class="ruby plain">,</code></div>
<div class="line number6 index5 alt1"><code class="ruby plain">}</code></div>
<div class="line number7 index6 alt2"><code class="ruby plain">...</code></div>
</div>
</div>
</div>
<h2 id="puppet_server_provisioning" style="text-align: justify;"><strong>Puppet Server</strong></h2>
<p style="text-align: justify;">Use a Puppet server, then Vagrant can register itself as a node on the server and use the configuration that server has to configure your virtual machine. If you&rsquo;re just getting started with Puppet, you should instead be using the standalone Puppet provisioner.</p>
<h2 id="setting_the_puppet_server" style="text-align: justify;">Setting the Puppet Server</h2>
<p style="text-align: justify;">Vagrant needs to know the name of your Puppet server. By default, Vagrant will look for a server called <code>puppet</code>. You can override this in your Vagrantfile using the <code>puppet_server</code> option.</p>
<p style="text-align: justify;"><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span> </code></p>
<p style="text-align: justify;"><code class="ruby"> <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:puppet_server</span> <span class="k">do</span> <span class="o">|</span><span class="n">puppet</span><span class="o">|</span> </code></p>
<p style="text-align: justify;"><code class="ruby"> <span class="n">puppet</span><span class="o">.</span><span class="n">puppet_server</span> <span class="o">=</span> <span class="s2">"puppet.example.com"</span> </code></p>
<p style="text-align: justify;"><code class="ruby"> <span class="k">end</span> </code></p>
<p style="text-align: justify;"><code class="ruby"><span class="k">end</span></code></p>
<p style="text-align: justify;">Here we&rsquo;ve specified the Puppet Server as <code>puppet.example.com</code>.</p>
<h2 id="configuring_the_node_name" style="text-align: justify;"><strong>Configuring the node name</strong></h2>
<p style="text-align: justify;">We can also control the name of the node which is passed to the Puppet Server. Remember this is important because Puppet uses this node name to identify both the configuration to be applied and to generate an SSL certificate to authenticate the node to the Puppet Server.</p>
<p style="text-align: justify;">The node name defaults to the name of the box being provisioned.</p>
<pre><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span>
  <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:puppet_server</span> <span class="k">do</span> <span class="o">|</span><span class="n">puppet</span><span class="o">|</span>
    <span class="n">puppet</span><span class="o">.</span><span class="n">puppet_server</span> <span class="o">=</span> <span class="s2">"puppet.example.com"</span>
    <span class="n">puppet</span><span class="o">.</span><span class="n">puppet_node</span> <span class="o">=</span> <span class="s2">"vm.example.com"</span>
  <span class="k">end</span>
<span class="k">end</span></code></pre>
<h2 id="setting_options" style="text-align: justify;">Setting options</h2>
<p style="text-align: justify;">Specify additional options to be passed to the Puppet Server using the <code>options&nbsp;</code>variable.</p>
<div class="highlight" style="text-align: justify;">
<pre><code class="ruby"><span class="ss">Vagrant</span><span class="p">:</span><span class="ss">:Config</span><span class="o">.</span><span class="n">run</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span>
  <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:puppet_server</span> <span class="k">do</span> <span class="o">|</span><span class="n">puppet</span><span class="o">|</span>
    <span class="n">puppet</span><span class="o">.</span><span class="n">options</span> <span class="o">=</span> <span class="o">[</span><span class="s2">"--user"</span><span class="p">,</span><span class="s2">"puppet"</span><span class="o">]</span>
  <span class="k">end</span>
<span class="k">end</span>
</code></pre>
</div>
<p style="text-align: justify;">You can also pass options as strings:</p>
<pre><code class="ruby"> <span class="n">config</span><span class="o">.</span><span class="n">vm</span><span class="o">.</span><span class="n">provision</span> <span class="ss">:puppet_server</span><span class="p">,</span> <span class="ss">:options</span> <span class="o">=</span> <span class="s2">"--verbose --debug"

</span></code></pre>
<h2 style="text-align: justify;"><strong>&nbsp;Shell</strong></h2>
<p style="text-align: justify;">The Vagrant Shell provisioner allows you to upload and execute a script within the guest machine.Shell provisioning is ideal for users new to Vagrant who want to get up and running quickly and provides a strong alternative for users who are not comfortable with a full configuration management system such as Chef or Puppet.</p>
<p style="text-align: justify;">The shell provisioner takes various options. One of <code>inline</code> or <code>path</code> is required:</p>
<p style="text-align: justify;"><strong><code>inline</code> </strong>(string) - Specifies a shell command inline to execute on the remote machine. See the inline scripts section below for more information.</p>
<p style="text-align: justify;"><strong><code>path</code></strong> (string) - Path to a shell script to upload and execute. It can be a script relative to the project Vagrantfile or a remote script (like agist).</p>
<p style="text-align: justify;">The remainder of the available options are optional:</p>
<p style="text-align: justify;"><strong>args</strong>(string or array) - Arguments to pass to the shell script when executing it as a single string. These arguments must be written as if they were typed directly on the command line, so be sure to escape characters, quote, etc.</p>
<p style="text-align: justify;"><strong>env</strong>(hash) - List of key-value pairs to pass in as environment variables to the script. Vagrant will handle quoting for environment variable values, but the keys remain untouched.</p>
<p style="text-align: justify;"><strong>binary</strong>(boolean) - Vagrant automatically replaces Windows line endings with Unix line endings. If this is false, then Vagrant will not do this. By default this is "false".</p>
<p style="text-align: justify;"><strong>privileged</strong>(boolean) - Specifies whether to execute the shell script as a privileged user or not (<code>sudo</code>). By default this is "true". Windows guests use a scheduled task to run as a true administrator without the WinRM limitations.</p>
<p style="text-align: justify;"><strong>upload_path</strong>(string) - Is the remote path where the shell script will be uploaded to. The script is uploaded as the SSH user over SCP, so this location must be writable to that user.</p>
<p style="text-align: justify;"><strong>keep_color</strong>(boolean) - Vagrant automatically colors output in green and red depending on whether the output is from stdout or stderr.</p>
<p style="text-align: justify;"><strong>name</strong>(string) - This value will be displayed in the output so that identification by the user is easier when many shell provisioners are present.</p>
<p style="text-align: justify;"><strong>powershell_args</strong>(string) - Extra arguments to pass to <code>PowerShell</code> if you are provisioning with PowerShell on Windows.</p>
<p style="text-align: justify;"><strong>powershell_elevated_interactive</strong>(boolean) - Run an elevated script in interactive mode on Windows. By default this is "false". Must also be <code>privileged</code>.</p>1a7:T2212,<p style="text-align: justify;">AngularJS directives are used to extend HTML. These are special attributes starting with ng- prefix. AngularJS directives are what controls the rendering of the HTML inside an <a href="https://tekslate.com/tutorials/angularjs" target="_blank" rel="noopener">AngularJS application</a>. Directives are a core AngularJS feature.</p>
<p style="text-align: justify;">From the framework directives you will use every day like <code>ng-model</code> or <code>ng-repeat</code>, to your own custom directives that allow you to extend the vocabulary of the browser, if you are learning AngularJS, you need to have a solid understanding of Directives.</p>
<h3 id="directive-types" class="ng-scope" style="text-align: justify;"><strong>Directive types</strong></h3>
<p style="text-align: justify;">AngularJS directives are extended HTML attributes with the prefix <code>ng-</code>.</p>
<p style="text-align: justify;">The <code>ng-app</code> directive initializes an AngularJS application.</p>
<p style="text-align: justify;">The <code>ng-init</code> directive initializes application data.</p>
<p style="text-align: justify;">The <code>ng-model</code> directive binds the value of <a href="https://tekslate.com/tutorials/html-tutorials/" target="_blank" rel="noopener">HTML</a> controls (input, select, textarea) to application data.</p>
<p style="text-align: justify;">The ng-repeat directive&nbsp;&nbsp;repeats html elements for each item in a collection</p>
<p style="text-align: justify;"><strong>ng-app:</strong>&nbsp;&nbsp;The root element which automatically initializes or bootstraps the application when web page containing AngularJS Application is loaded. It is also used to load various AngularJS modules in AngularJS Application.</p>
<p style="text-align: justify;">Example: In this example we have defined a default AngularJS application using ng-app attribute of a div element.</p>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;"><span class="tag">&lt;div</span> <span class="atn">ng-app</span> <span class="pun">=</span> <span class="atv">""</span><span class="tag">&gt;</span></p>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;"><span class="pln"> ... </span></p>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;"><span class="tag">&lt;/div&gt;</span></p>
<p style="text-align: justify;"><strong>ng-init: </strong>It<strong>&nbsp;</strong>initializes an AngularJS Application data. It is used to put values to the variables to be used in the application.</p>
<pre style="text-align: center;"><em><strong>Interested in mastering AngularJS Training? Enroll now for FREE demo on <a href="https://tekslate.com/angularjs-training" target="_blank" rel="noopener">AngularJS&nbsp;Training</a>.</strong></em></pre>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;">Example: In this example we have&nbsp;initialize an array of countries. We're using JSON syntax to define array of countries.</p>
<pre class="prettyprint notranslate prettyprinted"><span class="tag">&lt;div</span> <span class="atn">ng-app</span> <span class="pun">=</span> <span class="atv">""</span> <span class="atn">ng-init</span> <span class="pun">=</span> <span class="atv">"countries = [{locale:'en-US',name:'United States'}, {locale:'en-GB',name:'United Kingdom'}, {locale:'en-FR',name:'France'}]"</span><span class="tag">&gt;</span><span class="pln">
   ...
</span><span class="tag">&lt;/div&gt;

</span></pre>
<p style="text-align: justify;"><strong>ng-repeat: </strong>This&nbsp;directive repeats html elements for each item in a collection.</p>
<p style="text-align: justify;">Example: In this example&nbsp;we've iterated over array of countries.</p>
<pre class="prettyprint notranslate prettyprinted"><span class="tag">&lt;div</span> <span class="atn">ng-app</span> <span class="pun">=</span> <span class="atv">""</span><span class="tag">&gt;</span><span class="pln">
   ...
   </span><span class="tag">&lt;p&gt;</span><span class="pln">List of Countries with locale:</span><span class="tag">&lt;/p&gt;</span>
   
   <span class="tag">&lt;ol&gt;</span>
      <span class="tag">&lt;li</span> <span class="atn">ng-repeat</span> <span class="pun">=</span> <span class="atv">"country in countries"</span><span class="tag">&gt;</span><span class="pln">
         {{ 'Country: ' + country.name + ', Locale: ' + country.locale }}
      </span><span class="tag">&lt;/li&gt;</span>
   <span class="tag">&lt;/ol&gt;</span>
   
<span class="tag">&lt;/div&gt;

</span></pre>
<p style="text-align: justify;"><strong>ng-model:&nbsp;</strong>The model/variable to be used in AngularJS Application.</p>
<p style="text-align: justify;">Example:&nbsp;In this example&nbsp;we've defined a model named "name".</p>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;"><span class="tag">&lt;div</span> <span class="atn">ng-app</span> <span class="pun">=</span> <span class="atv">""</span><span class="tag">&gt;</span></p>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;"><span class="pln"> ... </span></p>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;"><span class="tag">&lt;p&gt;</span><span class="pln">Enter your Name: </span><span class="tag">&lt;input</span> <span class="atn">type</span> <span class="pun">=</span> <span class="atv">"text"</span> <span class="atn">ng-model</span> <span class="pun">=</span> <span class="atv">"name"</span><span class="tag">&gt;&lt;/p&gt;</span></p>
<p class="prettyprint notranslate prettyprinted" style="text-align: justify;"><span class="tag">&lt;/div&gt;</span></p>
<p style="text-align: justify;">Example: In this example, we can see all the above mentioned directives</p>
<pre class="prettyprint notranslate tryit prettyprinted"><span class="tag">&lt;html&gt;</span>
   
   <span class="tag">&lt;head&gt;</span>
      <span class="tag">&lt;title&gt;</span><span class="pln">AngularJS Directives</span><span class="tag">&lt;/title&gt;</span>
   <span class="tag">&lt;/head&gt;</span>
   
   <span class="tag">&lt;body&gt;</span>
      <span class="tag">&lt;h1&gt;</span><span class="pln">Sample Application</span><span class="tag">&lt;/h1&gt;</span>
      
      <span class="tag">&lt;div</span> <span class="atn">ng-app</span> <span class="pun">=</span> <span class="atv">""</span> <span class="atn">ng-init</span> <span class="pun">=</span> <span class="atv">"countries = [{locale:'en-US',name:'United States'}, {locale:'en-GB',name:'United Kingdom'}, {locale:'en-FR',name:'France'}]"</span><span class="tag">&gt;</span> 
         <span class="tag">&lt;p&gt;</span><span class="pln">Enter your Name: </span><span class="tag">&lt;input</span> <span class="atn">type</span> <span class="pun">=</span> <span class="atv">"text"</span> <span class="atn">ng-model</span> <span class="pun">=</span> <span class="atv">"name"</span><span class="tag">&gt;&lt;/p&gt;</span>
         <span class="tag">&lt;p&gt;</span><span class="pln">Hello </span><span class="tag">&lt;span</span> <span class="atn">ng-bind</span> <span class="pun">=</span> <span class="atv">"name"</span><span class="tag">&gt;&lt;/span&gt;</span><span class="pln">!</span><span class="tag">&lt;/p&gt;</span>
         <span class="tag">&lt;p&gt;</span><span class="pln">List of Countries with locale:</span><span class="tag">&lt;/p&gt;</span>
      
         <span class="tag">&lt;ol&gt;</span>
            <span class="tag">&lt;li</span> <span class="atn">ng-repeat</span> <span class="pun">=</span> <span class="atv">"country in countries"</span><span class="tag">&gt;</span><span class="pln">
               {{ 'Country: ' + country.name + ', Locale: ' + country.locale }}
            </span><span class="tag">&lt;/li&gt;</span>
         <span class="tag">&lt;/ol&gt;</span>
      <span class="tag">&lt;/div&gt;</span>
      
      <span class="tag">&lt;script</span> <span class="atn">src</span> <span class="pun">=</span> <span class="atv">"http://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"</span><span class="tag">&gt;&lt;/script&gt;</span>
      
   <span class="tag">&lt;/body&gt;</span>
<span class="tag">&lt;/html&gt;</span></pre>
<pre class="prettyprint notranslate prettyprinted">&nbsp;</pre>
<p><span style="color: #000000;"><strong>For an Indepth knowledge on AngularJS, click on below</strong></span></p>
<ul>
<li><span class="white-back"><a href="https://tekslate.com/angularjs-routing/" target="_blank" rel="noopener">AngularJS Routing</a></span></li>
<li><a href="https://tekslate.com/angularjs-interview-questions-answers" target="_blank" rel="noopener">AngularJS Interview Questions</a></li>
</ul>1a8:Ta066,<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;"><strong>QTP Interview Questions </strong></span></h2>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q1) What is QTP&rsquo;s model for test creation?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Determine testing needs &ndash; Define testing environment, Analyse your application and plan actions Set up repositories &ndash; Local or Shared OR Define function libraries Generate test steps &ndash; Add steps, Add checkpoints Data drive your tests Run the tests</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q2) Does QTP run in any environment?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>No, QTP works only in the Windows environment.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q3) Explain the views in the QTP GUI.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong></p>
<p style="text-align: justify;"><em><strong>Keyword view:</strong></em></p>
<p style="text-align: justify;">This view is a tabular representation of all the objects and the actions that are performed on them. Every row in the table is a step performed on the AUT and can be modified. Some of the most common columns displayed are item, operation, value and documentation.</p>
<p style="text-align: justify;"><em><strong>Expert view:</strong></em></p>
<p style="text-align: justify;">As the name indicates, this view is for more technical users who would want to tweak the source code as per their requirements.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q4) What are the different kinds of test steps?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> 5 types of steps : Test Object ( Performs actions on a TO) &ndash; Functions &ndash; Utility (Steps to control run session. Eg: Reporter. report) &ndash; Comment &ndash; Programming logic (Loop, conditions&hellip;etc)</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q5) What phases are involved in testing an application in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The Quick Test Professional process consists of the following main phases:</p>
<p style="text-align: justify;"><em><strong>Analyzing Application:</strong></em> before preparing test cases need to analyze the application to find out the testing needs.</p>
<p style="text-align: justify;"><em><strong>Preparing Testing Infrastructure:</strong></em> based on testing needs create those resources, resources like, shared repository, function library etc.</p>
<p style="text-align: justify;"><em><strong>Building Test Cases:</strong></em> create <span style="color: #236fa1;"><a class="zem_slink" style="color: #236fa1;" title="Test script" href="http://en.wikipedia.org/wiki/Test_script" target="_blank" rel="nofollow">test script</a></span> containing action to be performed while testing. Add object repository with the test function libraries.</p>
<p style="text-align: justify;"><em><strong>Enhancing Test:</strong></em> by making use of checkpoints, broadening the scope of test, add logic and condition to test for checking purpose.</p>
<p style="text-align: justify;"><em><strong>Debugging, Running and Analyzing Test:</strong></em> debug the test so that it works without interruption. Run these test and analyze the test result generated by QTP</p>
<p style="text-align: justify;"><em><strong>Report Defects:</strong></em> lock bug into the bug report and send it to the development team.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q6) How many types of recording modes in the QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The QTP enable us with three types of recording mode:</p>
<p style="text-align: justify;"><em><strong>Normal (by Default recording):</strong></em> In this recording mode QTP identify the object irrespective of their location on the screen. It is done by recording object based on application window.</p>
<p style="text-align: justify;"><em><strong>Analog Recording:</strong></em> It is used when exact mouse movement and action performed by mouse is important. Used in testing the paint application and signature made with the help of mouse.</p>
<p style="text-align: justify;"><em><strong>Low Level Recording:</strong></em> It helps in identifying those objects which is not recognized by the QTP. It is used when the location of object is changing inside the screen.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q7) What is an object repository?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong></p>
<p style="text-align: justify;"><strong><em>Object Repository:</em></strong></p>
<p style="text-align: justify;">When QTP learn any object from application it stores those object in the Object Repository with the properties of the object. It is used to identify the object. There are two types of object repository:</p>
<p style="text-align: justify;"><em><strong>Shared Object Repository:</strong></em></p>
<p style="text-align: justify;">It can be shared between multiple tests but it does not allow making changes in the repository. Mostly used in Keyword Driven methodology. It is saved with .TSR extension.</p>
<p style="text-align: justify;"><em><strong>Local Object Repository:</strong></em></p>
<p style="text-align: justify;">This type of object repository is linked with only one test. In this we can perform change in the repository, like changing the properties of the object, adding object in the repository. It is saved with .MTR extension.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q8) Explain step generator in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Step Generator in QTP helps in creating those steps which is performed over the object while testing. Use of Step Generator in QTP:</p>
<ul>
<li style="text-align: justify;">Help in debugging the script by making use of Break.</li>
<li style="text-align: justify;">To add those step which we forget to perform while recording.</li>
<li style="text-align: justify;">To ensure that objects exist in the repository</li>
<li style="text-align: justify;">To add up step in the function library.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q9) Explain the use of Action Split in QTP.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Action Split: It is used to split the action into two parts. There are two type of split an action:</p>
<p style="text-align: justify;"><em><strong>Splitting into two sibling actions:</strong></em> Both split actions are independent of each other.</p>
<p style="text-align: justify;"><em><strong>Splitting into Parent-Child nested action:</strong></em> In this second split action is only called after the execution of the parent split action. Child split action depends upon the parent split action.</p>
<p style="text-align: justify;">QTP generated the duplicate copy of the object repository when we perform the Split action. We can add object to anyone spilt action which is not added into another split action&rsquo;s repository.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q10) What is the purpose of loading QTP Add-Ins?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: <em>Add-Ins:</em></strong><em> these&nbsp;</em>are small programs or files which can be added to a computer in order to enhance the capabilities of the system. The purposes of loading Add-Ins into QTP are following:</p>
<ul>
<li style="text-align: justify;">To increase the capabilities of the system.</li>
<li style="text-align: justify;">To improve the graphics quality, communications interface.</li>
<li style="text-align: justify;">To load the particular function into the memory.</li>
<li style="text-align: justify;">To excess only those functions that is required for the execution of the script.</li>
</ul>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Interested in mastering QTP Training? Enroll now for FREE demo on <strong><span style="color: #236fa1;"><a style="color: #236fa1;" title="QTP Training" href="https://tekslate.com/qtp-training" target="_blank">QTP Training</a></span>.</strong></em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q11) What is a data-driven test in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> <a class="zem_slink" title="Data-driven testing" href="http://en.wikipedia.org/wiki/Data-driven_testing" target="_blank" rel="noopener wikipedia">Data-Driven</a> is an automation testing part in which test input or output values, these values are read from data files. It is performed when the values are changing by the time. The different data files may include data pools. The data is then loaded into variables in recorded or manually coded scripts. In QTP to perform the data to drive the test, we use the parameterization process. When we do data-driven test, we perform two extra steps:</p>
<ul>
<li style="text-align: justify;">Converting the test to a data-driven test.</li>
<li style="text-align: justify;">Creating a corresponding data table.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q12) How to use Parameterization in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>It is the process of making use of different values in place of recorded values which is replaced by variable which contains different values that can be used during the execution of the scripts. QTP enable us with different type of Parameterization, passing of data:</p>
<ul>
<li style="text-align: justify;">Using Loop statement.</li>
<li style="text-align: justify;">Dynamically test data submission</li>
<li style="text-align: justify;">Using data table.</li>
<li style="text-align: justify;">Fetching data from external files.</li>
<li style="text-align: justify;">Fetching data from databases.</li>
<li style="text-align: justify;">By taking test data front end(GUI)</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q13) Is it possible to call from one action to another action in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes, QTP enables us to call from one action to another action. There are two ways of calling action:</p>
<p style="text-align: justify;"><em><strong>Call to Copy of action:</strong></em> in this, we generate the copy of action in our repository which enables us to perform changes to the copy of action.</p>
<p style="text-align: justify;"><em><strong>Call to Existing action:</strong></em> we call to action which is made up earlier. This generates the reference to the action. We can access the action in read-only mode. In this, no copy of the existing script and data table is made.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q14) Explain different types of action in QTP.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>When generating the test script, it includes only one action. Action contains the number of steps to be performed on the application to test the application.</p>
<p style="text-align: justify;">There are three types of action in QTP:</p>
<p style="text-align: justify;"><em><strong>1. Non-Reusable action:</strong></em> it can be called by test only once in which it is stored.</p>
<p style="text-align: justify;"><em><strong>2. Reusable action:</strong> </em>it can be called by test multiple times in which it is stored.</p>
<p style="text-align: justify;"><em><strong>3. External action:</strong></em> it is reusable action but stored in an external test. We can call external action but it will be available in read-only mode we cannot perform any change to the External Action.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q15) What are the advantages of test automation?</strong></span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li>Time &ndash; It produces quick results</li>
<li>No Manual intervention</li>
<li>Cost-effective</li>
<li>Not prone to human errors</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q16) If the object hierarchy is changing from build to build, then how you will handle that condition?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>In this case, descriptive programming can be used instead of having an OR. Even while descriptive programming tries to use regular expressions to identify the unique property of the objects.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q17) What is the difference between the Run time object and the Test object?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The difference between the Run time Object and the Test objects are:</p>
<ul>
<li style="text-align: justify;">Run time objects are actual objects in the application whereas test objects are references of the actual object.</li>
<li style="text-align: justify;">Run time objects always have the same name whereas the test object name varies in a different environment.</li>
<li style="text-align: justify;">Test objects are used to identify the actual object in the application which is run-time objects.</li>
<li style="text-align: justify;">The run-time object resides in the application whereas the test object resides in the object repository.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q18) Explain Measuring Transaction.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Measuring transaction means that to measure how much time it takes to execute a set of step over the application. A transaction is a collection of steps that we are intended to know how much time it takes to execute. We can define the transaction by enclosing the set of steps with the start transaction and end transaction.</p>
<p style="text-align: justify;"><em><strong>Start transaction:</strong></em> after the encounter of start transaction time measurement start.&nbsp;</p>
<p style="text-align: justify;"><em><strong>End transaction:</strong></em> it is used to stop the time measurement.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q19) Explain different checkpoints in QTP.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Checkpoint is a point where QTP current value or property of the object with the expected value or property of the object. When we insert the checkpoint in the test, then in the keyword view checkpoint is added in front of the current row and in the expert view a checkpoint statement is added. QTP enable us with the following types of checkpoint:</p>
<p style="text-align: justify;"><em><strong>Standard Checkpoint:</strong></em> check properties of objects like buttons, combo boxes, lists etc.</p>
<p style="text-align: justify;"><em><strong>Image Checkpoint:</strong></em> check the value of an image</p>
<p style="text-align: justify;"><em><strong>Bitmap Checkpoint:</strong></em> check image zooming capability.</p>
<p style="text-align: justify;"><em><strong>Table Checkpoint:</strong></em> check information of a table.</p>
<p style="text-align: justify;"><em><strong>Text Checkpoint:</strong></em> check text is displayed in the correct place.</p>
<p style="text-align: justify;"><em><strong>Text Area Checkpoint:</strong></em> check text is displayed in a specific area.</p>
<p style="text-align: justify;"><strong><em>Accessibility Checkpoint</em>:</strong> used to determine a website that is not as per W3C guidelines.</p>
<p style="text-align: justify;"><em><strong>Page Checkpoint:</strong></em> checks properties of the webpage.</p>
<p style="text-align: justify;"><em><strong>Database Checkpoint:</strong> </em>check the content of the database.</p>
<p style="text-align: justify;"><em><strong>XML Checkpoint:</strong></em> check XML content.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q20) Describe the Synchronization Point.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Synchronization Point: When the application response speed is not the same as the test execution speed this may cause an error. In order to remove this error we use Synchronization point. Synchronization is done by making a QTP test to wait until the application is ready for execution. When we insert the Synchronization point in the test then QTP generates the WaitProperty Statement in the ExpertView. For synchronization, we can use:</p>
<ul>
<li style="text-align: justify;">Exist statement</li>
<li style="text-align: justify;">Wait statement.</li>
</ul>
<p style="text-align: justify;">Increase the defaulted time of QTP waits for the web page to load.</p>
<ul>
<li style="text-align: justify;">Change in default timeout setting.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q21) What are the expert view and keyword view?</strong></span></h3>
<p style="text-align: justify;"><em><strong>Ans: </strong></em></p>
<p style="text-align: justify;"><em><strong>Expert View:</strong></em> It contains the steps performed over the application in VBScript language.</p>
<p style="text-align: justify;">Expert view enables us to edit the script.</p>
<p style="text-align: justify;">In keyword view, a row exist for each object and method which is mentioned in Expert View.</p>
<p style="text-align: justify;"><strong>Keyword View:</strong> contains the steps executed on the application in keyword-driven tabular form in the English language.</p>
<p style="text-align: justify;">Keyword View contains four fields: ITEM, Operation, Value, and Document.&nbsp;</p>
<p style="text-align: justify;">By selecting items and operations we can create and modify tests.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q22) What is Keyword Driven Framework?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>In Keyword driven framework the QTP executed script which is written in the Excel sheet with the help of Driver Script. For making Keyword Driven Framework we have two ways:</p>
<p style="text-align: justify;">Specify Script Values Directly in Excel</p>
<p style="text-align: justify;">Write Global Functions to perform the action on the application as function keywords in Excel.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q23) What are the benefits of QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The benefits of QTP are:</p>
<ul>
<li style="text-align: justify;">Standalone tool and integrated with Quality Center.</li>
<li style="text-align: justify;">Testing results stored in the database automatically can be used for analyzing system performance.</li>
<li style="text-align: justify;">Supports Keyword driven testing.</li>
<li style="text-align: justify;">QTP Identifies objects, even if they change from build to build.</li>
<li style="text-align: justify;">By using QTP, Test execution time and cost will reduce.</li>
<li style="text-align: justify;">Suitable for both client-server and web-based application</li>
<li style="text-align: justify;">Better error handling mechanism</li>
<li style="text-align: justify;">Excellent data-driven testing features</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q24) What are the disadvantages of recording test cases in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Following are the Disadvantage of recording test cases in QTP</p>
<ul>
<li style="text-align: justify;">Occupies lot of space results in reducing QTP performance.</li>
<li style="text-align: justify;">Updating test is difficult.</li>
<li style="text-align: justify;">Internal to the QTP, which may cause corrupted.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q25) What are the expert view and keyword view?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong></p>
<p style="text-align: justify;"><em><strong>Expert View:</strong></em> It contains the steps performed over the application in VBScript language.</p>
<p style="text-align: justify;">Expert view enables us to edit the script.</p>
<p style="text-align: justify;">In keyword view, a row exists for each object and method which is mentioned in Expert View.</p>
<p style="text-align: justify;"><em><strong>Keyword View:</strong></em> contains the steps executed on the application in keyword-driven tabular form in the English language.</p>
<p style="text-align: justify;">Keyword View contains four fields: ITEM, Operation, Value, and Document.</p>
<p style="text-align: justify;">Selecting items and operations we can create and modify tests.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q26) What is the process of synchronizing QTP and AUT?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>We can synchronize QTP and AUT by applying any one of the following methods:</p>
<ul>
<li style="text-align: justify;">Wait statement.</li>
<li style="text-align: justify;">Using exit statement</li>
<li style="text-align: justify;">Synchronization point.</li>
<li style="text-align: justify;">Increasing timeout. ( tool default synchronization point)</li>
<li style="text-align: justify;">Syn (synchronize method) method</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q27) What is the difference between design time and runtime data table?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The differences between the Design time and Run timetable are:</p>
<ul>
<li style="text-align: justify;">Design time tables are visible in QTP main test but Run time table is visible in Test Result Window.</li>
<li style="text-align: justify;">Design time table is created before the execution of test whereas Run time table is created after execution of test.</li>
<li style="text-align: justify;">Design time table referred to the external data but Run time table represent actual design table in the application.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q28) What is the difference between Shared and Local Object Repositories?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The difference between Shared and Local Object Repository are:</p>
<p style="text-align: justify;">Shared OR can be shared between multiple tests whereas Local OR can only link with one test.</p>
<p style="text-align: justify;">Shared OR does not allow making changes in the repository but Local OR enables the tester to perform the change in the object property present in the Object Repository or add an object in OR.</p>
<p style="text-align: justify;">Mostly used in Keyword Driven methodology. It is saved with.TSR extension where as Local OR is saved with.MTR extension.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q29) What are the shot cut keys for the following?</strong></span></h3>
<p><strong>Ans:</strong></p>
<ul>
<li style="text-align: justify;">Normal Recording:</li>
<li style="text-align: justify;">F3 Run the test script:</li>
<li style="text-align: justify;">F5 To stop the recording:</li>
<li style="text-align: justify;">F4 For Analog Recording:</li>
<li style="text-align: justify;">Ctrl+Shift+F4 Low Level Recording:</li>
<li style="text-align: justify;">Ctrl+Shift+F3 To switch between Tree View and Expert View:</li>
<li style="text-align: justify;">Ctrl+Tab</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q30) What is the recovery scenario in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>While executing a test, some unexpected errors and events may occur.</p>
<p style="text-align: justify;">To overcome this we take the help of Recovery Scenario.</p>
<p style="text-align: justify;">The Recovery Scenario Consist of the Following:</p>
<p style="text-align: justify;"><em><strong>Trigger Event:</strong></em> when unexpected events or errors invoke.</p>
<p style="text-align: justify;"><em><strong>Recovery Operation:</strong></em> Operation needed to perform for running the remaining test script.</p>
<p style="text-align: justify;"><em><strong>Post-Recovery Test Run Option:</strong></em> after recovering from an unexpected error where to start the remaining test execution</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q31) What are the steps involved in Recovery Scenario Wizard?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The Recovery Scenario Wizard consists of the following steps:</p>
<ul>
<li style="text-align: justify;">Defining of a trigger event.</li>
<li style="text-align: justify;">Defining Recovery operation.</li>
<li style="text-align: justify;">Selection of Post Recovery Run.</li>
<li style="text-align: justify;">Specifying either to associate recovery scenario to the current test or all-new test.</li>
</ul>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q32) Explain different types of event trigger options.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>In QTP, there are the following types of <a href="https://tekslate.com/15-sample-triggers-different-scenarios/" target="_blank" rel="noopener">triggers</a>:</p>
<p style="text-align: justify;"><em><strong>1. POP-UP window:</strong></em> QTP identifies the POP-UP window based on the window title and textual content.</p>
<p style="text-align: justify;"><em><strong>2. Object State:</strong></em> object state is identified by its properties.</p>
<p style="text-align: justify;"><em><strong>3. Test Run Error:</strong></em> when the test run result value is failed it is identified.</p>
<p style="text-align: justify;"><em><strong>4. Application Crash:</strong></em> this state is identified by a predefined list of applications.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q33) What are the different types of Recovery Operations?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The following type of Recovery Operation is available in QTP:</p>
<ul>
<li style="text-align: justify;">Keyboard or mouse operation.</li>
<li style="text-align: justify;">Close Application Process.</li>
<li style="text-align: justify;">Function call.</li>
<li style="text-align: justify;">Restart Microsoft Windows.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q34) Describe the Function Procedure in VBScript.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong></p>
<p style="text-align: justify;"><em><strong>Function procedure:</strong></em> it consists of steps of statements written in VBScript with some return value.</p>
<ul>
<li style="text-align: justify;">A function statement is used to declare a name, argument and code.</li>
<li style="text-align: justify;">When no argument is given it takes empty parentheses ().</li>
<li style="text-align: justify;">Name is used to return the value.</li>
</ul>
<p style="text-align: justify;"><em><strong>SYNTAX of Function Procedure:</strong></em></p>
<p style="text-align: justify;">[Public][Default][Private] Function name [(arglist)] [Statements]</p>
<p style="text-align: justify;">[name = expression] [Exit Function] [Statements] [name = expression]</p>
<p style="text-align: justify;">End Function</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q35) How to handle Java tree in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>You will need to select and load the Java Add-in. Then you can record and work on a <a href="https://tekslate.com/advanced-java-training" target="_blank" rel="noopener">Java Tree object</a>&nbsp;just like you would with any other object.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q36) How to give a call to another action from one action?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Calling one action from the other can be done by &ldquo;Inserting a call&rdquo; to an existing action or by creating a new action. Please refer to tutorial #21 for a detailed explanation.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q37) How to find Operating system information using the QTP script?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>You can do that with the help of the environment variable. The exact variable is, OS and OS Version is for the version information.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q38) How you can identify the browser and its information using the QTP script?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>You can identify and act on any browser that you opened again by referring to its &lsquo;creation time&rsquo; property and use it like you would with a browser object in your OR.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q39) How are actions and functions different in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Actions have their own Datatables and OR, but functions don&rsquo;t. More importantly, Functions are a VB Scripting element, not only applicable to QTP. Please refer article 21 a detailed explanation of these.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q40) How to remove the associated Function library?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>To remove the associated Function Library we can perform any one of the following methods:</p>
<p style="text-align: justify;"><em><strong>METHOD 1:</strong></em></p>
<ul>
<li style="text-align: justify;">Select Resource Pane.</li>
<li style="text-align: justify;">Right-click on the function library, and select Remove Function Library.</li>
</ul>
<p style="text-align: justify;"><em><strong>METHOD 2:</strong></em></p>
<ul>
<li style="text-align: justify;">Select Resource Pane,</li>
<li style="text-align: justify;">Select Function Library.</li>
<li style="text-align: justify;">Press the DELETE key.</li>
</ul>
<p style="text-align: justify;"><em><strong>METHOD 3:</strong></em></p>
<ul>
<li style="text-align: justify;">Go to the list of Associated Function Library in the Resource Pane.</li>
<li style="text-align: justify;">Select the Function and click the Remove button.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q41) What is reusable action?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>An action that can be called multiple times within or outside the same test is called reusable action. By default all actions are reusable.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q42) What are the different attributes used with Regular Expression?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The different attributes of Regular Expression are:</p>
<p style="text-align: justify;"><em><strong>Backslash(\):</strong></em> when it is encountered the next character is treated as a literal character.</p>
<p style="text-align: justify;"><em><strong>Period(.):</strong></em> is used to search any single character.</p>
<p style="text-align: justify;"><em><strong>Square Bracket[ ]:</strong></em> is used to search for a single character within a list of characters.</p>
<p style="text-align: justify;"><em><strong>Caret(^):</strong></em> is used to match any character in the list except those specified in the string.</p>
<p style="text-align: justify;"><em><strong>Asterisk(*):</strong></em> to match zero or all occurrences of the preceding characters.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q43) What is the difference between Global and the action sheet in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong></p>
<p style="text-align: justify;"><em><strong>Global Sheet:</strong></em> Globally accessible by all tests. Used when we have to perform many actions by using a single script.</p>
<p style="text-align: justify;"><em><strong>Action Sheet:</strong></em> Locally accessible in a test. It is used when only one action is performed with one script.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q44) Explain XML Checkpoints.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>XML Checkpoints are used for the verification of the current and expect value or properties of the XML documents. A checkpoint fails when actual and expected values or properties are not same.</p>
<p style="text-align: justify;">QTP enables us with three types of XML Checkpoints:</p>
<ol>
<li style="text-align: justify;">XML Web Page or Frame Checkpoints.</li>
<li style="text-align: justify;">XML File Checkpoints.</li>
<li style="text-align: justify;">XML Test Object Checkpoints.</li>
</ol>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q45) How to modify the Text Checkpoint?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>To modify the Checkpoint in QTP we do the following:</p>
<ul>
<li style="text-align: justify;">Go to Keyword View, Right-Click the Checkpoint.</li>
<li style="text-align: justify;">Select Checkpoint Properties.</li>
<li style="text-align: justify;">Checkpoint properties dialog box open, change the setting.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q46) Give the Syntax to load Function at run time.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Syntax to load the function at run time:</p>
<p style="text-align: justify;">LoadFunctionLibrary strCurrentLibPath + &ldquo;DialogCrashChecks.qfl&rdquo;, strCurrentLibPath + &ldquo;DialogL18nChecks.qfl&rdquo;</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q47) What is the use of an Ordinal identifier in QTP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Ordinal Identifiers are used to initialize the value to the object which is in numeric form and it is used to find out its order with respect to other objects.</p>
<p style="text-align: justify;">QTP enable us with the following types of Ordinal Identifiers:</p>
<p style="text-align: justify;"><em><strong>Index:</strong></em> indicates the order of objects.</p>
<p style="text-align: justify;"><em><strong>Location:</strong></em> determine the location of the object like inside the parent window, frame or dialog box relative to other objects.</p>
<p style="text-align: justify;"><em><strong>Creation Time:</strong></em> determine the order in which the web browser opens.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q48) How to delete an object from the Object Repository?</strong></span></h3>
<p style="text-align: justify;">To delete an object from the repository:</p>
<ul>
<li style="text-align: justify;">Go to repository tree, and select the object.</li>
<li style="text-align: justify;">Click the Delete button or select Edit&gt; Delete.</li>
<li style="text-align: justify;">Click Yes to confirm.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q49) What is Cross-Site Scripting?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Cross Site Scripting is a thread in the dynamic website. It is also known as XSS. Cross-site scripting occurs when a web application gathers malicious data from a user. The data is collected in the hyperlink form which contains malicious content within it. It allows malicious code to be inserted into the web page. The web page can be a simple HTML code or a client-side script. When the malicious code is inserted into a page and clicked by some user, the malicious code becomes a part of the web request of the user. This request can also execute on the user&rsquo;s computer and steal information.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q50) What is contained in the Object Repository?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: The object</strong> Repository stores the element identification properties extracted from the application during recording. ID will be generated for each element and this ID is used for Object identification in the application. The object Repository acts as a repository for the application elements. Object Repository contains two properties of each object for identification:</p>
<ul>
<li style="text-align: justify;">Physical properties description of the object</li>
<li style="text-align: justify;">Logical name of the object.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q51) The hybrid framework supports Descriptive programming. Is it true?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Yes. Frameworks are mostly based on how and where you want your test assets to be placed and how they are to be accessed for maximum efficiency. They do not restrict how you write you test itself.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q52) What are the advantages of the Hybrid framework?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The hybrid framework is nothing but a combination of frameworks that make you arrive at a solution for your testing needs by taking what works best for your scenario. The obvious advantage is the versatility. It can be tailored to meet any testing project&rsquo;s needs.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q53) What is Procedure or Subroutine in VBScript?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: Sub</strong> procedure is a series of VB Script statements (enclosed by <strong>Sub </strong>and&nbsp;<strong>End Sub</strong> statements) that perform actions but don&rsquo;t return a value. A <strong>Sub</strong> procedure can take arguments (constants, variables, or expressions that are passed by a calling procedure). If a <strong>Sub</strong>procedure has no arguments, its <strong>Sub</strong> statement must include an empty set of parentheses ().</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q54) Is VBScript Case sensitive or Case insensitive?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>It is not case-sensitive with respect to command and variable names. Everything else, like strings (text), is.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q55) What is the difference between the keyword view and the expert view?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>They are two ways QTP shows your test. Each one has its own features and caters to users of different levels of expertise.</p>
<p style="text-align: justify;"><em><strong>Keyword view:</strong></em> This is a tabular representation of your test that has information like the Item, Operation, Data and Comments.</p>
<p style="text-align: justify;"><em><strong>Expert view:</strong></em> This displays your test in terms of the actual lines of code. It is more like a VB Script editor and is used by advanced users.</p>1a9:T61b,<h2 style="text-align: justify;"><strong>Cross Table Load</strong></h2>
<p style="text-align: justify;">A cross table is a common type of table featuring a matrix of values between two or more&nbsp;orthogonal lists of header data, of which one is used as <a class="zem_slink" title="Column" href="http://en.wikipedia.org/wiki/Column" target="_blank" rel="noopener wikipedia">column</a>d headers. A typical example&nbsp;could be to have one column per month. To transform a cross table into a straight table, use&nbsp;a <a class="zem_slink" title="Glossary of chess" href="http://en.wikipedia.org/wiki/Glossary_of_chess" target="_blank" rel="noopener wikipedia">crosstable</a> prefix. The result is that the column headers (e.g. month names) will be stored&nbsp;in one field - the attribute field - and the column data (month numbers) will be stored in a second field: the <a class="zem_slink" title="Data field" href="http://en.wikipedia.org/wiki/Data_field" target="_blank" rel="noopener wikipedia">data field</a>.</p>
<p style="text-align: justify;">The syntax is: <strong><a href="https://tekslate.com/qlikView-tutorial-tnterview-questions-answers/">crosstable</a> (attribute field name, data field name [ , n ] ) (&nbsp;load statement&nbsp;|&nbsp;select statement&nbsp;)</strong> where: Attribute field name is the field to contain the attribute values.</p>
<p style="text-align: justify;">Data field name is the field to contain the data values. n is the number of qualifier fields preceding the table to be transformed to generic form.&nbsp;Default is 1</p>1aa:T2375,<p><strong>Vagrant Boxes</strong> are prepackaged development environments that are the foundation of Vagrant. In most cases, this is usually just a<strong>stripped and naked operating system</strong> such as <a class="zem_slink" title="Ubuntu (operating system)" href="http://www.ubuntu.com" target="_blank" rel="homepage noopener">Ubuntu</a>, Debian, or CentOS. Boxes exist with the intention to be provisioned with additional features like Apache and PHP using tools like Chef or Puppet. This is really powerful, but it can be time consuming to setup the first configuration and difficult for beginners. Plus, not everyone has the skill-set of a system admin or work with a huge collaborative team. This post will describe to you how to create your own prepackaged Vagrant Box from and existing virtual machine. In my opinion, it&rsquo;s the <strong>quickest and easiest way for beginners</strong> to get started with Vagrant. This way you&rsquo;ll be able to reuse it over and over and even share it. I feel this generally goes against the main idea of Vagrant where you provision your development environments from a single config. You generally lose a lot of the debugging and configurability of your development environment, but this should be helpful for plenty of developers, teams, and projects regardless.</p>
<h2 id="choose-a-box"><strong>Choose a Box</strong></h2>
<p>The first thing you&rsquo;ll need to do is pick a box that you want to build from. The Vagrant Cloud lets you easily find boxes that people have shared. We&rsquo;ll be working off of Hashicorp&rsquo;s (Vagrant&rsquo;s) Precise64. This box is a good one to work off of because Chef and Puppet are already installed, plus all the settings we&rsquo;re configured by the creator(s) of Vagrant. <img class="size-full wp-image-19929 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.621.png" alt="Capture.621" width="678" height="475" /></p>
<h2 id="initialize-and-start-the-vagrant-box"><strong>Initialize and Start the Vagrant Box</strong></h2>
<p>After you&rsquo;ve chosen a box, initialize the Vagrant box. Each one is slightly different, but here&rsquo;s how to do it for the example we&rsquo;re doing: vagrant init hashicorp<span class="token operator">/</span>precise64 This will also create a Vagrant file for you. Now, boot the box with Vagrant by doing (it will need to download if it&rsquo;s the first time using the it): vagrant up</p>
<h2 id="ssh-into-the-box-and-customize-it"><strong><a class="zem_slink" title="Secure Shell" href="http://en.wikipedia.org/wiki/Secure_Shell" target="_blank" rel="noopener wikipedia">SSH</a> into the Box and Customize It</strong></h2>
<p>We&rsquo;ll now SSH into the box and start customizing it. If you don&rsquo;t know anything about servers, you can always just use Scotch Boxsince all of this is already done for you. Here&rsquo;s how to SSH into the box: vagrant ssh Now, we need to setup our server by installing whatever we want on it. This example will install a basic <a class="zem_slink" title="LAMP (software bundle)" href="http://en.wikipedia.org/wiki/LAMP_%28software_bundle%29" target="_blank" rel="noopener wikipedia">LAMP stack</a>, but you can do whatever you like (Ruby, Nginx, etc.). The point of this article isn&rsquo;t to teach you how to setup a server, but instead how to turn your virtual environment into a Vagrant Box. So this step might be more involved than what is actually shown: sudo apt<span class="token operator">-</span><span class="token keyword">get</span> update sudo apt<span class="token operator">-</span><span class="token keyword">get</span> upgrade sudo apt<span class="token operator">-</span><span class="token keyword">get</span> install vim sudo apt<span class="token operator">-</span><span class="token keyword">get</span> install apache2 sudo apt<span class="token operator">-</span><span class="token keyword">get</span> install mysql<span class="token operator">-</span>server libapache2<span class="token operator">-</span>mod<span class="token operator">-</span>auth<span class="token operator">-</span>mysql php5<span class="token operator">-</span>mysql sudo mysql_install_db sudo <span class="token operator">/</span>usr<span class="token operator">/</span>bin<span class="token operator">/</span>mysql_secure_installation sudo apt<span class="token operator">-</span><span class="token keyword">get</span> install php5 libapache2<span class="token operator">-</span>mod<span class="token operator">-</span>php5 php5<span class="token operator">-</span>mcrypt sudo apt<span class="token operator">-</span><span class="token keyword">get</span> install php5<span class="token operator">-</span>cgi php5<span class="token operator">-</span>cli php5<span class="token operator">-</span>curl php5<span class="token operator">-</span>common php5<span class="token operator">-</span>gd php5<span class="token operator">-</span>mysql sudo service apache2 restart</p>
<h2 id="make-the-box-as-small-as-possible">Make the Box as Small as possible</h2>
<p>We&rsquo;re now going to clean up disk space on the <a class="zem_slink" title="Virtual machine" href="http://en.wikipedia.org/wiki/Virtual_machine" target="_blank" rel="noopener wikipedia">VM</a> so when we package it into a new Vagrant box, it&rsquo;s as clean as possible. First, remove APT cache sudo apt<span class="token operator">-</span><span class="token keyword">get</span> clean Then, &ldquo;zero out&rdquo; the drive (this is for Ubuntu): sudo dd <span class="token keyword">if</span><span class="token operator">=</span><span class="token operator">/</span>dev<span class="token operator">/</span>zero <span class="token keyword">of</span><span class="token operator">=</span><span class="token operator">/</span>EMPTY bs<span class="token operator">=</span>1M sudo rm <span class="token operator">-</span>f <span class="token operator">/</span>EMPTY Lastly, let&rsquo;s clear the Bash History and exit the VM: cat <span class="token operator">/</span>dev<span class="token regex">/null &gt; ~/</span><span class="token punctuation">.</span>bash_history <span class="token operator">&amp;&amp;</span> history <span class="token operator">-</span>c <span class="token operator">&amp;&amp;</span> exit</p>
<h2 id="repackage-the-vm-into-a-new-vagrant-box"><strong>Repackage the VM into a New Vagrant Box</strong></h2>
<p>We&rsquo;re now going to repackage the server we just created into a new Vagrant Base Box. It&rsquo;s very easy with Vagrant: vagrant <span class="token keyword">package</span> <span class="token operator">--</span>output mynew<span class="token punctuation">.</span>box</p>
<h2 id="add-the-box-into-your-vagrant-install"><strong>Add the Box into Your Vagrant Install</strong></h2>
<p>The previous command will have created a &ldquo;mynew.box&rdquo; file. You can technically put this wherever you want on your computer. Now, let&rsquo;s add this new Vagrant Box into Vagrant: vagrant box add mynewbox mynew<span class="token punctuation">.</span>box This now will &ldquo;download&rdquo; the box into your Vagrant install allowing to initiate this from any folder, but before we do this, let&rsquo;s delete and remove the Vagrant file we built this box from.</p>
<pre class="language-javascript" data-title="javascript"><code>vagrant destroy 
rm Vagrantfile

</code></pre>
<h2 id="initialize-your-new-vagrant-box"><strong>Initialize Your New Vagrant Box</strong></h2>
<p>We need to now initialize a Vagrant environment from our brand new box using the same command from earlier but referencing the new Box. vagrant init mynewbox</p>
<h2 id="customize-your-new-vagrantfile"><strong>Customize Your New Vagrantfile</strong></h2>
<p>When you initialize the Vagrant environment, it creates a Vagrantfile for you (just like from before). Open the Vagrantfile and&nbsp;<strong>delete everything</strong>. You can use what was in there as a reference or just use Vagrant&rsquo;s Official Docs, but we&rsquo;re going to only use the absolute essentials that I&rsquo;ve already spelled out for you. Now paste the following bare-bones code into your Vagrantfile: Now let&rsquo;s create a landing page: vim index<span class="token punctuation">.</span>php And add the following line to demo what we just installed with PHP: <span class="token function">phpinfo</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token punctuation">;</span></p>
<h2><strong>Visit Your Site</strong></h2>
<p>Now, visit the IP address from the Vagrantfile in your browser. If everything works, you should see a PHP info dump of the index.php file you just created. <img class=" wp-image-19930 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.622.png" alt="Capture.622" width="696" height="627" /></p>
<p>Now that you&rsquo;ve just created your own Vagrant Base Box from an existing one, you should consider sharing it on the Vagrant Cloud. This way other people can download and use it!</p>1ab:T19d2,<h2 id="vagrant-with-virtualbox-support-installation" style="text-align: justify;"><strong>Vagrant with VirtualBox support installation</strong></h2>
<h2 style="text-align: justify;"><strong>Virtual Machine</strong></h2>
<p style="text-align: justify;">The virtual machine created in VirtualBox can use any configuration you would like, but Vagrant has some hard requirements:</p>
<p>&nbsp;</p>
<p style="padding-left: 30px;">-The first network interface (adapter 1) <em>must</em> be a NAT adapter. Vagrant uses this to connect the first time.</p>
<p style="padding-left: 30px;">-The <a class="zem_slink" title="MAC address" href="http://en.wikipedia.org/wiki/MAC_address" target="_blank" rel="noopener wikipedia">MAC address</a> of the first network interface (the NAT adapter) should be noted, since you will need to put it in a Vagrantfile later as the value for <code>config.vm.base_mac</code>. To get this value, use the VirtualBox <a class="zem_slink" title="Graphical user interface" href="http://en.wikipedia.org/wiki/Graphical_user_interface" target="_blank" rel="noopener wikipedia">GUI</a>.</p>
<p style="text-align: justify;">Other than the above, you are free to customize the base virtual machine as you see fit.</p>
<h2 style="text-align: justify;"><strong>Additional Software</strong></h2>
<p style="text-align: justify;">In addition to the software that should be installed based on the general guide to creating base boxes, VirtualBox base boxes require some additional software.</p>
<h3 style="text-align: justify;"><strong>VirtualBox Guest Additions</strong></h3>
<p style="text-align: justify;">VirtualBox Guest Additions must be installed so that things such as shared folders can function. Installing guest additions also usually improves performance since the guest OS can make some optimizations by knowing it is running within VirtualBox.</p>
<p style="text-align: justify;">Before installing the guest additions, you will need the linux kernel headers and the basic developer tools. On Ubuntu, you can easily install these like so:</p>
<pre class="highlight plaintext"><code>$ sudo apt-get install linux-headers-$(uname -r) build-essential dkms</code></pre>
<h4 style="text-align: justify;"><strong>To install via the GUI:</strong></h4>
<p style="text-align: justify;">Next, make sure that the guest additions image is available by using the GUI and clicking on "Devices" followed by "Install Guest Additions". Then mount the <a class="zem_slink" title="CD-ROM" href="http://en.wikipedia.org/wiki/CD-ROM" target="_blank" rel="noopener wikipedia">CD-ROM</a> to some location. On Ubuntu, this usually looks like this:</p>
<pre class="highlight plaintext"><code>$ sudo mount /dev/cdrom /media/cdrom</code></pre>
<p style="text-align: justify;">Finally, run the shell script that matches your system to install the guest additions. For example, for Linux on x86, it is the following:</p>
<pre class="highlight plaintext"><code>$ sudo sh /media/cdrom/VBoxLinuxAdditions.run
</code></pre>
<p style="text-align: justify;">If the command succeeds, then the guest additions are now installed!</p>
<h4 style="text-align: justify;"><strong>To install via the command line:</strong></h4>
<p style="text-align: justify;">You can find the appropriate guest additions version to match your VirtualBox version by selecting the appropriate version here. The examples below use 4.3.8, which was the latest VirtualBox version at the time of writing.</p>
<pre class="highlight plaintext"><code>wget http://download.virtualbox.org/virtualbox/4.3.8/VBoxGuestAdditions_4.3.8.iso
sudo mkdir /media/VBoxGuestAdditions
sudo mount -o loop,ro VBoxGuestAdditions_4.3.8.iso /media/VBoxGuestAdditions
sudo sh /media/VBoxGuestAdditions/VBoxLinuxAdditions.run
rm VBoxGuestAdditions_4.3.8.iso
sudo umount /media/VBoxGuestAdditions
sudo rmdir /media/VBoxGuestAdditions</code></pre>
<p style="text-align: justify;">If you did not install a <a class="zem_slink" title="Desktop environment" href="http://en.wikipedia.org/wiki/Desktop_environment" target="_blank" rel="noopener wikipedia">Desktop environment</a> when you installed the operating system, as recommended to reduce size, the install of the VirtualBox additions should warn you about the lack of OpenGL or Window System Drivers, but you can safely ignore this.</p>
<p style="text-align: justify;">If the commands succeed, then the guest additions are now installed.</p>
<h2 style="text-align: justify;"><strong>Packing&nbsp;VirtualBox</strong></h2>
<p style="text-align: justify;">Vagrant includes a simple way to package VirtualBox base boxes. Once you've installed all the software you want to install, you can run this command:</p>
<pre class="highlight plaintext"><code>$ vagrant package --base my-virtual-machine
</code></pre>
<p style="text-align: justify;">Where "my-virtual-machine" is replaced by the name of the virtual machine in VirtualBox to package as a base box.</p>
<p style="text-align: justify;">It will take a few minutes, but after it is complete, a file "package.box" should be in your working directory which is the new base box. At this point, you've successfully created a base box.</p>
<h2 style="text-align: justify;"><strong>Raw Contents</strong></h2>
<p style="text-align: justify;">This section documents the actual raw contents of the box file. This is not as useful when creating a base box but can be useful in debugging issues if necessary.</p>
<p style="text-align: justify;">A VirtualBox base box is an archive of the resulting files of exporting a VirtualBox virtual machine. Here is an example of what is contained in such a box:</p>
<pre class="highlight plaintext"><code>$ tree
.
|-- Vagrantfile
|-- box-disk1.vmdk
|-- box.ovf
|-- metadata.json

0 directories, 4 files
</code></pre>
<p style="text-align: justify;">In addition to the files from exporting a VirtualBox VM, there is the "metadata.json" file used by Vagrant itself.</p>
<p style="text-align: justify;">Also, there is a "Vagrantfile." This contains some configuration to properly set the MAC address of the NAT network device, since VirtualBox requires this to be correct in order to function properly. If you are not using <code>vagrant package --base</code> above, you will have to set the<code>config.vm.base_mac</code> setting in this Vagrantfile to the MAC address of the NAT device without colons.</p>
<p style="text-align: justify;">When bringing up a VirtualBox backed machine, Vagrant imports the "box.ovf" file found in the box contents.</p>
<pre class="highlight plaintext">&nbsp;</pre>
<p>&nbsp;</p>
<pre class="highlight plaintext">&nbsp;</pre>1ac:T3467,<h2 style="text-align: justify;"><span style="color: #000000;"><strong>Virtualization</strong></span></h2>
<h3 style="text-align: justify;">Virtualization is a software layer between Hardware and <a class="zem_slink" title="Operating system" href="http://en.wikipedia.org/wiki/Operating_system" target="_blank" rel="noopener wikipedia">OperatingSystem</a>.</h3>
<p style="padding-left: 30px;">Virtualization allows multiple Operating System (OS)instances to run concurrently on a single computer.</p>
<p style="text-align: justify;">Hypervisor is divided into two classifications:tt</p>
<p style="padding-left: 30px; text-align: justify;"><strong>Type1</strong> (ornative,baremetal)hypervisorsrundirectlyonthehost'shardwaretocontrolthehardwareandtomanageguestOS&rsquo;s.AguestOSthusrunsonanotherlevel abovethehypervisor.</p>
<p style="text-align: justify;"><strong>Examples:</strong> Oracle VM Server For SPARC,the Citrix XenServer,KVM,VMware ESX/ESXi,and Microsoft Hyper-V Hypervisor.</p>
<p style="padding-left: 30px; text-align: justify;">Type2:(orhosted)hypervisorsrunwithinaconventionalOSenvironment.Withthehypervisorlayerasadistinctsecondsoftwarelevel,guestOSsrunatthethirdlevelabove thehardware.</p>
<p style="text-align: justify;">Examples: VMware Player,VMware Workstation and VirtualBox.</p>
<p style="text-align: justify;">In other words,Type 1 hypervisor runs directly on the hardware; Type 2 hypervisor runsonanotherOS,such as FreeBSD,Linux or Windows.</p>
<p style="padding-left: 30px; text-align: justify;">In real time Baremetal installation will be done .</p>
<p style="text-align: justify;"><img class="size-full wp-image-20056 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.641.png" alt="Capture.641" width="475" height="254" /></p>
<h5 style="text-align: justify;">Virtualization technology Supports x86 platform only.</h5>
<p style="text-align: justify;">ESXi Hardware Prerequisites:Processor&ndash;64-bit x86 CPU:</p>
<p style="padding-left: 30px; text-align: justify;">All AMD Opteron processors</p>
<p style="text-align: justify;">VMware vSphere 5.1 Lab Manual</p>
<h5 style="text-align: justify;">&sect;&nbsp;&nbsp;&nbsp; All Intel Xeon 3000/3200, 3100/3300,5100/5300, 5200/5400, 5500/5600,</h5>
<p style="text-align: justify;">7100/7300, 7200/7400, and 7500 processors</p>
<p style="padding-left: 30px; text-align: justify;">Up to 160 logical <a class="zem_slink" title="Central processing unit" href="http://en.wikipedia.org/wiki/Central_processing_unit" target="_blank" rel="noopener wikipedia">CPUs</a> (cores or hyperthreads)</p>
<p style="text-align: justify;"><strong>Memory</strong><strong> &ndash; 2GB&nbsp;RAM minimum One or more&nbsp;Ethernet Controllers:</strong></p>
<p style="padding-left: 30px; text-align: justify;">Gigabit or 10Gb Ethernet Controllers Are</p>
<p style="padding-left: 30px; text-align: justify;">For bestperformanceand security, use separate thernetcontrollersforthe management network and the</p>
<p style="text-align: justify;"><strong>Disk storage:</strong></p>
<p style="padding-left: 30px; text-align: justify;">A SCSIadapter,Fibre Channel adapter,converged network adapter, <a class="zem_slink" title="ISCSI" href="http://en.wikipedia.org/wiki/ISCSI" target="_blank" rel="noopener wikipedia">iSCSI</a> adapter,or internal RAID controller</p>
<p style="padding-left: 30px; text-align: justify;">A SCSI disk,FibreChannelLUN, SCSI disk, orRAIDLUN withunpartitionedspace: SATA, SCSI, SAS</p>
<p style="padding-left: 30px; text-align: justify;">Installation of ESXI-5.0 on X86 hardware</p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20057 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.642.png" alt="Capture.642" width="590" height="374" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class="size-full wp-image-20058 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.643.png" alt="Capture.643" width="618" height="329" /></p>
<p style="text-align: justify;">By Default Partitionare Created by hypervisor itself, for the olderversion of ESXpartition areusedtocreatemanually.</p>
<p style="padding-left: 30px; text-align: justify;">Space Occupied by all the partitions is 5GB</p>
<p style="padding-left: 30px; text-align: justify;"><img class="size-full wp-image-20059 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.644.png" alt="Capture.644" width="624" height="503" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class="size-full wp-image-20060 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.645.png" alt="Capture.645" width="619" height="310" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class="size-full wp-image-20061 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.646.png" alt="Capture.646" width="630" height="305" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20062 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.647.png" alt="Capture.647" width="685" height="245" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20063 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.648.png" alt="Capture.648" width="622" height="583" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20064 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.649.png" alt="Capture.649" width="645" height="881" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20066 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.651.png" alt="Capture.651" width="612" height="273" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20067 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.652.png" alt="Capture.652" width="617" height="123" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20068 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.653.png" alt="Capture.653" width="634" height="318" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20069 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.654.png" alt="Capture.654" width="635" height="334" /></p>
<p style="text-align: justify;">Here Changethe IP address from DHCP to Static Ip address.</p>
<p style="text-align: justify;"><img class=" wp-image-20070 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.655.png" alt="Capture.655" width="661" height="569" /></p>
<p style="text-align: justify;"><img class=" wp-image-20071 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.656.png" alt="Capture.656" width="672" height="507" /></p>
<pre style="text-align: center;"><em><strong>At TekSlate, we offer resources that help you in learning various IT courses. 
We avail both written material and demo video tutorials. To gain in-depth knowledge with practical experience,
 then explore&nbsp;<a href="https://tekslate.com/vmware-training" target="_blank" rel="noopener">VMware Training</a>.</strong></em></pre>
<p style="text-align: justify;"><img class=" wp-image-20072 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.657.png" alt="Capture.657" width="693" height="371" /></p>
<p style="text-align: justify;"><img class=" wp-image-20074 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.659.png" alt="Capture.659" width="690" height="85" /></p>
<p style="text-align: justify;"><img class=" wp-image-20075 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.660.png" alt="Capture.660" width="701" height="294" /></p>
<p style="text-align: justify;"><img class=" wp-image-20076 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.661.png" alt="Capture.661" width="714" height="216" /></p>
<p style="text-align: justify;"><img class=" wp-image-20077 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.662.png" alt="Capture.662" width="706" height="115" /></p>
<p style="text-align: justify;"><img class=" wp-image-20078 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.663.png" alt="Capture.663" width="703" height="121" /></p>
<p style="text-align: justify;"><img class=" wp-image-20079 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.664.png" alt="Capture.664" width="708" height="326" /></p>
<p style="text-align: justify;"><img class=" wp-image-20080 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.665.png" alt="Capture.665" width="688" height="302" /></p>
<p style="text-align: justify;"><img class=" wp-image-20081 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.666.png" alt="Capture.666" width="688" height="282" /></p>
<p style="text-align: justify;"><img class=" wp-image-20082 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.667.png" alt="Capture.667" width="739" height="322" /></p>
<p style="text-align: justify;"><img class=" wp-image-20083 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.668.png" alt="Capture.668" width="719" height="341" /></p>
<p style="text-align: justify;"><img class=" wp-image-20084 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.670.png" alt="Capture.670" width="704" height="236" /></p>
<p style="text-align: justify;"><img class=" wp-image-20085 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.671.png" alt="Capture.671" width="698" height="220" /></p>
<p style="text-align: justify;"><img class=" wp-image-20086 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.672.png" alt="Capture.672" width="702" height="467" /></p>
<p style="text-align: justify;"><img class=" wp-image-20087 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.673.png" alt="Capture.673" width="686" height="298" /></p>
<p style="text-align: justify;"><img class=" wp-image-20088 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.674.png" alt="Capture.674" width="688" height="340" /></p>
<p style="text-align: justify;"><img class=" wp-image-20089 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.675.png" alt="Capture.675" width="694" height="293" /></p>
<p style="text-align: justify;"><img class=" wp-image-20090 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.676.png" alt="Capture.676" width="684" height="248" /></p>
<p style="text-align: justify;"><img class=" wp-image-20091 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.677.png" alt="Capture.677" width="684" height="320" /></p>
<p style="text-align: justify;">Nowwecanloginto ESXihostbyusing 3ways:1.using web-browser.</p>
<p style="padding-left: 30px; text-align: justify;">using vSphere client.3.using SSH.</p>
<p style="padding-left: 30px; text-align: justify;"><img class=" wp-image-20092 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.678.png" alt="Capture.678" width="714" height="484" /></p>
<p style="padding-left: 30px; text-align: justify;"><img class="wp-image-20093" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/05/Capture.680.png" alt="Capture.680" width="694" height="392" /></p>
<h3>For indepth understanding of VMware click on</h3>
<ul>
<li><a href="https://tekslate.com/vmware-tutorials-for-beginners" target="_blank" rel="noopener">VMware Tutorials</a></li>
<li><span class="white-back"><a href="https://tekslate.com/installation-of-esxi/" target="_blank" rel="noopener">Installation of ESXI</a></span></li>
<li class="title"><a class="current-page" href="https://tekslate.com/highavailability-in-VMware">High Availability VMware</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/virtual-machines-in-vmware/">Virtual Machines in VMware</a></li>
<li class="title"><a class="current-page" href="https://tekslate.com/drs-cluster-in-VMware/">DRS Cluster in VMware</a></li>
</ul>1ad:T7daf,<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;"><strong>SAP Testing Interview Questions</strong></span></h2>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q1) What is SAP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> SAP is the name of the company founded in 1972 under the German name (Systems, Applications, and Products in Data Processing) is the leading ERP (Enterprise Resource Planning) software package.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q2) What do you understand by SAP Testing?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans:</strong> SAP Testing is about testing the functionality of various SAP modules to ensure that they are performing as per the configuration. SAP system undergoes various changes like patch management and fixes, new module implementations and various other configuration changes. All these raise a need for Regression testing to be performed in SAP environments. SAP testing automation tools like SAP TAO can be used for this purpose and are recommended by SAP for testing.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q3) What is ERP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> ERP is a package with the techniques and concepts for the integrated management of the business as a whole, for effective use of management resources, and to improve the efficiency of an enterprise. Initially, ERP was targeted for the manufacturing industry mainly for planning and managing core businesses like production and financial market. As the growth and merits of ERP package ERP software is designed for the basic process of a company from manufacturing to small shops with a target of integrating information across the company.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q4) Different types of ERP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> SAP, BAAN, JD Edwards, Oracle Financials, Siebel, PeopleSoft. Among all the ERP&Atilde;&cent;&acirc;&sbquo;&not;&acirc;&bdquo;&cent;s most companies implemented or trying to implement SAP because of a number of advantages over other ERP packages.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q5) Explain the key benefits of performing SAP Testing.</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans:</strong> The benefits of performing SAP Testing are manifold. They are as follows</p>
<p style="text-align: justify;"><em><strong style="line-height: 1.5;">System Validation:</strong></em><span style="line-height: 1.5;">&nbsp;SAP Testing involves complete end-to-end testing and validation of all SAP modules in the SAP ERP environment.</span></p>
<p style="text-align: justify;"><em><strong style="line-height: 1.5;">Quality and Revenue:</strong></em><span style="line-height: 1.5;"> SAP Testing is output-based testing and not like conventional testing methods which are input based it ensures the quality of the SAP system and also focuses on the revenue and cost of the organization.</span></p>
<p style="text-align: justify;"><em><strong style="line-height: 1.5;">Cost and Predictability:</strong></em><span style="line-height: 1.5;"> SAP Testing involves reducing the SAP development costs and improving predictability.</span></p>
<p style="text-align: justify;"><em><strong style="line-height: 1.5;">Compliance Requirement:</strong></em><span style="line-height: 1.5;"> SAP Testing ensures that SAP implementation is meeting the new compliance requirements in a specific organization and all modules are working as per the expected configuration.</span></p>
<p style="text-align: justify;"><em><strong style="line-height: 1.5;">New Implementation and Configuration Changes:</strong></em><span style="line-height: 1.5;"> There are different types of changes implemented in the SAP system, like patches and fixes, new implementation, and configurational changes. SAP testing ensures that all the modules are performing as per requirement in this dynamic system environment.</span></p>
<p style="text-align: justify;"><em><strong style="line-height: 1.5;">Integration:</strong></em><span style="line-height: 1.5;"> SAP testing is performed to test various reports, data flows and workflows, GUI forms, etc. It is used to check system integration between different modules. For example, if an order posting is done that requires action in Sales and Distribution, MM and FICO so SAP testing check the integration between these systems.</span></p>
<p style="text-align: justify;"><em><strong>Performance:</strong></em> It is also used to ensure that the system will be able to meet the Service Level agreements, time taken by the system to perform specific actions, the performance of the system, etc.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q6) Explain the concept of "Business Content" in the SAP Business Information Warehouse.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Business Content is a preconfigured set of role and task-relevant information models based on consistent Metadata in the SAP Business Information Warehouse. Business Content provides selected roles within a company with the information they need to carry out their tasks. These information models essentially contain roles, workbooks, queries, InfoSources, InfoCubes, key figures, characteristics, update rules and extractors for SAP R/3, mySAP.com Business Applications and other selected applications.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q7) Why do you usually choose to implement SAP?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> There are a number of technical reasons a number of companies are planning to implement SAP. It's highly configurable, highly secure data handling, min data redundancy, max data consistency, you can capitalize on economics of sales like purchasing and tight integration-cross function.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q8) Name a few modules on which SAP testing can be performed.</label></strong></span></h3>
<h3 class="toggle-content" style="text-align: justify;"><strong>Ans:</strong> SAP testing can be performed on the following modules:</h3>
<ul>
<li>SAP Material Management</li>
<li>SAP Financial Accounting and Controlling</li>
<li>SAP Sales and Distribution</li>
<li>SAP Human Resource</li>
<li>SAP Supply Chain Management</li>
<li>SAP Plant Management</li>
</ul>
<h3 class="toggle-content" style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q9) Name a few Automation testing tools.</label></strong></span></h3>
<div class="toggle-content">
<p><span style="font-size: 14px;"><strong>Ans:</strong> </span>Some of the automated testing tools are:</p>
<ul>
<li>HP Quick Test Professional (QTP)</li>
<li>Selenium</li>
<li>SAP TAO</li>
<li>ECATT</li>
<li>IBM Rational Functional Tester</li>
<li>WinRunner</li>
<li>and LoadRunner</li>
</ul>
<p><strong style="color: #e67e23; font-size: 18px; text-align: justify;"><label>Q10) What are the different stages involved in the Software Testing life cycle?</label></strong></p>
</div>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans:</strong> The different stages that come under Software Testing Life Cycle are</p>
<ul>
<li style="text-align: justify;">Requirements phase</li>
<li style="text-align: justify;">Test Planning</li>
<li style="text-align: justify;">Test Analysis</li>
<li style="text-align: justify;">Test Design Phase</li>
<li style="text-align: justify;">Test Implementation</li>
<li style="text-align: justify;">Test Execution Phase</li>
<li style="text-align: justify;">and Test Closure Phase</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q11) Can BW run without an SAP R/3 implementation?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Certainly. You can run BW without R/3 implementation. You can use predefined business content in BW using your non-SAP data. Here you simply need to map the transfer structures associated with BW data sources (InfoCubes, ODS tables) to the inbound data files or use 3rd part tool to connect your flat files and other data sources and load data in BW. Several third-party ETL products such as Acta, Informatica, DataStage and others will have been certified to load data in BW.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q12) What is IDES?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> International Demonstration and Education System. A sample application is provided for faster learning and implementation.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q13) What is WF and its importance?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Business Work Flow: Tool for automatic control and execution of cross-application processes. This involves coordinating the persons involved, the work steps required, and the data, which needs to be processed (business objects). The main advantage is a reduction in throughput times and the costs involved in managing business processes. Transparency and quality are enhanced by its use.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q14) What is SAP R/3?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> A third-generation set of highly integrated software modules that perform common business functions based on multinational leading practice. Takes care of any enterprise however diverse in operation, spread over the world. In the R/3 system, all the three servers like the presentation, application server and database server are located in different systems.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q15) What are presentation, application and database servers in SAP R/3?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> The application layer of an R/3 System is made up of the application servers and the message server. Application programs in an R/3 System are run on application servers. The application servers communicate with the presentation components, the database, and also with each other, using the message server. All the data are stored in a centralized server. This server is called a database server.</p>
<h2 style="text-align: justify;"><span style="font-size: 22px; color: #236fa1;"><strong>SAP MM Testing Interview Questions</strong></span></h2>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q16) What should be the approach for writing a BDC program?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Convert the legacy system data to a flat file and convert the flat file into an internal table. Transfer the flat file into a sap system called "sap data transfer". Call transaction(Write the program explicitly) or create sessions (sessions are created and processed if successful data will transfer).</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q17) Explain open SQL vs native SQL.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>ABAP Native SQL allows you to include database-specific SQL statements in an <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP ABAP Tutorial" href="https://tekslate.com/sap-abap-tutorials/" target="_blank">ABAP program</a></span>. Most ABAP programs containing database-specific SQL statements do not run with different databases. If different databases are involved, use Open SQL. To execute ABAP Native SQL in an ABAP program, use the statement EXEC. Open SQL (Subset of standard SQL statements), allows you to access all database tables available in the R/3 System, regardless of the manufacturer. To avoid conflicts between database tables and to keep ABAP programs independent from the database system used, SAP has generated its own set of SQL statements known as Open SQL.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q18) What are datasets?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The sequential files (processed on the application server) are called datasets. They are used for file handling in SAP.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q19) What are internal tables check tables, value tables, and transparent tables?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Internal table: It is a standard data type object, which exists only during the runtime of the program. Check table: The check table will be at field level checking. Value table: Value table will be at domain level checking ex: scarr table is check table for carried. Transparent table: - Exists with the same structure both in the dictionary as well as in the database exactly with the same data and fields.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q20) What are the major benefits of reporting with BW over R/3?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Would it be sufficient just to Web-enable R/3 Reports? - Performance &mdash; Heavy reporting along with regular OLTP transactions can produce a lot of loads both on the R/3 and the database (CPU, memory, disks, etc). Just take a look at the load put on your system during a month-end, quarter-end, or year-end &mdash; now imagine that occurring even more frequently. Data analysis &mdash; BW uses a Data Warehouse and OLAP concepts for storing and analyzing data, whereas R/3 was designed for transaction processing. With a lot of work you can get the same analysis out of R/3 but most likely would be easier from a BW.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q21) How can an ERP such as SAP help a business owner learn more about how the business operates?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>In order to use an ERP system, a&nbsp;business person must understand the business processes and how they work together from one functional area to the other. This knowledge gives the student a much deeper understanding of how a business operates. Using SAP as a tool to learn about ERP systems will require that the people understand the business processes and how they integrate.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q22) What is the difference between OLAP and Data Mining?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>OLAP - Online Analytical processing is a reporting tool configured to understand your database schema, composition facts and dimensions. By simple point-n-clicking, a user can run any number of canned or user-designed reports without having to know anything about <span style="color: #236fa1;"><a style="color: #236fa1;" title="SQL Server Training" href="https://tekslate.com/sql-server-training" target="_blank">SQL</a></span> or the schema. Because of that prior configuration, the OLAP engine "builds" and executes the appropriate SQL. Mining is to build the application to specifically look at detailed analyses, often algorithmic; even more often misappropriate called "reporting.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q23) What is the use of Unit testing in SAP? Explain with an example.</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Unit testing is used to test the functionality of various components in a SAP system. It is performed by domain and configuration experts who know the functionality of each unit in a system.</p>
<p style="text-align: justify;"><strong>Example:</strong>&nbsp;To create a sales order and to save it. To perform Unit testing for this task, the tester should know that the sales order can be saved using the SAP organization elements like customer master data, partner functions, material master data, company code, credit control area, sales organization, etc.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q24) Explain Scenario-based Testing with an example.</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Scenario-based testing, as the name suggests, is performed as per specific business cases.</p>
<p style="text-align: justify;"><strong>Example:</strong> Suppose there are a few tasks that are specific to a customer segment or a given product line or a set of services. For these specific lines of targets, you have different scenarios you need to test.</p>
<p style="text-align: justify;">This testing is also performed in the development environment, an argument can be made to say this is a test case you would cover in system testing.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q25) What is &Atilde;&cent;&acirc;&sbquo;&not;&Aring;"Extended Star Schema&Atilde;&cent;&acirc;&sbquo;&not;&Acirc; and how did it emerge?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>The Star Schema consists of the Dimension Tables and the Fact Table. The Master Data related tables are kept in separate tables, which have reference to the characteristics in the dimension table(s). These separate tables for master data are termed the Extended Star Schema.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q26) Define Meta data, Master data and Transaction data</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Metadata: Data that describes the structure of data or Meta Objects is called Metadata. In other words, data about data is known as Meta Data. Master Data: Master data is data that remains unchanged over a long period of time. It contains information that is always needed in the same way. Characteristics can bear master data in BW. With master data, you are dealing with attributes, texts or hierarchies. Transaction data: Data relating to the day-to-day transactions is the Transaction data.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q27) Name some drawbacks of SAP</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Interfaces are a huge problem, Determine where master data resides, Expensive, very complex, demands highly trained staff, and lengthy implementation time.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q28) What is Bex?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Bex stands for Business Explorer. Bex enables end users to locate reports, view reports, analyze information and can execute queries. The queries in the workbook can be saved to their respective roles in the Bex browser. Bex has the following components: Bex Browser, Bex analyzer, Bex Map, and Bex Web.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q29) What are variables?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Variables are parameters of a query that are set in the parameter query definition and are not filled with values until the queries are inserted into workbooks. There are different types of variables that are used in different applications: Characteristics variables, Hierarchies and hierarchy nodes, Texts, Formulas, Processing types, User entry/Default type, and Replacement Paths.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q30) What is AWB?</strong>&nbsp;<strong>What is its purpose? </strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>AWB stands for Administrator WorkBench. AWB is a tool for controlling, monitoring and maintaining all the processes connected with data staging and processing in the business information warehousing.</p>
<h2 style="text-align: justify;"><span style="font-size: 24px; color: #236fa1;">SAP FICO Testing Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q31) What is the significance of ODS in BIW?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>An ODS Object serves to store consolidated and debugged transaction data on a document level (atomic level). It describes a consolidated dataset from one or more InfoSources. This dataset can be analyzed with a BEx Query or InfoSet Query. The data of an ODS Object can be updated with a delta update into InfoCubes and/or other ODS Objects in the same system or across systems. In contrast to multi-dimensional data storage with InfoCubes, the data in ODS Objects is stored in transparent, flat database tables.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q32) What are the different types of source systems?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>SAP R/3 Source Systems, SAP BW, Flat Files and External Systems.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q33) What is Extractor?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Extractors are a data retrieval mechanism in the SAP source system. Which can fill the extract structure of a data source with the data from the SAP source system datasets. The extractor may be able to supply data to more fields than exist in the extract structure.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q34) Explain SAP Interface Testing.</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Interface testing ensures that a business process on an SAP system runs automatically. Ideally, interface testing involves larger testing activities as a project progresses. Interface testing shows that triggering works, the data selection is accurate and complete, the data transfer is successful, and the receiver is able to consume the sent data.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q35) Where is SAP User Acceptance Testing useful?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>SAP UAT is used to ensure that end-users are able to perform assigned job functions with the new system. The important aspect of this testing is to understand the business requirement and to ensure that the expected features, functions, and capabilities are available.</p>
<pre style="text-align: center;"><em><strong>Learn more about <a href="https://tekslate.com/tutorial/sap-testing/" target="_blank" rel="noopener">SAP Testing Tutorials</a> in this blog post.</strong></em></pre>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q36) Why is Performance Testing necessary?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Performance testing identifies bottlenecks and coding inefficiencies in a SAP system. It is carried out to check &minus;</p>
<ul>
<li style="text-align: justify;">Whether the system response time is acceptable as per the business requirement</li>
<li style="text-align: justify;">Whether periodic processes are running within the permissible time</li>
<li style="text-align: justify;">Whether the expected concurrent user load can be supported</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q37) What is the importance of SAP Security and Authorizations Testing?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Security and Authorizations Testing is used to ensure that the users are only able to execute transactions and access appropriate data that is relevant to their project.</p>
<p style="text-align: justify;">As with the implementation of Security standards, this is really important to test if security and authorization are placed in a system. Test IDs for job roles are created and used to both confirm what a user can do and what a user cannot do.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q38) Explain the use of SAP Cutover Testing.</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>This testing is usually performed once in a project lifecycle. The term &ldquo;cutover&rdquo; means a full-scale execution of all tasks involved to extract data from legacy systems and then perform any kind of data conversion, load the results into the SAP system and fully validate the results, including a user sign-off.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q39) What is SAP Regression Testing?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>SAP Regression Testing is used to find new functionalities and to test the old functionalities in a system when it is upgraded or a new system is set up. The key role of regression testing is to test the existing functionality and newly updated configuration and code base.</p>
<p style="text-align: justify;">When you upgrade your SAP system or apply a patch, it shouldn&rsquo;t affect the functionality that is expected to be performed by users and check new features that are supposed to be introduced in a new release.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q40) What is the purpose of using Navigation in SAP Testing?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>SAP testing navigation ensures that you cover each module of your SAP system and at least one test to be performed for each functionality.</p>
<p style="text-align: justify;">It also reduces the manual testing effort and covers most of the testing paths in an SAP system. OPA tests can be performed to check SAP Testing - Navigation.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q41) What is Screen flow logic in SAP Testing?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Screen flow logic in SAP Testing is like an ABAP code and it is used to contain the processing blocks. It contains a procedural part of the screen and is created in screen painter and this screen painter is similar to an ABAP editor.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q42) What are the different modules in a SAP system and their use?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: Financial Modules</strong> &minus; <span style="color: #236fa1;"><a style="color: #236fa1;" title="SAP FICO Tutorial" href="https://tekslate.com/sap-fico-tutorials" target="_blank">Finance Accounting and Controlling</a></span> (FICO), Treasure (TR), and Enterprise Control (EC).</p>
<p style="text-align: justify;"><strong>Logistics Modules</strong> &minus; Material Management (MM), Plant Maintenance (PM), Sales and Distribution (SD), Quality Management (QM), etc.</p>
<p style="text-align: justify;"><strong>Human Resource Management</strong> &minus; Accounting Payroll, Time Management, Training and Event Management.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q43) What is a test case? What would be the scope of test cases in a SAP system?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>SAP Test-cases are required to perform a check on the installation and configuration of the SAP system, any new implementation, Multilanguage and device testing, intranet testing, real-time testing, etc.</p>
<p style="text-align: justify;">Since an ERP system is a common centralized system and is used by multiple users simultaneously in real-time, it creates a need to write test cases with a lot of effort and dedication.</p>
<p style="text-align: justify;">ERP systems also involve various FI transactions, so each test case should cover the scope of all the configuration and implementation parts. Test data should be passed carefully and each test should have a column with name output data.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q44) What is SAP Test Acceleration and Optimization?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>SAP Test Acceleration and Optimization TAO 2.0 is a tool that is used to create automatic test cases during Regression testing of a system. It helps SAP customers to create different test components from the screens of a transaction and parameterizes them.</p>
<p style="text-align: justify;">These test components are created normally for one transaction code and later can be combined to test scenarios. It can be easily integrated to the Business Process Change Analyzer in SAP Solution Manager.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q45) What is the use of a Process Flow Analyzer in SAP TAO?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Process Flow Analyzer is used to automatically find out the user interfaces used in transaction codes executed in an SAP system. It automatically creates the test components and uploads them to Quality Center. It is also used to identify the sequence of test components as per user actions and the creation of spreadsheet values.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q46) What is the purpose of the consolidation tab in SAP TAO?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Consolidate is known as a process to combine SAP TAO components with inbuilt components to create test scenarios as single transactional business components. It allows you to collect multiple test components into one test.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong><label>Q47) How to connect SAP TAO to SAP Solution Manager?</label></strong></span></h3>
<div class="toggle-content">
<p style="text-align: justify;"><strong>Ans: </strong>Go to SAP TAO and log in and select SAP SOLMAN in the list. This list of systems is SAP TAO is fetched from the configuration file of SAP logon. So to add a system in SAP TAO, you need to add a new system in SAP Logon and refresh the list in TAO.</p>
<p style="text-align: justify;">Enter the login credentials and click on login.</p>
<p style="text-align: justify;">SAP TAO will be connected to SAP Solution Manager and the TAO configuration wizard will open up.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>1ae:T5f17,<div style="text-align: justify;"><strong>What are major differences between Oracle and Greenplum?&nbsp;</strong></div>
<div style="text-align: justify;">Oracle is relational database. Greenplum is MPP nature. Greenplum is shared nothing architecture. There are many other differences in terms of functionality and behaviour. <strong>What is good and bad about the Greenplum, compared to Oracle and Greenplum?</strong> Greenplum is built on top of Postgresql . It is shared nothing, MPP architecture best for data warehousing env. Good for big data analytics purpose. Oracle is an all purpose database. <strong>How to find errors / fatal from log files?</strong> grep for ERRORS, FATAL, SIGSEGV in pg_logs directory. <strong>What is vacuum and when should I run this?</strong> VACUUM reclaims storage occupied by deleted tuples. In normal <a href="https://en.wikipedia.org/wiki/Pivotal_Greenplum_Database" target="_blank" rel="noopener">GPDB operation</a>, tuples that are deleted or obsoleted by an update are not physically removed from their table. They remain present on disk until a VACUUM is done. Therefore, it is necessary to do VACUUM periodically, especially on frequently-updated table. <strong>What is difference between vacuum and vacuum full?</strong> Unless you need to return space to the OS so that other tables or other parts of the system can use that space, you should use VACUUM instead of VACUUM FULL. VACUUM FULL is only needed when you have a table that is mostly dead rows, that is, the vast majority of its contents have been deleted. Even then, there is no point using VACUUM FULL unless you urgently need that disk space back for other things or you expect that the table will never again grow to its past size. Do not use it for table optimization or periodic maintenance as it is counterproductive. <strong>What is Analyze and how frequence should I run this?</strong> ANALYZE collects statistics about the contents of tables in the database, and stores the results in the system table pg_statistic. Subsequently, the query planner uses these statistics to help determine the most efficient execution plans for queries. It is a good idea to run ANALYZE periodically, or just after making major changes in the contents of a table. Accurate statistics will help the query planner to choose the most appropriate query plan, and thereby improve the speed of query processing. A common strategy is to run VACUUM and ANALYZE once a day during a low-usage time of day. <strong>What is resource queues?</strong> Resource queues are used to manager Greenplum database workload management. All user / queries can be prioritized using Resource queues. Refer Admin guide for more details. <strong>What is gp_toolkit?</strong> The gp_toolkit is a database schema, which has many tables, views and functions to better manage Greenplum Database when DB is up. In 3.x earlier versions it was referred to as gp_jetpack. <strong>How to generate DDL for a table?</strong> Use pg_dump utility to generate DDL. Example: pg_dump -t njonna.accounts -s -f ddl_accounts.sql Where: -f ddl_accounts.sql is output file. -t njonna.accounts is table name with schema njonna. -s dump only schema no data <strong>What are the tools available in Greenplum to take backup and restores?</strong> For non-parallel backups: Use postgres utililities (pg_dump, pg_dumpall for backup, and pg_restore for restore). Another useful command for getting data out of database is the COPY &lt;TABLE&gt; to &lt;File&gt;. For parallel backups: gp_dump and gpcrondump for backups and gp_restore for restore process. <strong>How do I clone my production databaes to PreProd / QA environment?</strong> If Prod and QA on same GPDB cluster, use CREATE database &lt;Clone_DBname&gt; template &lt;Source_DB&gt;. If Prod and QA are on different clusters, use backup and restore utilities. What is difference between pg_dump and gp_dump? pg_dump - Non-parallel backup utility, you need big file system where backup will be created in the master node only. gp_dump - Parallel backup utility. Backup will be created in master and segments file system. <strong>What is gpcrondump?</strong> A wrapper utility for gp_dump, which can be called directly or from a crontab entry. Example: gpcrondump -x &lt;database_name&gt; <strong>What are the backup options available at OS level?</strong> Solaris: zfs snapshots at file system level. All OS: gpcrondump / gp_dump. <strong>My SQL query is running very slow, it was running fine yesterday what should I do?</strong> -Check that your connection to the Greenplum cluster is still good if you are using a remote client. You can do this by running the SQL locally to the GP cluster. -Check that the system tables and user tables involved are not bloated or skewed. Read jetpack or Greenplum toolkit documentation about how to do this. -Check with your DBA that the Greenplum interconnect is still performing correctly. This can be done by checking for dropped packets on the interconnect "netstat -i" and by running gpcheckperf.It is also possible that a segment is experiencing hardware problems, which can be found in the output of dmesg or in /var/log/messages* (Linux) and /var/adm/messages* (<a href="https://tekslate.com/sun-solaris-administration-training/" target="_blank" rel="noopener">Solaris</a>).
<pre style="text-align: center;"><em><strong>These core tutorials will help you to learn the Greenplum Interview Questions. For an in-depth
 understanding and practical experience, explore <a href="https://tekslate.com/greenplum-training/" target="_blank" rel="noopener">Online&nbsp;Greenplum Training</a>.</strong></em></pre>
<strong>How to turn on timing, and checking how much time a query takes to execute?</strong> You can turn in timing per session before you run your SQL with the \timing command. You can run explain analyze against your SQL statement to get the timing. <strong>How to trace child processes on segment server?</strong> When session start in master and segments, all the child processes in segments will be identified with master session_id connection string (con+sess_id). For example: gpdb=# select * from pg_Stat_activity; datid | datname | procpid | sess_id |.. .. -------+---------+---------+---------+ 16986 | gpdb | 18162 | 76134 | .. .. In all segments child processes for session 76134: [gpadmin@stinger2]/export/home/gpadmin/gp40&gt;gpssh -f host_file /usr/ucb/ps -auxww |grep con76134 [stinger2] gpadmin 18162 1.7 6.0386000124480 ? S 09:57:55 0:04 postgres: port 4000, gpadmin gpdb [local] con76134 [local] cmd3 CREATE DATABASE....................................... [stinger2] gpadmin 18625 0.3 2.726056455932 ? S 10:01:56 0:01 postgres: port 40000, gpadmin gpdb 10.5.202.12(18864) con76134 seg0 cmd4 MPPEXEC UTILITY............................... [stinger2] gpadmin 18669 0.0 0.1 3624 752 pts/2 S 10:02:36 0:00 grep con76134 [stinger3] gpadmin 22289 0.8 9.4531860196404 ? S 09:36:20 0:05 postgres: port 40000, gpadmin gpdb 10.5.202.12(18866) con76134 seg1 cmd4 MPPEXEC UTILITY............................... <strong>How to check if my session queries are running or waiting on locks?</strong> Check "waiting" column in pg_stat_activity and "granted" column in pg_locks for any object level locks. <strong>What kind of locks should we focus on MPP system when system is slow /hung?</strong> Locks that are held for a very long time and multiple other queries are waiting for that lock also. How do I monitor user activity history in Greenplum database ? Use Greenplum performance monitor (gpperfmon), which has GUI to monitor and query performance history. <strong>What is Greenplum performance monitor and how to install ?</strong> Its a monitoring tool that collects statistics on system and query performance and builds historical data. <strong>when the client connects does he connect to the Master or segment node?</strong> Master.</div>
<div style="text-align: justify;"><strong>Can you explain the process of data migration from Oracle to Greenplum?</strong> There are many ways. Simplest steps are Unload data into csv files, create tables in greenplum database corresponding to Oracle, Create external table, &nbsp;start gpfdist&nbsp;pointing to external table location,&nbsp;Load data into greenplum. You can also use gpload utility. Gpload creates external table at runtime.</div>
<div style="text-align: justify;">&nbsp;</div>
<div style="text-align: justify;"><strong>Which command would you use to backup a database?</strong> gp_dump, &nbsp;gpcrondump, pg_dump, pg_dumpall, copy</div>
<div style="text-align: justify;">&nbsp;</div>
<div style="text-align: justify;"><strong>When you restore from a backup taken from gp_dump, can you import a table?</strong> NO. Yes if during the gp_dump you backed up one table only.<strong>Can you open and view a dump file?</strong> Which option would you use to export the ddl of the database or table? -s (-s | --schema-only&nbsp;Dump only the object definitions (schema), not data.)<strong>When a user submits a query, where does it run in Master or segment nodes?</strong> Segment nodes<strong>If you configure your with Master and Segment nodes, where would the data reside?</strong> Segment nodes</div>
<div style="text-align: justify;"><strong>How would go about query tuning?</strong> look at the query plan Look at the stats of the table/tables in the query look at the table distribution keys and joins in the query look at the network performance look at the resource queues look at the interconnect performance look at the join order of tables in the query look at the the query itself i.e. if it can be written in more efficient way</div>
<div style="text-align: justify;">&nbsp;</div>
<div style="text-align: justify;"><strong>What would you do when a user or users are complaining that a particular query is running slow?</strong> 1) look at the query plan 2) Look at the stats of the table/tables in the query 3) look at the table distribution keys and joins in the query 4) look at the network performance 5) look at the resource queues 6) look at the interconnect performance 7) look at the join order of tables in the query 8) look at the the query itself i.e. if it can be written in more efficient way<strong>What would you do to gather statistics in the database? as well as reclaim the space?</strong> A VACUUM FULL , CTAS . A VACUUM FULL will reclaim all expired row space, but is a very expensive operation and may take an unacceptably long time to finish on large, distributed Greenplum Database tables. If you do get into a situation where the free space map has overflowed, it may be more timely to recreate the table with a CREATE TABLE AS statement and drop the old table. A VACUUM FULL is not recommended in Greenplum Database.</div>
<div style="text-align: justify;"><strong>How would you implement compression and explain possible the compression types?</strong> There are two types of in-database compression available in the Greenplum Database for append-only tables:1. Table-level compression is applied to an entire table. 2. Column-level compression is applied to a specific column. You can apply different column-level compression algorithms to different columns.<strong>How to check distribution policy of a test table sales?</strong></div>
<div style="text-align: justify;">The Describe table sales shows the distribution details. psql&gt;\d sales Table"public.sales" Column | Type | Modifiers --------+---------+----------- id | integer | date | date | Distributed by: (id)</div>
<div style="text-align: justify;">&nbsp;</div>
<div style="text-align: justify;"><strong>How many user schemas are there in the database?&nbsp;</strong> Use"\dn" at psql prompt.<strong>When is my tables last analyzed in Greenplum database?</strong> In 4.x check pg_stat_operations for all actionname performed on any object. For example,a sales table: gpdb=# select objname,actionname,statime from pg_stat_operations where objname like 'sales'; objname | actionname | statime --------+-----------+------------------------------- sales | CREATE | 2010-10-01 12:18:41.996244-07 sales | ANALYZE | 2010-10-06 14:38:21.933281-07 sales | VACUUM | 2010-10-06 14:38:33.881245-07<strong>How to check the size of a table?</strong> Table Level: psql&gt; select pg_size_pretty(pg_relation_size('schema.tablename')); Replace schema.tablename with your search table. Table and Index: psql&gt; select pg_size_pretty(pg_total_relation_size('schema.tablename')); Replace schema.tablename with your search table.<strong>How to check the Schema size?</strong> Schema Level: psql&gt; select schemaname ,round(sum(pg_total_relation_size(schemaname||'.'||tablename))/1024/1024) "Size_MB" from pg_tables where schemaname='SCHEMANAME' group by 1; Replace SCHEMANAME with your schema name.<strong>How to check the database size?</strong> To see size of specific database: psql&gt; select pg_size_pretty(pg_database_size('DATBASE_NAME')); Example: gpdb=# select pg_size_pretty(pg_database_size('gpdb')); pg_size_pretty ---------------- 24 MB (1 row) To see all database sizes: psql&gt; select datname,pg_size_pretty(pg_database_size(datname)) from pg_database;</div>
<div style="text-align: justify;">&nbsp;</div>
<div style="text-align: justify;"><strong>How to check partitioned table size including indexes and partitions?</strong> Table size with partitions: The following SQL gives you employee_dailly table size, which includes partitions. select schemaname,tablename,round(sum(pg_total_relation_size(schemaname || '.' || partitiontablename))/1024/1024) "MB" from pg_partitions where tablename='employee_daily' group by 1,2; schemaname | tablename | MB -----------+----------------+----- public | employee_daily | 254<strong>How do I get help on syntax to alter table?</strong> In psql session type \h alter table which will display the syntax: gpdb=# \h alter table How to connect in utility mode? From master host PGOPTIONS='-c gp_session_role=utility' psql -p &lt;port&gt; -h &lt;hostname&gt; Where: port is segment/ master database port. hostname is segment/master hostname.</div>
<div style="text-align: justify;">&nbsp;</div>
<div style="text-align: justify;"><strong>Where/How to find db logs?</strong> Master: Master gpdb logfile is located in the $MASTER_DATA_DIRECTORY/pg_log/ directory and the file name depends on the database "log_filename" parameter.$MASTER_DATA_DIRECTORY/pg_log/gpdb-yyyy-mm-dd_000000.csv --&gt;Log file format with default installation. ~gpadmin/gpAdminLogs/ --&gt;gpstart,gpstop,gpstate and other utility logs. Segments: primary segments run below SQL to see logfile location: select dbid,hostname,datadir||'/pg_log' from gp_configuration where content not in (-1) and isprimary is true; Miror Segments run below SQL to see logfile location: select dbid,hostname,datadir||'/pg_log' from gp_configuration where content not in (-1) and isprimary is false; How to see the list of available functions in Greenplum DB? \df schemaname.functionname (schemaname and function name support wildcard characters) test=# \df pub*.*test* List of functions Schema | Name | Result data type | Argument data types --------+-------------+------------------+--------------------- public | bugtest | integer | public | test | boolean | integer public | test | void | (3 rows)<strong>How to check whether Greenplum server is up and running?</strong> The gpstate is the utility to check gpdb status. Use gpstate -Q to show a quick status. Refer to gpstate --help for more options. Sample output: [gpadmin@stinger2]/export/home/gpadmin&gt;gpstate -Q gpadmin-[INFO]:-Obtaining GPDB array type, [Brief], please wait... gpadmin-[INFO]:-Obtaining GPDB array type, [Brief], please wait... gpadmin-[INFO]:-Quick Greenplum database status from Master instance only gpadmin-[INFO]:---------------------------------------------------------- gpadmin-[INFO]:-GPDB fault action value = readonly gpadmin-[INFO]:-Valid count in status view = 4 gpadmin-[INFO]:-Invalid count in status view = 0 gpadmin-[INFO]:----------------------------------------------------------<strong>How to create a Database?</strong>There are two ways to create gpdb database using psql session or the Greenplum createdb utility.Using psql session: gpdb=# \h create database Command: CREATE DATABASE Description: create a new database Syntax: CREATE DATABASE name [ [ WITH ] [ OWNER [=] dbowner ] [ TEMPLATE [=] template ] [ ENCODING [=] encoding ] [ TABLESPACE [=] tablespace ] [ CONNECTION LIMIT [=] connlimit ] ] Using createdb utility: Usage: $GPHOME/bin/createdb --help createdb [OPTION]... [DBNAME] [DESCRIPTION] Options: -D, --tablespace=TABLESPACE default tablespace for the database -e, --echo show the commands being sent to the server -E, --encoding=ENCODING encoding for the database -O, --owner=OWNER database user to own the new database -T, --template=TEMPLATE template database to copy --help show this help, then exit --version output version information, then exit</div>
<div style="text-align: justify;"><strong>How do I get a list of databases in a greenplum cluster?</strong> gpdb=# \ l (lowercase letter "l") List of databases Name | Owner | Encoding ------{}---------- gpdb | gpadmin | UTF8 gpperfmon | gpadmin | UTF8 postgres | gpadmin | UTF8 template0 | gpadmin | UTF8 template1 | gpadmin | UTF8Check below SQL for more details on dbs. gpdb=# select * from pg_database;</div>
<div style="text-align: justify;"><strong>How to delete/drop an existing database in Greenplum?</strong> gpdb=# \h DROP Database Command: DROP DATABASE Description: remove a database Syntax:DROP DATABASE [ IF EXISTS ] nameAlso check dropdb utility:$GPHOME/bin/dropdb --help dropdb removes a PostgreSQL database. Usage: dropdb [OPTION]... DBNAME<strong>Where can I get help on postgres psql commands?</strong> In psql session "\ ?" - for all psql session help "\h &lt;SQL Command&gt; " For any SQL syntax help.<strong>gpstart failed what should I do?</strong> Check gpstart logfile in ~gpadmin/gpAdminLogs/gpstart_yyyymmdd.log Take a look at the pg start log file for more details in $MASTER_DATA_DIRECTORY/pg_log/startup.logWhy do w<strong>e need gpstop -m and gpstart -m?</strong> The gpstart -m command allows you to start the master only and none of the data segments and is used primarily by support to get system level information/configuration. An end user would not regularly or even normally use it. <strong>What is the procedure to get rid of mirror segments?</strong> There are no utilities available to remove mirrors from Greenplum. You need to make sure all primary segments are good then you can remove the mirror configuration from gp_configuration in 3.x.</div>
<div style="text-align: justify;"><strong>How to run gpcheckcat?</strong> The gpcheckcat tool is used to check catalog inconsistencies between master and segments. It can be found in the $GPHOME/bin/lib directory: Usage: gpcheckcat &lt;option&gt; [dbname] -? -B parallel: number of worker threads -g dir : generate SQL to rectify catalog corruption, put it in dir -h host : DB host name -p port : DB port number -P passwd : DB password -o : check OID consistency -U uname : DB User Name -v : verbose Example: gpcheckcat gpdb &gt;gpcheckcat_gpdb_logfile.log</div>
<div style="text-align: justify;">&nbsp;</div>
<div style="text-align: justify;"><strong>What is gpdetective and how do I run it in Greenplum?</strong> The gpdetective utility collects information from a running Greenplum Database system and creates a bzip2-compressed tar output file. This output file helps with the diagnosis of Greenplum Database errors or system failures. for more details check help. gpdetective --help
<p style="text-align: justify;"><strong>How to delete a standby?</strong> To remove the currently configured standby master host from your Greenplum Database system, run the following command in the master only: # gpinitstandby -r How to re-sync a standby? Use this option if you already have a standby master configured, and just want to resynchronize the data between the primary and backup master host. The Greenplum system catalog tables will not be updated.</p>
<p style="text-align: justify;"># gpinitstandby -n (resynchronize)</p>
<p style="text-align: justify;"><strong>How to recover an invalid segment?</strong> Use the gprecoverseg tool, which will recognize which segments need recovery and will initialize recovery. 3.3.x: o Without "-F" option - First files will be compared, difference found and only different files will be synched (the first stage could last a long time if there are too many files in the data directory) o With "-F" option - Entire data directory will be resynched. 4.0.x: o Without "-F" option - The change tracking log will be sent and applied to the mirror. o With "-F" option - Entire data directory will be resynched.</p>
<p style="text-align: justify;"><strong>&nbsp;How to add mirrors to the array?</strong> The gpadd mirrors utility configures mirror segment instances for an existing Greenplum Database system that was initially configured with primary segment instances only. For more details check help. # gpaddmirrors --help</p>
<p style="text-align: justify;"><strong>How to see primary to mirror mapping?</strong> From database catalog following query list configuration on content ID, you can figure out primary and mirror for each content. gpdb=# select * from gp_configuration order by content. Note: starting from GPDB 4.x, gp_segment_configuration table is used instead. gpdb=# select * from gp_segment_configuration order by dbid;</p>
<p style="text-align: justify;"><strong>How to start/stop db in admin mode?</strong> Admin mode: The gpstart with option (-R) is stands for Admin mode or restricted mode where only super users can connect to database when database opened using this option. utility mode: Utility mode allows you to connect to only individual segments when started using gpstart -m, for example&lt; to connect to only master instance only: PGOPTIONS='-c gp_session_role=utility' psql</p>
<p style="text-align: justify;"><strong>How to run gpcheckperf IO/netperf?</strong> Create a directory where you have free space and common in all hosts. For network I/O test for each nic card: gpcheckperf -f seg_host_file_nic-1 -r N -d /data/gpcheckperf &gt; seg_host_file_nic_1.out gpcheckperf -f seg_host_file_nic-2 -r N -d /data/gpcheckperf &gt; seg_host_file_nic_2.out For disk I/O: gpcheckperf -f seg_host_file_nic-1 -r ds -D -d /data/gpdb_p1 -d /data/gpdb_p2 -d /data/gpdb_m1 -d /data/gpdb_m2</p>
<p style="text-align: justify;"><strong>How to update postgresql.conf and reload it?</strong> In GP 4.0 version check gpconfig utility to change postgres.conf parameters. In 3.X version manually change parameters in postgres.conf for more details check Greenplum Administrator's Guide.</p>
<p style="text-align: justify;"><strong>How to manage pg_hba.conf?</strong> The pg_hba.conf file of the master instance controls client access and authentication to your Greenplum system. Check Greenplum Administrator's Guidefor instructions to add / change contents of this file. How to add new user to the database? Use createuser utility to create users. See createuser --help for more details. You can also use SQL commands in psql prompt to create users. For example: CREATE USER or ROLE &lt;ROLE_NAME&gt; ....</p>
<p style="text-align: justify;"><strong>How to create a password free trusted env b/w the all the segment hosts?</strong> Use gpssh-exkeys: gpssh-exkeys -h hostname1 -h hostname2 .. -h hostnameN</p>
<p style="text-align: justify;"><strong>How to check db version and version at init db?</strong> To check version: psql&gt; select version(); or postgres --gp-version To check gp version at install: psql&gt; select * from gp_version_at_initdb;</p>
<p style="text-align: justify;"><strong>How to see the value of GUC?</strong> By connecting GPDB database using psql query catalog or do show parameter. Example: gpdb# select name,setting from pg_settings where name='GUC'; or gpdb# show &lt;GUC_NAME&gt;;</p>
<p style="text-align: justify;"><strong>What is the location of pg_hba/logfile/master_data_directory?</strong> cd $MASTER_DATA_DIRECTORY - Master direcoty. pg_hba.conf and postgres.conf location and other GPDB internal directories. cd $MASTER_DATA_DIRECTORY/pg_logs -- Master database logfiles location.</p>
</div>1af:T3219,<h2><span style="color: #000000;">J Boss 7 Installation</span></h2>
<p>This is an introduction to the newest <strong>JBoss <a class="zem_slink" title="Kh-23" href="http://en.wikipedia.org/wiki/Kh-23" target="_blank" rel="noopener wikipedia">AS 7</a></strong> which appeared in the download section for the first time in Nov 2010. JBoss application server can be freely downloaded from the community site: <span class="xtypo_download">http://www.jboss.org/jbossas/downloads/</span> <span class="xtypo_info">JBoss AS 7 does not come with an installer; it is simply a matter of extracting the compressed archive.</span> After you have installed JBoss, it is wise to perform a simple startup test to validate that there are no major problems with your Java VM/operating system combination. To test your installation, move to the bin directory of your JBOSS_HOME directory and issue the following command:</p>
<pre>standalone.bat # Windows users
$ standalone.sh # Linux/Unix users</pre>
<p>The above command starts up a JBoss standalone instance that's equivalent of starting the application server with the run.bat/run.sh script used by earlier AS releases. You will notice how amazingly fast is starting the new release of the application server; this is due to the new modular architecture, which only starts up necessary parts of the application server container needed by loaded applications. If you need to customize the startup properties of your application server, then you need to open the standalone.conf (or standalone.conf.bat for the Windows users) where the memory requirements of JBoss are declared. Here's the Linux core section of it: <span class="xtypo_code">&nbsp;</span></p>
<pre>if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.
warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 - Dsun.rmi.dgc.
server.gcInterval=3600000"
fi</pre>
<p>So, by default, the application server starts with a minimum memory requirement of 64MB of <a class="zem_slink" title="Memory management" href="http://en.wikipedia.org/wiki/Memory_management" target="_blank" rel="noopener wikipedia">heap space</a> and a maximum of 512MB. This will be just enough to get started, however, if you need to run a core <a class="zem_slink" title="Java Platform, Enterprise Edition" href="http://en.wikipedia.org/wiki/Java_Platform%2C_Enterprise_Edition" target="_blank" rel="noopener wikipedia">Java EE</a> application on it, you will likely require at least 1GB of heap space or 2GB or more depending on your application type. Generally speaking, 32-bit machines cannot execute a process whose space exceeds 2GB, however on 64 bit machines, there's essentially no limit to process size. You can verify that the server is reachable from the network by simply pointing your browser to the application server's welcome page, which is reachable by default at the well-known address: http://localhost:8080 <strong>Connecting to the server with the command line interface</strong> If you have been using previous releases of the application server you might have heard about the twiddle <a class="zem_slink" title="Console application" href="http://en.wikipedia.org/wiki/Console_application" target="_blank" rel="noopener wikipedia">command -line utility</a> that queried the <a class="zem_slink" title="Java Management Extensions" href="http://en.wikipedia.org/wiki/Java_Management_Extensions" target="_blank" rel="noopener wikipedia">MBeans</a> installed on the application server. This utility has been replaced by a more sophisticated interface named the <a class="zem_slink" title="Command-line interface" href="http://en.wikipedia.org/wiki/Command-line_interface" target="_blank" rel="noopener wikipedia">Command Line Interface (CLI)</a>, which can be found in the JBOSS_HOME/bin folder. Just launch the <strong>jboss-cli.bat script</strong> (or jboss-admin.sh for Linux users) and you will be able to manage the application server via a shell interface. Now issue the <strong>connect [Ipaddress:port]</strong> command to connect to the management interface:</p>
<pre>[disconnected /] connect
Connected to localhost:9999

<strong>Connecting to a remote host
</strong></pre>
<pre style="text-align: center;"><em><strong>Inclined to build a profession as JBOSS&nbsp;Developer?
Then here is the blog post on <a href="https://tekslate.com/jboss-training/" target="_blank" rel="noopener">JBOSS</a><a href="https://tekslate.com/jboss-training/" target="_blank" rel="noopener">&nbsp;Training </a>Program</strong></em></pre>
<h2 class="contentheading"><strong>JBoss AS 7 introduction</strong></h2>
<p>After you have installed JBoss, it is wise to perform a simple startup test to validate that there are no major problems with your Java VM/operating system combination. To test your installation, move to the bin directory of your JBOSS_HOME directory and issue the following command:</p>
<pre>standalone.bat # Windows users
$ standalone.sh # Linux/Unix users</pre>
<p>The above command starts up a JBoss standalone instance that's equivalent of starting the application server with the run.bat/run.sh script used by earlier AS releases. You will notice how amazingly fast is starting the new release of the application server; this is due to the new modular architecture, which only starts up necessary parts of the application server container needed by loaded applications. If you need to customize the startup properties of your application server, then you need to open the standalone.conf (or standalone.conf.bat for the Windows users) where the memory requirements of JBoss are declared. Here's the Linux core section of it: <span class="xtypo_code">&nbsp;</span></p>
<pre>if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms64m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.
warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 - Dsun.rmi.dgc.
server.gcInterval=3600000"
fi</pre>
<p><span class="xtypo_code">&nbsp;</span>So, by default, the application server starts with a minimum memory requirement of 64MB of heap space and a maximum of 512MB. This will be just enough to get started, however, if you need to run a core Java EE application on it, you will likely require at least 1GB of heap space or 2GB or more depending on your application type. Generally speaking, 32-bit machines cannot execute a process whose space exceeds 2GB, however on 64 bit machines, there's essentially no limit to process size. You can verify that the server is reachable from the network by simply pointing your browser to the application server's welcome page, which is reachable by default at the well-known address: http://localhost:8080 <strong>Connecting to the server with the command line interface</strong> If you have been using previous releases of the application server you might have heard about the twiddle command -line utility that queried the MBeans installed on the application server. This utility has been replaced by a more sophisticated interface named the Command Line Interface (CLI), which can be found in the JBOSS_HOME/bin folder. Just launch the <strong>jboss-cli.bat script</strong> (or jboss-admin.sh for Linux users) and you will be able to manage the application server via a shell interface. Now issue the <strong>connect [Ipaddress:port]</strong> command to connect to the management interface:</p>
<pre>[disconnected /] connect
Connected to localhost:9999</pre>
<p><strong>Connecting to a remote host</strong></p>
<p class="ja-typo-box box-sticky"><strong>&nbsp;</strong>Starting from the 7.1.0 release there is security enabled by default on the AS 7.1 distribution for remote clients. Thus management interfaces are secured by default to prevent <strong>unauthorized remote</strong> access whilst still allowing access for local users for an easier out of the box experience.</p>
<p>If you are connecting to a remote host controller, then you need to provide your credentials:</p>
<pre>./jboss-cli.sh --connect 192.168.1.1
 Authenticating against security realm: 192.168.1.1
 Username:admin
 Password:*****
 Connected to standalone controller at 192.168.1.1:9999
 [<span id="cloak51028"><a href="mailto:standalone@192.168">standalone@192.168</a></span>.1.1:9999 /]</pre>
<p><strong>Stopping JBoss</strong> Probably the easiest way to stop JBoss is by sending an interrupt signal with Ctrl+C. However, if your JBoss process was launched in the background or rather is running on another machine (see next), then you can use the CLI interface to issue an immediate shutdown command:</p>
<pre>[disconnected /] connect
Connected to localhost:9999
[localhost:9999 /] :shutdown</pre>
<p><strong>&nbsp;</strong>There is actually one more option to shutdown the application server, which is pretty useful if you need to shut down the server from within a script. This option consists of passing the --connect option to the admin shell, thereby switching off the interactive mode:</p>
<pre>jboss-cli.bat --connect command=:shutdown # Windows
jboss-cli.sh --connect command=:shutdown # Unix / Linux</pre>
<p><strong>Restarting JBoss</strong> The command-line Interface contains a lot of useful commands. One of the most interesting options is the ability to reload all or parts of the AS configuration using the <strong>reload </strong>command . When issued on the root node path of the AS server, it is able to reload the services configuration:</p>
<pre>[disconnected /] connect
Connected to localhost:9999
[localhost:9999 /] :reload</pre>
<p><strong>The new server structure</strong> The first thing you'll notice when you browse through the application server folders is that its file system is basically divided into two core parts: the dichotomy reflects the distinction between standalone <strong>servers </strong>and <strong>domain </strong>servers. <img class=" wp-image-21698 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/06/Capture.1.png" alt="Capture.1" width="630" height="527" /> <span class="xtypo_info">A JBoss domain is used to manage and coordinate a set of application server instances.</span> <span class="xtypo_rounded2">JBoss AS 7 in <strong>domain mode</strong> spawns multiple JVMs which build up the domain. Besides the AS instances, two more processes are created: the <strong>Domain Controller</strong> which acts as management control point of the domain and the <strong>Host Controller</strong> which interacts with the domain Controller to control the lifecycle of the AS instances.</span> <img class=" wp-image-21699 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/06/Capture.2.png" alt="Capture.2" width="492" height="522" /> Applications are deployed differently depending on the type of server. If you are deploying to a domain of servers then you need the Command Line Interface because the application server needs to be informed on which server group/s&nbsp; the deployment is targeted. <strong>Ex. Deploy an application on all server groups:</strong> <span class="xtypo_code">&nbsp;</span></p>
<pre>deploy MyApp.war --all-server-groups</pre>
<p><strong>Ex. Deploy an application on one or more server groups (separated by a comma):</strong> deploy application.ear --server-groups=main-server-group If you are deploying to a standalone server then you can either use the CLI or drop the deployment unit into the server&nbsp;<strong>deployments </strong>folder. As soon as the deployer HD scanner detects the application, the module is moved to the work folder of the application, leaving a placeholder Test.war.deployed file in the deployments folder. <img class=" wp-image-21700 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/06/Capture.3.png" alt="Capture.3" width="746" height="273" /> <strong>Note:</strong> With the default configuration, <strong>packaged </strong>archives (.ear, .war, .jar, .sar) are automatically deployed. <strong>Exploded</strong> archives need adding a .do-deploy empty file in the deployments folder to trigger deployment.</p>
<p><strong>For indepth understanding on JBoss click on:</strong></p>
<ul>
<li><a href="https://tekslate.com/jboss-architecture/" target="_blank" rel="noopener">JBoss architecture</a></li>
<li><a href="https://tekslate.com/how-to-install-jboss-application-server/" target="_blank" rel="noopener">Installation of jboss</a></li>
<li><a href="https://tekslate.com/session-configuration-in-jboss/" target="_blank" rel="noopener">Session Configuration</a></li>
<li><a href="https://tekslate.com/jboss-interview-questions-answers/" target="_blank" rel="noopener">JBoss&nbsp;Interview Questions</a></li>
<li><a href="https://tekslate.com/tutorials/jboss/" target="_blank" rel="noopener">JBoss Overview</a></li>
</ul>
<div id="snippet-box"></div>1b0:Tde4,<p style="text-align: justify;">AngularJS is a superheroic JavaScript MVC framework for the Web. We call it superheroic because AngularJS does so much for us that we only have to focus on our core application and let AngularJS take care of everything else. It allows us to apply standard, tried-and-tested software engineering practices traditionally used on the server side in client-side programming to accelerate frontend development. It provides a consistent scalable structure that makes it a breeze to develop large, complex applications as part of a team.</p>
<p style="text-align: justify;">MVC Model View &nbsp;Controller as it is popularly called, is a software design pattern for developing web applications. A Model View Controller pattern is made up of the following three parts &minus;</p>
<p style="padding-left: 30px; text-align: justify;"><strong style="line-height: 1.5;">-Model</strong><span style="line-height: 1.5;"> &minus; It is the lowest level of the pattern responsible for maintaining data.</span></p>
<p style="padding-left: 30px; text-align: justify;"><strong>-View</strong> &minus; It is responsible for displaying all or a portion of the data to the user.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>-Controller</strong> &minus; It is a software Code that controls the interactions between the Model and View.</p>
<p style="text-align: justify;">MVC is popular because it isolates the application logic from the user interface layer and supports separation of concerns. The controller receives all requests for the application and then works with the model to prepare any data needed by the view. The view then uses the data prepared by the controller to generate a final presentable response. The MVC abstraction can be graphically represented as follows.</p>
<pre style="text-align: center;"><em><strong>Desired to gain proficiency on AngularJS ? Explore the blog post on <a href="https://tekslate.com/angularjs-training" target="_blank" rel="noopener">AngularJS Training</a> to become a pro in AngularJS.</strong></em></pre>
<p style="text-align: justify;"><img class=" wp-image-22363 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2016/07/Capture-57.png" alt="Capture 57" width="363" height="473" /></p>
<h2 style="text-align: justify;"><strong>Model</strong></h2>
<p style="text-align: justify;">The model is responsible for managing application data. It responds to the request from view and to the instructions from controller to update itself.</p>
<h2 style="text-align: justify;"><strong>View</strong></h2>
<p style="text-align: justify;">A presentation of data in a particular format, triggered by the controller's decision to present the data. They are script-based template systems such as JSP, ASP, PHP and very easy to integrate with AJAX technology.</p>
<h2 style="text-align: justify;"><strong>Controller</strong></h2>
<p style="text-align: justify;">The controller responds to user input and performs interactions on the data model objects. The controller receives input, validates it, and then performs business operations that modify the state of the data model.</p>
<p><strong>For an Indepth knowledge on AngularJS, click on below</strong></p>
<ul>
<li><span class="white-back"><a href="https://tekslate.com/angular-directive/" target="_blank" rel="noopener">Angular Directive</a></span></li>
<li><span class="white-back"><a href="https://tekslate.com/angularjs-routing/" target="_blank" rel="noopener">AngularJS Routing</a></span></li>
</ul>1b1:T38e9,<p><strong>What is the computer network?</strong> A computer network is basically a group of computers which are connected together to share information and save physical resources. <strong>What is a host in computer network?</strong> Any device which is connected to a computer network is considered as a host or a node. It can be a computer or a device with its own network card such as printer or router. <strong>Which computers are known as client computer in network?</strong> The computers which are used to access the resources from network are known as client computers. Client computers usually run desktop version of operating system. <strong>What is the other name of client computers?</strong> The client computers are also known as workstation. <strong>Which computers are known as server computer in network?</strong> The computers which provide shared resources to the network are known as server computers. Server computers usually run server version of operating system. <strong>What is the NIC?</strong> NIC stands for Network Interface Card. NIC is the device which connects computer with network. Can a computer connect with network without NIC? No, a computer cannot connect with network without NIC card. <strong>What is the most basic use of Switch in computer network?</strong> A Switch is used to connect the multiple computers together for example an 8 ports switch can connect 8 computers in a single network. <strong>What term does Microsoft use for peer to peer network?</strong> Before Windows 7, it was Workgroup. Form Windows 7 it is replaced with Homegroup. <strong>How much computers we can add in a workgroup?</strong> Theoretically we can add as much computers as we want in workgroup. But practically we should never add more than ten computers in a workgroup network. <strong>What does the term driver refer in computer networking?</strong> The driver is the software program which is written specifically for a particular hardware device such as NIC card, Audio card, Video card etc. This software allows that particular device to work with other parts of computer. Without appropriate driver a device will not work as expected. <strong>What are the basic differences between Internet, Intranet and Extranet?</strong> The terms Internet, Intranet and Extranet are used to describe how a network application should be accessed. In Internet anyone can access the application from anywhere in world. In Intranet only the authorized users from the company for which the application was built can access the application. In Extranet selected external users are allowed to access the application which was built for Internet. <strong>What does the term topology defines in computer network?</strong> A topology is the physical layout which defines how computers are connected with each other&rsquo;s in a computer network. <strong>Which topology uses a centralized device for connectivity?</strong> Star topology uses a centralized device (HUB or Switch) for connectivity. <strong>Which topology uses coaxial cable and terminators?</strong> Bus topology uses coaxial cable and terminators. <strong>A company has offices in Jaipur and Delhi. What type of computer network it will use to connect these offices?</strong> WAN (Wide Area Network) network is used to connect the networks which are spread over the different geographical location. <strong>Based on physical location what are the two most common network types?</strong> LAN (Local Area Network) and WAN (Wide Area Network) are the two most common network types. <strong>Does number of computers matter in LAN and WAN?</strong> No, number of computers does not matter in LAN and WAN. This categorization is purely based on geographical location of network. For example we may have 1000 computers connected together in a network. If this network is located in a building or a campus, it will be considered as a LAN network. Just like this, we may have a network of only two computers. If one computer is located in one city and other computer is located in another city then this network will be considered as a WAN network. <strong>What is the difference between physical topology and logical topology?</strong> A physical topology describes how computers are connected with each other&rsquo;s physically. While a logical topology describes how data is being transmitted over the physical topology. <strong>How will you consider a topology which uses HUB as a centralized device to connect all computers?</strong> Physically it is a star topology but logically it is a bus topology. Since this topology satisfies the primary requirement of star topology, physically it can be considered as a star topology. But Hub cannot filter the data traffic, so all computers will receive data packets from all computers just like the bus topology. So physically it&rsquo;s a star topology but logically it&rsquo;s a bus topology. <strong>What is the backbone network?</strong> The network which connects two or more networks together is considered as a backbone network. Usually backbone network contains high speed data transferring devices such as routers and switches. Backbone network should never be used for end user connectivity. The network which provides end user connectivity should be connected through the backbone network. <strong>What is daisy chaining technique and which topology uses this technique?</strong> Star topology uses daisy chaining technique to extend the network. In this technique a hub or switch connects with another hub or switch just like a node of existing topology. Then this hub or switch can be used to connect the more devices in network. <strong>How ring topology works?</strong> In ring topology all computers connect in a circle. When a computer has some data for another computer, it puts that data packet in circle. Each computer looks at each packet to figure out whether the packet is intended for it or not. If packet is intended for it, it will pick up the packet from ring otherwise passes it to the next computer in the ring. <strong>Is ring topology is still used in LAN network?</strong> No, the ring topology is no more used in LAN network. <strong>Which topology is used in modern LAN Network?</strong> Star topology <strong>What is the mesh topology and where it is used?</strong> In mesh topology all devices are connect with all devices. For example to connect four computers in mesh topology we need 4 x 4 = 16 connections. Mesh topology is used in WAN network to build the alternative paths between networks. <strong>What is the signal bouncing issue and how it can be solved?</strong> Signal bouncing issue occurs in bus topology. Bus topology uses a coaxial cable to connect the computers. In this topology when computer sends signal, the signal travels in both directions from sending computer. When this signal reaches at the end of the cable, it bounces back and returns in the original direction. This is known as signal bouncing issue. To solve this issue we should use the terminator. Terminator absorbs the signals when they reach to it. This will prevent the signal bouncing issue. <strong>What is main advantage of Bus topology?</strong> Main advantage of Bus topology is the cost. This topology uses the lowest resources among the other available topologies. A coaxial cable, some connectors and terminators are only we need to build this topology. <strong>What are the main disadvantages of Bus topology?</strong> Main disadvantage of Bus topology are scalability, troubleshooting and length. A single break in main cable is enough to bring the entire network down. To add worse any loose terminator will also do the same job. Finding a loose terminator or break in the cable is the toughest task. <strong>Is bus topology still used in computer network?</strong> No, bus topology is no more used in computer network. <strong>What are the main advantages of star topology?</strong> Main advantages of star topology are scalability, easy to troubleshoot and centralized network component. Adding and removing a device in this topology is much easier than the other topologies. Besides this if there is any break in cable then only the device which is connected with that cable will be down. <strong>What are the main disadvantages of star topology?</strong> Main disadvantages of star topology are cost and centralized network component. In positive side a centralized device makes administrator life easier but in downside if this device fails then the entire network will be down. <strong>What is the hybrid topology?</strong> A topology which consist more than one topology is considered as a hybrid topology for example a star-bus topology, in which multiple star topologies are connected through the central bus topology. <strong>What are the main advantages of wireless network?</strong> Main advantages of wireless network are the lack of cables and mobility of devices. <strong>What are the main disadvantages of wireless network?</strong> Main disadvantages of wireless network are speed and security. Signal interference, blockage, and interception may slow down a wireless network. Form security point of view, wireless network is considered as less secure network in comparison with wired network. <strong>What is the difference between point to point and point to multipoint topology?</strong> In point to point topology once system connects with another system directly. In point to multipoint topology all systems connect through the centralized device. <strong>What is a drop cable?</strong> A drop cable is the cable which connects workstation with backbone cable in bus topology. <strong>What is the maximum length of Thicknet coaxial cable?</strong> Maximum length of Thicknet coaxial cable is 500 meter. <strong>Which cable is known as RG58 cable?</strong> The Thinnet cable is known as RG58 cable. <strong>What is the maximum length of Thinnet cable?</strong> Maximum length of the Thinnet cable is 185 meter. <strong>Which cable is known as RG8 cable?</strong> The Thicknet cable is known as RG8 cable. <strong>Which cable is used as backbone cable in bus topology?</strong> The Thicknet (RG8) cable is used as backbone cable in bus topology. <strong>Which cable is used to connect workstation with backbone cable?</strong> The Thinnet (RG58) cable is used to connect workstation with backbone cable. <strong>What is the thickness of the Thinnet cable?</strong> The thickness of the Thinnet cable is 0.25 inch. <strong>What is the thickness of the Thicknet cable?</strong> The thickness of the Thinnet cable is 0.5 inch. <strong>Which connector does Thinnet cable use to connect with NIC?</strong> The BNC (British naval connector) connector is used to connect the Thinnet cable with NIC. <strong>Which connector does Thicknet cable use to connect with NIC?</strong> The AUI (Adapter unit interface) connector is used to connect the Thicknet cable with NIC. <strong>Which pair of cable is used on computer network RG58 and RG8 or RG59 and RG6?</strong> RG58 and RG8 cable is used in computer network while RG59 and RG6 cable is used in TV cable network. <strong>Can we use RG59 and RG6 cables in computer network?</strong> No we cannot use these cables in computer network. These cables are built for TV cable network. <strong>Is coaxial cable still used in computer network?</strong> No, coaxial cable is used in bus topology which is no longer used in computer network. <strong>What is the maximum distance of UTP cable?</strong> Maximum distance of UTP cable is 100 meter. <strong>Which connector UTP cable uses to connect with NIC?</strong> The connector RJ45 <strong>Which cable uses RJ11 connector?</strong> The telephone cable uses RJ11 connector. <strong>Can we use Cateogry1 (UTP) cable for data transmission?</strong> No Category1 (UTP) cable is used only for voice transmission. <strong>What is the maximum data transmission speed of Category 2, Category 3 and Category 4 in UTP cable?</strong> The maximum transmission speed of Category 2, Category 3 and Category 4 in UTP cable is 4Mbps, 10Mbps and 16Mbps respectively. <strong>How many wires does UTP cable has?</strong> UTP cable has four pairs of wires. Each pair has two wires, twisted with each other. So there are total eight wires in UTP cable. <strong>How many wires are used for data transmission in UTP cable?</strong> Only four wires from eight wires are used in data transmission. <strong>Which wires are used for data transmission in UTP cable?</strong> The wires 1, 2, 3 and 6 are used for data transmission in UTP cable. The wires 1 and 2 are used to transmit the data while wires 3 and 6 are used to receive the data. <strong>What is the maximum data transmission speed of Category 5, Category 5e and Category 6 in UTP cable?</strong> The maximum transmission speed of Category 5, Category 5e and Category 6 in UTP cable is 100Mbps, 1000Mbps and 10Gbps respectively. <strong>How Straight-through UTP cable is built?</strong> In Straight through UTP cable all pins are matched on both sides. Pin-1 connects with Pin-1; Pin2 connects Pin2, this way each pin connects with the same number of pin on other side. <strong>Where do we use Straight-through UTP cable?</strong> The straight-through cable is used to connect the following: - Hub / Switch to System Hub / Switch to Router Hub / Switch to Server straight cable uses <strong>Why we cannot use Straight-through UTP cable to connect two systems directly?</strong> In straight-through cable the pins which send data from one computer connect with the pins which also send data on other computer. Simple a computer will not be able to pick the data from sending pins. So the transmission will be failed if we directly connect the two systems through the Straight-through UTP cable. To connect two systems directly we have to use the cross-over cable which connects sending pins with receiving pins. <strong>How Cross-over cable is built?</strong> In Cross-over cable the pins which send data from one end connect with the pins which receive data on other end. Pin1 connects with Pin3 while Pin2 connects with Pin6. <strong>Where do we use Cross-over cable?</strong> The Cross-over cable is used to connect the following: - Hub/Switch to Hub/Switch System to System Router to Router Router to System use of cross cable <strong>What is the Crosstalk?</strong> Crosstalk is the interference which generates from adjacent wires. That&rsquo;s all for this set of interview questions with answers. In next set we will go through the more interview questions with answer.</p>1b2:T2fdf,<h2><span style="color: #993300;">Cicso Nexus Interview Questions</span></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is NEXUS?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;"><a href="https://tekslate.com/nexus-training">NEXUS</a> is a bi-national, Canada-United States program for pre-approved, low-risk travelers entering Canada or the United States (U.S.) at designated air, land and marine ports of entry.</p>
<p style="text-align: justify; padding-left: 30px;">The program enables its members to enter either country more quickly and easily by using automated self-serve kiosks in the air mode of travel, dedicated lanes in the land mode of travel, and by calling Telephone Reporting Centres (TRCs) prior to arrival in the marine mode of travel.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do I become a NEXUS member?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">To become a member of NEXUS, applicants must:</p>
<ul>
<li style="text-align: justify;">submit an application and go through a registration process;</li>
<li style="text-align: justify;">satisfy the eligibility criteria;</li>
<li style="text-align: justify;">be admissible to Canada and the U.S.; and</li>
<li style="text-align: justify;">pass risk assessments by both countries.</li>
</ul>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the benefits of using NEXUS?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">NEXUS members avoid long line-ups and save time using automated self-serve kiosks at nine Canadian international airports (NEXUS Air).</p>
<p style="text-align: justify; padding-left: 30px;">As an added benefit, when travelling on domestic, U.S.-bound, and select international flights, NEXUS members can be expedited through Canadian Air Transport Security Authority (CATSA) airport security screening lanes located at 16 Canadian airports. Members must present their valid NEXUS card to access the&nbsp;Trusted Traveller CATSA Security Line.</p>
<p style="text-align: justify; padding-left: 30px;">Members also enjoy a quick and simplified entry process using dedicated lanes at 21 designated land border crossings.</p>
<p style="text-align: justify; padding-left: 30px;">When arriving by boat, members travelling to over 450 marine sites in Canada can report by phone to a TRC between 30 minutes and four hours before they arrive.</p>
<p style="text-align: justify; padding-left: 30px;">NEXUS allows Canadian and U.S. &nbsp;border officers to focus their efforts on unknown and potentially higher-risk travelers and their goods.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Is there a fee involved to apply for NEXUS?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">Yes. There is a non-refundable processing fee of&nbsp;<strong>$50</strong>&nbsp;in Canadian or U.S. funds.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is iris recognition biometric technology?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">Iris recognition biometric technology identifies the unique patterns of the iris (the coloured ring around the pupil of the eye). The technology reads each of the 266 unique characteristics in the human iris. It is safe, secure and non-invasive.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the size of a NEXUS card?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">A NEXUS card is approximately the same size as a standard credit card or driver's licence.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How does NEXUS in the air mode work?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">NEXUS members can use the automated kiosks located in the U.S. Preclearance area and the Canadian inspection services area at participating airports.</p>
<p style="text-align: justify; padding-left: 30px;">Members can proceed directly to the NEXUS self-serve kiosk and do not need to go through the standard queue to speak to a border services officer or CBP officer.</p>
<p style="text-align: justify; padding-left: 30px;">Members stand in front of the self-serve kiosk and look into the adjustable camera and follow the audio instructions so that their irises can be photographed using iris recognition biometric technology (see question below).</p>
<p style="text-align: justify; padding-left: 30px;">Once the CBSA or CBP has confirmed that the photo of the irises matches the one on file, the member will use the touch screen to answer standard customs and immigration questions.</p>
<p style="text-align: justify; padding-left: 30px;">NEXUS members residing in Canada can use a Traveller Declaration Card (TDC) to declare goods and pay for any duties or taxes when entering Canada. Members simply deposit a TDC in a secure TDC box conveniently located near a self-serve kiosk. Any duties or taxes owing will be collected through the credit card information provided on the TDC.</p>
<table style="border-collapse: collapse; width: 100.012%; height: 62.0374px; background-color: #ecf0f1;" border="1px" cellpadding="10">
<tbody>
<tr style="height: 62.0374px;">
<td style="width: 98.4238%; height: 62.0374px; text-align: center;"><span data-sheets-value="{&quot;1&quot;:2,&quot;2&quot;:&quot;Want to acquire industry skills and gain complete knowledge of Salesforce? Enroll in Instructor-Led live Salesforce Training to become Job Ready!&quot;}" data-sheets-userformat="{&quot;2&quot;:513,&quot;3&quot;:{&quot;1&quot;:0},&quot;12&quot;:0}">Want to acquire industry skills and gain complete knowledge of Nexus? Enroll in Instructor-Led live <a href="https://tekslate.com/nexus-training" target="_blank"><span style="color: #236fa1;"><em><strong>Nexus Training</strong></em></span></a> to become Job Ready!</span></td>
</tr>
</tbody>
</table>
<h2><span style="color: #993300;">Nexus Switch Interview Questions</span></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Where is NEXUS in the air mode available?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">NEXUS in the air mode is available at&nbsp;8 locations&nbsp;when entering Canada.</p>
<p style="text-align: justify; padding-left: 30px;">In addition, please note that a trusted traveller kiosk is also available at&nbsp;<strong>Billy Bishop Toronto City Airport, for incoming flights only</strong>&nbsp;for use by members of NEXUS and CANPASS Air.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Where is NEXUS in the land mode available?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">NEXUS in the land mode is available at&nbsp;21 locations&nbsp;when entering Canada</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Where is NEXUS in the marine mode available?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">NEXUS in the marine mode is available at approximately&nbsp;450 locations&nbsp;when entering Canada.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why does vPC not block either of the vPC uplinks?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">Nexus 7000 has a loop prevention method that drops traffic traversing the peer link (destined for a vPC peer link) when there are no failed vPC ports or links. The rule is simple: if the packet crosses the vPC peer link, it may not go out any port in a vPC even if that vPC does not have the original VLAN.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How do I verify the features enabled on Nexus 7000 Series Switch with NX-OS 4.2?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">&nbsp;Issue the&nbsp;<strong>show feature</strong>&nbsp;command in order to verify.</p>
<p style="text-align: justify;"><strong>switch-N7K# show feature</strong></p>
<table style="width: 421px; height: 291px; margin-left: auto; margin-right: auto;" border="1">
<tbody>
<tr>
<td style="width: 126.5px; text-align: center;"><strong>Feature Name</strong></td>
<td style="width: 132.5px; text-align: center;"><strong>Instance</strong></td>
<td style="width: 161px; text-align: center;"><strong>State</strong></td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">tacacs</td>
<td style="width: 132.5px; text-align: center;">1</td>
<td style="width: 161px; text-align: center;">enabled</td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">scheduler</td>
<td style="width: 132.5px; text-align: center;">1</td>
<td style="width: 161px; text-align: center;">enabled</td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">isis</td>
<td style="width: 132.5px; text-align: center;">2</td>
<td style="width: 161px; text-align: center;">disabled</td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">isis</td>
<td style="width: 132.5px; text-align: center;">3</td>
<td style="width: 161px; text-align: center;">disabled</td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">isis</td>
<td style="width: 132.5px; text-align: center;">4</td>
<td style="width: 161px; text-align: center;">disabled</td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">ospf</td>
<td style="width: 132.5px; text-align: center;">1</td>
<td style="width: 161px; text-align: center;">enabled</td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">ospf</td>
<td style="width: 132.5px; text-align: center;">2</td>
<td style="width: 161px; text-align: center;">disabled</td>
</tr>
<tr>
<td style="width: 126.5px; text-align: center;">ospf</td>
<td style="width: 132.5px; text-align: center;">3</td>
<td style="width: 161px; text-align: center;">disabled</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p style="text-align: justify;">feature vrrp&nbsp;<strong>switch-N7K# show run | I feature</strong></p>
<p style="text-align: justify;">feature tacacs+</p>
<p style="text-align: justify;">feature schedule</p>
<p style="text-align: justify;">feature ospf</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Is there a tool available for configuration conversion on Cisco 6500 series to the Nexus platform?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">Cisco has developed the&nbsp;IOS-NXOS Migration Tool&nbsp;for quick configuration conversion on Cisco 6500 series to the Nexus series OS.</p>
<p style="text-align: justify;"><strong><span style="color: #993300;">What are orphan ports?</span> </strong></p>
<p style="text-align: justify; padding-left: 30px;">Orphan ports are single attached devices that are not connected via a vPC, but still carry vPC VLANs. In the instance of a peer-link shut or restoration, an orphan port's connectivity may be bound to the vPC failure or restoration process. Issue the&nbsp;<strong>show vpc orphan-ports</strong>&nbsp;command in order to identify the impacted VLANs.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the minimum NX-OS release required to support FCoE in the Nexus 7000 Series Switches?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">FCoE is supported on Cisco Nexus 7000 Series systems running Cisco NX-OS Release 5.2 or later.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>On a Nexus, is the metric-type keyword not available in the "default-information originate" command?</strong></span></p>
<p style="text-align: justify; padding-left: 30px;">On a Nexus, use a&nbsp;<strong>route-map</strong>&nbsp;command with a set clause of&nbsp;metric-type type-[&frac12;]&nbsp;in order to have the same functionality as in IOS using the default-information originate always metric-type [&frac12;] command. For example:</p>
<p style="text-align: justify; padding-left: 30px;">switch(config)#<strong>route-map STAT-OSPF, permit, sequence 10</strong>switch(config-route-map) #<strong>match interface ethernet 1/2</strong>switch(config-route-map) #<strong>set metric-type {external | internal | type-1 | type-2}</strong></p>1b3:T17ed,<p style="text-align: justify;"><span style="color: #993300;"><strong>Netscaler Load Balancing Persistence to specific member?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="font-weight: 400;">In the Netscaler load balancing persistence rules it is straightforward to sticky a client IP to the same member each time.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Can you explain what issue does the NetScaler solves?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><span style="font-weight: 400;">The Netscaler technology resolves issues of low speed internet and low bandwidth that needs to stream a desktop from a centralized server. This provides slow streaming compliance on the virtualization solution to provide optimum support and feature on the client machine.</span></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Citrix?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Citrix is an application arrangement framework. With Citrix, one can get to the tweaked application and can likewise conveyed to remote frameworks. It additionally permits record exchange from home PC to office PC and email getting to.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How does Citrix Netscaler licensing differ from the other Citrix product licensing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">As an appliance or hardware, Netscaler is separate from most other Citrix products that use a license server. It is licensed independently.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the two most common ports used on XenApp ICA sessions? What are each used for?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Ports 1494 (ICA/HDX) and 2598(Session Reliability)</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the Role of the XenDesktop Controller?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A controller is the server-side architectural component of XenDesktop that is responsible for distributing desktops, managing user access, and optimizing connections.</p>
<pre style="text-align: center;"><em><strong>Get through the interview bar with our selected interview questions for <a href="https://tekslate.com/citrix-netscaler-training" target="_blank" rel="noopener">Citrix Netscaler</a> enthusiasts</strong></em></pre>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What free tool from Citrix will allow you to analyze your log files, profile your Citrix environment, scan for known issues and attach a log file to a Citrix support ticket?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Citrix Insight Services or TaaS</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How You Can Remove Dead Server From The Citrix Management Console?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">To expel dead server from the Citrix Management Console you need to run:</p>
<p style="padding-left: 30px; text-align: justify;">DSVERIFY SERVERS/CLEAN/FORCE for advancing the Data Store</p>
<p style="padding-left: 30px; text-align: justify;">DSVerify can be executed on any of the servers in the farm</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>List out the services provided by Citrix?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Service provided by Citrix includes:</p>
<p style="padding-left: 30px; text-align: justify;">- Citrix virtual memory optimization service - Encryption service - Citrix XTE service - Independent Management architecture - Citrix SMA service - COM (Common Object Model) services</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to implement Policies in Citrix?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The Citrix policy can be applied through Console Managment in 3 levels</p>
<p style="padding-left: 30px; text-align: justify;">- Farm Level - Citrix Server Level - Policy</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How does Citrix Netscaler permitting vary from the other Citrix item authorizing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">As a machine or equipment, Netscaler is separate from most other Citrix items that utilization a permit server. It is authorized autonomously.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Citrix Reciever?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Citrix recipient is an accumulation of suite of items that empowers customer gadgets to interface with different work area virtualization administrations offered by Citrix. Citrix recipient can interface with customer gadgets to XenDesktop applications, XenDesktop and work areas by means of the HDX protocol.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is Lhc In Citrix?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The IMA benefit executing on every Presentation Server downloads the data it requires from the focal information store into a neighborhood MDB database known as the Local Host Cache or LHC.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is Citrix Xml Broker?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Citrix XML dealer acts as a go between the web interface and homestead. It gets the qualifications of the client from the web interface. It recovers the applications that have client consent to get to. It is finished by autonomous administration design and comes back to the web interface. XML merchant identifies the server in the ranch, once the client is confirmed. It restores the address of the administration rendering server to the web interface. It works between IMA administration and web interface.</p>1b4:T20c8,<h2 style="text-align: justify;"><span style="color: #000000;">Arrays in C++</span></h2>
<p style="text-align: justify;">An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier.</p>
<p>That means that, for example, five values of type&nbsp;int&nbsp;can be declared as an array without having to declare 5 different variables (each with its own identifier). Instead, using an array, the five&nbsp;int&nbsp;values are stored in contiguous memory locations, and all five can be accessed using the same identifier, with the proper index. For example, an array containing 5 integer values of type&nbsp;int&nbsp;called&nbsp;foo&nbsp;could be represented as: <img class="aligncenter wp-image-27849 size-full" title="Arrays in C++" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Arrays.png" alt="Arrays in C++" width="653" height="101" /> where each blank panel represents an element of the array. In this case, these are values of type&nbsp;int. These elements are numbered from 0 to 4, being 0 the first and 4 the last; In C++, the first element in an array is always numbered with a zero (not a one), no matter its length. Like a regular variable, an array must be declared before it is used. A typical declaration for an array in C++ is:</p>
<pre style="text-align: justify;"> type name [elements];</pre>
<p style="text-align: justify;">where&nbsp;type&nbsp;is a valid type (such as&nbsp;int,&nbsp;float...),&nbsp;name&nbsp;is a valid identifier and the&nbsp;elements&nbsp;field (which is always enclosed in square brackets&nbsp;[]), specifies the length of the array in terms of the number of elements.</p>
<h2 style="text-align: justify;"><span style="color: #000000;">Declaration of Arrays</span></h2>
<p style="text-align: justify;">An array declaration is very similar to a variable declaration. First a type is given for the elements of the array, then an identifier for the array and, within square brackets, the number of elements in the array. The number of elements&nbsp;<strong>must be an integer</strong>.</p>
<p style="text-align: justify;">For example data on the average temperature over the year in Britain for each of the last 100 years could be stored in an array declared as follows:</p>
<pre style="text-align: justify;">float annual_temp[100];</pre>
<p style="text-align: justify;">This declaration will cause the compiler to allocate space for 100 consecutive&nbsp;float&nbsp;variables in memory. The number of elements in an array must be fixed at compile time. It is best to make the array size a constant and then, if required, the program can be changed to handle a different size of array by changing the value of the constant,</p>
<pre style="text-align: justify;">const int NE = 100;
float annual_temp[NE];</pre>
<p style="text-align: justify;">then if more records come to light it is easy to amend the program to cope with more values by changing the value of&nbsp;NE. This works because the compiler knows the value of the constant&nbsp;NE&nbsp;at compile time and can allocate an appropriate amount of space for the array. It would not work if an ordinary variable was used for the size in the array declaration since at compile time the compiler would not know a value for it.</p>
<h2 style="text-align: justify;"><span style="color: #000000;">Accessing Array Elements</span></h2>
<p style="text-align: justify;">Given the declaration above of a 100 element array the compiler reserves space for 100 consecutive floating point values and accesses these values using an index/subscript that takes values from 0 to 99. The&nbsp;<strong>first element</strong>&nbsp;in an array in C++ always has the&nbsp;<strong>index 0</strong>, and if the array has&nbsp;n&nbsp;elements the last element will have the index&nbsp;n-1.</p>
<p style="text-align: justify;">An&nbsp;<strong>array element</strong>&nbsp;is accessed by writing the identifier of the array followed by the subscript in square brackets. Thus to set the 15th element of the array above to 1.5 the following assignment is used:</p>
<pre style="text-align: justify;">annual_temp[14] = 1.5;</pre>
<p style="text-align: justify;">Note that since the first element is at index 0, then the&nbsp;ith element is at index&nbsp;i-1. Hence in the above the 15th element has index 14.</p>
<p style="text-align: justify;">An array element can be used anywhere an identifier may be used. Here are some examples assuming the following declarations:</p>
<p style="text-align: justify;">const int NE = 100,</p>
<p style="text-align: justify;">N = 50;</p>
<p style="text-align: justify;">int i, j, count[N];</p>
<p style="text-align: justify;">float annual_temp[NE];</p>
<p style="text-align: justify;">float sum, av1, av2;</p>
<p style="text-align: justify;">A value can be read into an array element directly, using&nbsp;cin</p>
<pre style="text-align: justify;">cin &gt;&gt; count[i];</pre>
<p style="text-align: justify;">The element can be increased by 5,</p>
<pre style="text-align: justify;">count[i] = count[i] + 5;</pre>
<p style="text-align: justify;">or, using the shorthand form of the assignment</p>
<pre style="text-align: justify;">count[i] += 5;</pre>
<h2 style="text-align: justify;"><span style="color: #000000;">Initialisation of arrays</span></h2>
<p style="text-align: justify;">An array can be initialised in a similar manner as the initialisation of simple variables in their declaration . In this case the initial values are given as a list enclosed in curly brackets. For example initialising an array to hold the first few prime numbers could be written as follows:</p>
<pre style="text-align: justify;">int primes[] = {1, 2, 3, 5, 7, 11, 13};</pre>
<p style="text-align: justify;">Note that the array has not been given a size, the compiler will make it large enough to hold the number of elements in the list. In this case&nbsp;primes&nbsp;would be allocated space for seven elements. If the array is given a size then this size must be greater than or equal to the number of elements in the initialisation list. For example:</p>
<pre style="text-align: justify;">int primes[10] = {1, 2, 3, 5, 7};</pre>
<p style="text-align: justify;">would reserve space for a ten element array but would only initialise the first five elements.</p>
<h3 style="text-align: justify;"><span style="color: #000000;">A sample C++ program to store and calculate the sum of 5 numbers entered by the user using arrays.</span></h3>
<pre style="text-align: justify;">#include &lt;iostream&gt;
using namespace std;&nbsp;
int main() 
{&nbsp;&nbsp;&nbsp; 
  &nbsp;int numbers[5], sum = 0;&nbsp;&nbsp;&nbsp; 
   cout &lt;&lt; "Enter 5 numbers: ";&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
   //&nbsp;Storing 5 number entered by user in an array&nbsp;&nbsp;&nbsp; 
   //&nbsp; Finding the sum of numbers entered&nbsp;&nbsp;&nbsp; 
   for (int i = 0; i &lt; 5; ++i) &nbsp;&nbsp;&nbsp;&nbsp;
   {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       cin &gt;&gt; numbers[i];&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       sum += numbers[i];&nbsp;&nbsp;&nbsp;
   }&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;
   cout &lt;&lt; "Sum = " &lt;&lt; sum &lt;&lt; endl;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
   return 0;
}</pre>
<p style="text-align: justify;"><strong>Output</strong></p>
<p style="text-align: justify;">Enter 5 numbers:</p>
<p style="text-align: justify;">3</p>
<p style="text-align: justify;">4</p>
<p style="text-align: justify;">5</p>
<p style="text-align: justify;">4</p>
<p style="text-align: justify;">2</p>
<p style="text-align: justify;">Sum = 18</p>
<h3 style="text-align: justify;"><span style="color: #000000;">Things to remember when working with arrays in C++</span></h3>
<p style="text-align: justify;">Suppose you declared an array of 10 elements. Let's say,</p>
<p style="text-align: justify;">int testArray[10];</p>
<p style="text-align: justify;">You can use the array members from&nbsp;<strong>testArray[0]</strong>&nbsp;to&nbsp;<strong>testArray[9]</strong>.</p>
<p style="text-align: justify;">If you try to access array elements outside of its bound, let's say&nbsp;<strong>testArray[14]</strong>, the compiler may not show any error. However, this may cause unexpected output (undefined behavior).</p>
<p style="text-align: justify;">&nbsp;</p>1b5:T28bc,<h2 style="text-align: justify;"><span style="color: #236fa1; font-size: 24px;">KnockoutJS Interview Questions</span></h2>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q1) What is Knockout JS?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Knockout JS is a JavaScript library <span id="tip_1">based totally</span>&nbsp;on MVVM (<span id="tip_2">Model</span>&nbsp;View ViewModel)&nbsp;<span id="tip_3">pattern</span>&nbsp;that&nbsp;<span id="tip_4">lets you</span> create a&nbsp;<span id="tip_5">wealthy</span>, responsive&nbsp;<span id="tip_6">show</span>&nbsp;and editor&nbsp;<span id="tip_7">person</span>&nbsp;interfaces with a&nbsp;<span id="tip_8">clean</span>&nbsp;underlying data model.</p>
<p>Knockout JS is a small <span id="tip_11">mild</span>&nbsp;weighted JavaScript library&nbsp;<span id="tip_12">this is</span>&nbsp;<span id="tip_13">usually</span> used for designing a SPA.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q2) What are the Features of Knockout JS?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong></p>
<p style="text-align: justify;"><strong><em>Features of Knockout JS</em></strong></p>
<ul style="text-align: justify;">
<li>Automatic UI Refresh</li>
<li>Dependency Tracking</li>
<li>Support all modern browsers</li>
<li>Template Binding</li>
<li>Declarative Binding</li>
<li>Compact Size less than 20 kb.</li>
<li>Written in Pure JavaScript</li>
<li>Easy to implement</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q3) What are the types of data binding supported by Knockout JS?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong></p>
<ul>
<li style="text-align: justify;">Two-way binding</li>
<li style="text-align: justify;">One-way binding</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q4) Define dependency tracking.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> The KnockoutJS will automatically update the UI (DOM) when your data model is changed.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q5) How is Knockout JS used in context properties?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Context Properties used in KnockoutJS</p>
<ul class="points" style="text-align: justify;">
<li>$parent property</li>
<li>$index property</li>
</ul>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q6) Define $index property.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> $index property returns the index of the current context item in the array.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q7) Define $parent property.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> $parent property allows us to examine the parent of an object.</p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;">Want to acquire industry skills and gain complete knowledge of JavaScript? Enrol in Instructor-Led live&nbsp;<span style="color: #236fa1;"><a style="color: #236fa1;" title="JavaScript Training" href="https://tekslate.com/javascript-training" target="_blank"><strong>JavaScript Training</strong></a></span>&nbsp;to get Job Ready!</td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q8) Define observable in Knockout JS.</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> Observable is a property of knockout js that contains the view model. This property is bound with UI (View) in two-way binding.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q9) What is observable Arrays in Knockout JS?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> The Observable cluster is KnockoutJs properties that contain the thing gathering in the view model and this property is tied with UI (View) in two-way binding.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q10) What are the difference between KnockoutJs and MVC?</strong></span></h3>
<p><span style="font-size: 14px; color: #000000;"><strong>Ans:</strong></span></p>
<table style="border-collapse: collapse; width: 100%; border-style: solid; height: 267.125px;" border="1px" width="100%" cellpadding="5">
<tbody>
<tr style="height: 31px;">
<td style="width: 364.205px; height: 31px; text-align: center;"><em><strong>KnockoutJs</strong></em></td>
<td style="width: 368.75px; height: 31px; text-align: center;"><em><strong>MVC</strong></em></td>
</tr>
<tr style="height: 31px;">
<td style="width: 364.205px; height: 31px;">KnockoutJs is an MVVM pattern</td>
<td style="width: 368.75px; height: 31px;">MVC is a design pattern</td>
</tr>
<tr style="height: 31px;">
<td style="width: 364.205px; height: 31px;">It works like a connected mode</td>
<td style="width: 368.75px; height: 31px;">It works like a disconnected mode</td>
</tr>
<tr style="height: 56px;">
<td style="width: 364.205px; height: 56px;">It supported two types of binding One-way binding and two-way binding</td>
<td style="width: 368.75px; height: 56px;">MVC supported only one-way binding.</td>
</tr>
<tr style="height: 60px;">
<td style="width: 364.205px; height: 60px;">UI part automatically updates when your data model update</td>
<td style="width: 368.75px; height: 60px;">
<p style="font-weight: 400;"><span style="font-style: inherit; font-weight: inherit;">In MVC, do not update UI automatically when your data model is updated. Need an event to call the data model and update it.</span></p>
</td>
</tr>
<tr style="height: 58.125px;">
<td style="width: 364.205px; height: 58.125px;">The model part is not directly bind to the view page. Models directly bind with the view model and view model directly with the view page.</td>
<td style="width: 368.75px; height: 58.125px;">&nbsp;Model parts directly bind with the view page.</td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q11) How does JQuery differ from KnockoutJs?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> The KO does not depend on the jQuery library, but we can use jQuery at the same time. Using KO you can handle client and server-side applications in a simply manner.</p>
<h3 id="is-ko-intended-to-compete-with-jquery-or-prototype-etc-or-work-with-it" style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q12) How KO intended to compete with jQuery or work with it?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> jQuery is an outstanding replacement for the clunky, inconsistent DOM API we had to put up with in the past. jQuery is an excellent low-level way to manipulate elements and event handlers in a web page. KO solves a different problem.</p>
<p style="text-align: justify;">As soon as your UI gets nontrivial and has a few overlapping behaviours, things can get tricky and expensive to maintain if you only use jQuery.</p>
<p style="text-align: justify;"><em><strong>Consider an example:</strong></em></p>
<p style="text-align: justify;">you&rsquo;re displaying a list of items, stating the number of items in that list, and want to enable an &lsquo;Add&rsquo; button only when there are fewer than 5 items.</p>
<p style="text-align: justify;">jQuery doesn&rsquo;t have a concept of an underlying data model, so to get the number of items you have to infer it from the number of TRs in a table or the number of DIVs with a certain CSS class.</p>
<p style="text-align: justify;">Maybe the number of items is displayed in some SPAN, and you have to remember to update that SPAN&rsquo;s text when the user adds an item.</p>
<p style="text-align: justify;">You also must remember to disable the &lsquo;Add&rsquo; button when the number of TRs is 5.</p>
<p style="text-align: justify;">Later, you&rsquo;re asked also to implement a &lsquo;Delete&rsquo; button and you have to figure out which DOM elements to change whenever it&rsquo;s clicked.</p>
<h3 style="text-align: justify;"><span style="font-size: 18px; color: #e67e23;"><strong>Q13) How does dependency tracking work?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong> It&rsquo;s actually very simple and rather lovely. The tracking algorithm goes like this:</p>
<ul>
<li>Whenever you declare a computed observable, KO immediately invokes its evaluator function to get its initial value.</li>
<li>While your evaluator function is running, KO keeps a log of any observables (or computed observables) that your evaluator reads the value of.</li>
<li>When your evaluator is finished, KO sets up subscriptions to each of the observables (or computed observables) that you&rsquo;ve touched. The subscription callback is set to cause your evaluator to run again, looping the whole process back to step 1 (disposing of any old subscriptions that no longer apply).</li>
<li>KO notifies any subscribers about the new value of your computed observable.</li>
</ul>
<p style="text-align: justify;">So, KO doesn&rsquo;t just detect your dependencies the first time your evaluator runs it redetects them every time.&nbsp;</p>
<p style="text-align: justify;">for example, your dependencies can vary dynamically: dependency A could determine whether you also depend on B or C.</p>
<p style="text-align: justify;">Then, you&rsquo;ll only be re-evaluated when either A or your current choice of B or C changes.</p>
<p style="text-align: justify;">You don&rsquo;t have to declare dependencies: they&rsquo;re inferred at runtime from the code&rsquo;s execution.</p>
<p style="text-align: justify;">The other neat trick is that declarative bindings are simply implemented as computed observables.</p>
<p style="text-align: justify;">So, if a binding reads the value of an observable, that binding becomes dependent on that observable, which causes that binding to be re-evaluated if the observable changes.</p>1b6:T4b0a,<p style="text-align: justify;"><strong>What is the computer network?</strong></p>
<p style="text-align: justify;">A computer network is basically a group of computers which are connected together to share information and save physical resources.</p>
<p style="text-align: justify;"><strong>What is a host in computer network?</strong></p>
<p style="text-align: justify;">Any device which is connected to a computer network is considered as a host or a node. It can be a computer or a device with its own network card such as printer or router.</p>
<p style="text-align: justify;"><strong>Which computers are known as client computer in network?</strong></p>
<p style="text-align: justify;">The computers which are used to access the resources from network are known as client computers. Client computers usually run desktop version of operating system.</p>
<p style="text-align: justify;"><strong>What is the other name of client computers?</strong></p>
<p style="text-align: justify;">The client computers are also known as workstation.</p>
<p style="text-align: justify;"><strong>Which computers are known as server computer in network?</strong></p>
<p style="text-align: justify;">The computers which provide shared resources to the network are known as server computers. Server computers usually run server version of operating system.</p>
<p style="text-align: justify;"><strong>What is the NIC?</strong></p>
<p style="text-align: justify;">NIC stands for Network Interface Card. NIC is the device which connects computer with network.</p>
<p style="text-align: justify;">Can a computer connect with network without NIC?</p>
<p style="text-align: justify;">No, a computer cannot connect with network without NIC card.</p>
<p style="text-align: justify;"><strong>What is the most basic use of Switch in computer network?</strong></p>
<p style="text-align: justify;">A Switch is used to connect the multiple computers together for example an 8 ports switch can connect 8 computers in a single network.</p>
<p style="text-align: justify;"><strong>What term does Microsoft use for peer to peer network?</strong></p>
<p style="text-align: justify;">Before Windows 7, it was Workgroup. Form Windows 7 it is replaced with Homegroup.</p>
<p style="text-align: justify;"><strong>How much computers we can add in a workgroup?</strong></p>
<p style="text-align: justify;">Theoretically we can add as much computers as we want in workgroup. But practically we should never add more than ten computers in a workgroup network.</p>
<p style="text-align: justify;"><strong>What does the term driver refer in computer networking?</strong></p>
<p style="text-align: justify;">The driver is the software program which is written specifically for a particular hardware device such as NIC card, Audio card, Video card etc. This software allows that particular device to work with other parts of computer. Without appropriate driver a device will not work as expected.</p>
<p style="text-align: justify;"><strong>What are the basic differences between Internet, Intranet and Extranet?</strong></p>
<p style="text-align: justify;">The terms Internet, Intranet and Extranet are used to describe how a network application should be accessed. In Internet anyone can access the application from anywhere in world. In Intranet only the authorized users from the company for which the application was built can access the application. In Extranet selected external users are allowed to access the application which was built for Internet.</p>
<p style="text-align: justify;"><strong>What does the term topology defines in computer network?</strong></p>
<p style="text-align: justify;">A topology is the physical layout which defines how computers are connected with each other&rsquo;s in a computer network.</p>
<p style="text-align: justify;"><strong>Which topology uses a centralized device for connectivity?</strong></p>
<p style="text-align: justify;">Star topology uses a centralized device (HUB or Switch) for connectivity.</p>
<p style="text-align: justify;"><strong>Which topology uses coaxial cable and terminators?</strong></p>
<p style="text-align: justify;">Bus topology uses coaxial cable and terminators.</p>
<p style="text-align: justify;"><strong>A company has offices in Jaipur and Delhi. What type of computer network it will use to connect these offices?</strong></p>
<p style="text-align: justify;">WAN (Wide Area Network) network is used to connect the networks which are spread over the different geographical location.</p>
<p style="text-align: justify;"><strong>Based on physical location what are the two most common network types?</strong></p>
<p style="text-align: justify;">LAN (Local Area Network) and WAN (Wide Area Network) are the two most common network types.</p>
<p style="text-align: justify;"><strong>Does number of computers matter in LAN and WAN?</strong></p>
<p style="text-align: justify;">No, number of computers does not matter in LAN and WAN. This categorization is purely based on geographical location of network. For example we may have 1000 computers connected together in a network. If this network is located in a building or a campus, it will be considered as a LAN network. Just like this, we may have a network of only two computers. If one computer is located in one city and other computer is located in another city then this network will be considered as a WAN network.</p>
<p style="text-align: justify;"><strong>What is the difference between physical topology and logical topology?</strong></p>
<p style="text-align: justify;">A physical topology describes how computers are connected with each other&rsquo;s physically. While a logical topology describes how data is being transmitted over the physical topology.</p>
<p style="text-align: justify;"><strong>How will you consider a topology which uses HUB as a centralized device to connect all computers?</strong></p>
<p style="text-align: justify;">Physically it is a star topology but logically it is a bus topology. Since this topology satisfies the primary requirement of star topology, physically it can be considered as a star topology. But Hub cannot filter the data traffic, so all computers will receive data packets from all computers just like the bus topology. So physically it&rsquo;s a star topology but logically it&rsquo;s a bus topology.</p>
<p style="text-align: justify;"><strong>What is the backbone network?</strong></p>
<p style="text-align: justify;">The network which connects two or more networks together is considered as a backbone network. Usually backbone network contains high speed data transferring devices such as routers and switches. Backbone network should never be used for end user connectivity. The network which provides end user connectivity should be connected through the backbone network.</p>
<p style="text-align: justify;"><strong>What is daisy chaining technique and which topology uses this technique?</strong></p>
<p style="text-align: justify;">Star topology uses daisy chaining technique to extend the network. In this technique a hub or switch connects with another hub or switch just like a node of existing topology. Then this hub or switch can be used to connect the more devices in network.</p>
<p style="text-align: justify;"><strong>How ring topology works?</strong></p>
<p style="text-align: justify;">In ring topology all computers connect in a circle. When a computer has some data for another computer, it puts that data packet in circle. Each computer looks at each packet to figure out whether the packet is intended for it or not. If packet is intended for it, it will pick up the packet from ring otherwise passes it to the next computer in the ring.</p>
<p style="text-align: justify;"><strong>Is ring topology is still used in LAN network?</strong></p>
<p style="text-align: justify;">No, the ring topology is no more used in LAN network.</p>
<p style="text-align: justify;"><strong>Which topology is used in modern LAN Network?</strong></p>
<p style="text-align: justify;">Star topology</p>
<p style="text-align: justify;"><strong>What is the mesh topology and where it is used?</strong></p>
<p style="text-align: justify;">In mesh topology all devices are connect with all devices. For example to connect four computers in mesh topology we need 4 x 4 = 16 connections. Mesh topology is used in WAN network to build the alternative paths between networks.</p>
<p style="text-align: justify;"><strong>What is the signal bouncing issue and how it can be solved?</strong></p>
<p style="text-align: justify;">Signal bouncing issue occurs in bus topology. Bus topology uses a coaxial cable to connect the computers. In this topology when computer sends signal, the signal travels in both directions from sending computer. When this signal reaches at the end of the cable, it bounces back and returns in the original direction. This is known as signal bouncing issue. To solve this issue we should use the terminator. Terminator absorbs the signals when they reach to it. This will prevent the signal bouncing issue.</p>
<p style="text-align: justify;"><strong>What is main advantage of Bus topology?</strong></p>
<p style="text-align: justify;">Main advantage of Bus topology is the cost. This topology uses the lowest resources among the other available topologies. A coaxial cable, some connectors and terminators are only we need to build this topology.</p>
<p style="text-align: justify;"><strong>What are the main disadvantages of Bus topology?</strong></p>
<p style="text-align: justify;">Main disadvantage of Bus topology are scalability, troubleshooting and length. A single break in main cable is enough to bring the entire network down. To add worse any loose terminator will also do the same job. Finding a loose terminator or break in the cable is the toughest task.</p>
<p style="text-align: justify;"><strong>Is bus topology still used in computer network?</strong></p>
<p style="text-align: justify;">No, bus topology is no more used in computer network.</p>
<p style="text-align: justify;"><strong>What are the main advantages of star topology?</strong></p>
<p style="text-align: justify;">Main advantages of star topology are scalability, easy to troubleshoot and centralized network component. Adding and removing a device in this topology is much easier than the other topologies. Besides this if there is any break in cable then only the device which is connected with that cable will be down.</p>
<p style="text-align: justify;"><strong>What are the main disadvantages of star topology?</strong></p>
<p style="text-align: justify;">Main disadvantages of star topology are cost and centralized network component. In positive side a centralized device makes administrator life easier but in downside if this device fails then the entire network will be down.</p>
<p style="text-align: justify;"><strong>What is the hybrid topology?</strong></p>
<p style="text-align: justify;">A topology which consist more than one topology is considered as a hybrid topology for example a star-bus topology, in which multiple star topologies are connected through the central bus topology.</p>
<p style="text-align: justify;"><strong>What are the main advantages of wireless network?</strong></p>
<p style="text-align: justify;">Main advantages of wireless network are the lack of cables and mobility of devices.</p>
<p style="text-align: justify;"><strong>What are the main disadvantages of wireless network?</strong></p>
<p style="text-align: justify;">Main disadvantages of wireless network are speed and security. Signal interference, blockage, and interception may slow down a wireless network. Form security point of view, wireless network is considered as less secure network in comparison with wired network.</p>
<p style="text-align: justify;"><strong>What is the difference between point to point and point to multipoint topology?</strong></p>
<p style="text-align: justify;">In point to point topology once system connects with another system directly. In point to multipoint topology all systems connect through the centralized device.</p>
<p style="text-align: justify;"><strong>What is a drop cable?</strong></p>
<p style="text-align: justify;">A drop cable is the cable which connects workstation with backbone cable in bus topology.</p>
<p style="text-align: justify;"><strong>What is the maximum length of Thicknet coaxial cable?</strong></p>
<p style="text-align: justify;">Maximum length of Thicknet coaxial cable is 500 meter.</p>
<p style="text-align: justify;"><strong>Which cable is known as RG58 cable?</strong></p>
<p style="text-align: justify;">The Thinnet cable is known as RG58 cable.</p>
<p style="text-align: justify;"><strong>What is the maximum length of Thinnet cable?</strong></p>
<p style="text-align: justify;">Maximum length of the Thinnet cable is 185 meter.</p>
<p style="text-align: justify;"><strong>Which cable is known as RG8 cable?</strong></p>
<p style="text-align: justify;">The Thicknet cable is known as RG8 cable.</p>
<p style="text-align: justify;"><strong>Which cable is used as backbone cable in bus topology?</strong></p>
<p style="text-align: justify;">The Thicknet (RG8) cable is used as backbone cable in bus topology.</p>
<p style="text-align: justify;"><strong>Which cable is used to connect workstation with backbone cable?</strong></p>
<p style="text-align: justify;">The Thinnet (RG58) cable is used to connect workstation with backbone cable.</p>
<p style="text-align: justify;"><strong>What is the thickness of the Thinnet cable?</strong></p>
<p style="text-align: justify;">The thickness of the Thinnet cable is 0.25 inch.</p>
<p style="text-align: justify;"><strong>What is the thickness of the Thicknet cable?</strong></p>
<p style="text-align: justify;">The thickness of the Thinnet cable is 0.5 inch.</p>
<p style="text-align: justify;"><strong>Which connector does Thinnet cable use to connect with NIC?</strong></p>
<p style="text-align: justify;">The BNC (British naval connector) connector is used to connect the Thinnet cable with NIC.</p>
<p style="text-align: justify;"><strong>Which connector does Thicknet cable use to connect with NIC?</strong></p>
<p style="text-align: justify;">The AUI (Adapter unit interface) connector is used to connect the Thicknet cable with NIC.</p>
<p style="text-align: justify;"><strong>Which pair of cable is used on computer network RG58 and RG8 or RG59 and RG6?</strong></p>
<p style="text-align: justify;">RG58 and RG8 cable is used in computer network while RG59 and RG6 cable is used in TV cable network.</p>
<p style="text-align: justify;"><strong>Can we use RG59 and RG6 cables in computer network?</strong></p>
<p style="text-align: justify;">No we cannot use these cables in computer network. These cables are built for TV cable network.</p>
<p style="text-align: justify;"><strong>Is coaxial cable still used in computer network?</strong></p>
<p style="text-align: justify;">No, coaxial cable is used in bus topology which is no longer used in computer network.</p>
<p style="text-align: justify;"><strong>What is the maximum distance of UTP cable?</strong></p>
<p style="text-align: justify;">Maximum distance of UTP cable is 100 meter.</p>
<p style="text-align: justify;"><strong>Which connector UTP cable uses to connect with NIC?</strong></p>
<p style="text-align: justify;">The connector RJ45</p>
<p style="text-align: justify;"><strong>Which cable uses RJ11 connector?</strong></p>
<p style="text-align: justify;">The telephone cable uses RJ11 connector.</p>
<p style="text-align: justify;"><strong>Can we use Cateogry1 (UTP) cable for data transmission?</strong></p>
<p style="text-align: justify;">No Category1 (UTP) cable is used only for voice transmission.</p>
<p style="text-align: justify;"><strong>What is the maximum data transmission speed of Category 2, Category 3 and Category 4 in UTP cable?</strong></p>
<p style="text-align: justify;">The maximum transmission speed of Category 2, Category 3 and Category 4 in UTP cable is 4Mbps, 10Mbps and 16Mbps respectively.</p>
<p style="text-align: justify;"><strong>How many wires does UTP cable has?</strong></p>
<p style="text-align: justify;">UTP cable has four pairs of wires. Each pair has two wires, twisted with each other. So there are total eight wires in UTP cable.</p>
<p style="text-align: justify;"><strong>How many wires are used for data transmission in UTP cable?</strong></p>
<p style="text-align: justify;">Only four wires from eight wires are used in data transmission.</p>
<p style="text-align: justify;"><strong>Which wires are used for data transmission in UTP cable?</strong></p>
<p style="text-align: justify;">The wires 1, 2, 3 and 6 are used for data transmission in UTP cable. The wires 1 and 2 are used to transmit the data while wires 3 and 6 are used to receive the data.</p>
<p style="text-align: justify;"><strong>What is the maximum data transmission speed of Category 5, Category 5e and Category 6 in UTP cable?</strong></p>
<p style="text-align: justify;">The maximum transmission speed of Category 5, Category 5e and Category 6 in UTP cable is 100Mbps, 1000Mbps and 10Gbps respectively.</p>
<p style="text-align: justify;"><strong>How Straight-through UTP cable is built?</strong></p>
<p style="text-align: justify;">In Straight through UTP cable all pins are matched on both sides. Pin-1 connects with Pin-1; Pin2 connects Pin2, this way each pin connects with the same number of pin on other side.</p>
<p style="text-align: justify;"><strong>Where do we use Straight-through UTP cable?</strong></p>
<p style="text-align: justify;">The straight-through cable is used to connect the following: -</p>
<p style="text-align: justify;">Hub / Switch to System Hub / Switch to Router Hub / Switch to Server straight cable uses</p>
<p style="text-align: justify;"><strong>Why we cannot use Straight-through UTP cable to connect two systems directly?</strong></p>
<p style="text-align: justify;">In straight-through cable the pins which send data from one computer connect with the pins which also send data on other computer.</p>
<p style="text-align: justify;">Simple a computer will not be able to pick the data from sending pins. So the transmission will be failed if we directly connect the two systems through the Straight-through UTP cable. To connect two systems directly we have to use the cross-over cable which connects sending pins with receiving pins.</p>
<p style="text-align: justify;"><strong>How Cross-over cable is built?</strong></p>
<p style="text-align: justify;">In Cross-over cable the pins which send data from one end connect with the pins which receive data on other end. Pin1 connects with Pin3 while Pin2 connects with Pin6.</p>
<p style="text-align: justify;"><strong>Where do we use Cross-over cable?</strong></p>
<p style="text-align: justify;">The Cross-over cable is used to connect the following: -</p>
<p style="text-align: justify;">Hub/Switch to Hub/Switch System to System Router to Router Router to System use of cross cable</p>
<p style="text-align: justify;"><strong>What is the Crosstalk?</strong></p>
<p style="text-align: justify;">Crosstalk is the interference which generates from adjacent wires.</p>1b7:T1719,<p style="text-align: justify;">Reviews are always viewed as indicators of quality, authenticity, and trust for any business, service or product. Most reviews across platforms like Facebook, Google and Yelp, are submitted by users and cannot be controlled from your end; you could still find and showcase the positive ones in the SERPs thanks to schema markups.</p>
<p style="text-align: justify;">Trying hard to <a href="https://www.trickyenough.com/become-respected-expert-in-your-niche/" target="_blank" rel="noopener">Become a Respected Expert in your Niche</a>, follow the basic rules and enjoy the riping results and boost your Site's Rankings.</p>
<p style="text-align: justify;"><strong>Schema Markups</strong></p>
<p style="text-align: justify;">Schema markups have been around in the SEO world for quite some time now. The term refers to a semantic vocabulary developed by the folks at Schema.org, sponsored by moguls like Microsoft, Google, and Pinterest, etc. These markups are code snippets which can be integrated into your website to tell search engines how they can interpret portions of information from the site, such that it can be presented in a useful manner to the end-user. Some schema types are&nbsp;beneficial for enhancing your content quality on the SERPs manifold. You could do it yourself or get the <a href="https://www.gingerdomain.com/Bulk-email-marketing-services-Mumbai/" target="_blank" rel="noopener">bulk email marketing services in Mumbai</a> firm which handles most of your online marketing to do it for you. A fantastic resource for using schema markups is also available from Google Developers.</p>
<p style="text-align: justify;"><strong>Markups for Reviews and Ratings</strong></p>
<p style="text-align: justify;">There are plenty of options in the markup vocabulary for reviews and ratings, and you can check them out on the website. Google has support for ratings for products, businesses, music, movies and a whole lot of things, so the possibilities are endless for how well you do by implementing a&nbsp;proper markup. There are two types of review schema markups, single review-single rating as well as aggregate ratings.</p>
<p style="text-align: justify;"><strong>Single Review with Single Rating</strong></p>
<p style="text-align: justify;">Things are pretty easy if you use markups for individual reviews. You can add all sorts of&nbsp;stuff into your code, like product name, review body, author, rating, publishing date and publisher. You will need to keep the rating scale in mind (Google uses a 5-point system by default) and customize your markups on that basis.</p>
<p style="text-align: justify;"><strong>Aggregate Ratings</strong></p>
<p style="text-align: justify;">The aggregate rating markup can be used if you have several reviews and a calculation of the average rating. The main difference between this markup and that for single reviews is the options for rating and review counts. The default is a 5-point scale, so you will have to use a bestRating and worstRating addition in your markup if you are using a different rating system.</p>
<p style="text-align: justify;"><strong>Creating Schema Markups and Implementing Them</strong></p>
<p style="text-align: justify;">The Google Structured Data Markup Helper is a fantastic tool for creating markups, but there are some other great free tools which you could use to pull all required data, model, and implement schema markups.</p>
<p style="text-align: justify;"><strong>Schema Creator for Single Reviews</strong></p>
<p style="text-align: justify;">Schema-Creator.org is a great online tool available for this, and it is&nbsp;effortless to use. Put the title of the review. The summary goes into the description, and the individual URL goes to the URL field. Next, fill in the fields corresponding to the author, item, date published, review body, rating and rating scale.</p>
<p style="text-align: justify;"><strong>Web Code Tools for Aggregate Rating Markups</strong></p>
<p style="text-align: justify;">The Web Code Tools form needs you to fill in the item name, 5-star scale rating, the number of votes and a total number of reviews. You can then copy the generated code onto your website.</p>
<p style="text-align: justify;"><strong>Testing with Google Structured Data Testing Tool</strong></p>
<p style="text-align: justify;">This tool is fantastic- it checks all your structured data for validity so that it gets picked up by crawlers. The first set of data is usually great, but there is scope for customization to make it robust and specific, and this is where the testing tool comes in handy, as you can check how well your optimizations work and if they are correct.</p>
<p style="text-align: justify;"><strong>Get It onto Your Website</strong></p>
<p style="text-align: justify;">Your code will be in HTML, so you&rsquo;ve got to put it into a compatible area like the HTML window in WordPress. You can always tweak the appearance through styling features or simple break tags (&lt;br&gt;) for formatting.</p>
<p style="text-align: justify;"><strong>Conclusion</strong></p>
<p style="text-align: justify;">Schema markup will not improve your rankings in terms of organic visibility but will impact organic CTR and increase traffic. You should keep an eye on Google Analytics and track your website&rsquo;s performance periodically. There are a whole lot of schema markups for all sorts of things which you can use to stand out on SERPS, so you should be open to experiments.</p>
<p style="text-align: justify;"><strong>Author bio: </strong><em>Walter Moore is a web developer and a blogger based in Mumbai. He is also an expert in SEO and has worked for several digital marketing firms in the past. He shares a number of posts with great resources, recommendations for services like <a href="https://www.gingerdomain.com/">GingerDomain.com</a> and updates related to SEM.</em></p>1b8:T2366,<p style="text-align: justify;">The open source framework, Hadoop ecosystem, helps to store and process Big Data in a distributed environment. It contains different sub-projects (tools) such as Sqoop, Pig, and Hive.</p>
<p style="text-align: justify;">Hive is an open-source data warehouse infrastructure tool to 1) process 2) query 3) analyze large structured datasets in Hadoop. This platform is used to develop SQL type scripts to do MapReduce operations.</p>
<h2>Hive Data Types</h2>
<p>Broadly Hives can be classified into Primitive and Complex data types.</p>
<h2>Hive Primitive Data Types</h2>
<h3>1. Integral Types</h3>
<p style="text-align: justify;">Integer type data can be specified using integral data types, referred as INT. When the data range is smaller than the INT, use SMALLINT and when the data range exceeds the range of INT or is greater than INT, then use BIGINT. TINYINT is smaller than SMALLINT.</p>
<p>The following table depicts various INT data types:</p>
<table class=" aligncenter" width="603">
<tbody>
<tr>
<td width="219">
<p style="text-align: center;"><strong>Type</strong></p>
</td>
<td width="177">
<p style="text-align: center;"><strong>Postfix</strong></p>
</td>
<td width="207">
<p style="text-align: center;"><strong>Example</strong></p>
</td>
</tr>
<tr>
<td width="219">
<p style="text-align: center;">TINYINT</p>
</td>
<td style="text-align: center;" width="177">Y</td>
<td style="text-align: center;" width="207">10Y</td>
</tr>
<tr>
<td width="219">
<p style="text-align: center;">SMALLINT</p>
</td>
<td width="177">
<p style="text-align: center;">S</p>
</td>
<td width="207">
<p style="text-align: center;">10S</p>
</td>
</tr>
<tr>
<td width="219">
<p style="text-align: center;">INT</p>
</td>
<td width="177">
<p style="text-align: center;">-</p>
</td>
<td width="207">
<p style="text-align: center;">10</p>
</td>
</tr>
<tr>
<td width="219">
<p style="text-align: center;">BIGINT</p>
</td>
<td width="177">
<p style="text-align: center;">L</p>
</td>
<td width="207">
<p style="text-align: center;">10L</p>
</td>
</tr>
</tbody>
</table>
<h3>2. Numeric Types</h3>
<ul style="text-align: center;">
<li style="text-align: left;">TINYINT (1-byte signed integer, from -128 to 127)</li>
<li style="text-align: left;">SMALLINT (2-byte signed integer, from -32,768 to 32,767)</li>
<li style="text-align: left;">INT (4-byte signed integer, from -2,147,483,648 to 2,147,483,647)</li>
<li style="text-align: left;">BIGINT (8-byte signed integer, from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807)</li>
<li style="text-align: left;">FLOAT (4-byte single precision floating point number)</li>
<li style="text-align: left;">DOUBLE (8-byte double precision floating point number)</li>
<li style="text-align: left;">DECIMAL (Hive 0.13.0 introduced user definable precision and scale)</li>
</ul>
<h3>3. String Types</h3>
<p style="text-align: justify;">String type data types are usually represented with single quotes (' ') or double quotes (" "). It contains two data types: VARCHAR and CHAR. Hive follows C-types escape characters.</p>
<table class=" aligncenter" width="603">
<tbody>
<tr>
<td width="180">
<p style="text-align: center;"><strong>Data Type</strong></p>
</td>
<td width="423">
<p style="text-align: center;"><strong>Length</strong></p>
</td>
</tr>
<tr>
<td width="180">
<p style="text-align: center;">VARCHAR</p>
</td>
<td width="423">
<p style="text-align: center;">1 to 65355</p>
</td>
</tr>
<tr>
<td width="180">
<p style="text-align: center;">CHAR</p>
</td>
<td width="423">
<p style="text-align: center;">255</p>
</td>
</tr>
</tbody>
</table>
<h3 style="text-align: left;">4. Date or Time Types</h3>
<ul style="text-align: center;">
<li style="text-align: left;">TIMESTAMP - It supports java.sql and also the traditional UNIX timestamp with optional nanosecond precision. Timestamp format &ldquo;YYYY-MM-DD HH:MM:SS.fffffffff&rdquo; and format &ldquo;yyyy-mm-dd hh:mm:ss.ffffffffff&rdquo;.</li>
<li style="text-align: left;">DATE - DATE values are described in year/month/day format in the form {{YYYY-MM-DD}}.</li>
</ul>
<h3 style="text-align: left;">5. Decimals</h3>
<p style="text-align: justify;">The DECIMAL type in Hive is as same as Bigdecimal format of Java. It is used for representing immutable arbitrary precision. Decimal type data is nothing but floating point value with higher range than DOUBLE data type. The range of decimal type is approximately 10308. to .&nbsp; The syntax and example is as follows:</p>
<p style="text-align: left; padding-left: 90px;"><em>DECIMAL(precision, scale)</em></p>
<p style="text-align: left; padding-left: 90px;"><em>decimal(10,0)</em></p>
<h3>6. Union Types</h3>
<p style="text-align: justify;">Union is a collection of heterogeneous data types. You can create an instance using create union. The syntax and example is as follows:</p>
<p style="text-align: left; padding-left: 90px;"><em>UNIONTYPE&lt;int, double, array&lt;string&gt;, struct&lt;a:int,b:string&gt;&gt;</em></p>
<p style="text-align: left; padding-left: 90px;"><em>{0:1} </em></p>
<p style="text-align: left; padding-left: 90px;"><em>{1:2.0} </em></p>
<p style="text-align: left; padding-left: 90px;"><em>{2:["three","four"]} </em></p>
<p style="text-align: left; padding-left: 90px;"><em>{3:{"a":5,"b":"five"}} </em></p>
<p style="text-align: left; padding-left: 90px;"><em>{2:["six","seven"]} </em></p>
<p style="text-align: left; padding-left: 90px;"><em>{3:{"a":8,"b":"eight"}} </em></p>
<p style="text-align: left; padding-left: 90px;"><em>{0:9} </em></p>
<p style="text-align: left; padding-left: 90px;"><em>{1:10.0}</em></p>
<h3>7. Floating Point Types</h3>
<p style="text-align: justify;">Numbers with decimal points are referred as Floating Point types. Generally, this type of data is composed of DOUBLE data type.</p>
<h3>8. Null Value</h3>
<p style="text-align: left;">Missing values are represented by NULL.</p>
<h2 style="text-align: left;">Hive Complex Data Types</h2>
<p style="text-align: left;">The Hive complex data types are as follows:</p>
<p style="text-align: left; padding-left: 90px;">arrays: ARRAY&lt;data_type&gt;</p>
<p style="text-align: left; padding-left: 90px;">maps: MAP&lt;primitive_type, data_type&gt;</p>
<p style="text-align: left; padding-left: 90px;">structs: STRUCT&lt;col_name : data_type [COMMENT col_comment], ...&gt;</p>
<p style="text-align: left; padding-left: 90px;">union: UNIONTYPE&lt;data_type, data_type, ...&gt;</p>
<h2>Hive Partitions</h2>
<p style="text-align: justify;">To simplify the query a portion of the data stored, Hive organizers tables into partitions. Based on the values of partitioned columns the data tables are segregated into parts. Which means the data within a table is split across multiple partitions. Particular value(s) of partition column(s) corresponds to each partition, which is stored in sub-directory of table&rsquo;s directory on HDFS.</p>
<h3><strong>How to Add Partition?</strong></h3>
<p>To add a table we need to alternate the table first. Let us assume we have a table called student with fields such as Id, Name, Class, &amp; Section.</p>
<h4>Syntax:</h4>
<p style="padding-left: 60px;">ALTER TABLE table_name ADD [IF NOT EXISTS] PARTITION partition_spec [LOCATION 'location1'] partition_spec [LOCATION 'location2'] ...;</p>
<p style="padding-left: 60px;">partition_spec:</p>
<p style="padding-left: 120px;">: (p_column = p_col_value, p_column = p_col_value, ...)</p>
<p>The following query is used to add a partition to the employee table.</p>
<p style="padding-left: 90px;">hive &gt; ALTER TABLE student &gt; ADD PARTITION (year=&rsquo;2013&rsquo;) &gt; location '/2012/part2012';</p>
<h3><strong>How to Rename a Partition?</strong></h3>
<h4>Syntax:</h4>
<p style="padding-left: 60px;">ALTER TABLE table_name PARTITION partition_spec RENAME TO PARTITION partition_spec;</p>
<p>The following query is used to rename a partition:</p>
<p style="padding-left: 90px;">hive &nbsp; &gt; ALTER TABLE student PARTITION (Class=&rsquo;6&rsquo;) &gt; RENAME TO PARTITION (Section=&rsquo;b&rsquo;);</p>
<h3><strong>How to Drop a Partition?</strong></h3>
<h4>Syntax:</h4>
<p style="padding-left: 60px;">ALTER TABLE table_name DROP [IF EXISTS] PARTITION partition_spec, PARTITION partition_spec,...;</p>
<p>The following query is used to drop a partition:</p>
<p style="padding-left: 90px;">hive &nbsp;&gt; ALTER TABLE employee DROP [IF EXISTS] &gt; PARTITION (Class=&rsquo;6&rsquo;);</p>
<hr />
<p>&nbsp;</p>
<h3><strong>Author Bio</strong></h3>
<p style="text-align: justify;"><strong>Natasha</strong> is a Content Manager at <a href="http://www.springpeople.com/">SpringPeople</a>. She has been in the edu-tech industry for 7+ years. With a aim to provide the best bona fide information on tech trends, she is associated with SpringPeople. SpringPeople is a global premier training provider for high-end and emerging technologies, methodologies and products. Partnered with parent organizations behind these technologies, SpringPeople delivers authentic and most comprehensive training on related topics.</p>1b9:T125a,<h2 style="text-align: justify;"><span style="color: #993300;">Groovy Interview Questions</span></h2>
<p style="text-align: justify;">Following are some of the most frequently asked Groovy interview questions in the interview, here are the answers for them.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Are The Dependencies For Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">As well as Java 1.4 and the Groovy jar we also depend at runtime on the ASM library.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Mention what relational operators is used for in Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Relational operators allows you to compare between objects, to check whether the two objects are different or same or if one is less than, greater than or equal to others.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Mention what relational operators is used for in Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Relational operators allows you to compare between objects, to check whether the two objects are different or same or if one is less than, greater than or equal to others.</p>
<h2><span style="color: #993300;">Groovy Script Interview Questions</span></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what does the JsonSlurper class indicates?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The JsonSlurper is a class that parses JSON text or reader content into Groovy data structures (objects) such as lists, maps, and primitive types like double, Boolean, string and Integer.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what is ExpandoMetaClass in Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">ExpandoMetaClass is used to add methods, properties, static methods and constructors. Expandoclass does not inherited by default; you have to call ExpandoMetaClass.enableGlobally().</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain how you can include a groovy script in another groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You can include a groovy script with another groovy by using the following code. When put this code at the top of the script it will bring in the contents of a groovy file.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain What Is Expandometaclass In Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">ExpandoMetaClass is used to add methods, properties, static methods and constructors. Expandoclass does not inherited by default; you have to call ExpandoMetaClass.enableGlobally().</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is Grails?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Grails is an open source web application framework that uses the Groovy and Java as programming language, this framework use another frameworks like Spring, Hibernate, SiteMesh and have and embebed H2 database, Tomcat server and ORM(GORM). this framework follow some design patters as Model View Controller(MVC), Convention Over Configuration(CoC), Don't repeat yourself(DRY) and runs over the Java Virtual Machine(JVM).</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain What Is Groovysh?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Groovysh is a command line application that enables an easy access to evaluate Groovy expressions, define classes and run experiments.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How Can I Turn On Logging For Hibernate In Order To See Sql Statements, Input Parameters And Output Results?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Edit your Config.groovy file. Find the line with:</p>
<p style="padding-left: 30px; text-align: justify;">hibernate = "off"</p>
<p style="padding-left: 30px; text-align: justify;">and replace it with:</p>
<p style="padding-left: 30px; text-align: justify;">hibernate.SQL="trace,stdout"</p>
<p style="padding-left: 30px; text-align: justify;">hibernate.type="trace,stdout"</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What Is Are The Closures In Groovy?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A closure in Groovy is an open, anonymous, block of code that can take arguments, return a value and be assigned to a variable.</p>1ba:T30b6,<h2 style="text-align: justify;">Networking Interview Questions</h2>
<p style="text-align: justify;">Following are some of the most frequently asked Networking&nbsp;interview questions in the interview, here are the answers for them.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is a node?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A network can consist of two or more computers directly connected by some physical medium such as coaxial cable or optical fiber. Such a physical medium is called as Links and the computer it connects is called as Nodes.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is a gateway or Router?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A node that is connected to two or more networks is commonly called as router or Gateway. It generally forwards message from one network to another.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Define Network?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A network is a set of devices connected by physical media links. A network is recursively is a connection of two or more nodes by a physical link or two or more networks connected by one or more nodes.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Protocol?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A protocol is a set of rules that govern all aspects of information communication.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is a Link?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">At the lowest level, a network can consist of two or more computers directly connected by some physical medium such as coaxial cable or optical fiber. Such a physical medium is called as Link.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the two types of transmission technology available?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">(i) Broadcast and</p>
<p style="padding-left: 30px; text-align: justify;">(ii) point-to-point</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Bandwidth?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Every line has an upper limit and a lower limit on the frequency of signals it can carry. This limited range is called the bandwidth.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain RIP (Routing Information Protocol)</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">It is a simple protocol used to exchange information between the routers.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is half-duplex?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">It is the mode of communication between two devices in which flow of data is bi-directional but not at the same time. ie each station can transmit and receive but not at the same time.</p>
<p style="padding-left: 30px; text-align: justify;">E.g walkie-talkies are half-duplex system.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is full duplex?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">It is the mode of communication between two devices in which flow of data is bi-directional and it occurs simultaneously. Here signals going in either direction share the capacity of the link.</p>
<p style="padding-left: 30px; text-align: justify;">E.g. telephone</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is sampling?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">It is the process of obtaining amplitude of a signal at regular intervals.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Asynchronous mode of data transmission?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">It is a serial mode of transmission. In this mode of transmission, each byte is framed with a start bit and a stop bit. There may be a variable length gap between each byte.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the advantages of Distributed Processing?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A list of advantages of distributed processing:</p>
<p style="padding-left: 60px; text-align: justify;">-Secure</p>
<p style="padding-left: 60px; text-align: justify;">-Support Encapsulation</p>
<p style="padding-left: 60px; text-align: justify;">-Distributed database</p>
<p style="padding-left: 60px; text-align: justify;">-Faster Problem solving</p>
<p style="padding-left: 60px; text-align: justify;">-Security through redundancy</p>
<p style="padding-left: 60px; text-align: justify;">-Collaborative Processing</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is bandwidth?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Every signal has a limit of upper range frequency and lower range frequency. The range of limit of network between its upper and lower frequency is called bandwidth.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the maximum length allowed for a UTP cable?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The maximum length of UTP cable is 90 to 100 meters.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is RIP?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">RIP stands for Routing information Protocol. It is accessed by the routers to send data from one network to another.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What do you understand by TCP/IP?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">TCP/IP is short for Transmission Control Protocol /Internet protocol. It is a set of protocol layers that is designed for exchanging data on different types of networks.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is netstat?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The "netstat" is a command line utility program. It gives useful information about the current TCP/IP setting of a connection.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What do you understand by ping command?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The "ping" is a utility program that allows you to check the connectivity between the network devices. You can ping devices using its IP address or name.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Sneakernet?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Sneakernet is the earliest form of networking where the data is physically transported using removable media.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain the peer-peer process.</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The processes on each machine that communicate at a given layer are called peer-peer process.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is a congested switch?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A switch receives packets faster than the shared link. It can accommodate and stores in its memory, for an extended period of time, then the switch will eventually run out of buffer space, and some packets will have to be dropped. This state is called congested state.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is multiplexing in networking?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">In Networking, multiplexing is the set of techniques that is used to allow the simultaneous transmission of multiple signals across a single data link.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is RSA Algorithm?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">RSA is short for Rivest-Shamir-Adleman algorithm. It is mostly used for public key encryption.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the different types of networks?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Networks can be divided on the basis of area of distribution. For example:</p>
<p style="padding-left: 30px; text-align: justify;"><strong>PAN (Personal Area Network):</strong> Its range limit is up to 10 meters. It is created for personal use. Generally personal devices are connected with this network. For example: computers, telephones, fax, printers etc.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>LAN (Local Area Network):</strong> It is used for a small geographical location like office, hospital, school etc.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>HAN (House Area Network):</strong> It is actually a LAN that is used within a house and used to connect homely devices like personal computers, phones, printers etc.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>CAN (Campus area Network)</strong>: It is a connection of devices within a campus area which links to other departments of the organization within the same campus.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>MAN (Metropolitan Area Network)</strong>: It is used to connect the devices which spans to large cities like metropolitan cities over a wide geographical area.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>WAN (Wide Area Network)</strong>: It is used over a wide geographical location that may range to connect cities and countries.</p>
<p style="padding-left: 30px; text-align: justify;"><strong>GAN (Global Area Network)</strong>: It uses satellites to connect devices over global are.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is anonymous FTP?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Anonymous FTP is used to grant users access to files in public servers. Users which are allowed access to data in these servers do not need to identify themselves, but instead log in as an anonymous guest.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the main elements of a protocol?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The main elements of a protocol are:</p>
<p style="padding-left: 60px; text-align: justify;"><strong>Syntax:</strong> It specifies the structure or format of the data. It also specifies the order in which they are presented.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>Semantics:</strong> It specifies the meaning of each section of bits.</p>
<p style="padding-left: 60px; text-align: justify;">Timing: Timing specifies two characteristics: When data should be sent and how fast it can be sent.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How many layers are in OSI reference model?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">There are 7 layers in OSI reference model.</p>
<p style="padding-left: 60px; text-align: justify;">Physical Layer</p>
<p style="padding-left: 60px; text-align: justify;">DataLink Layer</p>
<p style="padding-left: 60px; text-align: justify;">Network Layer</p>
<p style="padding-left: 60px; text-align: justify;">Transport Layer</p>
<p style="padding-left: 60px; text-align: justify;">Session Layer</p>
<p style="padding-left: 60px; text-align: justify;">Presentation Layer</p>
<p style="padding-left: 60px; text-align: justify;">Application Layer</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How many layers are in TCP/IP?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">There are basic 4 layers in TCP/IP:</p>
<p style="padding-left: 60px; text-align: justify;">Application Layer</p>
<p style="padding-left: 60px; text-align: justify;">Transport Layer</p>
<p style="padding-left: 60px; text-align: justify;">Internet Layer</p>
<p style="padding-left: 60px; text-align: justify;">Network Layer</p>1bb:T1213,<h2 style="text-align: justify;"><span style="color: #000000;">Automation Anywhere Resume</span></h2>
<p><span style="color: #000000;">6 1/2 Avenue, Manhattan's Street</span> <span style="color: #000000;">(646) 211 - 9110</span> <span style="color: #000000;">edwards@gmail.com</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;">Profile Summary</span></h3>
<ul>
<li><span style="color: #000000;">Business Analyst Experience in Automation Anywhere Tool.</span></li>
<li><span style="color: #000000;">Easily intermingle with Client Business Unit Leader.</span></li>
<li><span style="color: #000000;">Understand and Automate Business Manual Process through Automation tool.</span></li>
<li><span style="color: #000000;">Work experience on new cutting-edge technologies and new innovative design frameworks.</span></li>
<li><span style="color: #000000;">Monitoring day to day resolution closures and case aging.</span></li>
<li><span style="color: #000000;">Establishing connection among operations team and RPA for smooth flow.</span></li>
<li><span style="color: #000000;">Responsible for Gap Analysis and Technical Consulting fro BI.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;">Core Competencies</span></h3>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Learning New tools</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Process Improvement Initiatives</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Enhance Customer Satisfaction Level</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Managing team functions</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Maintaining the minimum turn around time</span></li>
<li style="text-align: justify;"><span style="color: #000000;">End to end process tracking.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;">Education</span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Bachelor of Engineering in Electronics and Communication, Brenau University, Washington.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;">Professional&nbsp;Experience</span></h3>
<p><span style="color: #000000;">Automation Anywhere Developer, Australia New Zealand Banking Group.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;">Key Areas:</span></h3>
<ul>
<li><span style="color: #000000;">Managing Scrum Board for Administration Projects.</span></li>
<li><span style="color: #000000;">Automate daily process with Automation Anywhere tool.</span></li>
<li><span style="color: #000000;">Integrate Automation Solutions with ERP, Desktop Application, etc.</span></li>
<li><span style="color: #000000;">Provide out of box solutions and reduce turn around time.</span></li>
<li><span style="color: #000000;">Ensuring effective performance for SLAs.</span></li>
<li><span style="color: #000000;">Supervising quality initiatives for process improvement.</span></li>
<li><span style="color: #000000;">Building and maintaining business relations and achieve delivery and quality service norms.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;">Accomplishments</span></h3>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Handled a team of 5 members.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Troubleshooting the issues and technical problems pertaining to Automation Anywhere.</span></li>
</ul>
<h2><span style="color: #000000;">Automation Anywhere Resume Secrets You Need To Know:</span></h2>
<ul>
<li><span style="color: #000000;">Highlight your accomplishments and responsibilities.</span></li>
<li><span style="color: #000000;">Make it clear in the &lsquo;Objectives&rsquo; that you are qualified for the types of jobs you are applying.</span></li>
<li><span style="color: #000000;">Bold the most recent job titles you have held.</span></li>
<li><span style="color: #000000;">Invest time in highlighting the most relevant skills.</span></li>
<li><span style="color: #000000;">Employ proficient terminology to speak about experiences in Resume.</span></li>
<li><span style="color: #000000;">Showcase transparency in Employment Gaps (if any).</span></li>
<li><span style="color: #000000;">Your Resume must showcase the critical field competency.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Download Sample Automation Anywhere Resume (PDF) Here :</strong></span></h3>
<p>Automation Anywhere Resume</p>1bc:T2ca8,<h2 style="text-align: left;"><span style="color: #236fa1; font-size: 24px;">Shell Scripting Interview Questions</span></h2>
<p style="text-align: justify;">Following are some of the most frequently asked Shell Scripting interview questions in the interview, here are the answers to them.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q1) Write down syntax for all loops in shell scripting?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans:</strong></p>
<p style="text-align: justify;"><em><strong>For loop:</strong></em></p>
<pre style="text-align: justify;">for i in $( ls ); do
echo item: $i
done

<span style="font-family: helvetica, arial, sans-serif;"><em><strong>While loop:</strong></em></span></pre>
<pre style="text-align: justify;">#!/bin/bash
COUNTER=0
while [ $COUNTER -lt 10 ]; do
echo The counter is $COUNTER
let COUNTER=COUNTER+1
done</pre>
<p style="text-align: justify;"><em><strong>Until loop:</strong></em></p>
<pre style="text-align: justify;">#!/bin/bash
COUNTER=20
until [ $COUNTER -lt 10 ]; do
echo COUNTER $COUNTER
let COUNTER-=1
done</pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q2) What it means by #!/bin/sh or #!/bin/bash at the beginning of every script?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>That line tells which shell to use. #!/bin/bash script to execute using /bin/bash. In case of python script there will be #!/usr/bin/python.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q3) What command "export" do?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Makes variable public in subshells.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q4) How to run the script in the background?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>add "&amp;" to the end of the script.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q5) What "chmod 500 script" do?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Makes script executable for script owner.</p>
<table style="border-collapse: collapse; width: 100%; height: 60px; background-color: #ECF0F1; border-color: #CED4D9; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 98.3496%; text-align: center;"><em>Want to acquire industry skills and gain complete knowledge of Shell Scripting? Enrol in Instructor-Led live <span style="color: #236fa1;"><a style="color: #236fa1;" title="UNIX Shell Scripting Training" href="https://tekslate.com/unix-shell-scripting-training" target="_blank"><strong>UNIX Shell Scripting Training</strong></a></span>&nbsp;to get Job Ready!</em></td>
</tr>
</tbody>
</table>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q6) What "&gt;" do?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>Redirects output stream to file or another stream.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q7) What difference between &amp; and &amp;&amp;</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong></p>
<p style="text-align: justify;"><em><strong>&amp;</strong></em> - we use it when we want to put the script to the background</p>
<p style="text-align: justify;"><em><strong>&amp;&amp;</strong></em> - when we want to execute a command/script if the first script was finished successfully</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q8) When do we need "if" before [ condition]?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>When we need to run several commands if the condition meets.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q9) What would be the output of the command: name=John &amp;&amp; echo 'My name is $name'</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>My name is $name</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q10) Which is the symbol used for comments in bash shell scripting?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>#</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q11) What would be the output of the command: echo ${new:-variable}</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>variable</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q12) What difference between ' and "quotes?</strong></span></h3>
<p><span style="color: #000000; font-size: 14px;"><strong>Ans:</strong></span></p>
<ul>
<li style="text-align: justify;">'<strong> - </strong>we use it when do not want to evaluate variables to the values.</li>
<li style="text-align: justify;">" - all variables will be evaluated and their values will be assigned instead.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q13) How to print all arguments provided in the script?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>echo $* or echo $@</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q14) What difference between [ $a == $b ] and [ $a -eq $b ]</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>[ $a == $b ] - should be used for string comparison [ $a -eq $b ] - should be used for number tests</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q15) What difference between = and ==</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Ans:</strong></span></p>
<ul>
<li style="text-align: justify;">= - we using to assign value to variable.</li>
<li style="text-align: justify;">== - we using for string comparison.</li>
</ul>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q16) Write the command to test if $a greater than 12?</strong></span></h3>
<pre style="text-align: justify;"><strong><span style="font-family: helvetica, arial, sans-serif;">Ans:</span> </strong>[ $a -gt 12 ]</pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q17) Write the command to test if $b is less or equal to 12?</strong></span></h3>
<pre style="text-align: justify;"><strong><span style="font-family: helvetica, arial, sans-serif;">Ans:</span> </strong>[ $b -le 12 ]</pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q18) How to redirect stdout and stderr streams to the log.txt file from the script inside?</strong></span></h3>
<pre style="text-align: justify;"><strong><span style="font-family: helvetica, arial, sans-serif;">Ans:</span> </strong>Add "exec &gt;log.txt 2&gt;&amp;1" as the first command in the script.</pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q19) How to get part of the string variable with the echo command only?</strong></span></h3>
<pre style="text-align: justify;"><span style="font-family: helvetica, arial, sans-serif;"><strong>Ans:</strong></span><br />echo ${variable:x:y}
x - start position
y - length
<span style="font-family: helvetica, arial, sans-serif;"><em><strong>example:</strong>
</em></span>variable="My name is Petras, and I am developer."
echo ${variable:11:6} # will display Petras</pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q20) How to get home_dir with echo command only if string variable="User:123:321:/home/dir" is given?</strong></span></h3>
<pre style="text-align: justify;"><span style="font-family: helvetica, arial, sans-serif;"><strong>Ans:</strong></span><br />echo ${variable#*:*:*:}
or
echo ${variable##*:}</pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q21) How to get &ldquo;User&rdquo; from the string above?</strong></span></h3>
<pre style="text-align: justify;"><span style="font-family: helvetica, arial, sans-serif;"><strong>Ans:</strong></span><br />echo ${variable%:*:*:*}
or
echo ${variable%%:*}
</pre>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 18px;"><strong>Q22) How to list users which UID less than 100 (awk)?</strong></span></h3>
<p style="text-align: justify;"><strong>Ans: </strong>awk -F: '$3&lt;100' /etc/passwd.</p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q23) Compare Numeric Operators</strong></span></h3>
<p><span style="color: #000000; font-size: 14px;"><strong>Ans:</strong></span></p>
<table style="border-collapse: collapse; width: 100%; border-style: solid;" border="1px" cellpadding="5">
<tbody>
<tr>
<td style="width: 101px; text-align: center;"><em><strong>Operator</strong></em></td>
<td style="width: 201.5px; text-align: center;"><em><strong>Syntax</strong></em></td>
<td style="width: 375.5px; text-align: center;"><em><strong>Description</strong></em></td>
</tr>
<tr>
<td style="width: 101px; text-align: center;">eq</td>
<td style="width: 201.5px;">INTEGER1 -eq INTEGER2</td>
<td style="width: 375.5px;">INTEGER1 is equal to INTEGER2</td>
</tr>
<tr>
<td style="width: 101px; text-align: center;">ge</td>
<td style="width: 201.5px;">INTEGER1 -ge INTEGER2</td>
<td style="width: 375.5px;">INTEGER1 is greater than or equal to INTEGER2</td>
</tr>
<tr>
<td style="width: 101px; text-align: center;">gt</td>
<td style="width: 201.5px;">INTEGER1 -gt INTEGER2</td>
<td style="width: 375.5px;">INTEGER1 is greater than INTEGER2</td>
</tr>
<tr>
<td style="width: 101px; text-align: center;">le</td>
<td style="width: 201.5px;">INTEGER1 -le INTEGER2</td>
<td style="width: 375.5px;">INTEGER1 is less than or equal to INTEGER2</td>
</tr>
<tr>
<td style="width: 101px; text-align: center;">lt</td>
<td style="width: 201.5px;">INTEGER1 -lt INTEGER2</td>
<td style="width: 375.5px;">INTEGER1 is less than INTEGER2</td>
</tr>
<tr>
<td style="width: 101px; text-align: center;">ne</td>
<td style="width: 201.5px;">INTEGER1 -ne INTEGER2</td>
<td style="width: 375.5px;">INTEGER1 is not equal to INTEGER2</td>
</tr>
</tbody>
</table>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q24) Syntax to define an array in bash?</strong></span></h3>
<p><strong>Ans: </strong>array=("Hi" "my" "name" "is")</p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q25) Print the first array element.</strong></span></h3>
<p><strong>Ans: </strong>echo ${array[0]}</p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q26) Print all array elements.</strong></span></h3>
<p><strong>Ans: </strong>echo ${array[@]}</p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q27) Print all array indexes syntax?</strong></span></h3>
<p><strong>Ans: </strong>echo ${!array[@]}</p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q28) Syntax to remove array element with id 123?</strong></span></h3>
<p><strong>Ans: </strong>unset array[123]</p>
<h3><span style="color: #e67e23; font-size: 18px;"><strong>Q29) Syntax to add a new element to the array with id 1980?</strong></span></h3>
<p><strong>Ans: </strong>array[1980]="New_element"</p>1bd:Tbf4,<h2><span style="color: #993300;">SVN Interview Questions</span></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What all things should be stored in SVN repository?</strong></span></p>
<ol class="simple-line" style="text-align: justify;">
<li>Source Code</li>
<li>MySQL Queries</li>
<li>Database Updates</li>
<li>Project regarding important files</li>
<li>Product Documents</li>
<li>Minutes of Metting and Imp Email</li>
</ol>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How to delete file from SVN Repo?</strong></span></p>
<p class="brush: php" style="padding-left: 30px; text-align: justify;">SVN delete filename</p>
<p class="brush: php" style="text-align: justify;"><span style="color: #993300;"><strong>Difference between SVN commit and SVN update?</strong></span></p>
<p class="brush: php" style="padding-left: 30px; text-align: justify;"><strong>SVN commit:</strong>: Push (upload) the local changes to Repository. <strong>SVN Update:</strong>: Get (download) the Repository changes files to local system.</p>
<p class="brush: php" style="text-align: justify;"><span style="color: #993300;"><strong>List out what is the best practices for SVN?</strong></span></p>
<ol class="simple-line" style="text-align: justify;">
<li>Work from your own local work-space</li>
<li>Commit small autonomous changes</li>
<li>Use comment</li>
<li>Validate the files you are committing, you actually changed</li>
<li>Take Update before commit to the Repo.</li>
</ol>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is "branch" , "Tag" and "Trunk" in SVN ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Trunk is the main body of development, originating from the start of the project till end.</p>
<p style="padding-left: 30px; text-align: justify;">Branch is a copy of code derived from a certain point in the trunk that is used for applying major changes to the code while preserving the integrity of the code in the trunk.</p>
<p style="padding-left: 30px; text-align: justify;">Trunk is a point in time on the trunk or a branch that you wish to preserve. This is like base-lining the code after a major release.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Difference between Update and Commit ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Update is used to update the local workspace with the changes committed by the team to the repository whereas Commit is the process to push changes from local to repository.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what is the difference between commit and update?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Update is used to update the local workspace with the changes made by the team to the repository, while commit is the process to implement changes from local to repository, in simple words, upload a file into repository.</p>
<p style="padding-left: 30px; text-align: justify;">&nbsp;</p>1be:T1296,<h2>Ajax Interview Questions</h2>
<p>Following are some of the most frequently asked Ajax interview questions in the interview, here are the answers for them. <span style="color: #993300;"><strong>What are disadvantage of Ajax?</strong></span></p>
<p style="padding-left: 30px;">It does not crawl to search Engine.</p>
<p><span style="color: #993300;"><strong>Define JSON?</strong></span></p>
<p style="padding-left: 30px;">JSON is JavaScript Object Notation.</p>
<p><span style="color: #993300;"><strong>Describe how to handle concurrent AJAX requests?</strong></span></p>
<p style="padding-left: 30px;">JavaScipt Closures can be used for handling concurrent requests.</p>
<p><span style="color: #993300;"><strong>What is Asynchronous in Ajax?</strong></span></p>
<p style="padding-left: 30px;">We can set the Asynchronous value as true OR false. <strong>Async=true</strong> Ajax request execute independently, Its response can come earlier than other request which is execute later . <strong>Async=true</strong> Ajax request does not execute independently, Its response can comes when earlier request finished.</p>
<p><span style="color: #993300;"><strong>What is the difference between JavaScript and AJAX?</strong></span></p>
<p style="padding-left: 30px;">JavaScript makes a request to the server and waits for the response. It consumes more bandwidth as it reloads the page.</p>
<p style="padding-left: 30px;">AJAX sends a request to the server and doesn't wait for the response. It doesn't reload the page so consumes less bandwidth.</p>
<p><span style="color: #993300;"><strong>What are the different ready states of a request in AJAX?</strong></span></p>
<p style="padding-left: 30px;">There are 5 ready states of a request in AJAX.</p>
<p style="padding-left: 30px;">0 means UNOPENED 1 means OPENED 2 means HEADERS_RECEIVED 3 means LOADING 4 means DONE</p>
<p><span style="color: #993300;"><strong>What does XMLHttpRequest?</strong></span></p>
<p style="padding-left: 30px;">sends data in the background receives data updates data without reloading the page</p>
<p><span style="color: #993300;"><strong>What are the real web applications of AJAX currently running in the market?</strong></span></p>
<p style="padding-left: 30px;">Twitter Facebook Gmail Javatpoint Youtube etc.</p>
<p><span style="color: #993300;"><strong>What is JSON in AJAX?</strong></span></p>
<p style="padding-left: 30px;">JSON stands for JavaScript Object Notation. It is easy to understand and data exchange is fast than XML. It supports array.</p>
<p><strong><span style="color: #993300;">What are the properties of XMLHttpRequest?</span></strong></p>
<p style="padding-left: 30px;">The important properties of XMLHttpRequest object are given below.</p>
<p style="padding-left: 60px;">onReadyStateChange</p>
<p style="padding-left: 60px;">readyState</p>
<p style="padding-left: 60px;">responseText</p>
<p style="padding-left: 60px;">responseXML</p>
<p class="h3"><span style="color: #993300;"><strong>What are the technologies used by AJAX?</strong></span></p>
<p style="padding-left: 30px;">HTML/XHTML and CSS</p>
<p style="padding-left: 30px;">DOM</p>
<p style="padding-left: 30px;">XML</p>
<p style="padding-left: 30px;">XMLHttpRequest</p>
<p style="padding-left: 30px;">JavaScript</p>
<p><span style="color: #993300;"><strong>What do the different readystates in XMLHttpRequest?</strong></span></p>
<p style="padding-left: 30px;">Following are different stats(0-4) of ready state in XMLHttpRequest 0 Ajax Request not initialized 1 Ajax Request's server connection established 2 Ajax Request received 3 Ajax Request processing 4 request finished and response is ready.</p>
<p><span style="color: #993300;"><strong>What js library are available to use the Ajax?</strong></span></p>
<p style="padding-left: 30px;">Following are few JS library which are used for Ajax</p>
<p style="padding-left: 30px;">JQuery</p>
<p style="padding-left: 30px;">MooTools</p>
<p style="padding-left: 30px;">Prototype</p>
<p style="padding-left: 30px;">YUI Library</p>
<p style="padding-left: 30px;">Backbone js</p>
<p><span style="color: #993300;"><strong>What are advantage of AJax?</strong></span></p>
<p style="padding-left: 30px;">Its faster as it load only required content.</p>
<p style="padding-left: 30px;">More user friendly.</p>
<p style="padding-left: 30px;">One page application possible due to Ajax.</p>
<p style="padding-left: 30px;">Reduce the loading of page.</p>
<p><span style="color: #993300;"><strong>What is XMLHttpRequest?</strong></span></p>
<p style="padding-left: 30px;">XMLHttpRequest is an API available to web browser scripting languages (i.e. JavaScript). It is used to send HTTP/HTTPS requests to a web server and load the server's response into the script.</p>1bf:T3e56,<h2 style="text-align: justify;">Web Service Interview Questions</h2>
<p style="text-align: justify;">Following are some of the most frequently asked Web Service interview questions in the interview, here are the answers for them.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain Web Services?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">A Web Service can be defined as an application component for communication or say exchanging information between two applications over the network. Web services basically work on client server model where web services are easily accessible to client applications over the network.</p>
<p style="padding-left: 30px; text-align: justify;">To enable communication between various applications, web services take the help of open standards like XML (for data tagging), SOAP (for message transferring) and WSDL (to denote service availability).</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the difference between SOA and a web service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">SOA (Service-Oriented Architecture) is an architectural pattern that makes possible for services to interact with one another independently.</p>
<p style="padding-left: 30px; text-align: justify;">Web Services is a realization of SOA concept, that leverages XML, JSON, etc. and common Internet protocols such as HTTP(S), SMTP, etc. SOA is a system-level architectural style that tries to expose business. WOA is an interface-level architectural style that focuses on the means by which these service capabilities are exposed to consumers.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is SOAP?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">SOAP (Simple Object Access Protocol) is a transport protocol for sending and receiving requests and responses on XML format, which can be used on top of transport protocols such as HTTP, SMTP, UDP, etc.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is the difference between a REST web service and a SOAP web service?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Below are the main differences between REST and SOAP web service</p>
<p style="padding-left: 30px; text-align: justify;">-REST supports different formats like text, JSON and XML; SOAP only supports XML; -REST works only over HTTP(S) on a transport layer; SOAP can be used different protocols on a transport layer; -REST works with resources, each unique URL is some representation of a resource; SOAP works with operations, which implement some business logic through different interfaces; -SOAP based reads can&rsquo;t be cached, for SOAP need to provide caching; REST based reads can be cached; -SOAP supports SSL security and WS-security(Web Service-security); REST only supports SSL security; -SOAP supports ACID (Atomicity, Consistency, Isolation, Durability); REST supports transactions, but it is neither ACID compliant nor can provide two phase commit.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is WSDL?</strong></span></p>
<p style="padding-left: 60px; text-align: justify;">WSDL (Web Services Description Language) is an XML format for describing web services and how to access them.</p>
<div class="p3" style="text-align: justify;"><span style="color: #993300;"><strong>What is MTOM?</strong></span> <strong> </strong></div>
<div class="p10" style="padding-left: 30px; text-align: justify;">MTOM (<span class="s2">Message Transmission Optimization Mechanism</span>) is a mechanism for transmitting large binary attachments with SOAP messages as raw bytes, allowing for smaller messages.</div>
<div class="p10" style="padding-left: 30px; text-align: justify;">&nbsp;</div>
<div class="p10" style="text-align: justify;"><strong><span style="color: #993300;"><label>Which language UDDI uses?</label></span></strong>
<div class="toggle-content">
<p style="padding-left: 30px;">WSDL is the language that UDDI uses.</p>
</div>
</div>
<div class="p10" style="text-align: justify;"><span style="color: #993300;"><strong>What is XOP?</strong></span></div>
<div class="p10" style="text-align: justify;">&nbsp;</div>
<div class="p10" style="padding-left: 30px; text-align: justify;">XOP (<span class="s2">XML-binary Optimized Packaging</span>) is a mechanism defined for the&nbsp;<span class="s3">serialization</span>of&nbsp;<span class="s3">XML Information Sets</span>&nbsp;that contain&nbsp;<span class="s3">binary</span>&nbsp;data, as well as&nbsp;<span class="s3">deserialization</span>&nbsp;back into the XML Information Set.</div>
<div class="p10" style="text-align: justify;">&nbsp;</div>
<div class="p10" style="text-align: justify;"><span style="color: #993300;"><strong>Define web service protocol stack and its layers?</strong></span></div>
<div class="p10" style="padding-left: 30px; text-align: justify;">&nbsp;</div>
<div class="p10" style="padding-left: 30px; text-align: justify;">Web service protocol stack consists of 4 layers. This can be described as follows 1) Service transport: This is the first layer which helps in transporting XML messages between various client applications. This layer commonly uses the below-mentioned protocols:</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">HTTP(Hypertext Transport Protocol) SMTP(Simple Mail Transport Protocol) FTP(File Transfer Protocol) BEEP(Block Extensible Exchange Protocol)</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">&nbsp;</div>
<div class="p10" style="padding-left: 30px; text-align: justify;">2) XML messaging: This layer is based on the XML model where messages are encoded in common XML format which is easily understood by others. This layer includes</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">XML-RPC SOAP(Simple Object Access Protocol)</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">&nbsp;</div>
<div class="p10" style="padding-left: 30px; text-align: justify;">3) Service description: This layer contains description like location, available functions, and data types for XML messaging which describes the public interface to a specific web service. This layer includes:</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">WSDL(Web Service Description Language)</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">&nbsp;</div>
<div class="p10" style="padding-left: 30px; text-align: justify;">4) Service discovery: This layer is responsible for providing a way to publish and find web services over the web. This layer includes:</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">UDDI(Universal Description, Discovery, and Integration)</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">&nbsp;</div>
<div class="p10" style="text-align: justify;"><span style="color: #993300;"><strong><label>What HTTP stands for?</label></strong></span>
<div class="toggle-content">
<p style="padding-left: 30px;">HTTP stands for Hyper Text Transfer Protocol.</p>
<span style="color: #993300;"><strong><label>What is XML-RPC?</label></strong></span>
<div class="toggle-content">
<p style="padding-left: 30px;">XML-RPC is a simple protocol that uses XML messages to perform RPCs.</p>
</div>
</div>
</div>
<div class="p10" style="text-align: justify;"><span style="color: #993300;"><strong><label>What are the features of SOAP?</label></strong></span></div>
<div class="p10" style="text-align: justify;">&nbsp;</div>
<div class="p10" style="text-align: justify;">Following are the features of SOAP &minus;
<div class="toggle-content" style="padding-left: 30px;">SOAP is a communication protocol.SOAP is for communication between applications. SOAP is a format for sending messages. SOAP is designed to communicate via Internet. SOAP is platform independent. SOAP is language independent. SOAP is simple and extensible. SOAP allows you to get around firewalls. SOAP will be developed as a W3C standard.</div>
<div class="toggle-content" style="padding-left: 30px;">&nbsp;</div>
<div class="toggle-content"><span style="color: #993300;"><strong><label>What are the primary security issues with web services?</label></strong></span>
<div class="toggle-content">
<p style="padding-left: 30px;">There are three specific security issues with web services &minus;</p>
<ul class="list">
<li>Confidentiality</li>
<li>Authentication</li>
<li>Network Security</li>
</ul>
</div>
</div>
<strong><span style="color: #993300;"><label>What do you mean by Web services manageability?</label></span></strong>
<div class="toggle-content">
<p style="padding-left: 30px;">Web services manageability is defined as a set of capabilities for discovering the existence, availability, health, performance, usage, as well as the control and configuration of a web service within the web services architecture. As web services become pervasive and critical to business operations, the task of managing and implementing them is imperative to the success of business operations.</p>
<span style="color: #993300;"><strong><label>What is WSDL?</label></strong></span>
<div class="toggle-content">
<p style="padding-left: 30px;">WSDL is an XML-based language for describing web services and how to access them.</p>
<span style="color: #993300;"><strong><label>What are the features of UDDI?</label></strong></span>
<div class="toggle-content" style="padding-left: 60px;">Following are the features of UDDI &minus; UDDI is a specification for a distributed registry of web services. UDDI is platform independent, open framework. UDDI can communicate via SOAP, CORBA, and Java RMI Protocol. UDDI uses WSDL to describe interfaces to web services. UDDI is seen with SOAP and WSDL as one of the three foundation standards of web services. UDDI is an open industry initiative enabling businesses to discover each other and define how they interact over the Internet. &nbsp;</div>
</div>
</div>
<span style="color: #993300;"><strong>What are the core layers in Web Service Protocol Stack?</strong></span></div>
<div class="p10" style="padding-left: 30px; text-align: justify;">&nbsp;</div>
<div class="p10" style="padding-left: 30px; text-align: justify;">The Web Service Protocol Stack is still evolving, but currently has four main layers &minus;</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">Service Transport XML Messaging Service Description Service Discovery</div>
<div class="p10" style="padding-left: 60px; text-align: justify;">&nbsp;</div>
<div class="p10"><span style="color: #993300;"><strong><label>What is the purpose of Service Requestor in Web Service architecture?</label></strong></span>
<div class="toggle-content">
<p style="padding-left: 30px; text-align: justify;">This is any consumer of the web service. The requestor utilizes an existing web service by opening a network connection and sending an XML request.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Enlist few advantages of web services?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">We have already discussed web services, its architecture, components. Now, let us see some its advantages</p>
<p style="padding-left: 60px; text-align: justify;">-Every application is now on the internet and it the web service which provides some sort of required functionality to the client applications. -Web services help in exposing the existing functionalities over the network to help other applications to use in their programs. -It has features like &lsquo;Interoperability&rsquo; which determines the communication between various applications, sharing of data as well as services among themselves. -Web services use the standardized web service protocol stack for communication which consists of 4 layers namely, Service Transport, XML messaging, Service description and Service discovery. -It has the feature of the low cost of communication because of the usage of SOAP (Simple Object Access Protocol) over HTTP protocol. -Easy to deploy, integrate and is reusable. -Allows simple integration between different feature as a part of loose coupling feature.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain BEEP?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">BEEP stands for Blocks Extensible Exchange Protocol. BEEP is determined as building new protocols for the variety of applications such as instant messaging, network management, file transfer etc. It is termed as new Internet Engineering Task Force (IETF) which is layered directly over TCP. It has some built-in features like</p>
<p style="padding-left: 60px; text-align: justify;">Authentication</p>
<p style="padding-left: 60px; text-align: justify;">Security</p>
<p style="padding-left: 60px; text-align: justify;">Error handling</p>
<p style="padding-left: 60px; text-align: justify;">Handshake Protocol</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain the advantages of RESTful web services?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Enlisted below are the advantages of RESTful web services</p>
<p style="padding-left: 60px; text-align: justify;">-They are considered as language and platform independent as these can be written in any programming language and can be executed on any platform. -REST is lightweight protocol and is considered as fast because of less consumption of bandwidth and resources. -It supports multiple technologies and different data formats like plain text, XML, JSON, etc. -It has loosely coupled implementation and can be tested easily over browsers.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain different HTTP methods supported by RESTful web services?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Enlisted below are some common HTTP methods along with their functions that are supported by RESTful web services</p>
<p style="padding-left: 60px; text-align: justify;"><strong>GET:</strong>&nbsp;Read-only access to the resource.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>PUT:</strong>&nbsp;Creation of new resource.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>DELETE:</strong>&nbsp;Removal of a resource.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>POST:</strong>&nbsp;Update of an existing resource.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>OPTIONS:</strong>&nbsp;Get supported operations on the resource.</p>
<p style="padding-left: 60px; text-align: justify;"><strong>HEAD:</strong>&nbsp;Returns HTTP header only, nobody.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>For designing a secure RESTful web service, what are the best factors that should be followed?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">As HTTP URL paths are used as a part of RESTful web service, so they need to be secured. Some of the best practices include the following</p>
<p style="padding-left: 60px; text-align: justify;">Perform validation of all inputs on the server from SQL injection attacks.</p>
<p style="padding-left: 60px; text-align: justify;">Perform user&rsquo;s session based authentication whenever a request is made.</p>
<p style="padding-left: 60px; text-align: justify;">Never use sensitive data like username, session token password, etc through URL. These should be passed via POST method.</p>
<p style="padding-left: 60px; text-align: justify;">Methods like GET, POST, PUT, DELETE, etc should be executed with proper restrictions.</p>
<p style="padding-left: 60px; text-align: justify;">HTTP generic error message should be invoked wherever required.</p>
</div>
</div>1c0:T300b,<h2 style="text-align: justify;"><span style="color: #000000;">Ember JS Interview Questions</span></h2>
<p style="text-align: justify;">Following are some of the most frequently asked Ember JS interview questions in the interview, here are the answers for them.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is EmberJS? </strong></span></p>
<p style="padding-left: 30px; text-align: justify;">It is javasScript framework based on Model-view-controller(MVC) and written in javascript. It allows developers to create scalable single-page web applications by incorporating common idioms. In this, Route is used as model, template as view and controller manipulates the data in the model.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is old name of EmberJS?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">SproutCore <a href="https://tekslate.com/mvc-architecture-in-angularjs/">MVC</a> framework</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>In which language, EmberJS is written?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;"><a href="https://tekslate.com/tutorials/javascript-tutorials/">javaScript</a></p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what Ember.js is and how it works?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Ember.js is used for creating web applications that eliminates boilerplate and at the same time provides a standard application architecture.</p>
<p style="padding-left: 30px; text-align: justify;">Ember helps to create applications, whose logic runs in browser and also it does not require server requests to functions. Ember update the DOM directly and instantly when any user interacts with things like button and text boxes on the browser page.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain how ember applications are structured?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">The application ember.js is based on MVC (Model, View, Controller) structure</p>
<p style="padding-left: 30px; text-align: justify;">Models: It defines the data that is used in an application Controllers: It modifies query and edit the data and provide user interactions Views: It display the data and capture user actions</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain how is ember.js is different than traditional web application?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">In Ember.js, instead of majority of your application&rsquo;s logic living on the server, an ember.js application downloads everything it required to run in the initial page load. So user does not have to load a new page while using the app and UI will responds quickly. The advantage of this architecture is that your web application uses the same REST API as your native App.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what is the difference between Router and Route in ember.js?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Router: It is the connecting point between browser&rsquo;s address bar and our application. It translates address into Route</p>
<p style="padding-left: 30px; text-align: justify;">Route: It is where a user request will land after it was translated by a Router. Route decides what data should be provided to the Template</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what is serializer?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">For turning a raw JSON ( JavaScript Object Notation ) payload returned from your server into a record object a serializer is responsible. JSON APIs may represent attributes and relationship in many different ways.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>How can you define a new ember class?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You can use call the extend () method on Ember.object to define a new ember class</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain how you can create an Ember. handlebars template?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Call Ember.Handlebars.Compile() to create an ember.handlebars template. It will return a function which can be used by ember.view for rendering.</p>
<p style="text-align: justify;"><strong><span style="color: #993300;">Explain what is Ember-data?</span></strong></p>
<p style="padding-left: 30px; text-align: justify;">Ember-Data is a library that retrieve records from a server, store them, update them in the browser and save them back to the server.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain the role of adapter and types of adapters?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Adapter queries the back end, each adapter is made up of particular back end. For example Rest adapter deals with JSON APIs and LSAdapter deals with local storage.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are basic models of EmberJS?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Routes: State of application is represented by URL and each URL has a corresponding route object that.</p>
<p style="padding-left: 30px; text-align: justify;">Models: Use to load data from Server.</p>
<p style="padding-left: 30px; text-align: justify;">Templates: This is html of layout.</p>
<p style="padding-left: 30px; text-align: justify;">Components: It is custom tag.</p>
<p style="padding-left: 30px; text-align: justify;">Services: Services are just singleton objects to hold long-lived data such as user sessions</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are the Features of EmberJS?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Creating reusable modules</p>
<p style="padding-left: 30px; text-align: justify;">Handlebars Templates</p>
<p style="padding-left: 30px; text-align: justify;">Automatice determines the route and controller during declaration of the route resources</p>
<p style="padding-left: 30px; text-align: justify;">Used routes</p>
<p style="padding-left: 30px; text-align: justify;">Extensive view type support.</p>
<p style="padding-left: 30px; text-align: justify;">Easy to configure</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What is Enumerables in Ember.js?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">enumerable is any object that contains a number of child objects, and enables you to work with those children using the Ember.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain Application Template?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Application Template is a default template that is used when your application starts.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain the role of adapter?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Adapter queries the back end, each adapter is made up of a particular back end.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain How You Can Create Instances In Ember.js?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You can create a new instance once you have defined the class by calling its create() method. Any properties or methods you defined on the class will be available to instances.</p>
<p style="text-align: justify;"><strong><span style="color: #993300;">Explain What Is The Use Ember.sortablemixin?</span></strong></p>
<p style="padding-left: 30px; text-align: justify;">For array proxies Ember.SortableMixin provides a standard interface to specify a sort order and maintain this sorting when objects are updated, removed or added without changing the order of the underlying model array.</p>
<h2><span style="color: #000000;">Ember Interview Questions</span></h2>
<p style="text-align: justify;"><span style="color: #993300;"><strong>List out main components of Ember.js?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Models</p>
<p style="padding-left: 30px; text-align: justify;">The Router</p>
<p style="padding-left: 30px; text-align: justify;">Controllers</p>
<p style="padding-left: 30px; text-align: justify;">Views</p>
<p style="padding-left: 30px; text-align: justify;">Components</p>
<p style="padding-left: 30px; text-align: justify;">Templates</p>
<p style="padding-left: 30px; text-align: justify;">Helpers</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Why I use EmberJS?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Open source JavaScript framework</p>
<p style="padding-left: 30px; text-align: justify;">Flexible framework that embraces the concept of fast web page</p>
<p style="padding-left: 30px; text-align: justify;">It has smaller size as compare to other library</p>
<p style="padding-left: 30px; text-align: justify;">Data binding Support</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>What are different template components in Ember.js?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">-Partial</p>
<p style="padding-left: 30px; text-align: justify;">-View</p>
<p style="padding-left: 30px; text-align: justify;">-Render</p>
<p style="padding-left: 30px; text-align: justify;">-Yield</p>
<p style="padding-left: 30px; text-align: justify;">-Outlet</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>When First EmberJS was released?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">December 08, 2011</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>When latest EmberJS was released?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">November 16, 2015</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Who created EmberJS?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Yehuda Katz</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what is Enumerables in ember.js ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">In Ember.js an enumerable is any object that contains a number of child objects, and enables you to work with those children using the Ember.Enumerable API. Native JavaScript array is the most common enumerable in majority of Apps.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain what is ember.mixin class ?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">Ember.mixin class can create objects, whose functions and properties can be shared among other instances and classes. This will help to share behaviour between objects as well as design objects.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain how you can create instances in ember.js?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">You can create a new instance once you have defined the class by calling its create() method. Any properties or methods you defined on the class will be available to instances.</p>
<p style="text-align: justify;"><span style="color: #993300;"><strong>Explain how you can add data using fixture into an application?</strong></span></p>
<p style="padding-left: 30px; text-align: justify;">In order to put sample data into an application before connecting the application to long-term persistence, fixtures are used.</p>
<p style="padding-left: 60px; text-align: justify;">-First update js/application.js to indicate that your application&rsquo;s&nbsp;application adapter&nbsp;is an extension of the DS.FixtureAdapter.&nbsp; Adapters are used for communicating with a source of data for your application.&nbsp; Usually, this will be a web service API.</p>
<p style="padding-left: 60px; text-align: justify;">-Next, update the file at js/models/todo.js</p>1c1:T1173,<h2 style="text-align: justify;"><span style="color: #000000;"><strong>SAP HANA RESUME</strong></span></h2>
<p style="text-align: justify;"><span style="color: #000000;">300 Boylston, Seattle.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">(415) 529&nbsp; 354.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">johnsmith@gmail.com.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Professional Summary :</strong></span></h3>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Good Knowledge in Data ware housing and Data modelling concepts.</span></li>
<li><span style="color: #000000;">Having Knowledge in generating analysis appliance report using BO design studio.</span></li>
<li><span style="color: #000000;">Holds excellent interpersonal and communication skills with demonstrated abilities in maintaining customer relationship management.</span></li>
<li><span style="color: #000000;">Good in Technical issues, problem solving and confident decision making.</span></li>
<li><span style="color: #000000;">Providing the training sessions to the team members on introduction to development on SAP HANA and currently handling the projects.</span></li>
<li><span style="color: #000000;">Worked on file extraction and reporting tools using HANA.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;">Key competencies :</span></h3>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Data bases : Oracle, Data base management system, SAP HANA, studio.</span></li>
<li><span style="color: #000000;">Tools : SAP net weaver portal, HTML.</span></li>
<li><span style="color: #000000;">Languages : Java script, ABAP/4.</span></li>
<li><span style="color: #000000;">Operating systems : Windows server 2007.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Educational Qualifications :</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Bachelor of Engineering in computer science Engineering, University of Texas, Dallas.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Professional Experience :</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Working as SAP HANA Developer in American Air Lines Group, Texas.</span></p>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Duties and Responsibilities :</strong></span></h3>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Using the SAP HANA studio created&nbsp; the data modelling for analytical, attribute and calculation views.</span></li>
<li><span style="color: #000000;">Creating the data modelling views based on business requirements.</span></li>
<li><span style="color: #000000;">Migration of objects from one to another (BW to HANA) based on requirements.</span></li>
<li><span style="color: #000000;">Involved in creating decision tables and performed calculation using function provided by HANA.</span></li>
<li><span style="color: #000000;">Developed and Executed queries in the back end.</span></li>
<li><span style="color: #000000;">Developed functional modules, standard reports, user exits and smart forms.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Accomplishments :&nbsp;</strong></span></h3>
<ul style="text-align: justify;">
<li><span style="color: #000000;">Handling a team of 7 members.</span></li>
<li><span style="color: #000000;">Troubleshooting the issues and technical problems pertaining SAP HANA.</span></li>
</ul>
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>SAP HANA Sample Resume Tips For Better Resume :</strong></span></h3>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Highlight your Duties and Responsibilities.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Make it clear in the 'Objectives' that you are qualified for the types of job you are applying.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Bold the most recent jobs you have held.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Invest time in highlighting the most relevant skills.</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Showcase transparency in employment gaps (if any).</span></li>
</ul>1c2:T1a7c,<h2 style="text-align: justify;">Octopus Deploy Interview Questionss</h2>
<p style="text-align: justify;">Following are some of the most frequently asked Octopus Deploy interview questions in the interview, here are the answers for them.</p>
<p><span style="color: #993300;"><strong>What are the delivery practices that Octopus Deploy can consider?</strong></span></p>
<p style="padding-left: 30px;">It is capable to easily deal with the delivery practices that are based on agile. In this practice, it is easy for the developers to make sure elimination of the run-time error without compromising with the efficiency. In addition to this, agile environment is secure and always make sure of outcomes that can be trusted in the long run.</p>
<p><span style="color: #993300;"><strong>What are consistent releases in the Octopus Deploy tool?</strong></span></p>
<p style="padding-left: 30px;">Well, this is basically an approach that can be considered to avoid situation when the deployment process needs to be made more secure. Many times there is a need to deploy resources for one module of the deployment and not to the other. For example, users are deployed for testing are not allowed to take part in any activity related to the production. In such a scenario, this approach ensure that all the processes related to deployment remain consistent when the users deployed for testing try to take part in production. Such situation is considered as consistent releases because the process remains consistent.</p>
<p><span style="color: #993300;"><strong>In which OS is it possible for the users to deploy the software or an application through Octopus?</strong></span></p>
<p style="padding-left: 30px;">With the Octopus Deploy, it is possible for the users to deploy the applications or the software into the Microsoft, Azure, Linux Servers as well as Windows Servers.</p>
<p><span style="color: #993300;"><strong>What is the significance of organizing the infrastructure in the environment?</strong></span></p>
<p style="padding-left: 30px;">This simply let the users define the deployment process which is very essential. This actually let the users understand the sub-tasks which are critical. This makes sure of error-free outcomes without compromising with anything. Users can also pay attention to the overall number of machines which are required to perform the task in a right manner.</p>
<p><span style="color: #993300;"><strong>Can deployments be repeated in the Octopus? What can be its impact on the project?</strong></span></p>
<p style="padding-left: 30px;">Yes, this is possible and can simply be achieved. Of course, it cut down the complexity and makes a project very reliable and useful.</p>
<p><span style="color: #993300;"><strong> Is it possible to use &ldquo;Releases&rdquo; in all the environment at the same time?</strong></span></p>
<p style="padding-left: 30px;">No, this is not possible. Generally they are called in the first environment. Their success in the same decides whether they can be utilized in the next or not. A lot of applications are there which support them in a reliable manner while with some there are many issues. In testing, whenever there is a new task, a release is required to be created.</p>
<p><strong><span style="color: #993300;">What is&nbsp;Local vs Remote Tentacle deployments</span></strong> This requires that a Tentacle is installed on each of your SQL Server host servers. For example, if you have 2 SQL Server machines in each your environments (Dev,Test &amp; Prod), you would need to install the agent on 6 servers. To reduce maintenance of your deployment server infrastructure, you may prefer to deploy from a single "central" Tentacle instead, assuming your network layout permits it. Follows these steps to perform a remote deployment from a single deployment agent:</p>
<ol>
<li>In your project variables, add a variable called&nbsp;<em>DatabaseServer</em>&nbsp;and scope it appropriately for each of your target environments and/or deployment step(s)</li>
<li>Install the&nbsp;SQL Native Client 2012 (x86/x64)&nbsp;and&nbsp;SQL Command Line Utilities 2012&nbsp;(x86/x64)&nbsp;on the Tentacle server.</li>
<li>Install the&nbsp;OctopusDeploy Tentacle&nbsp;on a server that can communicate with the target SQL Server instances.</li>
<li>Add the machine on the Octopus&nbsp;<em>Environments</em>&nbsp;page, and under&nbsp;<em>Deployment,</em>&nbsp;specify all environments. Assign a new role name to the machine, e.g.&nbsp;<em>remote-sql-deployment</em>.</li>
<li>On the project&nbsp;<em>Process</em>&nbsp;page, update the package step with the new role name.</li>
</ol>
<p><span style="color: #993300;"><strong>What exactly do you known about the deployment process in the Octopus Deploy?</strong></span></p>
<p style="padding-left: 30px;">This process in the Octopus seems quite similar to that of a small application that is used for software deployment. Firstly there are some steps which need to be added for defining the recipe. After this, variables are added in the process. There is no strict upper limit on the steps in the Octopus. Users are free to choose them as per their experience and interest. These are available&nbsp;in the step library. The experienced developers can even define their own steps. Each step defines a group or a series of action which the tool executes for the related deployment process. It is necessary that process shouldn&rsquo;t change too frequently.</p>
<p><span style="color: #993300;"><strong>Is there any similarity between tenants and channels in the Octopus Deploy?</strong></span></p>
<p style="padding-left: 30px;">Well, the fact is both seem quite similar to each other. This is because they both are responsible for eliminating one major problem and i.e. avoiding duplicacy of information. However, both are different in many aspects. The channel makes sure no copy of same information is present in the deployment process and at a user level. On the other side, the tenants make sure of same but on an enterprise level. It make sure that software can be modified in a different manner for every user but without facing the complexity issues that comes mainly due to duplicate or similar information with each dedicated copy.</p>
<p><span style="color: #993300;"><strong>What are the types of projects that you can manage with the help of Octopus Deploy?</strong></span></p>
<p style="padding-left: 30px;">There are many projects that can be managed in actual sense. The first thing is the deployment of the applications even when the same is on a large scale. Also, multiple software can also be managed and run with the help of this approach in a very reliable manner. The dedicated description of multiple projects can also be assured through this tool.</p>1c3:Tb23,<h2><strong>Angular JS Sample Resume</strong></h2>
<p>369 Main Street, Seattle, Washington. (415) 412 258. stefen@gmail.com.</p>
<h3><strong>Professional Summary :</strong></h3>
<ul>
<li>Strong experience in Software Development Life Cycle (SDLC), designing and developing user experiences of web applications.</li>
<li>Having knowledge on working with CSS modules.</li>
<li>Good Experience in Search Engine Optimization in order to develop web applications.</li>
<li>Expertise in using various modules like waterfall, Agile scrum process.</li>
<li>Having extensive knowledge in web application servers like Tomcat.</li>
<li>Good in testing and debugging new programs using developer tools.</li>
</ul>
<h3><strong>Technical Strengths :</strong></h3>
<ul>
<li>Programming Languages : C, C# , java.</li>
<li>Browser : Opera, Firefox.</li>
<li>Data bases : SQL server, Teradata.</li>
<li>Web Technologies : XML, HTML, node.js</li>
<li>Tools : Bugzilla, Firebug.</li>
</ul>
<h3><strong>Educational Qualifications :</strong></h3>
<ul>
<li>Masters Degree in Computer Science Applications, Newyork Institute of Technology, Newyork.</li>
<li>Bachelor's degree in Computer Engineering, st.john college, Newyork.</li>
</ul>
<h3><strong>Professional Experience :</strong></h3>
<ul>
<li>Having 1 year experience in Angular Js developer, ABC corporation, Newyork.</li>
</ul>
<h3><strong>Roles and Responsibilities :</strong></h3>
<ul>
<li>Working closely with marketers and designers to rapidly ship new front-end experiments.</li>
<li>Implement front end experiences using process flow and sitemaps to bring interaction and design ideas.</li>
<li>Developed and designed custom jQuery components for the front end client side validations.</li>
<li>Developed a responsive web application integrating Bootstrap with Angular JS.</li>
<li>Created Responsive web design using Angular JS and did data manipulations to display data in company standard format.</li>
<li>Developed user interfaces for applications with the latest Front end technologies.</li>
<li>Expertise in developing web pages for different devices like desktop, mobile and tablet using Twitter bootstrap.</li>
</ul>
<h3><strong>Accomplishments :</strong></h3>
<ul>
<li>&nbsp;Established an IT team to&nbsp; support regional operations.</li>
<li>Implemented third -party solutions.</li>
</ul>
<h3>&nbsp;<strong>Angular JS Sample Resume&nbsp; Tips For Better Resume :&nbsp;</strong></h3>
<ul>
<li>Invest time in underlining the most relevant skills.</li>
<li>Bold the most recent job titles you have held.</li>
<li>Highlight your roles and responsibilities.</li>
<li>Make it clear in the 'Objectives' that your are qualified for the type of job you are applying.</li>
<li>Showcase transparency in Employment Gaps (if any).</li>
<li>Feature your communication skills and quick learning ability.</li>
</ul>1c4:Tcf3,<h2 style="text-align: justify;"><strong>Application Package and Virtualization</strong></h2>
<p style="text-align: justify;">77 Main Colony, Seattle, Washington.</p>
<p style="text-align: justify;">(865) 954 785.</p>
<p style="text-align: justify;">robert@gmail.com.</p>
<h3 style="text-align: justify;"><strong>Profile Summary :</strong></h3>
<ul style="text-align: justify;">
<li>Designing Application Packages and deployed using SCCM globally to several workstations.</li>
<li>Providing on call rotation for software install and SCCM support.</li>
<li>Maintained review logs and executed Smoke Test.</li>
<li>Troubleshooting and virtualization of application installations using App-V sequencer.</li>
<li>Used Wise scripts and Vb scripts to add different functionalities in packaging and to schedule tasks.</li>
<li>Performed Quality Assurance test documentation based on the requirements of the company.</li>
</ul>
<h3 style="text-align: justify;"><strong>Key skills :</strong></h3>
<ul style="text-align: justify;">
<li>Operating systems : Windows XP.</li>
<li>Packaging &amp; deployment tools : WisePackageStudio 7.0, softgrid 4.x.</li>
<li>Data bases : Oracle 10g, MS SQL server.</li>
<li>Protocols :HTTP, SMTP.</li>
</ul>
<h3 style="text-align: justify;"><strong>Educational Qualifications :</strong></h3>
<ul style="text-align: justify;">
<li>Bachelor of Engineering in Information Technology, Confidential University, Chicago.</li>
</ul>
<h3 style="text-align: justify;"><strong>Professional Experience :</strong></h3>
<ul style="text-align: justify;">
<li>Having 2 years experience in Application Packaging developer, ABC Corporation, Florida.</li>
</ul>
<h3 style="text-align: justify;"><strong>Duties and Responsibilities :</strong></h3>
<ul style="text-align: justify;">
<li>Involved in creating the App-V sequences for windows XP environment and publishing production environments and UAT.</li>
<li>Using WisePackageStudio, created windows installer setup packages.</li>
<li>Worked with windows to connect database through ODBC data sources.</li>
<li>Taking the backups on windows by developing the backup strategy.</li>
<li>Involved on working with different applications to develop MSI packages and using Transforms patches according to the package requirement.</li>
<li>Involved in working on migrating windows NT 4.0 packages to XP machines.ts</li>
</ul>
<h3 style="text-align: justify;">&nbsp;<strong>Accomplishments :</strong></h3>
<ul style="text-align: justify;">
<li>Handled a Team of 3 members.</li>
<li>Troubleshooting the issues and finding the defects.</li>
</ul>
<h3 style="text-align: justify;"><strong>Application Package and Virtualization Sample Resume Tips For Better Resume :</strong></h3>
<ul>
<li style="text-align: justify;">Bold the most recent job titles you have held.</li>
<li style="text-align: justify;">Invest time in underlining the most relevant skills.</li>
<li style="text-align: justify;">Showcase transparency in employment Gaps (if any).</li>
<li style="text-align: justify;">Feature your communication skills and quick learning ability.</li>
<li style="text-align: justify;">Make it clear in the 'Objectives' that you are qualified for the type of job you are applying.</li>
<li style="text-align: justify;">Highlight your Roles and Responsibilities.</li>
</ul>1c5:T2489,<h2 style="text-align: justify;"><span style="color: #000000;">Example No: 1 - Automate Windows Services - Check telnet service status and start telnet service if not started</span></h2>
<h3 style="text-align: justify;"><span style="color: #000000;">Task Description</span></h3>
<p><span style="color: #000000;">While running terminal commands, telnet service must be in started. For the purposes of this we check whether telnet service is started or not, if not then we will start the telnet service.</span> <span style="color: #000000;">T80.atmx</span> <span style="color: #000000;"><em>Note: Save the xls in C: drive, the .atmx file in My Documents -&gt; Automation Anywhere -&gt; Automation Anywhere -&gt; My Tasks</em></span></p>
<div class="row buffer-bottom">
<div class="col-xs-8">
<h3 style="text-align: justify;"><span style="color: #000000;">Solutions</span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Create a new task</strong></span></p>
<ul>
<li><span style="color: #000000;">Click on New-&gt;Task Editor</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Insert service command to &lsquo;Get Service Status&rsquo;</strong></span></p>
<ul>
<li><span style="color: #000000;">Drag and drop services command.</span></li>
<li><span style="color: #000000;">Select &lsquo;Get service status&rsquo; option.</span></li>
<li><span style="color: #000000;">Select Telnet service from the list.</span></li>
<li><span style="color: #000000;">Select the variable from the list.</span></li>
<li><span style="color: #000000;">Save the command.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Enter if condition to check whether the service is started or not.</strong></span></p>
<ul>
<li><span style="color: #000000;">Select $Prompt-Assignment$ in variable.</span></li>
<li><span style="color: #000000;">Select Equal to operation.</span></li>
<li><span style="color: #000000;">Select &lsquo;Fix&rsquo; option.</span></li>
<li><span style="color: #000000;">Type &lsquo;SERVICE STOPPED&rsquo;</span></li>
<li><span style="color: #000000;">Save the command.</span></li>
</ul>
<span style="color: #000000;">h3&gt;Insert services command to START service</span>
<ul>
<li><span style="color: #000000;">Drag and drop services command.</span></li>
<li><span style="color: #000000;">Select &lsquo;Start service&rsquo; option.</span></li>
<li><span style="color: #000000;">Select Telnet service from the list.</span></li>
<li><span style="color: #000000;">Save the command.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Enter Else if condition to check the service is paused or not.</strong></span></p>
<ul>
<li><span style="color: #000000;">Select $Prompt-Assignment$ in variable.</span></li>
<li><span style="color: #000000;">Select Equal to operation.</span></li>
<li><span style="color: #000000;">Select &lsquo;Fix&rsquo; option.</span></li>
<li><span style="color: #000000;">Type &lsquo;SERVICE PAUSED&rsquo;</span></li>
<li><span style="color: #000000;">Save the command</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Insert services command to Resume Service</strong></span></p>
<ul>
<li><span style="color: #000000;">Drag and drop services command.</span></li>
<li><span style="color: #000000;">Select &lsquo;Resume service&rsquo; option.</span></li>
<li><span style="color: #000000;">Select Telnet service from the list.</span></li>
<li><span style="color: #000000;">Save the command.</span></li>
</ul>
<p><span><strong>Insert all terminal commands which you want to run</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Insert stop services command</strong></span></p>
<ul>
<li><span style="color: #000000;">After all the terminal commands put stop service command.</span></li>
<li><span style="color: #000000;">Drag and drop services command.</span></li>
<li><span style="color: #000000;">Select Stop service status option.</span></li>
<li><span style="color: #000000;">Select Telnet service from the list.</span></li>
<li><span style="color: #000000;">Save the command.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Save and Run the task</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">When you run this task, telnet service is started if it is not already started or paused. The service stops after executing all terminal commands./li&gt;</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>How to run the task</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">In case you do not have Automation Anywhere installed, please download and install it from, http://www.automationanywhere.com/download/freeTrial.htm</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Download&nbsp;T80.atmx&nbsp;to location, My Documents\Automation Anywhere\Automation Anywhere\My Tasks</span></li>
<li style="text-align: justify;"><span style="color: #000000;">Launch Automation Anywhere and from Task List select&nbsp;T80.atmx&nbsp;and click on RUN button to run the task.</span></li>
</ul>
<h2 style="text-align: justify;"><span style="color: #000000;"><strong>Example No: 2 -&nbsp;Using OCR to integrate with command line FTP</strong></span></h2>
<div class="items-row cols-2 row-1 row-fluid clearfix">
<div class="span6">
<div class="item column-2">
<h3 style="text-align: justify;"><span style="color: #000000;"><strong>Task Description</strong></span></h3>
<p style="text-align: justify;"><span style="color: #000000;">Web and Desktop applications are filled with images that need to be converted to a readable text for certain actions to be performed. OCR technology is used to do just that.</span></p>
<p style="text-align: justify;"><span style="color: #000000;">The task below logs into FTP server via DOS and waits to check if logged in successfully. It uses OCR technology to retrieve information from Command Prompt in to readable text to check whether login was successful.</span></p>
<span style="color: #000000;">T79.atmx</span> <span style="color: #000000;"><em>Note: Save the xls in C: drive, the .atmx file in My Documents -&gt; Automation Anywhere -&gt; Automation Anywhere -&gt; My Tasks</em></span>
<div class="row buffer-bottom">
<div class="col-xs-8">
<h3 style="text-align: justify;"><span style="color: #000000;">Solutions</span></h3>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Create a new task</strong></span></p>
<ul>
<li><span style="color: #000000;">Click on New-&gt;Task Editor</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Insert &lsquo;Open Program/File&rsquo; command to open command prompt</strong></span></p>
<ul>
<li><span style="color: #000000;">Type &lsquo;cmd.exe&rsquo; in program/file text box.</span></li>
<li><span style="color: #000000;">Save the command.</span></li>
<li><span style="color: #000000;">Enter necessary keystrokes required to log in to the ftp server.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Insert Loop command</strong></span></p>
<ul>
<li style="text-align: justify;"><span style="color: #000000;">Insert 5 times loop command.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Insert OCR command to capture the text from command prompt.</strong></span></p>
<ul>
<li><span style="color: #000000;">Select window from the drop down.</span></li>
<li><span style="color: #000000;">Click on view capture text.</span></li>
<li><span style="color: #000000;">Select variable from drop down.</span></li>
<li><span style="color: #000000;">Click on save button.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Enter if command to check logged in successfully or not.</strong></span></p>
<ul>
<li><span style="color: #000000;">Enter $str$ variable.</span></li>
<li><span style="color: #000000;">Select &lsquo;Includes&rsquo; operation.</span></li>
<li><span style="color: #000000;">Select &lsquo;Fix&rsquo; option.</span></li>
<li><span style="color: #000000;">Type &lsquo;logged in&rsquo; in fix text box.</span></li>
<li><span style="color: #000000;">Save the command.</span></li>
</ul>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Enter exit loop command in if condition.</strong></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Save and Run the task.</strong></span></p>
<div class="items-row cols-2 row-1 row-fluid clearfix">
<div class="span6">
<div class="item column-2">
<p style="text-align: justify;"><span style="color: #000000;"><em>When you run this task, all the commands necessary to login to server are entered. It waits for some time to login to server. It uses the OCR technology to check whether login was successful or not.</em></span></p>
<p style="text-align: justify;"><span style="color: #000000;"><strong>Resource Credits</strong> : <a href="https://www.automationanywhere.com/27-examples" target="_blank" rel="noopener">Automation Anywhere Examples</a></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>1c6:T11c7,<p><img class="alignnone size-medium wp-image-10186" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2015/01/Screenshot_88-460x216.png" alt="Screenshot_88" width="300" height="140" /> &nbsp;</p>
<ol>
<li>logical backup [using export utility] works as an alternative backup method.</li>
<li>The beauty of export is we can be selective [either at export or at import]</li>
<li>We can export from one user and import into another within the same database</li>
</ol>
<p>&nbsp; <img class="alignnone size-full wp-image-10188" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2015/01/Screenshot_89.png" alt="Screenshot_89" width="350" height="227" /> &nbsp;</p>
<ol>
<li>We can export from one database and import into another database [both source and target databases are ORACLE datgabases]</li>
</ol>
<p>&nbsp; <img class="alignnone wp-image-10189" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2015/01/Screenshot_90-460x200.png" alt="Screenshot_90" width="533" height="231" /></p>
<ol>
<li>When migrating from one platfarm to another from WINDOWS to SUN SOLARIS then export is the only method to transfer the data [at least up on till 9<sup>i</sup>] since C/R/D files from the source can not be copied over to the target as file system are different types.</li>
</ol>
<p>&nbsp; <img class="alignnone wp-image-10190" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2015/01/Screenshot_91-460x192.png" alt="Screenshot_91" width="506" height="211" /> &nbsp;</p>
<ol>
<li>WINDOWS PLATFORM SUN SOLARIS PLATE</li>
</ol>
<ol>
<li>When upgrading ORACLE software, as a precaution, we can export of full database before the upgrade. If the upgrade utility able to successfully upgrade software as well as the database then its o.k., but Incase if software upgrading is successful where as data base up gradation has failed then we can still use the exported file which we did before the up gradation, so that we can bring back all the data.</li>
<li>Over a period of time [3 to 4 months] as the data based get fragmentation, being a DBA we used to go for REORG, which includes
<ol>
<li>Export full database</li>
<li>Drop the existing database</li>
</ol>
</li>
</ol>
<ul>
<li>Recreate an empty database with all the required table spaces</li>
</ul>
<ol>
<li>Import full data</li>
</ol>
<p>The dump file is 8 to 10 times smaller than database even though we did full export. The reasons are &nbsp; <img class="alignnone wp-image-10191" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2015/01/Screenshot_92-460x240.png" alt="Screenshot_92" width="562" height="292" /> &nbsp;</p>
<ol>
<li>No base tables are exported into target database.</li>
<li>No control or redo log files rare exported into the target database.</li>
<li>No temp table space is exported</li>
<li>No undo segments since they contain before image.</li>
<li>From user-index only definitions are exported but not the data.</li>
<li>Original data &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10 gbTables are exported with data but they may have 50% free blocks and also 70% pot free</li>
</ol>
<p>Really used data &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.7 gb [ 10% pot free]Use data &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3 gb [ 50% of occupied] Occupied data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6 gb &nbsp; <img class="alignnone wp-image-10192" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2015/01/Screenshot_93-460x160.png" alt="Screenshot_93" width="493" height="171" /> &nbsp; ddl + dml [uses undo+ lots of log switches imports takes 6 to 8 times than exports] <strong>advantages of exports</strong></p>
<ol>
<li>works for an alternative backup solutions.</li>
<li>Selective exports or imports are possible</li>
<li>Can copy objects</li>
</ol>
<ol>
<li style="list-style-type: none;">
<ol>
<li>One user to another user</li>
<li>From one database to another database</li>
<li>From one OS to another OS export files are platform independent.</li>
<li>From one version to another version</li>
</ol>
</li>
</ol>
<ol>
<li>Database reorganization [ every 3 to 4 months]</li>
<li>ORACLE up gradation</li>
</ol>
<p>&nbsp; &nbsp; &nbsp;</p>1c7:T340a,<p><strong>Steps to provide customized validation messages</strong> <strong>Step1 - Prepare a properties file with the custom validation msgs</strong> There prepare a properties file under classes folder or under src folder, pass all the predefined validation msgs in the present properties file from messages. Properties file and edit the validation message as per our requirement Eg: <strong>abc. Properties</strong> &nbsp; Should not be less than{0} Javax. faces. Validator. Long range Validator. maximum={1}value should not be greater than{0} &nbsp; <strong>Step - 2</strong> <strong>Configure properties file in faces-config.xml file</strong> To configure validation messages properties file, we have to use the following tags in faces- config.xml file &lt;faces-config&gt; &lt;application&gt; &lt;message-bundle&gt;abc&lt;/message-bundle&gt; &lt;/application&gt; &lt;/faces-config&gt; &nbsp; <strong>Step - 3</strong> <strong>Provide label attribute in the respective i/p components</strong> The main intension of label attribute is to override the default component id-component name in validation messages with the provided value &lt;h:input text id=&rdquo;uname&rdquo; value=&rdquo;#{reg Bean. Uname}&rdquo; required=&rdquo;true&rdquo; label=&rdquo;user name&rdquo;/&gt; &nbsp; <img class="alignnone wp-image-10043" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2015/01/Screenshot_19.png" alt="Screenshot_19" width="260" height="415" /> &nbsp; &nbsp; <strong>abc. properties</strong> Javar. faces. Validator. NOT-IN-RANGE=value is not in the range from{0}to{1}. Javax. faces. Validator. Double range Validator. NOT-IN-RANGE= {2}.value must be in between the range {0} and{1} Javax. faces. validator. Double range validator. TYPE={0} must be Double Javax. faces. validator. Long range validator. NOT-IN RANGE ={2} value must be in the&nbsp; range {0} and{1} Javax. faces. validator. Long range validator. TYPE={0} must be Double long Javax. faces. Component . UIInput. REQUIRED={0} Is required &nbsp; <strong>Index.html</strong> &lt;html&gt; &lt;head&gt; &lt;meta http-equiy=&rdquo;Refresh&rdquo; Content=&rdquo;2:URL=http://local host:1010/standaral dationsapp/registration from.dss&rdquo;&gt; &lt;title&gt;insert title here &lt;/title&gt; &lt;/ head &gt; &lt;/f:view&gt; &lt;body&gt; &lt;h1&gt;application Loading&hellip;.&lt; /h1&gt; &lt;/body&gt; &lt;/html&gt;<strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>Registration form.jsp:</strong> &lt;%@page language=&rdquo;java&rdquo;conten type=&rdquo;text/html;&rdquo;&gt; &lt;%@taglib prefix=&rdquo;f&rdquo; &lt;!Doctype--- &lt;html&gt; &lt;head &gt; &lt;meta http-equiv=&rdquo; Content type&rdquo; Content= &rdquo;text/ html; chanset= ISO-8859-1&rdquo;&gt; &lt;TITLE&gt;Insert title here&lt;/title&gt; &lt;/head &gt; &lt;body&gt; &lt;f:view&gt; &lt;h:from&gt; &lt;h:messages style=&rdquo;color: blue&rdquo;/&gt; &lt;h:panel Grid columns=&rdquo;3&rdquo;&gt; &lt;h: input text id=&rdquo;u name&rdquo; value=&rdquo;#{reg bean. uname}&rdquo; required=&rdquo;true&rdquo; label=&rdquo;user name&rdquo;/&gt; &lt;h: messages for= &rdquo;uname&rdquo; style=&rdquo;color:red&rdquo;/&gt; &lt;h:output text value=&rdquo;password&rdquo;/&gt; &lt;h:input secret id=&rdquo;upwd&rdquo;value=&rdquo;#{ reg bean. upwd}&rdquo; required=&rdquo;true&rdquo; label=&rdquo;password&rdquo;/&gt; &lt;f:validate length minimum=&rdquo;6&rdquo;maximum=&rdquo;15&rdquo;/&gt; &lt;/h:input secret&gt; &lt;h: messages for= &rdquo;upwd&rdquo; style=&rdquo;color: red&rdquo;/&gt; &lt;h: output text value=&rdquo;user age&rdquo;/&gt; &lt;h:input text id=&rdquo;uaage&rdquo; value=&rdquo;#{ reg bean. uage}&rdquo; required=&rdquo;true&rdquo; label=&rdquo;user age&rdquo;&gt; &lt;f:validate long range minimum=&rdquo;18&rdquo;maximum=&rdquo;30&rdquo;/&gt; &lt;h:input text&gt; &lt;h: messages for= &rdquo;uage&rdquo; style=&rdquo;color: red&rdquo;/&gt; &lt;h: output text value=&rdquo;user salary&rdquo;/&gt; &lt;h:input text id=&rdquo;usal&rdquo; value=&rdquo;#{ reg bean. usal}&rdquo; required=&rdquo;true&rdquo; label=&rdquo;user salary&rdquo;&gt; &lt;f:validate Double range minimum=&rdquo;25000&rdquo;maximum=&rdquo;50000&rdquo;/&gt; &lt;h:input text&gt; &lt;h: messages for= &rdquo;usal&rdquo; style=&rdquo;color: red&rdquo;/&gt; &lt;h:command button value=&rdquo;Registration&rdquo;action=&rdquo;# {reg bean. registration&rdquo;} &rdquo;/&gt; &lt;/h:panel Grid&gt; &lt;/h:form&gt;&lt;/f:view&gt; &lt;/body&gt;&lt;/html&gt; &nbsp; <strong>Success.JSP</strong> &lt;head &gt; &lt;meta&hellip;&hellip;&rdquo;&gt; &lt;title&gt;insert title here&lt;1title&gt; &lt;/head&gt; &lt;body&gt; &lt;f:view&gt; &lt;h1&gt;Registration success&lt;/h1&gt; &lt;/f:view&gt; &lt;/body&gt;&lt;/html&gt; <strong>&nbsp;</strong> <strong>Registration Bean.java</strong> Package com. soft; Public class Registration Bean{ Private string uname; Private string upwd; Private int uage; Private floal usal; Set&hellip;() Get&hellip;() Public string registration(){ Return &rdquo;success&rdquo;; } } &nbsp; <strong>Faces-config.xml</strong> &lt;?xml version=&rdquo;1.0&rdquo;encoding=&rdquo;UTF-8&rdquo;?&gt; &lt;FACES-Config Xmlns=----xsd &rdquo;version=&rdquo;1.2&rdquo;&gt; &lt;managed-bean&gt; &lt;managed-bean-name&gt;reg bean&lt;/managed-bean-name &gt; &lt;managed-bean-class&gt;com. Durga soft. registration B ean&lt;/managed-bean- class &gt; &lt;managed-bean-scope&gt;session&lt;/managed-bean- scope &gt; &lt;/managed-bean &gt; &lt;navigation-rule&gt; &lt;from-view-id&gt;/registration from.jsp&lt;/&nbsp; &gt; &lt;navigation-case&gt; &lt;from-out come&gt;success&lt;/&nbsp; &gt; &lt;to-view- id&gt;/success.jsp&lt;/&nbsp; &gt; &lt;/navigation-case&gt; &lt;/navigation-rule&gt; &lt;application&gt; &lt;message-bundle&gt;abc&lt;/&nbsp;&nbsp; &gt; &lt;/application&gt; &lt;/faces-config&gt;<strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>Web.xml</strong> same as prev .appl.? <strong>Custom validations:</strong> In JSF based web application , if all the standard validations are not sufficient to perform data validations, then JSF has given an environment to prepare user defined validations</p>
<ul>
<li>To prepare custom Validator, we have to use the following steps</li>
</ul>
<ol>
<li>Prepare user defined Validator class.</li>
<li>Configure custom Validator in faces-config.xml file</li>
</ol>
<ul>
<li>Use custom valid tore in faces-config.xml component in user forms,</li>
</ul>
<p><strong>Prepare user defined Validator class.</strong> for this we have to take an user defined class &amp; it must implement javax.faces. Validator. Validator interface</p>
<ul>
<li>Validator interface has the following method to provide custom validation logic</li>
</ul>
<p>Public void validate(faces context fc, UI Component UC Object value)throws Validator Exception;</p>
<ul>
<li>In validate()method we have to provide the following implementation.</li>
</ul>
<p>&nbsp;</p>
<ol>
<li>a) prepare faces message object to represent a single validation message faces message fm=new faces message();</li>
<li>b) Add validation message to faces message object by using either of the following methods</li>
</ol>
<p>Public void set detail(string msg) Public void set summary(string msg) Msg. set detail(&ldquo;Invalid mobile number&rdquo;); Msg. set summary(&ldquo;Invalid mobile number&rdquo;);</p>
<ol>
<li>c) Rise Validator Exception with the faces message throw new Validator exception(fon)</li>
</ol>
<p>&nbsp; <strong>ii) Configure custom Validator in faces-config.xml files:</strong> To configure custom Validator in faces-config.xml file we have to use the following tags &lt;faces-config&gt; &lt;Validator&gt; &lt;Validator-id&gt;logical-name&lt;/ &lt;Validator-class&gt;custom Validator fully qualified name&lt;/ &lt;Validator&gt; &lt;/faces-config&gt; &nbsp; <strong>iii) Use custom validator to the required i/p component</strong> to use custom validator with i/p component have to use the following tag &lt;f:validator validator Id=-validator Id=&hellip;.&rdquo;/&gt; This tag must be used under&lt;h:input text&gt;iag &nbsp; <strong>Custom validator app(1.x custom validator)</strong> <strong>ABC.properties</strong> Eid=Employee id ename =Employee name eaddres =Employee addres eemail =Employee mail ID eemobile =Employee mobile button=Registration email-validatore=invalid email id //copy standard Validator msg from messages. Properties file and modify them <strong>&nbsp;</strong> <strong>Index.html</strong> &lt;html&gt; &lt;head&gt; &lt;meta http-equiv=&rdquo;Refresh&rdquo;content=&rdquo;2;url=http://local host:100/custom validate app/employee form.dss&rdquo;&gt; &lt;body&gt; &lt;h1&gt;application is loading&lt;/h1&gt; &lt;/body&gt; &lt;/html&gt; &nbsp; <strong>Employee form.jsp</strong> <a href="mailto:%25@laglib%20perfix=">%@laglib perfix=&rdquo;f&rdquo;url=&rdquo;http//sun.java.com/jsf/care%/html%</a> &lt;% &lt;html&gt; &lt;body&gt; &lt;f:view&gt; &lt;font color=&rdquo;red&rdquo;&gt; &lt;h1&gt; software solutions&lt;/h1&gt; &lt;h2&gt;employee registration form&lt;/h2&gt; &lt;/font&gt; &lt;h:form&gt; &lt;h:panel grid=columns=&rdquo;3&rdquo;&gt; &lt;h:output text value=&rdquo;#{msg.eid}&rdquo;/&gt; &lt;h:input text id=&rdquo;eid&rdquo; value=&rdquo;#{regBean.eid}&rdquo;required =&rdquo;true &rdquo;label=&rdquo;Employee Id&rdquo;/&gt; &lt;h:message for=&rdquo;eid&rdquo;/&gt; &lt;h:output text value=&rdquo;#{msg. ename}&rdquo;/&gt; &lt;h:input text id=&rdquo;ename&rdquo; value=&rdquo;#{regBean. ename}&rdquo; Required=&rdquo;true&rdquo;label=&rdquo;employee name&rdquo;/&gt; &lt;h:message for=&rdquo;ename&rdquo;/&gt; &lt;h:output text value=&rdquo;#{msg. eaddr}&rdquo;/&gt; &lt;h:input text id=&rdquo;eaddre&rdquo; value=&rdquo;#{reg Bean. eaddr}&rdquo; Required=&rdquo;true&rdquo; label=&rdquo;employee address&rdquo;/&gt; &lt;h:message for=&rdquo;eaddr&rdquo;/&gt; &lt;h: output text value=&rdquo;#{msg. eemail}&rdquo;/&gt; &lt;h:input text id=&rdquo;eemail&rdquo; value=&rdquo;#{reg Bean. eemail}&rdquo; Required=&rdquo;true&rdquo; label=&rdquo;employee email&rdquo;/&gt; &lt;f:validator validator id=&rdquo;email validator&rdquo;/&gt; &lt;/h:input text&gt; &lt;h:message for=&rdquo;eemail&rsquo;/&gt; &lt;h: output text value=&rdquo;#{msg. emobile}&rdquo;/&gt; &lt;h:input text id=&rdquo;emobile&rdquo; value=&rdquo;#{reg Bean. eemail}&rdquo; Required=&rdquo;true&rdquo; label=&rdquo;employee mobile&rdquo;/&gt; &lt;h:message for=&rdquo;emobile&rdquo;/&gt; &lt;h:command button value=&rdquo;#{reg button}&rdquo;action=&rdquo;#{ Reg bean. registration}&rdquo;/&gt; &lt;/h:panel Grid&gt;&lt;/h:form&gt;&lt;/f:view&gt; &lt;/body&gt;&lt;/html&gt; &nbsp; <strong>Success.jsp</strong> &lt;%@laglib prefir=&rdquo;f&rdquo;-----core&rdquo;%&gt; &lt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&ldquo;h&rdquo;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html&rdquo;%&gt; &lt;html&gt; &lt;body&gt; &lt;f:view&gt; &lt;h1&gt;Registration success&lt;/h1&gt; &lt;/f:view&gt; &lt;/body&gt; &lt;/html&gt; &nbsp; <strong>Registration Bean.java</strong> Package com. soft Public class Registration Bean{ Private string eid; Private string ename; Private string eaddr; Private string eemail; Private string emobile; //provide setter()&amp;getter()getter() Private string registration(){ Return &rdquo;success&rdquo;; }<strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>Email validator.java</strong> Package com. Durga soft; Import java. util. iterator; Import java. util. Resource bundle; Import java. faces. application. application; Import java. Faces. application. faces message; Import java. faces. content. faces context; Import java. faces. Validator. validator; Import java. faces. validator. validator exception; Public class email validator implements validator{ Public void validator(faces context fe,UI Component we, object value) throws validator exception{ String email.=(string)value; If(email. contains(&ldquo;@&rdquo;)){ Application application=fe.get application(); String prp-file=application. get message bundle(); Resource bundle bundle=Resource bundle. get bundle(prp-file); String err-msg=bundle.get string(&ldquo;email-validator&rdquo;); Faces message fm=new faces message(); Fm.set detail(err-msg); Throw new validator Exception (fm); } } } &nbsp; <strong>Faces-config.xml</strong> &lt;faces-config&gt; ------- ------ XSD &lt;Managed. bean&gt; &lt; Managed. Bean-name&gt;reg bean&lt;/ Managed. Bean-name&gt; &lt; Managed. Bean-class&gt;com. durga soft. Registration bean reg &lt;/&nbsp;&nbsp;&nbsp; &gt; Managed. Bean-scope&gt;session &lt;/&nbsp;&nbsp;&nbsp; &gt; &lt; /Managed .bean&gt; &lt;navigation-rule&gt; &lt;from-view-id&gt;/emkployeeform.jsp&lt;/&nbsp;&nbsp;&nbsp; &gt; &lt;navigation-case&gt; &lt;from-outcome&gt;success&lt;/&nbsp;&nbsp;&nbsp; &gt; &lt;to-view-id&gt;/ success.jsp&lt;/&nbsp;&nbsp;&nbsp; &gt; &lt;/navigation-rule&gt; &lt;validator&gt; &lt;validator-id&gt;email-validator&lt;/&nbsp;&nbsp;&nbsp; &gt; &lt;/validator&gt; &lt;application&gt; &lt;resource-bundle&gt; &lt;base-name&gt;abc&lt;/b &gt; &lt;var&gt;msg&lt;va/r&gt; &lt;message-bundle&gt;abc&lt; /message-bundle &gt; &lt;/application&gt; &lt;/faces-config&gt;</p>1c8:T2535,<p><strong>SYSTEM CALENDAR FUNITION</strong> <strong>Real time usage</strong> It is really difficult to write SQL for the below data and time analytically but by using system calendar we can answer easily</p>
<ol>
<li>Last year 3 Quarter sales to this year 3<sup>rd</sup> Quarter sales compression</li>
<li>Last year 25<sup>th</sup> week sales to this year 23<sup>rd</sup> sales year etc</li>
</ol>
<p><strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>System calendar layout</strong> This have one Row for every day from January 1<sup>st</sup> 1900 through Dec 31<sup>st</sup> 2100[73k#] Calendar- date-----Standard Date Day &ndash; of &ndash; week----(1-7 1-sunday) Day &ndash;of-month----(1-13) Day &ndash;of-year----(1-366) Week day &ndash; of- calendar -- jillion date,startingjan,1,1900 Week day &ndash; of- month --- (nth occurrence, 1-5) Week day &ndash; of- month ---(1-5 )partial week Week day &ndash; of- calendar &ndash;(1-52) Month &ndash; of &ndash;quarter ---(0-n) Month &ndash; of &ndash; year ---(1-3) Month &ndash; of &ndash; calendar&mdash;(1--n) Quarter &ndash; of &ndash; year &ndash;(1-9) Quarter &ndash; of &ndash; calendar ---(1-N) Year &ndash; of calendar ----(1900 -2100) &nbsp; <strong>Queries</strong> &agrave;Display the calendar with today date? Sel*From sys &ndash; calendar. Calendar where calendar-date=current Date;&agrave;Display the calendar with tomorrow date Select *From sys-calendar.calendar where calendar &ndash; date=current date+1 -&gt;DISPLAY Quarter one sales for year2010 Create multi set sales(id integer, s date date format &lsquo;yyyy-mm-DD&rsquo;, Sale sin come integer) Date: Insert into sales(1,&rsquo;2010-02-03&rsquo;,1000); Insert into sales(2,&rsquo;2010-03-04&rsquo;,2000); Insert into sales(1,&rsquo;2010-01-05&rsquo;,2000); Insert into sales(1,&rsquo;2010-09-04&rsquo;,3000); Insert into sales(1,&rsquo;2010-09-03&rsquo;,2000); Sel id, sum(sales income) from sales S,Sys&mdash;calendar. calendar C where c. calendar-date= s.sdate and Quarter &ndash;of-year=1 and year-of- calendar =2010 and s.id=1 Group by s. id &agrave;Display the current month sales for iteam one &nbsp; <strong>1<sup>st</sup> way</strong> Sel id sum(Sales income)From sales s, sys-calendar.calendar C where c.calendar-date= s. s date and month &ndash; of &ndash; year=9 and year- of &ndash; calendar = 2011 and sid = 1 group by s. id &nbsp; <strong>2<sup>nd</sup> way</strong> Sel id, sum(Sales income)From sales s, sys- calendar. Calendar c(Sel *From sys- calendar. Calendar where calendar- date=current-date) Td where c. calendar-date=s. date and c. month-of- calendar=td. month-of- calendar and s.id=1 &agrave;Display current month sales and last year current month sales sel id, sum(Sales income)from sales s, sys- calendar. Calendar c,(Sel*From sys &ndash; calendar. Calendar where calendar-date= current - date)td Where c. calendar-date=s.date And (c.month-of- calendar=td.month-of- calendar) (or) (c.month-of- calendar=td.month-of &ndash; calendar-12) And s-id=1 <strong>Note -</strong> For Displays current months last monthcompression, last year current month prev &nbsp; <strong>Type s of Tables</strong> Different types of table available in tera data for different type of operation intermediate calculation</p>
<ol>
<li>Permanent table</li>
<li>Set table</li>
<li>Multi set table</li>
<li>Derived Table</li>
<li>Volatile Table</li>
<li>Global Temporary</li>
<li>Queue table[V2R6 introduce]</li>
<li>Error Table[TD 12 Introduce]</li>
<li>Temporal table[TD13.10]on words available</li>
</ol>
<p>&nbsp; <strong>a)Permanent table -</strong> This table is available across multiple session and user any where[both structure and date] &nbsp; <strong>d)Derived Table -</strong>&nbsp;This table structure data available with &nbsp;in the query once the query execution finish no structure data available</p>
<ol>
<li>Its created for strong intermediate results and calculation</li>
<li>It life time is query level that means with in the query it created, once&nbsp; Query execution finish table is drop automatically</li>
<li>it&rsquo;s stores under spool memory</li>
<li>In other data bases we call this type of queries are in line query(or) in line view</li>
</ol>
<p><img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Select party id, party name, d. sumincome,d. avincome from party,(Select sum(prty income)as sum income, avg(party income)as avincome from party)d &nbsp; <strong>E) Volatile:</strong></p>
<ol>
<li>It is also design for intermediate operation</li>
<li>Its life time is with in the session that mean table data available with in the session, once the session no structure and data available</li>
<li>Its definition not store in the data dictionary so we cannot create indexes and we can not collect statistic and data dictionary on this table</li>
<li>It stores under spool memory<strong>&nbsp;</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>Note</strong> In Tera data 13 we can collect statistic on volatile table &nbsp; <strong>VOLATILE-NOTEPAD</strong> Allows volatile table uses along with the data for other tables Query in the same session .Log on Creating: Create volatile table &lt;VT Name&gt;,Log/No Log(Column definition) on commit preserver/Delete Rows; <strong>INSERTING Date &nbsp;- &nbsp;</strong>INSERT INTO&lt;VT Name&gt;select sum(Col name),Avg (Col name)From &lt;T name&gt; <strong>Using it&nbsp;-&nbsp;&nbsp;</strong>Select col names,&lt;Volatile table name&gt;.column name from&lt;T name&gt;,&lt;Volatile table name&gt; Show * from table &lt;volatile table&gt; .logoff .log on Show table&lt;volatile table&gt; &agrave;Both structure and date will not be available .Logon 127.0.0.1/dbc, dbc; Create volatile table vt- party, No log(Sum income integer, avincome integer on commit preserve rows; Insert into vt- party select sum(Party income),Avg(Party income) From party Select p.partyid, p.party name ,vt- party .sum income , vt- party income From party p, vt- party; Show tablt vt- party; Select* From vt- party; .Logoff .Log on 127.0.0.1/dbc,dbc; Show table vt &ndash; party; <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Both structure and data will not be available &nbsp; <strong>F)Global Temporary Table</strong></p>
<ol>
<li>It is also design for storing intermediate result and calculation</li>
<li>It structure is accessible across session but it&rsquo;s data accessible with in the same session</li>
<li>It&rsquo;s stores under temporary memory</li>
<li>It&rsquo;s structure stores order data dictionary, so we can create indexes and collect statistics under same table</li>
<li>Some people they are using this tables for materialized tables implementation,</li>
</ol>
<p><strong>Ex -&nbsp;</strong>&nbsp;log on 127.0.0.1 /dbc,dbc; Create global temporary table vt_ party, log/no log(sum income integer, avincome integer) on commit preserve rows; Insert into vt-party(10000,20000); Show table vt-party; Sel * from vt_ party; .log off; .logon 127.0.0.1/dbc,dbc; ---- ---- Show table VI- Party; Structure available; Select*From VI-Party; No data available &nbsp; <strong>Note&nbsp;</strong> <strong>Log - &nbsp;</strong>Log information maintains by using transient journal on commit preserve rows allows the use volatile tables&nbsp; again for other Queries in the session . &nbsp; <strong>On commit Delete Rows&nbsp;</strong> This is the default one means the data delete once query completed. &nbsp; <strong>G[Query Table] Query Table:[V2 R6 introduce]</strong> It is like permanent table, but created with &nbsp; Query options 1<sup>st</sup> column should be time stamp column Select statement used to read the data Select and consume&nbsp; To retrieve and delete the data It maintain FIFO[Fist In first out]Cache which available at parsing engine Creates set table x, Queue, fall back (Tid, time stamp not null default current time stomp, pid integer pnm varcher(30))</p>
<ol>
<li>Insert into x(,),&rsquo;vinay&rsquo;);</li>
<li>Select*From x; only Redirect[Display]first row inserted first and last row last]</li>
<li>Select and consume top1*From x;</li>
<li>Display first row all columns and delete that row&nbsp;ERROR Table[TD12 introduce]</li>
<li>To handle the error at the time of insert to select(or) merge into statement which loading BUL Date</li>
<li>If these are any error to the error in error table and continuous the execution of query this tables are useful</li>
<li>We can redirect limited error (or) all errors</li>
</ol>
<p><strong>&nbsp;</strong> <strong>Syntax:</strong> Error table Create error table&lt;Table name&gt; For&lt;Target table&gt; &nbsp; <strong>Ex -&nbsp;</strong>&nbsp;Create error table et party 2 for party2; &agrave;Insert into party select* From party2 logging error; &agrave;insert into party3 select*From party2 logging error with limit of 100; &nbsp; <strong>I)Temporary table[TD13.10] on words available</strong></p>
<ol>
<li>It has the ability to store all historical states of a particular Record or particular data base row.</li>
<li>Generally used for below type of Queries</li>
<li>Display valid Records in specified period</li>
<li>Display transition Records in this specified period</li>
</ol>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>1c9:T1ece,<p><strong>IMPORTING DATA INTO A TABLE[FIXED FAXMAT]</strong> .Run file c:\BTEQ\Conn.txt; .LOGTABLE Vinayaka.PLOG DATABASE VINAYAKA; .ROUTE MESSAGES WITH ECHO TO FILE C:\Data-log\M Load- fixid.xlog; .BEGIN IMPORT MLOAD TABLES PARTY111; .LAYOUT LAYOUT1; .FIELD I-pid 1 char(3); .FIELD I-PNM&nbsp;&nbsp; 4 char(4); .DML LABEL TAG DML: INSERT INTO PARTY111(Partyid, party name)values(:I-pid,:I-PNM); .IMPORT INFILE C:\Mload\MTEST1.TXT&nbsp; LAYOUT LAYOUT1 Formal Text Apply Tagdml; .END MLOAD; .LOGOFF; <strong>&nbsp;</strong> <strong>&nbsp;</strong> <strong>Importing data into multiple tables[Vartext format]</strong> .Run file c:\BTEQ\Conn.txt; .Log Table vinayaka.mno; Data base vinayaka; .Begin Import mload tables emp10,Dept10; .Layout vinay Layout; .Filler I- Fill CH*Varcher(30); .Filler I- ID*Varcher(30); .Filler I- NM*Varcher(30); .DML Label emp- insert1; Insert into emp10(eid, ename)values(:I-ID,:IANM); .DML Label dept- insert Insert into dept 10(dept id, dept name)values(:I-ID,:I-NM); .Import IN File c:\mload\vinay-vor text. Txt formal vartext &lsquo;,&rsquo; Layout vinay layout Apply emp- insert1 where I &ndash;fill&lt;h-&lsquo;E&rsquo; Apply Dept Insert1 where i- filkh=&rsquo;D&rsquo;; .ebd mload; .Log OFF; &nbsp; <strong>MLOAD-SCD1.Note Pad(7<sup>th</sup> Script in the project)</strong> .RUN FILE C:\BTEQ\conn.Txt; .Log table vinayaka. pLog; .Set DBS To&rsquo;vinayaka&rsquo;;/*Declare variable = name*/programming int :=10,che .Begin Import mload Tables &amp;DBS..Party5 Work table &amp;DBS.. W-Party5 Error tables &amp;DBS..E-Party5 &amp;DBS.. U- Party5; .Layout layout1; .Field I-Pid 1 char(1); .Field i-pnm 2 char(5); .Field I-PLOC 7 CHAR(3); .dml label party5 upsert Do INSERT FOR Missing update Rows; Updata&amp;DBS.. PARTY5 Set party loc=:I-PLOC Where party id -:I-PID; Insert into &amp;DBS..Party5(:I-PID,:I-PNM,:I-PLOC,); .Import infile c:\mload\data-Fixed. Txt layout layout1 format text apply party5 &ndash; UPSERT; .End mload; .LOS OFF &nbsp; <strong>IMPLEMENTING SCO TYPE2 Date mechanism 8<sup>th</sup> script in the project</strong> .Run File c:\BTEQ\Conn.txt; .Log Table vinayaka.mno; Database vinayaka1 .Begin Import mload tables party6&rsquo; .Layout vinaya layout; .Field I-ID*Varchar(30); .Field I-NM* Varchar(30); .Field I-LCC* Varchar(30); .Field I-SDT* Varchar(30); .DML Label party6-INSERT; Insert into party6(:I-ID,:I-NM,:I-LOC,:I-SDT,&rsquo;0001-01-01&rsquo;); .DML Label party6-UPD; Update party6 set end-DT=:I-SDT Where Party=:I-ID And end=DT=&rsquo;0001-01-01&rsquo;; .Import Infile c:\MLoad\Data-Vartext.txt Format vartext&rsquo;,&rsquo; Layout vinay Layout Apply party5-=UPD Apply party6-Insert; .End mload; .Log off; &nbsp; &nbsp; <strong>Multi load Error Handling:</strong> <strong>1.While execute multi load script Tera data server is&nbsp; Re started?</strong> Ans: Along with Tera data Server Multi load script will also be started and it starts from last check point. While execute multiple script client system Restarted we need manually sub script so the transform last check point &nbsp; <strong>2)Why multi load does not support USI, RI, JI Trigger and HI?</strong> Ans: Because multi load cannot provide communication between Amps and it&rsquo;s Runs Amp Independently &nbsp; <strong>3)Why multi load does not support USI And support NUSI?</strong> Ans: In NUSI Sub Table store In the same Amp And operation of&nbsp; the AMPS Are Independent, so it supports NUSI &nbsp; <strong>4)How Do you load Multiple File Data into multiple Table using single script?</strong> .Run File c:\BTEQ\conn. TXT; .Log Table Vinayak. MNO; Data base vinayaka; .Begin IMPML Mload Tables emp, Depl; .Layout L1; .Field I-ID* Varchar(30); .Field I-NM* Varchar(30); .Lay out L2; .Field I-ID1* Varchar(30); .Field I-NM 1* Varchar(30); .Field I-INC* Varchar(30); .DML Label INS1; Insert INTO emp(eid, ename) Values (:I-ID),:I-NM); .Dml Label INS2: Insert into dept(dept id, deptname)values(:I-ID1,:I-NM1); .Import INFILE C:\MLoad\File1. Txt Formal VartexL &lsquo;,&rsquo; Layout L1 Apply INS1; .Impart INFile c:\Mload\File2.txL Formal vartext &lsquo;,&rsquo; Lay out L2 Apply INS2; .End Mload; .Log Off; &nbsp; <strong>5)Can we concatenate&nbsp; multiple and load the data&rsquo;,</strong> Ans: No &nbsp; <strong>*Multi load script fail error Table existed then how do you restart?</strong> Ans: <strong>In case of old file to RESTART</strong> 1) Do not Drop Error in work table and do not release lock and target tables 2) Simple rectifies the error on the script Run again so that Runs last check point. &nbsp; <strong>In case of New file to restart</strong></p>
<ol>
<li>Drop error table and work log table</li>
<li>Release the log and target table and below syntax</li>
</ol>
<p>&nbsp; <strong>AQuision those</strong> Release m load&lt;Table1&gt;,&lt;Table2&gt;&hellip;&lt; Table5&gt; &nbsp; <strong>Application</strong> Release m load&lt;Table1&gt;,&lt;Table2&gt;&hellip;&lt; Table5&gt; in apply &nbsp; <strong>Note</strong>&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />This command executable only in BTEP Specified new file in the script Run Freshly &nbsp; <strong>TPUMP[TRICIL PUMP(OR) Tera data parallel data PUMP]</strong> <strong>Features</strong></p>
<ul>
<li>It loads 60 or more table[max64table]</li>
<li>It loads error Records into error tables</li>
<li>It fully Automatic Restart able</li>
<li>It design for near real time data loading</li>
<li>It loads the data into</li>
</ul>
<p>&nbsp;</p>
<ol>
<li>Empty or populated table</li>
<li>Set or multi set\</li>
<li>Duplicate</li>
<li>SI RIR, TRIGGERS, EVEN The Table is Having</li>
<li>It applies locks at row level</li>
<li>It is designed for less volume of data</li>
<li>Any number of scripts we can execute at a time parallity</li>
</ol>
<p>&nbsp; <strong>Real time usage</strong></p>
<ol>
<li>For loading the data into multiple table with less volume, which is of near real time this is recommended</li>
<li>To load the data in to table according to the traffic also Recommendable</li>
</ol>
<p>&nbsp; <strong>Navigation</strong></p>
<ol>
<li>Start&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Run &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Tpump</li>
<li>Start &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Program &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Tera data client&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Tera data TPUMP</li>
</ol>
<p>&nbsp; <strong>Limitations</strong></p>
<ol>
<li>It can not perform arithmetic expansion and aggregate operations on the data</li>
<li>No conciliation of input files allowed</li>
<li>The usage of select statement is not allowed</li>
<li>Not more than for import task may be we in a single load task</li>
<li>Data before 1900 or after 1999 should be represent with &lsquo;yyyy&rsquo; Because yy ta takes 20<sup>th</sup> century dates</li>
</ol>
<p>&nbsp; &nbsp; <img class="alignnone wp-image-9891" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1102.png" alt="Screenshot_110" width="265" height="269" /> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>1ca:T1802,<p><strong>FAST Load error Handling</strong> <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Abort in phase1, Data AQuision in complete:</p>
<ol>
<li>In case of error Rectifying and Run it, so that it start from last check point</li>
<li>Event through here are no error simple Restarted, sot that it start from last check point</li>
<li>Aborted in phase2 Data AQuision completed: Simple take begin and end loading the script and Run it, so that it runs from Amp to table</li>
</ol>
<p>1) Acquision (File- Amp)} 2)Application(Amp-Table) .Login .Begin Handle load table Error Check point End Load(Amp-Table) .Logoff <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />What is default data conversion supported in fast load? Ans: Char&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Data Char&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Numeric Numeric&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Char Date&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Char Numeric &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Decimal Fixed text&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Varchar <img class="alignnone size-full wp-image-9860" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_991.png" alt="Screenshot_99" width="252" height="47" /> Integer &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Decimal Decimal &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Integer <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;How do you load multiple file some structure to&nbsp; a table? [Same structure different file names](or)There is no end loading statement more data acquire then what will you do? &nbsp; <strong>Ans</strong> There are 2 ways</p>
<ol>
<li>a) Taking multiple script for multiple file and Running all the script without end loading structure, so that, the data loaded to Amp and concatenated every time.</li>
<li>b) For the last script specify end loading and Run, so that this file data also laded to Amp and then this loaded data more from amp to table.</li>
</ol>
<p>&nbsp; <strong>2<sup>nd</sup> way</strong></p>
<ol>
<li>a) Take a single script and replace the file one by one fill fast life without end loading</li>
<li>b) For the last file specify end loading in script and run, so that runs from Amp to table</li>
</ol>
<p>&nbsp; <strong>1<sup>st</sup> way:</strong> &nbsp; <img class="alignnone wp-image-9861" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1001-460x311.png" alt="Screenshot_100" width="346" height="233" /> &nbsp; &nbsp; <img class="alignnone wp-image-9862" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_10110.png" alt="Screenshot_101" width="218" height="305" /> &nbsp; &nbsp; <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />FAST Load script fail and error table existed then how do you restart? Ans:1<sup>st</sup> way: In case of old file to Restart</p>
<ol>
<li>Do not draw ET, UV, Log Table</li>
<li>Don of Release locks and target tables</li>
<li>Simply Rectify the errors and script or file and Runs it,</li>
</ol>
<p><img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />so that if Runs from last check point &nbsp; <strong>Note</strong></p>
<ol>
<li>While working the LAB To implement above process, 1<sup>st</sup> Rectify the error in the script/file later comment the drop and delete statement and Run the script</li>
<li>If script fail and you trying see the data in a table It display table is being loaded</li>
<li>In case of fresh restart run the below empty script so that it drop error tables, release the lock and target table and delete the content from fast lock table</li>
</ol>
<p>.Set Record unformatted; .Run file c:\BTEQ\Conn.TXT; Database vinayaka; Begin Loading party3 Error files erparty3,UVParty3 Check point 10; End loading .Log off <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Take a new file in the script and run freshly <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Why fast load does not support SI,JI,RI And TRIGGER? <strong>Ans:</strong> The above concept Required communication between Amps, But Fast load Does not support communication between Amp&rsquo;s And runs independently</p>1cb:T1949,<p><strong>IMPORTANT STEPS TO REMEMBER WHILE EXPORTING THE DATA</strong></p>
<ol>
<li>Select statement to retrieve the data</li>
<li>File format, mode, path etc.</li>
</ol>
<p>&nbsp; <strong>Step1 -&nbsp;</strong>Remember while importing the data</p>
<ol>
<li>Insert OR update or up sert statement</li>
<li>File path, mode, structure and format</li>
</ol>
<p>&nbsp; <strong>Step2 -&nbsp;</strong> Remember while importing the data</p>
<ol>
<li>Insert OR update or up sert statement</li>
<li>File path, mode, structure and format</li>
</ol>
<p>&nbsp; <strong>Modes</strong> <strong>1.Data mode</strong> <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />This mode also be called as Record mode Here one by one Record will be process <img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />Here Null Represent with &lsquo;zero&rsquo;[Integer], or spaces[STRINGS]</p>
<table>
<tbody>
<tr>
<td width="115">date</td>
<td width="96">date</td>
</tr>
<tr>
<td width="115">date</td>
<td width="96">date</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>2.INDICATOR MODE</strong> It is just like data mode, null are represented with Indicate bytes[&ldquo;Nulls are treated as nulls only&rdquo;]</p>
<table>
<tbody>
<tr>
<td width="115">Indicator bytes</td>
<td width="115">date</td>
<td width="96">date</td>
</tr>
<tr>
<td width="115">Indicator bytes</td>
<td width="115">date</td>
<td width="96">date</td>
</tr>
</tbody>
</table>
<p>&nbsp; <strong>3.Report mode</strong> It is fields by field format mode &nbsp; <strong>4.DIFF[Date Interchange file Format mode]</strong> It is used across various pc ways plot form such as excel, Fox pro,[Loater under Lotus &ndash; 1,2,-3 etc] &nbsp;</p>
<h2><strong>Format option</strong></h2>
<p><strong>1.Format option</strong> A Two-byte integer n followed by n bytes of data. Followed by An End &ndash; of- Record market, either X &lsquo;OA&rsquo; OR X&rsquo;OD&rsquo; &nbsp; <strong>2.Binary</strong> A Two-byte integer, n followed by n bytes of data. &nbsp; <strong>3.TEXT</strong> An Arbitrary number of bytes followed by an end- of- Record market, either X&rsquo;OA&rsquo; OR X&rsquo;OD&rsquo; &nbsp; <strong>4.UNFORMAT</strong> Exported as it is Received from CLIV2 with out any client modifications <strong>Note</strong> In text format end of the mandatory &nbsp; <img class="alignnone wp-image-9784" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_854-460x214.png" alt="Screenshot_85" width="337" height="156" /> &nbsp; &nbsp; <strong>FREQUENTILY USE FILE MODES IN REAL TIME</strong> Un format&nbsp; [FJXED TEXT] <img class="alignnone wp-image-9785" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_863-460x256.png" alt="Screenshot_86" width="396" height="219" /> &nbsp; &nbsp; 2.VARTEXT[Delimiter]</p>
<table>
<tbody>
<tr>
<td width="213">123</td>
<td width="213">Vinay</td>
<td width="213">KKK</td>
</tr>
<tr>
<td width="213">8345</td>
<td width="213">Modhu</td>
<td width="213">&nbsp;</td>
</tr>
<tr>
<td width="213">58</td>
<td width="213">Krish</td>
<td width="213">Kumar</td>
</tr>
</tbody>
</table>
<p>ID&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" /> &nbsp;Max 10 character Name&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" /> &nbsp;Max 30 character Column Delimiter:? Row Delimiter: CRLF[Enter key character] &nbsp; <strong>Note</strong> Othe Delimiters Space, Tab,;&nbsp; ;,&nbsp; etc &nbsp; <strong>LOGON COMMAND</strong> This &nbsp;command is used to log in to the system, After Logon it create as session, during session only the user can operate this queries <strong>&nbsp;</strong> <strong>INTERACTIVE</strong> <strong>Syntax</strong>&nbsp; - LOGON Tdpid OR IP ADDRESS OR SERVER NAME/&lt;user name&gt;&lt;Enter key&gt; password=&lt;pass word&gt; <strong>Ex:</strong> TD12:<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />.LOGON 127.0.0.1/DBC&lt;Enter key&gt; Pass word=DBC <strong>Batch mode</strong> <strong>Syntax &nbsp;-&nbsp;</strong>Logon tdpid or IP Address or server name/&lt;USER NAME&gt;,&lt;Password&gt;[&lsquo;Acctid&rsquo;] Ex: TD12&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" /> .Logon 127.0.0.1/DBC,DBC <strong>BTEQ[Basic Tera data Query]</strong> Run is Two Modes</p>
<ol>
<li>Interactive</li>
<li>Batch mode</li>
</ol>
<p>&nbsp; <strong>Navigation</strong> 1<sup>st</sup> way: Start&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Run &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;BTEQ 2<sup>ND</sup> way: Start &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Programs &nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Tera data client&nbsp;&nbsp;<img class="alignnone size-full wp-image-9386" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/220.png" alt="2" width="30" height="12" />&nbsp;Tera data BTEQ[Win BTEQ] <strong>&nbsp;</strong><strong>&nbsp;</strong> <strong>Real Time usages:</strong></p>
<ol>
<li>The Unix Environment we use BTEQ by Firing day to day Query[Like Query man, SQL Assissent in window]</li>
<li>For Testing perspective for tester use</li>
<li>For out day to day operations[Importing And exporting etc] we use it</li>
</ol>
<p>&nbsp;</p>1cc:Tafe,<h2><strong>Converting NOPI to PI table</strong></h2>
<p>There are 2 steps a) Create a multi set table with the same structure and take a primary index on that table. Create a multi set table New-tet(Party id integer, party name Varchar(30)primary index(Party id) b)Insert data into new- tet, drop tet table and rename new-tet to tet &nbsp; i)Insert into new- tet select* from tet ii) drop table tet iii) Rename table new &ndash;tet to tet Altering a primary index(it table is empty and it is not having NOPI) Alter table test modify primary index(Party name) &nbsp; <strong>Default primary Index</strong> If we don&rsquo;t take and index on the table the system creats a primary index in the below process</p>
<ol>
<li>&nbsp;The unique key(or) primary key column consider as UPI</li>
<li>&nbsp;IF No unique kdy (or) primary key it create on the first column NOPI.</li>
</ol>
<p>&nbsp; <strong>Note</strong> If both primary key and unique key columns available it takes primary index(PI)on primary key column and (Unique primary index) and unique columns as USI(Secondary index) <strong>&nbsp;</strong> <strong>&nbsp;</strong><strong>&nbsp;</strong></p>
<h2><strong>Difference between primary index and primary key</strong></h2>
<table>
<tbody>
<tr>
<td width="319">
<p style="text-align: center;"><strong>Primary index(P.I)</strong></p>
</td>
<td width="319">
<p style="text-align: center;"><strong>Primary key (P.K)</strong></p>
<strong>&nbsp;</strong></td>
</tr>
<tr>
<td width="319">
<p style="text-align: center;">Primary index mandatory</p>
</td>
<td width="319">
<p style="text-align: center;">Primary key optional</p>
</td>
</tr>
<tr>
<td width="319">
<p style="text-align: center;">Max 64 Columns combination</p>
<p style="text-align: center;">&nbsp;</p>
</td>
<td style="text-align: center;" width="319">&nbsp;No limit on no. of columns to composite</td>
</tr>
<tr>
<td width="319">
<p style="text-align: center;">effects data distribution</p>
</td>
<td width="319">
<p style="text-align: center;">Doesn&rsquo;t effect data distribution</p>
</td>
</tr>
<tr>
<td width="319">
<p style="text-align: center;">can take duplications and null</p>
</td>
<td style="text-align: center;" width="319">&nbsp;Doesn&rsquo;t allow null and duplicates.</td>
</tr>
<tr>
<td style="text-align: center;" width="319">&nbsp;physical mechanism</td>
<td style="text-align: center;" width="319">&nbsp;Logical mechanism</td>
</tr>
<tr>
<td width="319">
<p style="text-align: center;">Cannot be drop</p>
</td>
<td width="319">
<p style="text-align: center;">Cannot be drop</p>
</td>
</tr>
<tr>
<td width="319">
<p style="text-align: center;">Queries stores and retrieve faster w.r.to PI etc&hellip;.</p>
</td>
<td width="319">
<p style="text-align: center;">&nbsp;</p>
</td>
</tr>
</tbody>
</table>
<p><strong>&nbsp;</strong></p>1cd:T71d,<p>&nbsp; <strong>Data distribution in other RDBMS</strong> It is sequential so, storing and retrieve take&nbsp; time So that take lot of time storing and retrieval &nbsp; <strong>Data distribution in tera data</strong></p>
<ol>
<li>a) <strong>Automatic&nbsp;</strong>A sit is automatic, it loads any volume of data</li>
<li><strong>b) uniform(or) even(or)randomly&nbsp;</strong>It loads the data uniformly or parallel so that distribution and retrieval faster.</li>
</ol>
<p>This automatic and uniform event is possibly in tera data, because of indexes. &nbsp; <strong>Data Access Mechanism</strong></p>
<ol>
<li>a) Full table scan (FTS)</li>
<li>b) Primary index retrieval (P.I)</li>
<li>c) Secondary index retrieval(S.I)</li>
</ol>
<p>&nbsp; A) <strong>FULL TABLE SCAN(FTS)</strong> &nbsp; <img class="wp-image-9709 aligncenter" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_5112-460x286.png" alt="Screenshot_51" width="410" height="254" /> &nbsp; i) <strong>System performance</strong> In case of FTS System performance decreased &nbsp; <strong>ii) Situation to Get</strong> a) If the indexed columns are not used in the query b) An index is used in non-equal to test c) Range of value specified in primary index &nbsp; <strong>Ex:-</strong> b)Sel*from party where party name like&rsquo;V%&rsquo;</p>
<ol>
<li>C) Sel* from party where party income between 5000 and 7000<strong>&nbsp;</strong></li>
</ol>
<p><strong>&nbsp;</strong> <strong>FTS Process</strong></p>
<ol>
<li>i) It scans every data block in table</li>
<li>ii) All Amp scan for the table portion</li>
</ol>
<p>&nbsp; <strong>Remedy</strong> Take appropriate PI to avoid FTS To Apply PI to avoid FTS To used PI to avoid FTS. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>1ce:T37a7,<h3><strong>AJAX controlKit webserver controls :</strong></h3>
<p>These controls are the independent controls and they will not extend other controls. The webserver controls&nbsp; available in AJAXcontrolToolkit are as follows. &nbsp;</p>
<ol start="2">
<li>
<h3><strong>Accordion :</strong></h3>
</li>
</ol>
<p>Accordion control is used to provide a number of panes on the page allow the user to expand a panel by clicking on its header when user select a pane then all other panes available in the accordion control will be automatically collapsed. &nbsp;</p>
<h3><strong>properties :</strong></h3>
<ol>
<li><strong>FadeTransitions :</strong>
<ul>
<li>Used to specify whether or not the FadeTransition effect will apply to the pane whenever it is expanded or collapsed.</li>
</ul>
</li>
<li><strong>Framespersecond :</strong>
<ul>
<li>Used to specify no of frame to change within a second while applying Fade Transitions.</li>
</ul>
</li>
<li><strong>Transition Duration :&nbsp;</strong>
<ul>
<li>Used to specify the time in Millie-seconds for the total transition to complete</li>
</ul>
</li>
<li><strong>Headercssclass :</strong>
<ul>
<li>Used to specify the css class you want to use to display the header for accordion panes available within Accordion control when it is not selected.</li>
</ul>
</li>
<li><strong>Headerselectedcssclass :</strong>
<ul>
<li>Used to specify the css class to use to display the header of Accordion panes when they are selected.</li>
</ul>
</li>
<li><strong>Required opened pane :</strong>
<ul>
<li>Indicates whether or not atleast one pane is opened within the accordion control.</li>
</ul>
</li>
</ol>
<p>&nbsp; Use the property panes to create panes within the accordion control &amp; for every pane you have to specify header&amp; content where header is used to specify heading for that &amp; content is used to specify the context to display within that pane. &nbsp;</p>
<h3><strong>Example :</strong></h3>
<p>The following example demonstrates how to use the accordion.</p>
<ol>
<li>Add a page to the website and then take a Toolkit scriptmanager on the page and within the HTML source of the page within the headsection create two css class with the names &lsquo;header&rsquo; &amp; &lsquo;Selectedheader&rsquo; as follows</li>
</ol>
<p>&lt;style type=&rdquo;text/css&rdquo;&gt; .header { background-color:Black; font-family&nbsp; :&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Arial Black; font-size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : large; color:white; } .selected header { background-color:Blue : font-family:Arial Black: font-size&nbsp;&nbsp; :large; color : white ; } &nbsp;</p>
<ol start="2">
<li>Within HTML source of the page itself drag&amp; drop an accordion control and design it as follows with two Accordion panes.</li>
</ol>
<p>&lt;asp: Accordion ID=&rdquo;Accordion1&rdquo;&nbsp; runat=&rdquo;server&rdquo; FadeTransitions=&rdquo;true&rdquo; Headercssclass=&rdquo;header&rdquo; Framepersecond=&rdquo;30&rdquo; TransitionDuration=&rdquo;2000&rdquo; Headerselectedcssclass=&rdquo;selectedheader&rdquo; requireiopenedpane=&rdquo;true&rdquo;&gt;&nbsp; &lt;panes&gt; &lt;asp:Accordionpane Id=&rdquo;AP1&rdquo; runat=&rdquo;server&rdquo;&gt; &lt;Header&gt; This is Accordion Panel &lt;/Header&gt;&nbsp; &lt;context&gt; This is according panel context &lt;br/&gt; This is Accordion panel context &lt;br/&gt; ------------------ ------ &lt;/context&gt; &lt;/asp:Accordionpane&gt; &lt;asp:Accordiopane Id=&rdquo;AP2&rdquo; runat=&rdquo;server&rdquo;&gt; &lt;Header&gt; This is Accordion pane 2 &lt;/Header&gt; &lt;context&gt; This is Accordion pane 2 context &lt;br/&gt; This is Accordion pane 2 context &lt;br/&gt; ---- ------------------- &lt;/context&gt; &lt;/asp:Accordionpane&gt; &lt;/panes&gt; &lt;/asp:Accordion&gt; &nbsp;</p>
<ol start="3">
<li>
<h3><strong> AsyncFileupload:</strong></h3>
</li>
</ol>
<p>Asyncfileupload control is used to Asynchronously upload the file to server properties.</p>
<ol>
<li><strong>Hasfile :</strong>
<ol>
<li>Used to specify whether or not a file is selected with in the file upload control</li>
</ol>
</li>
<li><strong>FileName :</strong>
<ol>
<li>Returns name of the file selected in fileupload control.</li>
</ol>
</li>
<li><strong>FileBytes :</strong>
<ol>
<li>Returns the content of the selected file in the form of Byte array.</li>
</ol>
</li>
<li><strong>Filecontent :&nbsp;</strong>
<ol>
<li>Returns an IOstream object by using which you can read data from the selected file or write data to the selected file.</li>
</ol>
</li>
<li><strong>uploaderstyle </strong>:
<ol>
<li>used to specify how the Asynch fileuplad will appear. IT has two options &lsquo;traditional&rsquo; &amp; &lsquo;modern&rsquo;</li>
</ol>
</li>
<li><strong>uploadingBackcolor :</strong>
<ol>
<li>Used to specify the back ground color for file upload while the file is uploadoing.</li>
</ol>
</li>
<li><strong>ErrorBackcolor :</strong>
<ol>
<li>Used to specify the background color for the Asyncfileupload if there is any error in uploading the file.</li>
</ol>
</li>
<li><strong>completebackcolor :</strong>
<ol>
<li>Used to specify the background color for &lsquo;file upload control &rsquo; after uploading the file is completed.</li>
</ol>
</li>
</ol>
<p>&nbsp;</p>
<h3><strong>Method :</strong></h3>
<p><strong>saveAS() :</strong> Used to save the file selected in the Asynfileupload to the server. &nbsp;</p>
<h3><strong>Example :</strong></h3>
<p>The following example demonstrates how to use the AsyncFileupload.</p>
<ol>
<li>Add a page to the web site , take a toolkit scriptmanager on the page and then design it as follows with one Async fileuplaod, a button &amp; an image control.</li>
<li>For the Asyncfile upload control set the name as AFUL and write the following code within the button upload click event.</li>
</ol>
<p>Button click { if(AFUL.Hasfile) { string path=&rdquo;~/photos/&rdquo; + AFUL.fileName; AFUL.saveAs(Mappath(path)); Image1.Imageurl.path l }} &nbsp;</p>
<h3><strong>34 .&nbsp; AJAXFileUpload :</strong></h3>
<p>AJAX file upload is also used to upload files to the server.Advantage of this over Asyncfileuploader &amp; fileupload of control of ASP.net is you can select multiple files at a time with a Ajaxfileupload and displays the progress of uploading a file by clicking on the AJAX file upload you can select multiple files by holding control (ctrl) or shift key. You can also select multiple file by simple dragging &amp; dropping the files on to the AJAX &ndash; fileupload control. &nbsp; &nbsp; &nbsp;</p>
<h3><strong>properties :</strong></h3>
<ol>
<li><strong>Allowed file type :</strong>
<ul>
<li>Used to specify a list of allowed file types by separationg them with (;) semicolon.</li>
</ul>
</li>
<li><strong>MaximumNumberoffiles:</strong>
<ul>
<li>Used to specify the Maximum Number of files user can upload using the Ajaxfileupload</li>
</ul>
</li>
<li><strong>style :</strong>
<ul>
<li>This property is used to specify the style for the control using CSS properties.</li>
</ul>
</li>
</ol>
<h3>&nbsp;</h3>
<h3><strong>Method :</strong></h3>
<p><strong>SaveAs () :</strong> Used to save the file selected in Ajaxfileupload to the server. within the browsers like Internet explorer chrome its that support HTML5 &amp; CSS 3 this control can automatically display the progress of uploading a file with a progress bar when if takes time to upload. &nbsp;</p>
<ol start="5">
<li>
<h3><strong>Cascading Drop Down :</strong></h3>
</li>
</ol>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>This control is used with dropdown list control and it is used to automatically get values to display in a dropdown list by executing a method Asynchronously.</p>
<h3><strong>Properties :</strong></h3>
<ol>
<li><strong>TargetcontrolID :</strong></li>
<li><strong>ParentcontrolID :</strong> Used to specify the ID of the parent dropdownlist from which it has to take the value to get the list of values for targetcontrol of the current cascading dropdown.</li>
<li><strong>Category :</strong> Used to specify a category name for the cascading drop down</li>
<li><strong>Loading Text</strong> : Used to specify the text to display in the target control while loading item into it.</li>
<li><strong>Prompt Text :</strong> Used to specify the text to display in for the Target control after loading items to it.</li>
<li><strong>ServideMethod :</strong> Used to specify the method name that is called to get the list of items to display within the target cotrol.</li>
</ol>
<h3>&nbsp;</h3>
<h3><strong>Example :</strong></h3>
<p>The following example demonstrates how to use the cascading dropdown with dropdownlist controls.</p>
<ol>
<li>Add a page to the website and take a ToolkitscriptManager on it along with two Dropdownlist controls and set their ID&rsquo;s as DDL1 &amp; DDL2.</li>
<li>Within HTML source of the page Drop &amp; Drop two cascading drop down controls &amp; set following for them.</li>
</ol>
<p>&lt;asp : cascading Dropdown ID=&rdquo;cascading Drop Down1&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID = &ldquo;DDL1&rdquo; category=&rdquo;countries&rdquo; LoadingText=&rdquo;[Loading countries]&rdquo; promptText = &ldquo;select your country&rdquo;&nbsp; Servidemethod=&rdquo;Getcountries&rdquo; usecontentkey = &ldquo;True&rdquo;&gt; &lt;/asp: cascadingDropDown&gt; &lt;asp : Cascading Dropdown ID=&rdquo;cascading Dropdown2&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;DDL2&rdquo; parentcontrolID=&rdquo;DDL1&rdquo; category=&rdquo;states&rdquo; LoadingText = &ldquo;[loading states]&rdquo; propmptText = &ldquo;select your state&rdquo; usecontextkey=&rdquo;True&rdquo;&gt; &nbsp;&lt;/asp:cascadingDropDown&gt; Within the design of the page click on the smart tag of 1<sup>st</sup> dropdown list &amp; choose &ldquo;Add cascading Drop down page method&rdquo; &nbsp;to create a Method in the code getcounties which is set as the serviceMethods for the 1 st cascading Dropdown &amp; write the following code with in it.{ sqlconnection cn= new sqlconnection (&ldquo;server=Nikhil; database=mydb;uid=sa;pwd=123&rdquo;); Sqldatadpater Da=new Sql DataAdapter(&ldquo;Select country from countires&rdquo;, cn); Dataset Ds= new Dataset(); Da.fill(Ds,&rdquo;countries&rdquo;); CascadingDropDownNameValue[]Items=new cascading DropDownNamevalue[d.Tables[&ldquo;countries&rdquo;].Rows.count]; int i=0; foreach(DataRow Dr in Ds.Tables[&ldquo;Countries&rdquo;].Rows) { Items[i++]=new cascadingDropDownNameValue(Dr[0].Tostring(),Dr[0].Tostring()); } returns Items; }</p>
<ol start="4">
<li>With in the design of the page click on the smart tag of second DropDownList &amp; choose&rdquo;Add cascading DropDownPageMethod&rdquo; to create a method in the code with the name &ldquo;GetStates&rdquo; which is the serviceMethos set to 2 nd dropdownlist and write the following code with in that mehod.</li>
</ol>
<p>{ string country=knowncategoryvalues; country=country.substring(country.Indexof(&ldquo;:&rdquo;)+1); country=country.substring(0,country.Length-1); Sqlconnection cn=new sqlconnection(&ldquo;Server=Nikhil; database=mydb;uid=sa;pwd=123); SqldataAdapter Da=new sqlDataAdapter( &ldquo;Select state from states from states where country=&rdquo;&rsquo;+country+&rsquo;&rdquo;,cn); Dataset Ds = new Dataset(); Da.fill(Ds.&rdquo;States&rdquo;); CascadingDropDownNameValue[]Items=new CascadingDropDownNameValue[DS.Table[&ldquo;states&rdquo;].Rows.count]; int i=0; foreach(DataRow Dr in Ds.Tables[&ldquo;states&rdquo;].Rows) { Item[i++]=new cascading DropDownNameValue( Dr[0].Tostring()); } returns Items; }</p>
<ol start="5">
<li>at runtime immediately after the page is loaded list of countries will be add to 1 st Dropdownlist&amp; when you select a country in DropDownlist then a list of states related to the country are added to the second dropdown list &amp; all this done asynchronously.</li>
<li>For this example you required the following two tables in database.</li>
</ol>
<p>create table countries(country&nbsp; varchar(30)) create table states (country varchar(30),state varchar(30)) &nbsp;</p>
<ol start="6">
<li>
<h3><strong>ComboBox:</strong></h3>
</li>
</ol>
<p>Combo Box is similar to DropDownList except that it allows you to select an Item from the List and also type the Item If it is not available in List. &nbsp;</p>
<h3><strong>Properties:</strong></h3>
<ol>
<li><strong>AutocompleteMode:</strong> Indicate how the Item is automatically completed while user types it .It has the possible values None,Append,Suggest&amp;SuggestAppend.</li>
<li><strong>Casesenstive: </strong>Indicate whether or not the comboBox is casesenstive to Apply the AutocompleteMode.</li>
<li><strong>Datasource:</strong> Used to specify source of data for that comboBox that can be an array ,a collection or a table in database.</li>
<li><strong>DataTextFiled:</strong> When datasource is in then this property is used to specify the column name in table whose data to treat as the text of the Item.</li>
<li><strong>DatavalueField:</strong> When data source is a table in database then this property is used to specify the column name in table whose data to treat as value for the Items.</li>
<li><strong>DropDownStyle:</strong> Used to specifyappearence &amp; behaviour of the combobox.It has three possible values &lsquo;simple&rsquo;,Dropdown&amp;DropDownlist&rsquo;.When DropDownList is set to simple then the list portion will not hidden&amp; It will be displayed permanently .But in Both DropDown&amp; DropDownList style the list will be automatically hidden after selecting an Item. In the simple &amp; dropdown styles they will allow you to select an Item available in the list .But in DropDown style you cannot type the Item&amp; you select an Item from the list.</li>
<li><strong>Items:</strong> This is the collection of Items in Combo.It can be used for adding Items to the ComboBox or delete Items from the combo box ,Bothe at design time &amp; runtime.It has the methods &amp; properties same as properties and methods of Itens collection of dropdownlist and listbox.</li>
</ol>
<p>The default event for combobox is selected Indexchanged. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>1cf:T25f0,<p>&nbsp;</p>
<h3><strong>Control 1:</strong></h3>
<p><strong>Script Manager:</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>This control is responsible to manage &amp; execute the Javascript required to implement AJAX features in a webpage. A Webpage that implements AJAX must have script manager control on it. &nbsp;</p>
<h3><strong>Control 2:</strong></h3>
<p><strong>Script Manager Proxy:</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>While working with master pages if the master page contains a script manager then all content pages created from that master page can use the script manager available on master page you can not take another script manager <strong>&nbsp;</strong>on the content page. If you want the reference of any external javascript file related to AJAX for that content page then you have to use script manager proxy.<strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>Control 3:</strong></h3>
<p><strong>Update Panel:&nbsp;</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>update panel is used for implementing partial page update with AJAX. When post back occurs because of a control available in an update panel then only particular update panel will be post back to server and updated from server without disturbing the remaining page. &nbsp;</p>
<h3><strong>Control 4:</strong></h3>
<p><strong>Update progress:</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>This control is used to represent the progress of updating an update panel with a message or an image. &nbsp;</p>
<h3><strong>Control 5:</strong></h3>
<p><strong>Timer :</strong> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Timer control is used to repeatedly execute the code at specified intervals of time. &nbsp;</p>
<h3><strong>Example :</strong></h3>
<p>The following example demonstrates how to implement partial page update using AJAX.</p>
<ol>
<li>Create a new Asp.net empty website, and add a page to it and place a script manager on it.</li>
<li>Take an update panel on the page and within the update panel take a label and button and set ID of this label as L1.</li>
<li>Outside the update panel and directly on that page take another label and set its id as l2.</li>
<li>Within page load event write the following code to display the current system time in the both labels l1 and l2.</li>
</ol>
<p>L1.text=DateTime.NOW.Tostring(&ldquo;T&rdquo;) L2.Text=DateTime.Now.Tostring(&ldquo;T&rdquo;);</p>
<ol start="5">
<li>When you run the page and click on the button available in update panel then only that update panel will be post back and only the label available in update panel is updated with tge current system time but not the label that was directly on the page outside the update panel indicating partial page update occurs.</li>
</ol>
<p>&nbsp; &nbsp;</p>
<h3><strong>Working with multiple Update panels:</strong></h3>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>You can use multiple update panels on a page but when post back occurs because of a control available in one update panel then every update panel available on that page will be post back to server and&nbsp; updated from server and not only the update panel&nbsp; because of which the post back is occurs. This is because update mode property of update panel is set to &lsquo;always&rsquo; by default. When you don&rsquo;t want to post back an update panel when post back occurs because of another update panel then set update mode property of that update panel to &lsquo;conditional&rsquo; &nbsp;</p>
<h3><strong>Example :</strong></h3>
<p>The following example demonstrates how to work with multiple update panels on a webpage.</p>
<ol>
<li>Add a page to the website, place a script manager on it and then an update panel &amp; within that update panel on table and button and set ID of that label is L1.</li>
<li>Take another update panel on that page and within that update panel a Label button &amp; set ID of that Label as L2.</li>
<li>Within page &ndash;load event write the following code to display the current time in both the labels L1 &amp; L2</li>
</ol>
<p>L1.Text=DateTime.Now.Tostring(&ldquo;T&rdquo;); L2.Text=DateTime.Now.Tostring(&ldquo;T&rdquo;);</p>
<ol start="4">
<li>Now if you run the page and click on the button available in any update panel then both the update panel will be post back to server &amp; the labels in both the update panels will be updated with current system time because update mode property of update panel is by default set to &lsquo;always&rsquo;.</li>
<li>Within the properties of first update panel set update mode property to conditional and now if you run the page and click on the Button available on second update panel then the first update panel will not be post back to server and the label in first update panel will not be updated with current system time. Because the update mode property of the first update panel is set to conditional.</li>
</ol>
<p>&nbsp;</p>
<h3>&nbsp;<strong>Control 5:</strong></h3>
<p>&nbsp;</p>
<h3><strong>Timer Control :</strong></h3>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>Timer control is used to repeatedly execute the code at specified intervals of time. It has the property interval to specify the time interval in mille-seconds at which the code of that timer has to be repeated Timer control has the &lsquo;tick&rsquo; event has the default event&nbsp; that will be raised whenever the interval set for timer elapsed. Ex: The following example uses the timer control to display the current system time on page continuously running.</p>
<ol>
<li>Add a page to the website and place a script manager and an update panel on a page and within the update panel take one label and one timer control and for that timer control set interval property to 1000</li>
<li>Write the following code within the page load event and also the timer tick event to display the current system time within the label.</li>
</ol>
<p>page-Load event L1.Text = DateTime.Now.Tostring(&ldquo;T&rdquo;) tick event L1.Text = DateTime.Now.String(&ldquo;T&rdquo;);</p>
<ol start="3">
<li>At run time the time displayed in the label will be updated for every one second because of timer and the time displayed within the label appears, to the user like it is continuously running</li>
</ol>
<p>&nbsp;</p>
<h3><strong>Example :</strong></h3>
<p>The following example displays data from a table in database in a Grid view on the page and refresh it for every 20 seconds to reflect recent changes mode to on that page.</p>
<ol>
<li>Add a page to the website, take a script manger and update panel on a page &amp; within the update panel take a grid view and timer &amp; set id of grid view as GVDept &amp; for the timer set interval property to 20,000</li>
<li>within the code of the page writing using statements for the namespaces system.Data.sqlclient &amp; system.Data &amp; then create a method with the name get data as follows</li>
</ol>
<p>public void getdata() { sqlconnection cn=new sqlconnection(&ldquo;server=Nikhil, database=Mydb;uid=sa;pwd=123&rdquo;); sqlDataAdapter Da= new sqlDataAdapter(&ldquo;select * from Dept&rdquo;,cn); Dataset Ds=new dataset(); Ds.Fill(Ds,&rdquo;Dept&rdquo;); GVDept.Datasource=DS.Table[&ldquo;Dept&rdquo;]; GVDept.DataBind(); } &nbsp;</p>
<ol start="3">
<li>Call the method getdata() with in page-locad event &amp; timer&rsquo;s tick event</li>
</ol>
<p>page-Load&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tick event getdata();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getdata();</p>
<ol start="4">
<li>When you run the page than data will be retrieved from the Database and displayed on the grid view &amp; from then onwords every 20 seconds the changes made to table Dept within the database will be reflected in grid view because of the timer</li>
</ol>
<p>&nbsp;</p>
<h3><strong>Update progress Control :</strong></h3>
<p>update progress control is used to indicate updating an update panel is in progress while it is updated from server. with a message or an image. &nbsp;</p>
<h3>&nbsp;<strong>Example :</strong></h3>
<p>The following example demonstrates how to use update progress control to represent the progress of updating an update panel.</p>
<ol>
<li>Add a page to the website, take a script manager on a and then an update panel and within the update panel, take a label and button and within the button click event write the following code.</li>
</ol>
<p>Button &ndash; click event : system.Threading.Thread.sleep(5000); Lable1.Text=&rdquo;Button clicked&rdquo;;</p>
<ol start="2">
<li>Within the update panel take an update progress control and within the update progress control take a label and for the label set the caption &ldquo;update in progress. please wait&hellip;&rdquo;</li>
<li>At runtime when you click on the button available in update panel then as the current thread is suspended for 5 seconds, for 5 seconds you will get the message set to the label in update progress and after 5 seconds that label will be hidden &amp; the label in update panel will display the message button clicked.</li>
<li>Within the update progress control instead of label you can also display image control to display an image indicating update is in progress.</li>
</ol>
<p>&nbsp;</p>1d0:T13a8,<p><strong>Example on Data Reader:-</strong></p>
<ul>
<li>Design a from as follows</li>
<li>Place two labels, two text boxes and two buttons</li>
</ul>
<p><img class="alignnone size-full wp-image-8333" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_205.png" alt="Screenshot_20" width="374" height="277" /> using &nbsp;System. Data .oledb; code in GD Static&nbsp; oledbConnection&nbsp; con = new&nbsp; oledbConnection&nbsp; (&ldquo;User id&nbsp; = Scoot; Password = tiger; Provider = ms data.1*&rdquo;); Oledb command cmd&nbsp; = new oledbcommand&nbsp;&nbsp; (&ldquo;Select&nbsp; * from EMP, con&rdquo;); Oledb Data Reader . dr;//abstrsct Code for Button 1_click { Con. open (); Message Box. Show (&ldquo;Connection is ok&rdquo;); If (con. State&nbsp; = = connection State. closed) { Con. open (); Dr = cmd. Execute Reader (); Message Box. Show (&ldquo;Con. Server version&rdquo;); // column Names Label 1.Text&nbsp; = dr. Get Name (0); Label 1.Text&nbsp; = dr. Get Name (1); } Else Message Box. Show (&ldquo;Connection &nbsp;is already opened&rdquo;); Code for Button2 _click { If&nbsp; (dr.&nbsp; Read&nbsp; () = = true) { textBox1. Text&nbsp; = dr [0] . To String (); textBox1. Text&nbsp; = dr [1] . To String (); } Else Message Box. Show&nbsp; (&ldquo;No more Records&rdquo;); &nbsp; <strong>Data Reader EX 2 </strong> Developing a Dynamic From With Sql Server data base over Managed connection <strong>Project</strong> EMP &agrave;25 columns Dept&agrave;8 Bonus&agrave;4 &nbsp; <img class="alignnone size-full wp-image-8334" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_2110.png" alt="Screenshot_21" width="352" height="351" /> &nbsp;</p>
<ul>
<li>Open windows Forms Application Project</li>
<li>Open a Text box and two buttons as shown</li>
</ul>
<p>&nbsp; Using System. Data. Sqlclient; Code for GD Sqlconnection con = new Sqlconnection&nbsp; (&ldquo;User id = Sa; Password =; database = northwind; Server = local host&rdquo;); Sql command cmd = new sql command (); Sql&nbsp; Data Reader dr; &nbsp; Label[]&nbsp; L; Text Box [] T; Int&nbsp; x = 50; Int [] n = new int&nbsp; [] Code for Button 1_click con. open (); String&nbsp; q = &ldquo;Select * from &rdquo;&nbsp; + text Box1 .Text; One space must be given cmd. Command Text = q; cmd. connection = con; dr = cmd. Execute Reader (); Message Box .Show&nbsp; (dr. Field count + &ldquo;&rdquo;); L = new Label&nbsp; [dr. Field Count]; T = new Text Box [dr. Field Count]; //add the controls in to form For (int&nbsp; I =0; I &lt; dr. Field Count ; I ++) { L [i] = new Label (); L[i] .Text&nbsp; = dr. Get Name (i); L[i] . Location = new Point&nbsp; (100, x); This .Controls. Add (L&nbsp; [i]); T [i] = new Text Box&nbsp; (); T [i] . Location = new Point&nbsp; (200,x); This. Controls . Add ( T [i]); X= x + 30; }//for &nbsp; Code for Button 2_clikc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DR [0]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DR [1] {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ENO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAL If (dr. Read () = = true)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 101&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ravi&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5000 {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; T [0] Text&nbsp; = DR [0]. To String (); For (int I = 0; I &lt;dr. Field Count ; I++) T [i] .Text&nbsp; = dr [i]. To. String (); } Else Message Box. Show (&ldquo;No more Records&rdquo;); <img class="alignnone wp-image-8335" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_225-460x260.png" alt="Screenshot_22" width="444" height="250" /> &nbsp; <strong>OBS :-</strong> &nbsp; When connection is closed , then all associated &nbsp;data readers will be closed automatically. Data Reader&nbsp; works only when connection model is active&nbsp; (open) Data Reader are connection oriented. If no. of clients are more in the network . then Data base efficiency will decreases. &nbsp; &nbsp;</p>1d1:T5365,<h2><strong>Working with user Defined controls, user defined Properties and user defined events</strong></h2>
<p>EMS: Employee manager system &nbsp; &nbsp; <img class="alignnone size-full wp-image-8361" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_914.png" alt="Screenshot_9" width="295" height="248" /> LMS: Library management system &nbsp; <img class="alignnone size-full wp-image-8362" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_305.png" alt="Screenshot_30" width="279" height="240" /> &nbsp; <img class="alignnone wp-image-8363" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_3110-460x286.png" alt="Screenshot_31" width="421" height="261" /> &nbsp;</p>
<ol>
<li>When a predefined control is not providing users requirement, then user defined control need to be developed</li>
<li>To develop user defined controls, NET Introduced</li>
</ol>
<p>&ldquo;Windows forms control library project template&rdquo;</p>
<ol start="3">
<li>User defined controls will be created in the format of DLL&rsquo;S</li>
<li>User defined controls contains application Logic along with GUI.</li>
<li>User defined controls are reusable (write once ute many times)</li>
<li>The controls developed in c# can be used in vb also. But not in ASP.NET</li>
</ol>
<p>&nbsp; <img class="alignnone size-full wp-image-8364" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_327.png" alt="Screenshot_32" width="375" height="273" /> &nbsp; &nbsp; IIS: Internet information service ASPX: Afire server pages extension <img class="alignnone wp-image-8365" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_335-460x216.png" alt="Screenshot_33" width="504" height="235" /></p>
<ol start="7">
<li>User defined controls are Not. Self executable; there are form dependants.</li>
</ol>
<p>&nbsp;</p>
<h3><strong>1 Steps for developing user defined controls:</strong></h3>
<p><strong>Step1 </strong> open windows forms control library project, then design the control as required and write the logic &nbsp; <strong>Step2 </strong> Add an Jcon(optional),Build the project to get a DLL file. &nbsp; <strong>Step3</strong> open windows forms application project and add the DLL file into the Tool Box. &nbsp; <strong>Obs:-</strong> A new control will be added into the Tool Box &nbsp; <strong>Step4 </strong> place a new control on the form add use it as per the requirement. &nbsp; <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />User defined control is a class, which must be inherited either from user control class or form any exiting control <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Based on above statement, user defined controls are divided into two types &nbsp;</p>
<h3><strong>General UC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Inherited UC</strong></h3>
<p>User Control &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text box Text &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Text <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />&agrave;When the base class name is user control, then it is called as &ldquo;General User control&rdquo;. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />When the base class name is any existing control name like text box, button etc, then it is called as &ldquo;Inherited&rdquo; user control&rdquo;.<strong>&nbsp;</strong> <strong>&nbsp;</strong></p>
<h3><strong>Developing login user control:</strong></h3>
<p>&nbsp; <img class="alignnone wp-image-8366" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_345-460x386.png" alt="Screenshot_34" width="466" height="390" /> &nbsp; &nbsp; <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open windows forms control Library project with project name login text. (Out put file is login text.Dll) Choose properties and set name = login (User defined control) (This name will be displayed in the tool box after adding the control) Lace two labels, two text boxes and a button as shown code for button1_click If (text box1.text ==&rdquo;teja&rdquo;&amp;&amp;text box2. Text==&rdquo;abc&rdquo;) Message box. show(&ldquo;valid user&rdquo;); Else Message box. show(&ldquo;not a valid user&rdquo;); } <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Adding an Icon View&agrave; Solution Explorer<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Rt click on login text<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" /> Add <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />New item <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Bit map and provide the name as&nbsp; login.bmp &nbsp;</p>
<h3><strong>Note: </strong></h3>
<p>user control name and BMP file names must be same. Choose properties and ht width =16 and height=16 Design the bitmap as required Choose the properties of login.bmp file and set build action= embedded resource. &nbsp;</p>
<h3><img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Build the project(build menu&agrave; build solution)</h3>
<p>&nbsp;</p>
<h3><strong>OBS:</strong></h3>
<p>Login text.dll will be created under F:/0194/ Login text/ Bin/debug folder <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open WFAP <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open tool box&agrave;Rt Click inside of tool box&agrave;add tap&agrave; gire the name hy controls <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open tool box&agrave;Rt Click inside of my controls tab&agrave;choose items&agrave;browse&agrave;login text. Dll (or) Drag login text. Dll file into Tool box <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />&nbsp;my control tab &nbsp;</p>
<h3><strong>Obs:-</strong></h3>
<p>A New control will be added with the name login <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Place a login control on to the form &nbsp; &nbsp;</p>
<h3><strong>Obs:-</strong></h3>
<ol>
<li>In above user control, two text boxes and two labels and a button controls are integrated together and a new control is formed with the name login</li>
<li>in general user control. Individual controls properties will not be inherited.</li>
</ol>
<p>I.e, In above example it is not possible to change the text of labels, text boxes or button</p>
<ol start="3">
<li>Hence user defined propertied need to be developed</li>
</ol>
<p>&nbsp;</p>
<h3><strong>Working with user defined controls and user defined properties:-</strong></h3>
<p>A =10<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" /> Set&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Property B=A<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />GET Property</p>
<ol>
<li>A Collection of and get functions is called as &ldquo;property&rdquo;.</li>
<li>A property with get function is called as read &ndash; only property.</li>
<li>Syntax to write a property</li>
</ol>
<p>Data type variable; Public data type pName { Set { Variable = value; } Get { Return variable; } } &nbsp;</p>
<h3><strong>Example on user defined properties and user defined controls:</strong></h3>
<ol>
<li>Q) Developing a scrollable user control with 30 Forms</li>
</ol>
<p>&nbsp; &nbsp; <img class="alignnone wp-image-8367" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_355-460x372.png" alt="Screenshot_35" width="452" height="365" /> &nbsp;</p>
<ol>
<li>Q) Developing a scrolling user control with Ltext, Lfont ,LB color and L Seep properties</li>
</ol>
<p><img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open windows forms control Library project with project name scrollable control <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Place a label control. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Place a timer with enabled = true <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Place one more timer with enabled= false . Code for hmer1_tick { Label1.Top= Label1.Top-5;(It will scroll upwards) If(Label1.Top&lt;0) { timer 1.Enabled = false; timer 2.Enabled = True; } } &agrave;Code for timer2-Tick { Label1.Top=Label1.top+5); If(Label1.top&gt;350) { Timer1.enabled=true; Timer2.enabled=false; } } &agrave;code in GD(Initialize component) //Ltext&agrave;Label1.text&agrave;String Public string L Text { Set{Label1.Text=value;} Get{return Label1.Text;} } //LFont&agrave;Label1.Font&agrave;Font Public Font LFont (or) Public Font1 Font { Set{Label1.Font=value;} Get{return Label1.Font;} } //LBcolor&agrave;Label1.Back Color&agrave;color Public color LB color { Set{Label1.Back clor=value;} Get{return Label1.back color;} } //LSpeed&agrave;Timer. Interval&agrave;int Public int LSpeed { Set { Timer1.Interval=value; Timer2.Interval=value; } Get {return timer1.interval;} } <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Build the project(Build menu&agrave;build solution) &nbsp;</p>
<h3><strong>Bs:-</strong></h3>
<p>Scrollable control.dll is created under D:\c194\Scrollable control\Bin\Debug Folder With a new control named &ldquo;User control1&rdquo;. &nbsp;</p>
<h3><strong>Open WFAP</strong></h3>
<p>&agrave;Drag scrollable control.DLL into tool box&agrave;My controls tab &agrave;Then a new control with name user control 1 will be added into the tool box place this control on the form and check Ltext, Lfont, LB color and Lspeed properties. &nbsp;</p>
<h3><strong>Working with Inherited user controls</strong></h3>
<p>&nbsp; <img class="alignnone wp-image-8368" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_364-460x244.png" alt="Screenshot_36" width="425" height="225" /> &nbsp;</p>
<ol>
<li>Inherited user control is required to add extra functionality for an existing control.</li>
<li>In the base class name is user control, then it is called as General user control</li>
<li>If the base class name is any existing control, then it is called as inherited user control.</li>
<li>In inherited user control, all the properties will be inherited from base control</li>
</ol>
<p>IN UC Text box-----40 properties Text_______1 properties 41 properties &nbsp;</p>
<h3><strong>Genera LU Control</strong></h3>
<p>User control Test &nbsp; <img class="alignnone size-full wp-image-8369" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_375.png" alt="Screenshot_37" width="214" height="157" /> Test =&rdquo; ABC&rdquo; Generally inherited user control&rsquo;s class declaration will be as follows Public partial class test: Text box { } In inherited user controls only application logic allowed but placing some other controls are not allowed &nbsp;</p>
<h3><strong>Example on in H User control</strong></h3>
<p><img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Developing a user defined text box with a new property called as input type <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />If input type is A or a ,then text box need to accept only Alphabets <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />If input type is D or D, then text box need to be accept only digits. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />&nbsp;If input type is All then text box need to accept all characters. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />open windows forms control library project with project name UDT. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open code window by pressing f7(don&rsquo;t double click on the form to open code window) Change the class declaration as follows Public partial class user defined control: Text box code in GD String S =&rdquo;ALL&rdquo;;//This is the default value for input type property. Public user control() Public String Input type { Set{S=Value;} Get{return S} } &nbsp;</p>
<h3><strong>Code for user control &ndash; Key press Event</strong></h3>
<p>Private void user control &ndash; key press(--) { If(s==&rdquo;A&rdquo;// S ==&rdquo;a&rdquo;) { If(e.kdy char&gt;=&rsquo;A&rsquo;&amp;&amp; e. key char=&rsquo;Z&rsquo;) //e.key char&gt;=&rsquo;a&rsquo; &amp;&amp; e. key char=&rsquo;Z&rsquo;)</p>
<ol>
<li>Handled=false;</li>
</ol>
<p>else</p>
<ol>
<li>Handled =true;//this statement</li>
</ol>
<p>Cancels the Key stoke } If(S==&rdquo;D&rdquo;\\S==d) { If(e.key char&gt;=&rsquo;o&rsquo;&amp;&amp; e.key char&lt;=&rsquo;9&rsquo;)</p>
<ol>
<li>Handled = false;</li>
</ol>
<p>else</p>
<ol>
<li>Handled = true;</li>
</ol>
<p>} Build the project(Build menu&agrave; Build solution) &nbsp;</p>
<h3><strong>Obs:-</strong></h3>
<p>UDT.DLL will be created under E:\c194\UDT\bin\debug folder Open windows forms application project &agrave;Drag UDT.DLL into tool box&agrave;My controls tab, then a new control will be added with the name&nbsp; user control Design the form As shown &nbsp; <img class="alignnone wp-image-8370" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_385-460x170.png" alt="Screenshot_38" width="589" height="216" /> &nbsp; Execute the project and check either text boxes are accepting proper input or not. &nbsp;</p>
<h3><strong>Working with user controls and user defined events</strong></h3>
<p><img class="alignnone wp-image-8371" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_394-460x176.png" alt="Screenshot_39" width="655" height="249" /> &nbsp; <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />&nbsp;A call back procedure is also called user defined events <strong>&nbsp;</strong></p>
<ul>
<li>When part of user controls logic and part of form&rsquo;s logic need to be executed at one, shot, then user defined events are required.</li>
<li>User defined events are also called as call back procedures.</li>
<li>User defined events can be created with in 4 steps</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Step1: Create a Delegate</strong></h3>
<p><strong>Syntax:</strong> Public delegate void delegate name(or) Dname() &nbsp;</p>
<h3><strong>Step2:- Create an event with the help of the delegate</strong></h3>
<p><strong>Syntax</strong> Public event D Nam Event name; <strong>Step3 :</strong>Raise event or call the event <strong>Syntax: </strong> Erent name() <strong>Step4: </strong>Define the event(Write the body) Prirate void control name enent name() { Logic; }</p>
<ul>
<li><strong>Step1,2 and 3</strong> will need to be followed while developing the control(windows forms control library project) These steps are followed by Microsoft</li>
<li><strong>Step4</strong> need to be followed while using the control (windows forms application project)</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Example on user defined event</strong></h3>
<p>&nbsp; <img class="alignnone wp-image-8372" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_404-460x266.png" alt="Screenshot_40" width="473" height="273" /> &nbsp; <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />open windows control library with project name UDE <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Place button <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Code in GD &nbsp; <strong>Step1:</strong> Public d delegate void D name(); &nbsp; <strong>Step2:</strong> Public event D name Abc; Code for Button1-click Message box. show(&ldquo;from uses control&rdquo;) &nbsp; <strong>Stpe3:</strong> Abc(); Build the project(Build menu&agrave; build solution) UDE.Dll will be crated under E:\c194\UDE\bin\debug &agrave;open windows forms application project</p>
<ul>
<li>Drag UDE.DLL into tool box&agrave;My controls</li>
</ul>
<p>Tab&agrave; place an added control on the form (user control 1) &agrave;Code for user control ABC event Message Box. show(&ldquo;from form&rdquo;);</p>
<ul>
<li>Execute the project and click on the button, then two message boxes need to be displayed.</li>
</ul>1d2:T202b,<h3><strong>Working with crypto Graphy:-</strong></h3>
<p>&nbsp; <img class="alignnone wp-image-8390" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_519-460x171.png" alt="Screenshot_51" width="559" height="207" /> &nbsp; &nbsp; 1.Cryptography is a Concept of data encryptions and decryptions.</p>
<ol start="2">
<li>Converting actual data into some another format is called as &ldquo;encryption&rdquo; and rice verla is called as &ldquo;Decryption&rdquo;.</li>
<li>To encrypt or decrypt some logic is required which is called as an algorithm.</li>
<li>C#.NET supports ~65000*65000 types of algorithms every algorithm will be identified with unique 6 Byte value.</li>
<li>C# recommends to encrypt or decrypt the data in two levels.</li>
</ol>
<p>&nbsp;</p>
<h3><strong>Syntax to write a 16 Byte Array value</strong></h3>
<p>byte[]X=new byte[] 0x23,0x21,0x90&hellip;&hellip;} There 16 Values must be in the range of 0x100 to 0x99 0 work with cryptography, .NET introduced ripple des crypto service provider class, which is the part of system. Security. Crypto graphy name space. &nbsp;</p>
<h3><strong>Example on cryptography:-</strong></h3>
<p>A Program to store encrypted data in a text file and reading that data by decryption <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open WFAP <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Place two buttons as shown Using system. Security. cryptography; Using system.I0;//When ever we need to write in a text file this name space is required. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Code in GD[Before button1] &nbsp; <img class="alignnone size-full wp-image-8391" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_525.png" alt="Screenshot_52" width="224" height="107" /> &nbsp; <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Code in GD[Before button1] Triple Descript to service <strong>proricler</strong> t = new triple descript to service provider (); Byte[]x= new byte[]{0x76,0x16,0x12,0x13,0x15, 0x18,&hellip;..0x20};16 different values <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Code for button1-click[encrypt] { Ale stream +s=new file stream(&ldquo;c://test.text&rdquo;, file hode.create); Crypto stream cs=mew crypto stream(fs, f. create encryptor (x,x),crypto stream hode. white); String S =&rdquo;WELCOME&rdquo;; Byte[] b = encoding. ASCII. Get bytes(s); Conrer byte: in stream and store into char &nbsp; <img class="alignnone size-full wp-image-8392" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_534.png" alt="Screenshot_53" width="220" height="109" /></p>
<ol>
<li>Close();</li>
</ol>
<p>Fs. Close(); Message box. show(&ldquo;Data in encrypted&rdquo;); } Code for button2 &ndash;click File stream fs = new File stream (&ldquo;c://test.txt&rdquo;, File hode open); crypto stream cs = new crypto stream (fs, t. create Decryptor (X,X) crypto stream Mode. Read) Byte[]b= new Byte[100]; Int i=cs. Read (b, o, b. Length); Name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;start String S= Encoding. ASCII. Get String(b, o, i); Cs. close(); Cs. close(); Message box. show(s); } <strong>OBS: </strong>same Byte array must be used for encryption and decryption. &nbsp; <strong>WORKING WITH ROLE BASED SECURITY:-</strong> <img class="alignnone size-full wp-image-8393" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_544.png" alt="Screenshot_54" width="450" height="254" /> &nbsp; <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Role based security is the concept of using os level security at.NET Application level Role based security is also called as windows <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Authentication or&nbsp; principle security. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Generally o/s supports 3 types of roles(privilage)</p>
<ul>
<li>Administrator</li>
<li>Users</li>
<li>Guest</li>
</ul>
<p>My computers<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Rt click<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />managers or member of Rt click on users &agrave;abc Users <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />xyz<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />raj<img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />rani &nbsp; Under one line Administrator may be placed with any number of names. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />To work with ROLEBASED SECURITY,.NET introduced system. Security.&nbsp; Principle&nbsp; name space. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Windows identify I,e predefined class, which is used to find the logged in user name <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />&nbsp;Windows Principle is a predefined class, which is used to find the ROLE of logged in user. &nbsp;</p>
<h3><strong>Example on Role based Security:-</strong></h3>
<p><img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Open WFAD with name ROLES (form1) Add a new form with form name(form2) And back color =green Add one more form with name form3 and with back color = red. <img class="alignnone size-full wp-image-7854" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/Screenshot_242.png" alt="Screenshot_24" width="34" height="14" />Place a button in form Using&nbsp; system. Security. Principle; Code for button1-click { Windows Identify w= Windows Identify. Get(current) Message&nbsp; box. show(w name); Windows. Principal = new Windows. Principal(w); If(p.IS IN ROLW (Windows Built in role. Administrator==true) { Message&nbsp; box. show(&ldquo;Admini&rdquo;); Form2 f = new form2();</p>
<ol>
<li>shows();</li>
</ol>
<p>}</p>1d3:Tca4,<p><strong>Merge Sort</strong></p>
<ul>
<li>Merging a two lists of one element each is the same as sorting them.</li>
<li>Merge sort divides up an unsorted list until the above condition is met and then sorts the divided parts back together in pairs.</li>
<li>Specifically this can be done by recursively dividing the unsorted list in half, merge sorting .The right side then the left side and then merging the right and left back</li>
</ul>
<p>&nbsp; <strong>Merge sort algorithm:</strong> Given a list L with a length K: If k==1 &nbsp;<img class="alignnone size-full wp-image-6279" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/712.png" alt="7" width="55" height="13" /> the list is sorted else</p>
<ul>
<li>merger sort the left side( 0thru k/2)</li>
<li>merge sort the right side (k/2+1 thru K)</li>
<li>merge the right with the left side.</li>
</ul>
<p><img class="alignnone wp-image-6759" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/911.png" alt="91" width="486" height="660" /> &nbsp; &nbsp; &nbsp;</p>
<h3><strong>program:</strong><strong> Implementation of merge sort</strong></h3>
<p>&nbsp; # include &lt;stdio.h&gt; #include &lt;conio.h&gt; void merge (int numbers [], int temp[], int left,&nbsp; int mid ,&nbsp; int right); void merge sort (int numbers[], int temp[], int array-size); void m-sort( int numbers[],int temp[],int left, int right); void merge-sort ( int numbers [],int temp, int array-size); { m-sort(numbers,temp,0,array-size-1); } void m-sort(int numbers[],int temp[],int left, int right) { int mid; if(right&gt;left) { mid = (right +left)/2; m-sort (numbers,&nbsp; temp, left,mid); m-sort(numbers temp,mid+1,right); merge(numbers,temp,left,mid+1,right); } /*merge*/ void merge(int numbers[],int temp[],int left, int mid, int right) { int i,left-end,num-elements,Emp-pos; left-end =mid-1; emp-pos-left; num-elements =right-left+1; while ((left&lt;=left-end)&amp;&amp; (mid&lt;=right)) { if(numbers[left]&lt;=numbers[mid]) { temp[temp-pos]=numbers[left]; tmp-pos = tmp-pos+1; left=left+1; else {temp[tmp-pos]= numbers [mid]; tmp-pos=tmp-pos+1; mid=mid+1; } } while( left &lt;= left-end) { temp (tmp-pos]= numbers[left]; left=left+1; tmp=pos=tmp=pos+1; } while(mid &lt;=right) { temp[tmp-pos]= numbers[mid]; mid=mid+1; tmp-pos=tmp-pos+1; } for(i=0;i&lt;=num-elements;i++) { numbers [right ]= temp[right]; right =right-1; } } void main() { int a[20],b[20],n,i; printf(&ldquo;Enter the value of&nbsp; n:\n&rdquo;); scanf(&ldquo;%d&rdquo;,&amp;n); printf(&ldquo;Enter n elements :\n&rdquo;); for (i=0;i&lt;=n;i++) { scanf(&ldquo;%d&rdquo;,&amp;a[i]); } merger sort(a,b,n); printf (&ldquo;Sorted elements are :\n&rdquo;); for (i=0;i&lt;n;i++) { printf(&ldquo;%d&rdquo;,a[i]); } } &nbsp; &nbsp; &nbsp; &nbsp; <strong>OUTPUT:</strong> Enter the value of n:8 Enter n elements: 18 26 32 6 43 15 9 1 sorted elements are: 1&nbsp; 6&nbsp; 9 15 18&nbsp; 26 32 43 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <strong>Example:&nbsp; </strong> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>1d4:T1f05,<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">When talking about security threats for small business, you need to be aware of almost numerous types of cyber attacks that exist nowadays. From malware, phishing, through XSS and </span><a href="http://gotowebsecurity.com/everything-sql-injection/"><strong>SQL injection</strong></a><span style="font-weight: 400;">, to bugs, trojans, and viruses... The list can go on and on because hackers are working every day on something new. That is exactly why you need to be well aware of all the security threats and to know how to follow properly all the existing security tips for small business. </span></p>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">Think about all internet security tips you have heard of, and try to implement them in your company. Although, it may seem like </span><a href="http://gotowebsecurity.com/"><strong>cyber security tips</strong></a><span style="font-weight: 400;"> are different for big and small businesses, it is literally the same. Hackers don't have a particular target, they just want to find a hole that will get them through to take what they need. So, the point is that you should be well aware how small business is not something hackers are not interested in. It is a big mistake to believe in that. Let's see what are the best solutions for small business!</span></p>
<p style="font-weight: 400; text-align: justify;"><strong>1.</strong><strong>What should you protect</strong><span style="font-weight: 400;">? Knowing where your information is being stored and used is the first step of defense. Once you know that, you will be able to act properly and to protect your data. Also, don't forget about the mobile devices. The stolen once are a huge problem. You need to have a proper password because once the device is lost, someone can break into your system and steal your sensitive data. Did you know that at least one mobile phone is lost in each of companies?</span></p>
<p style="font-weight: 400; text-align: justify;"><strong>2.</strong><strong>Passwords</strong><span style="font-weight: 400;">. I have already mentioned how unprotected devices can cause so much damage. The best cybersecurity for small business would definitely be to enforce strong passwords within the employees. Passwords need to be long enough and to have letters, symbols, and numbers. Use big and small letters for a better protection.</span></p>
<p style="font-weight: 400; text-align: justify;"><strong>3.</strong><strong>Cybersecurity recovery plan</strong><span style="font-weight: 400;">. You need to be well aware what to do in some situations when it seems that all is already lost. Be sure that you have identified all of your critical resources and know how to recover them. The next fact will help you to understand this better.</span></p>
<p style="font-weight: 400; text-align: justify;"><strong>4.</strong><strong>Encryption</strong><span style="font-weight: 400;">. Encryption technologies should be always implemented, especially for desktops, laptops and other removable media (for example a USB). In that case, only, you will be able to control and protect an unauthorized access.</span></p>
<p style="font-weight: 400; text-align: justify;"><strong>5.</strong><strong>Security solutions</strong><span style="font-weight: 400;">. When talking about security solutions for your small business, you need to be sure that you are using the reliable ones. The nowadays technology has raised so much that it does more than just preventing the viruses. The files can be scanned regularly if there is some unusual change in size or file. Programs that match malware can be also detected, just like spams.</span></p>
<p style="font-weight: 400; text-align: justify;"><strong>6.</strong><strong>Up to date</strong><span style="font-weight: 400;">. Why is so important to stay up to date? Do you get angry when your computer needs to upgrade something? You think it takes too much of your time? Well, rethink your beliefs. First of all, that is for your own good and the best security tip you can implement. Why is your computer upgrading all the time? It is trying to escape all the bugs that hackers may created already in the previous version of the system. So, staying up to date will protect you. </span></p>
<p style="font-weight: 400; text-align: justify;"><strong>7.</strong><strong>Educating the employees</strong><span style="font-weight: 400;">. When talking about cybersecurity for small business, it is highly important that not just one person knows what are the best solutions for small business when it comes to fighting against security threats. All of the employees need to be trained well to know how to recognize the threats. The threats mostly happen when someone from your business opens a spam email. Isn't that enough? It can ruin your whole security. It can make hackers to steal your sensitive data. Think about this tip and train your employees to be well aware of the danger, just as you will be after reading this article.</span></p>
<pre style="text-align: center;"><em><strong>Interested in mastering Cyber Security Training? 
Enroll now for FREE demo on <a href="https://tekslate.com/cyber-security-training/">Cyber Security Training</a>.
</strong></em></pre>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">We took a look at the most important cybersecurity tips for small business. Now, I will show you some interesting facts that people who run small business believe that are not real. Hope that you won't find yourself in these facts, but if you do, you know what should you do in the future. Or not in the future, start from now and protect your business! Let's take a look at some 'interesting' facts that people who run small business believed won't happen to them!</span></p>
<ul>
<li style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">There is more than 50% of the small business who truly believe that they are not such an interesting target for hackers. We already explained to you that anyone can be a victim. You never know what they are looking for. Oh yes, we do know, they are looking for people and businesses that don't protect their sensitive data in a proper way. Think about that.</span></li>
<li style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">More than 70% of the small business companies have already been the victims of cyber attacks. Do you how much that cost those small businesses? Approximately, the annual cost was more than $190, 000! I am now sure that you will read this article over and over again until you know it by the head.</span></li>
<li style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">There are more than 40% of people that have already experienced some kind of a loss when it comes to confidential and proprietary information. You don't want to increase that score, right?</span></li>
<li style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">We talked about training and educating your employees. Are you aware that more than 70% of small businesses don't even have a security policy for their employees? That was exactly what we were talking about.</span></li>
<li style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">Rarely someone loses his or her mobile device or laptop, is that what you believe in? I will have to disappoint you by saying how there are more than 60% of small business employees that have already lost their mobile device or laptop, and not just once, but many times. </span></li>
</ul>
<p style="font-weight: 400; text-align: justify;"><span style="font-weight: 400;">Are you going to risk all that? Now when you know what are the best solutions for small business, you don't have a justification anymore.</span></p>1d5:T2f84,<h2 style="text-align: justify;"><span style="font-size: 24px; color: #e67e23;">DataStructures Tutorial Overview</span></h2>
<p>Welcome to the DataStructures Tutorial! The objective of these tutorials is to help you gain a solid understanding of data structures and their applications. By the end of these tutorials, you will be able to use data structures effectively to write efficient, scalable, and error-free code.</p>
<p><br />We will cover a wide range of topics, including stacks, sorting algorithms, queues, trees, graphs, and more. Each of these data structures has its unique properties, applications, and algorithms, and understanding them will help you write better programs.</p>
<p>In addition to the core concepts, we will also cover common interview questions related to data structures. Understanding these questions and how to solve them will help you ace technical interviews and build your confidence.</p>
<p><br />We will also address common issues that programmers face when working with data structures, such as memory management, performance optimization, and code maintainability.</p>
<p>Whether you are a beginner or an experienced programmer, this tutorial series will provide you with the knowledge and skills you need to master data structures and write better code. Let's get started!</p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e67e23; font-size: 24px;"><strong>Data Structures</strong></span></h2>
<p style="text-align: justify;">In computer science, a data structure is a particular way and organizing data in a computer so that it can be used efficiently.</p>
<p style="text-align: justify;">A data structure is an arrangement of data in a computer memory or even disk storage.</p>
<p style="text-align: justify;">An example of several common data structures are arrays, linked lists, queues, stacks, binary trees, and hash tables.</p>
<p style="text-align: justify;">Different kinds of data structures are suited to different kinds of applications and some are highly specialized to specific basis.</p>
<p style="text-align: justify;">For example, 3-trees are particular well suited for the implementation of databases, while compiler implementation usually use hash tables to look up identifiers.</p>
<p style="text-align: justify;">Data structures are used in almost every program or software system.</p>
<p style="text-align: justify;">Specific data structures are essential ingredients of many efficient algorithms and make possible the management of huge amounts of data, such as large databases and internet indexing services.</p>
<p style="text-align: justify;">&nbsp;</p>
<p style="text-align: justify;"><strong>The following are the two types of the DataStructures:</strong></p>
<ol>
<li style="text-align: justify;">Linear DataStructures.</li>
<li style="text-align: justify;">Non-linear DataStructures.</li>
</ol>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 20px;">Linear Data Structures</span></h3>
<p>Linear data structures store and organize data elements in a linear or sequential manner. These structures are often used for fast access and easy manipulation of data.</p>
<p>There are several types of linear data structures, including arrays, stacks, queues, and linked lists.</p>
<h3 style="text-align: justify;"><span style="color: #e67e23; font-size: 20px;">Non-linear DataStructures</span></h3>
<p style="text-align: justify;">The non-linear DataStructures holds/stores the data elements in the form hierarchy by establishing some relationship between the data elements.</p>
<p style="text-align: justify;">Trees and graphs are nonlinear data structures.</p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><span style="color: #e67e23;">Infix to Postfix conversions</span></h2>
<p>In general, simple architecture expression can be represented in three ways: infix, prefix and postfix.</p>
<ul>
<li>Consider the expression A+B. Here A and B are operands and + is binary</li>
<li>The three notations can be shown as :</li>
</ul>
<p>A+B&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; infix +AB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prefix(or polish) AB+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; postfix(pr suffix or reverse polish)</p>
<ul>
<li>In infix notation, the operator symbol is between the two operands.</li>
<li>In prefix, the operator symbol is placed before is its two operands.</li>
<li>In postfix, the operator symbol is placed before is its two operands.</li>
<li>In postfix, the operator symbol is placed after its two operands(i.e the operator follows both operands)</li>
</ul>
<p>The infix operands &ndash; precedence is as follows</p>
<ol>
<li>parenthesis</li>
<li>multiplication * , Division</li>
<li>Addition +, Subtraction &ndash;</li>
</ol>
<p><strong>Algorithm</strong>:&nbsp; In to post (Q, P) Suppose&nbsp;&nbsp; &lsquo;Q&rsquo;&nbsp; is an arithmetic expression written in infix notation. This algorithm finds the equivalent postfix expression p.</p>
<ol>
<li>Push a left parenthesis onto the stack, and add a right parenthesis to the end of Q.</li>
<li>Scan Q from left to right and repeat steps 3 to 6 for each element of Q until the stack is empty.</li>
<li>If an operand is encountered, add it to the postfix expression P.</li>
<li>If a left parenthesis is encountered, push it onto the stack.</li>
<li>If an operator X is encountered, then:
<ul>
<li>Repeatedly pop from the stack and add to P each operator on the top of the stack, which has the same precedence as or higher precedence than X.</li>
<li>Push X onto the stack.</li>
</ul>
</li>
<li>If a right parenthesis is encountered, then:
<ul>
<li>Repeatedly pop from the stack and add to P each operator on the top of the stack until a left parenthesis is encountered.</li>
<li>Pop the left parenthesis from the stack.</li>
</ul>
</li>
<li>Exit</li>
</ol>
<p>The algorithm works by using a stack to keep track of the operators encountered in the infix expression. When an operator is encountered, it is compared with the operator at the top of the stack. If the operator has higher or equal precedence than the one on the top of the stack, it is pushed onto the stack. Otherwise, the operator on top of the stack is popped and added to the postfix expression until an operator with lower precedence is encountered. The left and right parentheses are used to ensure that the order of evaluation is preserved.</p>
<p>Overall, the infix-to-postfix conversion algorithm is a useful technique for parsing arithmetic expressions and evaluating them in a more efficient manner.</p>
<p><strong>Example</strong><strong> :</strong> <strong>Q:&nbsp;</strong>A+(B*C-(D/E*F)*G)*H)</p>
<table border="2">
<tbody>
<tr>
<td width="201">Symbol Scanned</td>
<td width="196">&nbsp;&nbsp; STACK</td>
<td width="204">&nbsp;&nbsp; postfix(p)</td>
</tr>
<tr>
<td width="201">
<ol>
<li>A</li>
</ol>
</td>
<td width="196">&nbsp;&nbsp; C</td>
<td width="204">&nbsp; A</td>
</tr>
<tr>
<td width="201">
<ol start="2">
<li>+</li>
</ol>
</td>
<td width="196">&nbsp;&nbsp;&nbsp; C+</td>
<td width="204">&nbsp; A</td>
</tr>
<tr>
<td width="201">
<ol start="3">
<li>C</li>
</ol>
</td>
<td width="196">&nbsp;&nbsp; C+C</td>
<td width="204">&nbsp; A</td>
</tr>
<tr>
<td width="201">
<ol start="4">
<li>B</li>
</ol>
</td>
<td width="196">&nbsp;&nbsp; C+C</td>
<td width="204">&nbsp; AB</td>
</tr>
<tr>
<td width="201">
<ol start="5">
<li>*</li>
</ol>
</td>
<td width="196">&nbsp;&nbsp; C+C*</td>
<td width="204">&nbsp;&nbsp;AB</td>
</tr>
<tr>
<td width="201">
<ol start="6">
<li>C</li>
</ol>
</td>
<td width="196">C+C*</td>
<td width="204">ABC</td>
</tr>
<tr>
<td width="201">
<ol start="7">
<li>-</li>
</ol>
</td>
<td width="196">C+C-</td>
<td width="204">ABC*</td>
</tr>
<tr>
<td width="201">
<ol start="8">
<li>(</li>
</ol>
</td>
<td width="196">C+C-C</td>
<td width="204">ABC*D</td>
</tr>
<tr>
<td width="201">
<ol start="9">
<li>0</li>
</ol>
</td>
<td width="196">C+C-C</td>
<td width="204">ABC*D</td>
</tr>
<tr>
<td width="201">
<ol>
<li>/</li>
</ol>
</td>
<td width="196">C+C-C/</td>
<td width="204">ABC*D</td>
</tr>
<tr>
<td width="201">
<ol>
<li>E</li>
</ol>
</td>
<td width="196">C+C-C/</td>
<td width="204">ABC*DE</td>
</tr>
<tr>
<td width="201">
<ol start="2">
<li>*</li>
</ol>
</td>
<td width="196">C+C-C</td>
<td width="204">ABC*DE/</td>
</tr>
<tr>
<td width="201">
<ol start="3">
<li>F</li>
</ol>
</td>
<td width="196">C+C-C*</td>
<td width="204">ABC*DE/F</td>
</tr>
<tr>
<td width="201">
<ol start="4">
<li>)</li>
</ol>
</td>
<td width="196">C+C-</td>
<td width="204">ABC*DE/F*</td>
</tr>
<tr>
<td width="201">
<ol start="5">
<li>*</li>
</ol>
</td>
<td width="196">C+C-</td>
<td width="204">ABC*DE/F*</td>
</tr>
<tr>
<td width="201">
<ol start="6">
<li>G</li>
</ol>
</td>
<td width="196">C+C-*</td>
<td width="204">ABC*DE/F*G</td>
</tr>
<tr>
<td width="201">
<ol start="7">
<li>)</li>
</ol>
</td>
<td width="196">C+C.</td>
<td width="204">ABC*DE/F*G*-</td>
</tr>
<tr>
<td width="201">
<ol start="8">
<li>*</li>
</ol>
</td>
<td width="196">C+*</td>
<td width="204">ABC*DE/F*G*-</td>
</tr>
<tr>
<td width="201">
<ol start="9">
<li>H</li>
</ol>
</td>
<td width="196">C+*</td>
<td width="204">ABC*DE/F*G*-H</td>
</tr>
<tr>
<td width="201">
<ol>
<li>)</li>
</ol>
</td>
<td width="196">EMPTY</td>
<td width="204">ABC*DE/F*G*-H*+</td>
</tr>
</tbody>
</table>
<p><img class="alignnone size-full wp-image-6549" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/183.png" alt="18" width="232" height="349" /></p>
<h4>Program:</h4>
<h3>Program to convert infix to postfix expressions</h3>
<pre class="language-markup"><code>#include&lt;stdio.h&gt;
#include&lt;conio.h&gt;
#include&lt;ctype.h&gt;
#include&lt;stdlib.h&gt;

char infix[20];
char postfix[20];
char stack[20];
int TOP=-1;

void GetExpr() {
    int len;
    printf("Enter an infix expression:\n");
    gets(infix);
    len = strlen(infix);
    infix[len] = ')';
    TOP = TOP + 1;
    stack[TOP] = 'c';
}

void convert() {
    int i, j;
    for(i = 0, j = 0; TOP != -1; i++) {
        if(isalpha(infix[i])) {
            postfix[j] = infix[i];
            j = j + 1;
        }
        else {
            switch(infix[i]) {
                case '(': 
                    TOP = TOP + 1;
                    stack[TOP] = '(';
                    break;
                case '+':
                case '-':
                    while(stack[TOP] == '+' || stack[TOP] == '-' || stack[TOP] == '*' || stack[TOP] == '/') {
                        postfix[j] = stack[TOP];
                        j = j + 1;
                        TOP = TOP - 1;
                    }
                    TOP = TOP + 1;
                    stack[TOP] = infix[i];
                    break;
                case '*':
                case '/':
                    while(stack[TOP] == '*' || stack[TOP] == '/') {
                        postfix[j] = stack[TOP];
                        j = j + 1;
                        TOP = TOP - 1;
                    }
                    TOP = TOP + 1;
                    stack[TOP] = infix[i];
                    break;
                case ')':
                    while(stack[TOP] != '(' &amp;&amp; (stack[TOP] == '+' || stack[TOP] == '-' || stack[TOP] == '*' || stack[TOP] == '/')) {
                        postfix[j] = stack[TOP];
                        j = j + 1;
                        TOP = TOP - 1;
                    }
                    TOP = TOP - 1;
                    break;
            } /* switch end */
        } /* else end */
    } /* for end */
    postfix[j] = '\0';
    printf("Expression in postfix is %s\n", postfix);
}

int main() {
    clrscr();
    GetExpr();
    convert();
    getch();
    return 0;
}
</code></pre>
<p><strong>Output</strong><strong>:</strong>&nbsp; Enter an expression A+(B*C&nbsp; - CDIE*F)</p>
<p><img class="alignnone wp-image-6550" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/194-460x243.png" alt="19" width="558" height="294" /> &nbsp;</p>
<p>&nbsp;</p>1d6:T38d4,<h2 style="text-align: justify;">Cascading Style Sheets (CSS) Tutorial Overview</h2>
<p style="text-align: justify;">Welcome to&nbsp;CSS Tutorials. The objective of these tutorials is to provide in depth understanding of&nbsp;Cascading Style Sheets (CSS). In these tutorials we will cover topics such as CSS Tables, CSS Images, CSS Fonts, CSS Styling, CSS Attributes, Fonts etc.</p>
<p style="text-align: justify;">In addition to free tutorials, we will cover common interview questions, issues and how to's of CSS.</p>
<h3>Index</h3>
<ul>
<li><a href="https://tekslate.com/css-margins-paddingsproperties/">CSS Margins &amp; Paddings</a></li>
<li><a href="https://tekslate.com/cross-browser-compatibility-issues-css/">Cross Browser Compatibility Issues in CSS</a></li>
<li><a href="https://tekslate.com/css-element-visbility/">CSS Element Visbility</a></li>
<li><a href="https://tekslate.com/css-attribute-selectors/">CSS Attribute Selectors</a></li>
<li><a href="https://tekslate.com/css-floats-examples/">CSS Floats</a></li>
<li><a href="https://tekslate.com/css-positioning-types/">CSS Positioning</a></li>
<li><a href="https://tekslate.com/css-lists-types/">CSS Lists Properties</a></li>
<li><a href="https://tekslate.com/css-tables-properties/">CSS Tables &amp; Cursors</a></li>
<li><a href="https://tekslate.com/css-images-properties/">CSS Images Properties</a></li>
<li><a href="https://tekslate.com/css-colors-background/">CSS Colors &amp; Background</a></li>
<li><a href="https://tekslate.com/css-font-style-size-weight/">CSS Fonts</a></li>
<li><a href="https://tekslate.com/css-comments-units/">CSS Comments &amp; Units</a></li>
<li><a href="https://tekslate.com/embedded-css-element-css/">CSS Style Element</a></li>
</ul>
<h2 style="text-align: justify;">CSS Introduction</h2>
<p style="text-align: justify;"><strong>What is CSS?</strong></p>
<p style="text-align: justify;">CSS stand for Cascading Style Sheets.</p>
<p style="text-align: justify;">Styles define how to display HTML elements.</p>
<p style="text-align: justify;">Styles were added to HTML 4.0 to solve a problem</p>
<p style="text-align: justify;">External Style Sheets can save a lot of work</p>
<p style="text-align: justify;">External Style Sheets are stored in CSS files.</p>
<p style="text-align: justify;"><strong>Styles Solved a Big Problem</strong></p>
<p style="text-align: justify;">HTML was never intended to conation tags for formatting a document.</p>
<p style="text-align: justify;">HTML was intended to define the content of a document, like:</p>
<p style="text-align: justify;">&lt;h1&gt;This is a heading&lt;/h1&gt;</p>
<p style="text-align: justify;">&lt;p&gt; This is a paragraph&lt;/p&gt;</p>
<p style="text-align: justify;">When tags like &lt;font&gt;, and color attribute were added to the HTML 3.2 specification, it started a nightmare for web `developers. Development of large websites, where fonts and color information were added to every single page, became a long and expensive process.</p>
<p style="text-align: justify;">To solve this problem, the World Wide Web Consortium (W3C) created CSS.</p>
<p style="text-align: justify;">In HTML 4.0 all formatting could be removed from the HTML document, and stored in a separate CSS file.</p>
<p style="text-align: justify;">All browsers support CSS today.</p>
<p style="text-align: justify;"><strong>CSS Saves a Lot of Work!</strong></p>
<p style="text-align: justify;">CSS defines HOW HTML elements are to be displayed.</p>
<p style="text-align: justify;">Styles are normally saved in external.css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!</p>
<h2 style="text-align: justify;">CSS Syntax</h2>
<p style="text-align: justify;">A CSS rule has two main parts: a selector, and one or more declarations:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9171" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_159-460x122.png" alt="Screenshot_1" width="524" height="138" /></p>
<p style="text-align: justify;">The selector is normally the HTML element you want to style.</p>
<p style="text-align: justify;">Each declaration&nbsp; consists of a property and a value.</p>
<p style="text-align: justify;">The property is the style attribute you want to change .Ecah prpoeryty has value.</p>
<p style="text-align: justify;">A CSS comprises of style rules that are interpreted by the browser and then applied to the corresponding elements in your document .A style rule is made of three parts:</p>
<p style="text-align: justify;"><strong>Selector:</strong> A selector is an HTML tag at which style will be applied. This could be any tab like &lt;hl&gt; or &lt;table&gt;etc.</p>
<p style="text-align: justify;"><strong>Property:</strong> A property is a type of attribute of HTML tag. Put simply, all the HTML attributes are converted into CSS properties .They could be <em>color</em> or <em>border</em></p>
<p style="text-align: justify;"><strong>Value:</strong> Values are assigned to properties .For example<em> color</em> property can have value either <em>red</em> or <em>#F1F1F1</em></p>
<p style="text-align: justify;">You can put CSS style Rule Syntax as follows:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9172" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_339-460x168.png" alt="Screenshot_3" width="372" height="135" /></p>
<p style="text-align: justify;">Here table is a selector and border is a property and give value <em>1px solid #C00</em> is the value of that property.</p>
<p style="text-align: justify;">You can define selectors in various simple ways based on your comfort. Let me put these selectors one by one.</p>
<h2 style="text-align: justify;">CSS&nbsp;Type Selectors</h2>
<p style="text-align: justify;">This is the same selector we have seen above .Again one more example to give color to all level 1 headings:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9173" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_430.png" alt="Screenshot_4" width="282" height="233" /></p>
<h2 style="text-align: justify;">CSS&nbsp;Universal Selectors</h2>
<p style="text-align: justify;">Rather than selecting elements of a specific type, the universal selector quite simply matches the name of any element type:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9174" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_530.png" alt="Screenshot_5" width="283" height="238" /></p>
<p style="text-align: justify;">This rule renders the content of every element in our document in black.</p>
<h2 style="text-align: justify;">CSS&nbsp;Descendant Selectors</h2>
<p style="text-align: justify;">Suppose you want to apply a style to a particular element only when it lies inside a particular element. As given in the following example, style rule will apply to &lt;em&gt; element only when it lies inside &lt;ul&gt; tag.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9175" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_628.png" alt="Screenshot_6" width="310" height="255" /></p>
<h2 style="text-align: justify;">CSS&nbsp;Class Selectors</h2>
<p style="text-align: justify;">You can define style rules based on the class attribute of the elements. All the elements having that class will be formatted according to the defined rule.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9176" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_730.png" alt="Screenshot_7" width="324" height="219" /></p>
<p style="text-align: justify;">This rule renders the content in black for every element with class attribute set to black in our document. You can make it a bit more particular .For example:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9177" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_824.png" alt="Screenshot_8" width="331" height="224" /></p>
<p style="text-align: justify;">This rule renders the content in black for only &lt;h1&gt; elements with class attribute set to black.</p>
<p style="text-align: justify;">You can apply more than one class selectors to given element. Consider the following example:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9178" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_918-460x172.png" alt="Screenshot_9" width="493" height="184" /></p>
<h2 style="text-align: justify;">CSS&nbsp;ID Selectors</h2>
<p style="text-align: justify;">You can define style rules based on the id attribute of the elements. All the elements having that id will be formatted according to the defined rule.</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9182" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1020.png" alt="Screenshot_10" width="307" height="204" /></p>
<p style="text-align: justify;">This rule renders the content in black for every element with id attribute set to black in our document .You can make it a bit more particular .For example:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9183" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1117.png" alt="Screenshot_11" width="337" height="216" /></p>
<p style="text-align: justify;">This rule render the content in black for only &lt;h1&gt; elements with id attribute set to black.</p>
<p style="text-align: justify;">The true power of id selectors is when they are used as the foundation for descendant selectors, For example:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9184" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1213.png" alt="Screenshot_12" width="347" height="220" /></p>
<p style="text-align: justify;">In this example all level 2 headings will be displayed in black color only when those headings will lie within tags having id attribute set to <em>black</em>.</p>
<h2 style="text-align: justify;">CSS&nbsp;Child Selectors</h2>
<p style="text-align: justify;">You have seen descendant selectors. There is one more type of selectors which is very similar to descendants but have different functionality. Consider the following example:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9185" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1313.png" alt="Screenshot_13" width="461" height="138" /></p>
<p style="text-align: justify;">This rule will render all the paragraphs in black if they are direct child of &lt;body&gt; element. Other paragraphs put inside other elements like &lt;div&gt; or &lt;td&gt; etc. would not have any effect of this rule.</p>
<h2 style="text-align: justify;">CSS&nbsp;Attributes Selectors</h2>
<p style="text-align: justify;">You can also apply styles to HTML elements with particular attributes. The style rule below will match all input elements that has a type attributes with a value of <em>text</em>:</p>
<p style="text-align: justify;"><img class="alignnone wp-image-9186" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1411.png" alt="Screenshot_14" width="310" height="193" /></p>
<p style="text-align: justify;">The advantage to this method is that the &lt;input type=&rdquo;submit&rdquo;/&gt; element is unaffected, and the color applied only to the desired text fields.</p>
<p style="text-align: justify;">There are following rules applied to attribute selector.</p>
<ul style="text-align: justify;">
<li><strong>p[lang]-</strong>Selects all paragraphs elements with a lang attribute.</li>
<li><strong>p[lang=&rdquo;fr&rdquo;]-</strong> Selects all paragraphs elements&nbsp; whose lang attribute has a value of exactly&rdquo;fr&rdquo;.</li>
<li><strong>p[lang~=&rdquo;fr&rdquo;]-</strong> Selects all paragraphs elements&nbsp; whose lang attribute contains the word&rdquo;fr&rdquo;.</li>
<li><strong>p[lang|=&rdquo;en&rdquo;]-</strong> Selects all paragraphs elements&nbsp; whose lang attribute contains values that are exactly &ldquo;en&rdquo; or begin with &ldquo;en-&ldquo;.</li>
</ul>
<h2 style="text-align: justify;">CSS Multiple Style Rules</h2>
<p style="text-align: justify;">You may need to define multiple style rules for a single element. You can define these rules to combine multiple properties and corresponding values into a single block as defined in the following example:</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-9189" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_1510.png" alt="Screenshot_15" width="436" height="348" /></p>
<p style="text-align: justify;">Here all the property and value pairs are separated by a semi colon (;) You can keep them in a single line or multiple lines. For better readability we keep them into separate lines.</p>
<h2 style="text-align: justify;">Grouping Selectors</h2>
<p style="text-align: justify;">You can apply a style to many selectors if you like. Just separate the selectors with a comma as given in the following example:</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-9190" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_169.png" alt="Screenshot_16" width="439" height="344" /></p>
<p style="text-align: justify;">This define style rule will be applicable to h1,h2, and h3 element as well. The order of the list is irrelevant. All the elements in the selector will have the corresponding declaration applied to them.</p>
<p style="text-align: justify;">You can combine various <em>class</em> selectors together as shown below:</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-9191" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_178.png" alt="Screenshot_17" width="438" height="254" /></p>
<p style="text-align: justify;">There are four ways to associate styles with your HTML document .Most commonly used methods are inline CSS and External CSS&gt;. We will talk about this in next tutorial</p>1d7:T1abb,<h2>C++ Tutorial Overview</h2>
<p>Welcome to C++ Tutorial. The objective of these tutorials is to provide good understanding on C++ Programming Language. In these tutorial, we will cover topics such as Data Types, Constructors, Functions, Aggregation etc. In addition to free C++ tutorial, we will cover common interview questions and issues of C++ Programming Language.</p>
<h3>Index</h3>
<ul>
<li><a href="https://tekslate.com/c-explain-advantages-disadvantages/">Advantages and Disadvantages of C++ language</a></li>
<li><a href="https://tekslate.com/data-types-c-plus-plus/">Data Types in C++ Language</a></li>
<li><a href="https://tekslate.com/c-compilers-structure-c-program/">C++ compilers &amp; Structure of C++ Program</a></li>
<li><a href="https://tekslate.com/explain-history-c-advantages-disadvantages/">History of C++ &amp; Advantages &amp; Disadvantages</a></li>
<li><a href="https://tekslate.com/types-of-variables-in-c-with-examples/">Types of variables in C++</a></li>
<li><a href="https://tekslate.com/unary-operator-in-c-with-example/">Unary Operator in C++</a></li>
<li><a href="https://tekslate.com/array-of-objects-in-c/">Array of Objects in C++ Language</a></li>
<li><a href="https://tekslate.com/constructors-in-c-with-examples/">Constructors in C++</a></li>
<li><a href="https://tekslate.com/files-concepts-c-language/">File concepts in C++</a></li>
<li><a href="https://tekslate.com/pointers-in-c-language/">Pointers in C++ Language</a></li>
<li><a href="https://tekslate.com/operator-overloading-in-c/">(Polymorphism) Operator Overloading in C++</a></li>
<li><a href="https://tekslate.com/templates-in-c/">Templates in C++</a></li>
<li><a href="https://tekslate.com/io-streams-in-c/">IO Streams in C++</a></li>
<li><a href="https://tekslate.com/explain-oops-concept-c/">OOP&rsquo;s concepts in C++</a></li>
<li><a href="https://tekslate.com/functions-in-c-with-examples/">Functions in C++ &ndash; Part II</a></li>
<li><a href="https://tekslate.com/c-function-overloading/">C++ Function Overloading</a></li>
<li><a href="https://tekslate.com/modifiers-in-c-language/">Modifiers in C++ Language</a></li>
</ul>
<h2>&nbsp;</h2>
<h2>C++ History</h2>
<p>An object oriented programming language Initially named C with classes Developed by Bjourne stroustrip Renamed as c++ in 1983 The idea comes from C statement operator +* IS a superset of C</p>
<p>&nbsp;</p>
<h2>What is C++?</h2>
<p>C++ is a programming language that was first developed in the 1980s by Bjarne Stroustrup. It is an extension of the C programming language and supports a range of programming paradigms, including procedural programming, object-oriented programming, and generic programming.</p>
<p>&nbsp;</p>
<h2>What is language ?</h2>
<p>A language is a software computer is an electronic device cannot perform operating by own. Language provide set of instructions to perform operations by computer. Language is nothing but programming tool C++ is the name of the language &lsquo;c&rsquo; language is derived from &lsquo;B&rsquo; language 'B&rsquo; language is derived from BCPL &lsquo;C&rsquo; language develops in the year 1972 C++ language is develops in the year 1980.</p>
<p>&nbsp;</p>
<h2>What is a Program?</h2>
<p>Set of instructions or collection of instructions and data. programming elements are 1) Data ii) instruction In order to write a program to required Data and instructions. programming is nothing but process of organize data and instructions according to given problem object oriented means rules and regularity<strong>&nbsp;</strong></p>
<p>&nbsp;</p>
<h2>What is a Programming Concept</h2>
<p>Programming principle define set of rules and regulations for organization of data and instructions Process Monolithic Programming Process Oriented Programming Modular Oriented Programming Structure Oriented Programming Object Oriented Programming</p>
<p>&nbsp;</p>
<h2>Application of C++</h2>
<p>Using C++ you can develop system software like OS, Device Drivers, Network(N/W) protocols, PC &ndash; utilities Application software you can develop application like Data base Word processing Spread sheet C++ is a general purpose programming language better than &lsquo;c&rsquo; General purpose means it is suitable for developed any type of software. CUI means character user interface</p>
<p>&nbsp;</p>
<h2>Programming<strong> Concepts</strong></h2>
<h2>Unstructured Programming / Monolithic Programming</h2>
<p>Organizing the data and instructions are organized in sequential manner called Monolithic programming In this approach instructions organization in sequential order A sequence is set of instructions used to solve a given problem. ( Assembly level language, Basic) Program execution is controlled to use a go to statement</p>
<p><strong>Disadvantages</strong> Code redundancy :&nbsp; same operation has to be more than one time, same sequence has to copied at number of places. Size of program is increment Efficiency of program is decreased</p>
<h2>Procedural Programming</h2>
<p>COBOL and Pascal are called as procedural oriented programming languages. In this approach instructions organized according to their operations by dividing into small programs or small pieces called sub routine. A sub routine is a small program within program This subroutine can be procedure or function</p>
<p><strong>Advantages</strong> <strong>Modularity</strong><strong> :</strong> Dividing a program into small pieces 0 also called as divide and conqueror&nbsp;According to their operations into small module</p>
<p><strong>Reuseability</strong>: write code once and use more than once time</p>
<p><strong>Readablity</strong><strong> :</strong>&nbsp; Easy to read or understand</p>
<p><strong>Disadvantages</strong> : Data is global or local It emphasis on instructions but not on data.</p>
<h2>What is a Modular programming</h2>
<p>In modular programming, a module is a programming in this approach, an application contain one or more that one module Each program is divided into subroutine. A program which contain a main is called executable module which is compiled as .exe A program which has doesn&rsquo;t have main is called reusable module which is compiled as .LIB(Library)</p>
<p>&nbsp;</p>
<h2>Structured Programming</h2>
<p>&lsquo;C&rsquo; and pascal is called structured programming language</p>
<p>&nbsp;</p>
<h2>Characteristics of Structured Programming</h2>
<p>Modular programming User defined data types (Pascal) scoped variables (local &amp; Global) One subroutine communicate with another by passing values Top-down approach <strong>Disadvantages</strong> Data is global and global data does not have security Un-related operation access global data, if leads and logical errors. debugging application is complex In a large program identifying which operation perform operation on what data becomes complex. &nbsp;</p>1d8:T23bc,<h2 style="text-align: justify;">WCF Tutorial Overview</h2>
<p style="text-align: justify;">Welcome to WCF Tutorial. The objective of these tutorials is to gain in depth understanding of Microsoft WCF Framework. In these tutorials, we will cover topics such as WCF Architecture, Contracts, Hosting etc.</p>
<p style="text-align: justify;">In addition to WCF Tutorial, we will cover common interview questions and issues of WCF Framework.</p>
<h3><strong>Index</strong></h3>
<ul>
<li><a href="https://tekslate.com/wcf-windows-communication-foundation-vb-net/">WCF [Windows Communication Foundation] in vb.net</a></li>
<li><a href="https://tekslate.com/wcf-integration-silverlight/">WCF Integration with SilverLight</a></li>
<li><a href="https://tekslate.com/working-grid-layout-wcf/">Working with Grid layout In WCF</a></li>
<li><a href="https://tekslate.com/working-layouts-wcf/">Working With Layouts in WCF</a></li>
<li><a href="https://tekslate.com/remoting-concept-architecture-wcf/">Remoting concept and its Architecture in WCF</a></li>
<li><a href="https://tekslate.com/hosting-options-wcf-services/">Hosting options with WCF services</a></li>
<li><a href="https://tekslate.com/example-perform-arithmetic-operations-using-data-contract-wcf-services/">Data Contract in WCF services</a></li>
<li><a href="https://tekslate.com/contracts-wcf/">Contracts in WCF</a></li>
<li><a href="https://tekslate.com/create-client-application-consume-3-services-created-transactions/">WCF Transaction Example</a></li>
<li><a href="https://tekslate.com/transactions-wcf/">Transactions in WCF</a></li>
<li><a href="https://tekslate.com/example-consume-wcf-service-windows-forms-applications/">WCF service from Windows Forms Applications</a></li>
<li><a href="https://tekslate.com/example-create-wcf-service-data-base/">Create WCF service with database</a></li>
<li><a href="https://tekslate.com/working-wcf-services/">Working with WCF services</a></li>
<li><a href="https://tekslate.com/service-wcf/">Service in WCF</a></li>
<li><a href="https://tekslate.com/wcf/">WCF Introduction</a></li>
</ul>
<h2 style="text-align: justify;">WCF Overview</h2>
<p style="text-align: justify;">WCF<img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />windows communication foundation</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />WCF is a technology used to implement &ldquo;service oriented architecture programming&rdquo; (SOA programming)</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />To understand SOA programming we need to look into the history of programming languages.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />The era of 1990&rsquo;s started with structured oriented &nbsp;programming</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />In structured oriented programming the code was written in the form of functions like,</p>
<p style="text-align: justify;">Int add (int x, int y)</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">&hellip;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Int subtract (int x, inty)</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">&hellip;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />In structured oriented programming though reusability &nbsp;was their but it was not efficient and whenever a problem is redefined / enhanced it was required to write complete code again.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />To overcome this drawback in the era of 1990&rsquo;s we got object oriented programming.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Object oriented programming we got the concept classes as well as objects.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Functional programming of structured oriented converted into object oriented programming i.e, parameters of the functions are transformed to data fields &amp; properties of a class and functions are written without parameters just like,</p>
<p style="text-align: justify;">class clsArithmetic</p>
<p style="text-align: justify;">{</p>
<p style="text-align: justify;">Int x,y,z; Public .int px { set{----;} get{---;} }</p>
<p style="text-align: justify;">Public int py { set{------;} get{-----;} } public int p3 { set{----;} get{---;}</p>
<p style="text-align: justify;">} public void add() { &hellip;. } public void subtraction</p>
<p style="text-align: justify;">} &hellip; }</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />Object oriented programming completely speaks about classes &amp; objects and communication will take place with the help of object data using this we are able to get all the facilities of object oriented programming like abstraction, encapsulation, polymorphism, inheritance, etc.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />With this object oriented programming we are able to build efficient applications using different object oriented programming languages like c# .net, Java, etc.</p>
<h3 style="text-align: justify;"><strong>Homogeneous Applications</strong></h3>
<p style="text-align: justify;">The applications developed using same technologies/ programming languages are known as &ldquo;homogeneous applications&rdquo;</p>
<h3 style="text-align: justify;"><strong>&nbsp;Heterogeneous Applications</strong></h3>
<p style="text-align: justify;">Applications developed using different technologies are known as &ldquo;Heterogeneous Applications&rdquo;.</p>
<p style="text-align: justify;">Communication between homogeneous applications will be taken place with object data like,</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7406" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_581-460x223.png" alt="Screenshot_58" width="521" height="252" /></p>
<h4 style="text-align: justify;"><strong>Advantages of object oriented programming</strong></h4>
<p style="text-align: justify;">Communication among heterogeneous applications is not possible on proprietary formats in object oriented programming engorges.</p>
<p style="text-align: justify;">Make communication among the heterogeneous application in the era of 2000 companies have come with a new communication format i.e., &ldquo;Massage format&rdquo; like,</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7407" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Screenshot_591-460x163.png" alt="Screenshot_59" width="538" height="190" /></p>
<p style="text-align: justify;">A message is the data required to be transferred heterogeneous application with open standard output</p>
<p style="text-align: justify;">Service oriented architecture programming speaks specially to communicate among the heterogeneous applications. If we consider a scenario like to allow users to combine &amp; reuse them in production of applications.</p>
<p style="text-align: justify;"><strong>&nbsp;Messages:-</strong> &nbsp;A message is the data i.e. used to be transferred between two heterogeneous applications &amp; which is in an open standard format.</p>
<p style="text-align: justify;"><img class="alignnone size-full wp-image-7108" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/1111.png" alt="11" width="37" height="12" />A message. is a self contained unit of data that may consists of several parts including body &amp; headers</p>1d9:T14e8,<p style="text-align: justify;">Welcome to Octopus Deploy Tutorials. The objective of these tutorials is to provide in depth understand of Octopus Deploy.</p>
<p style="text-align: justify;">In addition to free Octopus Deploy Tutorials, we will cover common interview questions, issues and how to&rsquo;s of Octopus Deploy.</p>
<h2 style="text-align: justify;">Introduction</h2>
<p style="text-align: justify;">Octopus is a deployment automation server for .NET developers. Octopus takes over where your build server finishes. The build server builds the code and runs tests, while Octopus takes care of deployment.​</p>
<p style="text-align: justify;">Everything&nbsp;starts with NuGet. Octopus works with your applications as NuGet packages and distributes them to the appropriate server. PowerShell is equally important as it&rsquo;s the glue that makes all customization for our deployment process possible. And whatever isn&rsquo;t built into Octopus can be slapped onto Octopus with PowerShell as well.</p>
<h3 style="text-align: justify;"><strong>Continuous Integration, Delivery, and Deployment</strong></h3>
<p style="text-align: justify;">If you are unfamiliar with the terms continuous integration, continuous delivery, and continuous deployment &ndash; it is worth understanding what they mean and how they relate to Octopus Deploy. Continuous integration is the process of triggering automated builds and running your tests every time code is changed. Each change is committed to the main line, or trunk, in source control. This should usually happen multiple times in a day &ndash; and every commit results in a build. To support this process, the build and tests must be fast and the results must be visible to all contributors. Continuous integration is a pre-requisite for continuous delivery.</p>
<p style="text-align: justify;">Continuous delivery extends the concept of continuous integration by adding push-button deployments where everything but the trigger is automated. This process makes use of quality gates to make sure only good versions of the software proceed to the next environment &ndash; so if a build is found to be bad in the test environment, it is not made available to the pre-production environment. Continuous delivery results in more regular releases to production, which is often viewed as an increase in risk. This is not the case though, because the practices of continuous delivery reduce risk and each version is a less drastic change to the software, which further reduces risk.</p>
<p style="text-align: justify;">Continuous deployment takes this idea to its logical conclusion; removing the push-button and automatically moving the software through the delivery pipeline and each of the quality gates - ultimately pushing every good version to the production environment. To reach this pinnacle of deployment automation, you must be able to validate your software automatically and deploy without disrupting your users.</p>
<p style="text-align: justify;">Octopus deploy supports all of these practices and has features that will make continuous delivery and continuous deployment easy to manage in conjunction with your existing build server.</p>
<h3 style="text-align: justify;">Uses of Octopus Deploy:</h3>
<p style="text-align: justify;">Flexible reconciliation with your current build pipeline: Octopus deploy open source does not replace your current consistent reconciliation arrangement &ndash; it supplements it. Command line tooling in addition to five-star modules for the most widely recognized CI servers implies you can trigger arrangements to dev or test conditions when a successful build finishes.</p>
<p style="text-align: justify;">Five-star platform support: Octopus deploy security comes packaged with in-built traditions for sending different sorts of utilization, taking care of design documents, and calling scripting languages of your decision. What&rsquo;s more, octopus deploys support more than 200 stages that you can reuse.</p>
<p style="text-align: justify;">Predictable deployments, Enterprise scale: Octopus isn&rsquo;t only for little projects and groups; positive associations like Accenture, NASA, ASOS and Commonwealth Bank of Australia have made Octopus their endeavor broad standard.</p>
<p style="text-align: justify;">Automate your deployments to the cloud or on-premises: Octopus deploy web application gives an operator called Tentacle that backings organization to virtual machines &ndash; whether they&rsquo;re on-premises or facilitated in Azure VM&rsquo;s or AWS EC2. Octopus additionally speaks SSH and has top of the line support for different cloud seller particular sending targets.</p>
<p style="text-align: justify;">For certifiable deployments: Octopus deploy tutorial didn&rsquo;t assemble for &ldquo;distribute to generation from your IDE&rdquo; demos. The octopus deploys docker manufactured for this present reality. Regardless of whether you should be PCI consistent, have an air hole between your dev condition and generation, or need to include people in the deployment procedure, Octopus has you secured.</p>
<p style="text-align: justify;">Although comparing to octopus deploy alternatives, TestOrigen&rsquo;s testers prefer octopus deployment tool as it is better at meeting requirements and more usable to do automated deployments.</p>1da:T250d,<h2 style="text-align: justify;">SilverLight Tutorials Overview</h2>
<p style="text-align: justify;">Welcome to&nbsp;SilverLight Tutorials. The objective of these tutorials is to gain in depth understanding of Microsoft&nbsp;SilverLight product. In these tutorials, we will cover topics such as SilverLight Architecture, Brushes, Layouts, Transforms, Data bindings and more.</p>
<p style="text-align: justify;">In addition to SilverLight&nbsp;tutorials, we will also cover common interview questions and issues.</p>
<h2 style="text-align: justify;">About SilverLight</h2>
<p style="text-align: justify;">HTML &ndash; DHTML &ndash; server side technology (ASP, ASP.net, JSP, PHP)</p>
<p style="text-align: justify;">We know that to develop the complete websites, we use the various server side technologies like SAP, SAP.net, JSP, PHP etc&hellip;&hellip;..</p>
<p style="text-align: justify;">Almost all server side technologies will provide very good and efficient server side programming facilities to implement security or to provide state management etc.</p>
<p style="text-align: justify;">These server side technologies also provide designing of use interface element like buttons, text boxes, list box etc.</p>
<p style="text-align: justify;">But the designing facilities provided by these server side technologies are not efficient and do not provide very good rich user interface elements.</p>
<p style="text-align: justify;">To overcome this drawback, always it was compulsory to depend on third party tools known as Plug ins. Like Photoshop, adobe flex, flash etc.</p>
<p style="text-align: justify;">But when we depend on third party components efficiency and support may not be upto the mask.</p>
<p style="text-align: justify;">To overcome such kind of problems Microsoft developed&nbsp;SilverLight</p>
<p style="text-align: justify;">SilverLight &nbsp;is a Plug-in Software used to provide very good designing facilities as well as support for media elements.</p>
<p style="text-align: justify;">Using silver light we can build very good rich user interface elements</p>
<p style="text-align: justify;">Backbone of SilverLight &nbsp;is completely XAML [Extensible Application Markup language]</p>
<p style="text-align: justify;">SilverLight &nbsp;is a powerful development plat form for crating rich media applications, business applications for the</p>
<p>Based on Microsoft.net framework the free silver light plug in will work across the multiple browsers, devices, operating system SilverLight &nbsp;will provide following facilities Extensive content Styling options Powerful communication protocols Data access facilities Light definition media Very good user interaction</p>
<p style="text-align: justify;">SilverLight &nbsp;applications can be developed quickly using Microsoft editors like web platforms like visual studios visual web developer etc.</p>
<h2 style="text-align: justify;">Components of SilverLight</h2>
<p style="text-align: justify;">SilverLight &nbsp;contains &amp; components completely</p>
<p style="text-align: justify;">.Net framework components CLR &amp; its components XAML WPF WCF LINQ</p>
<p style="text-align: justify;">Java script, DOM</p>
<p style="text-align: justify;">Animations, Media elements &amp; presentation core</p>
<h2 style="text-align: justify;">SilverLight Overview</h2>
<p style="text-align: justify;">The SilverLight &nbsp;is new graphical tool from Microsoft, using silver light we can implement 2D,3D Graphics and animations</p>
<p style="text-align: justify;">The Microsoft designed silver light using Java script and XML,</p>
<p style="text-align: justify;">The SilverLight &nbsp;graphical features by default executes in the client Machine browser.</p>
<p style="text-align: justify;">The SilverLight &nbsp;is cross browser and cross platform</p>
<p style="text-align: justify;">The SilverLight &nbsp;Microsoft implemented using XAML (extensible application Markup Language), because of the Markup Language we can implement light weight graphical features in the silver light</p>
<p style="text-align: justify;">The Microsoft created collection of controls and layouts in the SilverLight , all layouts are&nbsp;predefined classes, all controls are predefined objects</p>
<p style="text-align: justify;"><img class="alignnone wp-image-7480" src="https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/130-460x321.png" alt="1" width="554" height="386" /></p>
<p style="text-align: justify;">As per .net technologies every object having mainly Three features</p>
<p><strong>Properties</strong> <strong>Methods</strong> <strong>Events&nbsp;</strong></p>
<p style="text-align: justify;"><strong>&nbsp;</strong></p>
<h3 style="text-align: justify;"><strong>Properties</strong></h3>
<p style="text-align: justify;">The properties are initial features to the objects, property features we can access at design time without implementing logic, we can access at runtime with implementing the logic also.</p>
<h3 style="text-align: justify;"><strong>Methods</strong></h3>
<p style="text-align: justify;">Methods are run time features to the object, methods features we can access at runtime by implementing the logic only</p>
<p style="text-align: justify;"><strong>Events</strong></p>
<p style="text-align: justify;">All .net technologies are event driven programming technologies, we have to implement total source code in the events only.</p>
<p style="text-align: justify;">Event is an action, every event performs specific action</p>
<h3 style="text-align: justify;"><strong>XAML (extensible Application markup language)</strong></h3>
<p style="text-align: justify;">The Microsoft designed silver light using XAML, this markup language is case sensitive supports only predefined tags, in XAML every&nbsp; open tag must be closed. Using XAML we can create controls, events and we can give all graphical features because of XAML we can implement rich internet applications while installing .net framework 3.5 (2008) automatically not getting silver light framework, manually we have to install silver light framework using &nbsp;silver light chainer &nbsp;software</p>
<p style="text-align: justify;">While installing .net framework 4.0 (2010) auto-graphically getting silver light framework.</p>
<h3 style="text-align: justify;"><strong>Creating SilverLight, button control with events</strong></h3>
<p style="text-align: justify;">Open new SilverLight application by clicking on the file menu new project</p>
<p style="text-align: justify;">Getting new project window with two sub windows</p>
<p>Project types window Templates window</p>
<p style="text-align: justify;">From the project types window we have to select visual c# From the templates window select silverlight &nbsp;Application click on<strong>&nbsp;- - &gt;</strong>P</p>
<p style="text-align: justify;">While opening the SilverLight &nbsp;application asking for execution pages or Hosting pages, the Microsoft given two execution pages to the silver light.</p>
<ul style="list-style-type: square;">
<li>HTML page</li>
<li>net webpage</li>
</ul>
<p style="text-align: justify;">To take HTML page as hosting we have to deselect the hosting&nbsp; website checkbox &nbsp;<strong>&nbsp;- - &gt;</strong> &nbsp;click on <strong>&nbsp;- - &gt;</strong>&nbsp;P</p>
<p style="text-align: justify;">In the silver light application always getting main page .XAML file, this file having 3 modes</p>
<ul style="list-style-type: square;">
<li>Design Mode</li>
<li>XAML Mode</li>
<li>Code behind window</li>
</ul>
<p style="text-align: justify;">In the design mode the Microsoft given flexible graphical features all SilverLight controls we can add on the container using graphical features.</p>
<p>Using XAML mode we can give all graphical features at design time we can execute some graphical features at runtime also Code behind window gives graphical features at runtime, while working with code behind window we can work with classes and all object oriented features.</p>
<p style="text-align: justify;">For creating button control go to XAML Mode in the grid tag</p>
<p style="text-align: justify;">&lt;Grid X:Name = &ldquo;Layout Root&rdquo; Background=&rdquo;white&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;button X: Name = &ldquo;b1&rdquo; Height = &ldquo;100&rdquo; width = &ldquo;300&rdquo;</p>
<p style="text-align: justify;">Content = &ldquo;welcome&rdquo; font size = &ldquo;50&rdquo;</p>
<p style="text-align: justify;">Mouse Enter = &ldquo;b1_MouseEnter&rdquo;</p>
<p style="text-align: justify;">Mouse leave = &ldquo;b1&shy;_mouse leave&rdquo;&gt;</p>
<p style="text-align: justify;">&lt;/Button&gt;</p>
<p style="text-align: justify;">&lt;/Grid&gt;</p>
<p style="text-align: justify;"><strong>Implementing Events</strong></p>
<p style="text-align: justify;">Go to code behind window by right clicking on the design mode and clicking on view code</p>
<p style="text-align: justify;">Public partial class Main page: user control</p>
<p style="text-align: justify;">{ private void bl_Mouse enter(object sensor, Mouse event args e) { bl.font size = 50;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">Private void bl-MOuseleve (object sender, Mouse Event Agrs e)</p>
<p style="text-align: justify;">{ bl.fontsize = 10;</p>
<p style="text-align: justify;">}</p>
<p style="text-align: justify;">While executing this application getting output in the html page and generation XAP extension file</p>1db:T33bd,<p style="text-align: justify;">Vagrant is a great open source software for configuring and deploying multiple development environments. It works on Linux, Mac OS X, or Windows and although by default it uses VirtualBox for managing the virtualization, it can be used with other providers such as VMware or AWS.</p>
<h2 style="text-align: justify;"><strong>Vagrant Overview</strong></h2>
<p style="text-align: justify;">Vagrant is a very good wrapper around Oracle's VirtualBox. It makes life easier for web developers and the like by providing a nice command-line interface to build, manage, provision, use virtual machines.</p>
<p style="text-align: justify;">Although it can use other virtual machine software, the most commonly used is&nbsp;VirtualBox. VirtualBox allows you to create a virtual server right on your machine. This allows you to run a Linux server (or whatever else you would like) on your personal Mac or PC.</p>
<p style="text-align: justify;">Vagrant is essentially the glue between provisioning software such as Puppet or Chef and VirtualBox.</p>
<p style="text-align: justify;">Vagrant helps you configure your network configurations for VirtualBox as well as run the necessary scripts to provision your virtual machine.</p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><strong>Provisioning your Vagrant Machine:</strong></h2>
<p style="text-align: justify;">Launching a blank virtual machine is not very useful, so Vagrant supports provisioning virtual machines through the use of <em>provisioners</em>. There are a handful of provisioners for the most common choices supported out of the box with Vagrant</p>
<ul>
<li style="text-align: justify;">Chef Solo</li>
<li style="text-align: justify;">Chef Server</li>
<li style="text-align: justify;">Puppet Standalone</li>
<li style="text-align: justify;">Puppet Server</li>
<li style="text-align: justify;">Shell</li>
</ul>
<p style="text-align: justify;">You can also use multiple provisioning options on the same VM. For example, you can provision your box using Chef and then finish your provisioning with a shell script afterwards.</p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><strong>Vagrantfile</strong></h2>
<p style="text-align: justify;">Vagrantfile is to describe the type of machine required for a project, and how to configure and provision these machines. Vagrantfiles are called Vagrantfiles because the actual literal filename for the file is <code>Vagrantfile</code></p>
<p style="text-align: justify;">Vagrantfile is supposed to be committed to version control.</p>
<p style="text-align: justify;">Other developers involved in the project to check out the code, run&nbsp;<code>vagrant up</code>, and be on their way.</p>
<p style="text-align: justify;">&nbsp;</p>
<h2 style="text-align: justify;"><strong>Vagrant configuration</strong></h2>
<p style="text-align: justify;">Configuration versions are the mechanism by which Vagrant 1.1+ is able to remain backwards compatible with Vagrant 1.0.x Vagrantfiles, while introducing dramatically new features and configuration options.</p>
<p style="text-align: justify;">Vagrantfile will be in roughly the following format:</p>
<p style="text-align: justify;"><code><span class="no">Vagrant</span><span class="p">.</span><span class="nf">configure</span><span class="p">(</span><span class="s2">"2"</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span> <span class="c1"># ...</span> <span class="k">end</span></code></p>
<p>The <code>"2"</code> in the first line above represents the version of the configuration object <code>config</code> that will be used for configuration for that block (the section between the <code>do</code> and the <code>end</code>).</p>
<p style="text-align: justify;">The important thing to understand as a general user of Vagrant is that&nbsp;<em>within a single configuration section</em>, only a single version can be used.</p>
<p style="text-align: justify;">You cannot use the new <code>config.vm.provider</code> configurations in a version.</p>
<p style="padding-left: 30px; text-align: justify;">&nbsp;-configuration section. Likewise, <code>config.vm.forward_port</code> will not work in a version</p>
<p style="padding-left: 30px; text-align: justify;">&nbsp;-configuration section (it was renamed).</p>
<p style="text-align: justify;">This is useful if you found some useful configuration snippet or something that you want to use.</p>
<p class="highlight ruby"><code><span class="no">Vagrant</span><span class="p">.</span><span class="nf">configure</span><span class="p">(</span><span class="s2">"1"</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span> <span class="c1"># v1 configs...</span> <span class="k">end</span> <span class="no">Vagrant</span><span class="p">.</span><span class="nf">configure</span><span class="p">(</span><span class="s2">"2"</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">config</span><span class="o">|</span> <span class="c1"># v2 configs...</span> <span class="k">end</span> </code></p>
<h3 class="highlight ruby"><code>
<strong>Vagrant Features</strong>
</code></h3>
<p style="text-align: justify;">This is a list of features specific to Vagrant that Atlas provides.</p>
<ul style="text-align: justify;">
<li>Vagrant Share</li>
<li>Vagrant Box Versioning</li>
<li>Vagrant Box Catalog</li>
<li>Vagrant Box Creation</li>
</ul>
<h3 style="text-align: justify;">&nbsp;</h3>
<h3 style="text-align: justify;"><strong>Vagrant Share:&nbsp;</strong></h3>
<p style="text-align: justify;">The <code>vagrant share</code> command, you can instantly share public access to your running Vagrant environment (virtual machine). The canonical use case for this is to share SSH or HTTP access to your machine.</p>
<p style="text-align: justify;">It's important to share your work with colleagues or clients throughout the development process. Vagrant makes this easy with the <code>share</code> command.</p>
<p style="text-align: justify;">There are several different types of shares.</p>
<h3 style="text-align: justify;">&nbsp;</h3>
<h3 id="http-sharing" style="text-align: justify;"><strong>HTTP Sharing</strong></h3>
<p style="text-align: justify;">Vagrant Share shares HTTP access to your Vagrant environment to anyone in the world. The URL that it creates is publicly accessible and doesn't require Vagrant to be installed to access -- just a web browser.</p>
<p style="text-align: justify;"><code>$ vagrant share ==&gt; default: Local HTTP port: 5000 default: Local HTTPS port: disabled ==&gt; default: Your Vagrant Share is running! ==&gt; default: URL: http://frosty-weasel-0857.vagrantshare.com ...</code></p>
<p>Currently, HTTP access is restricted through obscure URLs. We'll be adding more ACLs and audit logs for this in the future.</p>
<h3 style="text-align: justify;">&nbsp;</h3>
<h3 id="ssh-access" style="text-align: justify;"><strong>SSH Access</strong></h3>
<p style="text-align: justify;">Vagrant Share can allow anyone to easily SSH into your Vagrant environment.&nbsp;You're having issues where your app isn't running properly or you just want to pair program. Now, with just one flag, anyone you want can SSH into your Vagrant environment from anywhere in the world.</p>
<p style="text-align: justify;">To enable sharing SSH, you must add the <code>--ssh</code> flag to&nbsp;<code>vagrant share</code>:</p>
<pre style="padding-left: 30px;"><code>$ vagrant share --ssh
==&gt; default: SSH Port: 22
==&gt; default: Generating new SSH key...
    default: Please enter a password to encrypt the key:
    default: Repeat the password to confirm:
    default: Inserting generated SSH key into machine...
==&gt; default: Checking authentication and authorization...
==&gt; default: Creating Vagrant Share session...
    default: Share will be at: awful-squirrel-9454
==&gt; default: Your Vagrant Share is running!
...</code></pre>
<p style="text-align: justify;"><code>The <code>--ssh</code> flag is provided, Vagrant generates a brand new SSH keypair for SSH access. The public key portion is automatically inserted into the Vagrant environment. The private key portion is uploaded to the server managing the Vagrant Share connections. The password used to encrypt the private key is <em>not</em> uploaded anywhere, however, meaning we couldn't access your VM if we wanted to. It is an extra layer of security.</code></p>
<pre><code>$ vagrant connect --ssh awful-squirrel-9454
Loading share 'awful-squirrel-9454'...
Password for the private key:
Executing SSH...

Welcome to Ubuntu 12.04.1 LTS

 * Documentation:  https://help.ubuntu.com/
Last login: Wed Feb 26 08:38:55 2014 from 192.168.148.1
vagrant@precise64:/vagrant$</code></pre>
<h3 style="text-align: justify;">&nbsp;</h3>
<h3 id="general-sharing-vagrant-connect" style="text-align: justify;"><strong>General Sharing (Vagrant Connect)</strong></h3>
<p style="text-align: justify;">Vagrant share can share any TCP/UDP connection, and is not restricted to only a single port. When you run <code>vagrant share</code>, Vagrant will share the entire Vagrant environment.</p>
<p style="text-align: justify;">When the person you are sharing with runs <code>vagrant connect SHARE-NAME</code>, Vagrant will give this person a static IP they can use to access the machine as if it were on the local network:</p>
<pre><code>$ vagrant connect awful-squirrel-9454
==&gt; connect: Connecting to: awful-squirrel-9454
==&gt; connect: Starting a VM for a static connect IP.
    connect: The machine is booted and ready!
==&gt; connect: Connect is running!
==&gt; connect: SOCKS address: 127.0.0.1:62167
==&gt; connect: Machine IP: 172.16.0.2
==&gt; connect:
==&gt; connect: Press Ctrl-C to stop connection.
...

</code></pre>
<h3 id="security-concerns" style="text-align: justify;"><strong>Security Concerns</strong></h3>
<p style="text-align: justify;">The primary security mechanism for Vagrant Share is security through obscurity along with an encryption key for SSH. Additionally, there are several configuration options made available to help control access and manage security:</p>
<p style="text-align: justify;">In addition to these options, there are other features we've built to help:</p>
<ul>
<li style="text-align: justify;"><span style="line-height: 1.5;">Vagrant share uses end-to-end TLS connections. So even unencrypted TCP streams are encrypted through the various proxies and only unencrypted during the final local communication between the local proxy and the Vagrant environment.</span></li>
<li style="text-align: justify;">SSH keys are encrypted by default, using a password that is not transmitted to our servers or across the network at all.</li>
<li style="text-align: justify;">SSH is not shared by default, it must explicitly be shared with the <code>--ssh</code> flag.</li>
<li style="text-align: justify;">A web interface we've built shows share history and will show basic access logs in the future.</li>
<li style="text-align: justify;">Share sessions expire after a short time (currently 8 hours), but can also be expired manually by <code>ctrl-c</code> from the sharing machine or via the web interface</li>
</ul>
<h3>&nbsp;</h3>
<h3><strong><span style="text-align: justify; line-height: 1.5;">Vagrant Box Versioning</span></strong></h3>
<p>Boxes support versioning so that members of your team using Vagrant can update the underlying box easily, and the people who create boxes can push fixes and communicate these fixes efficiently. There are multiple components of a box:</p>
<ul>
<li>The box itself, comprised of the box name and description.</li>
<li>One or more box versions.</li>
<li>One or more providers for each box version.</li>
</ul>
<p>Upon <code>vagrant up</code> or <code>vagrant box outdated</code>, an out-of-date box user will see the following message in Vagrant:</p>
<pre><code>Bringing machine 'default' up with 'virtualbox' provider...
==&gt; default: Checking if box 'hashicorp/example' is up to date...
==&gt; default: A newer version of the box 'hashicorp/example' is available! You currently
==&gt; default: have version '0.0.5'. The latest is version '0.0.6'. Run
==&gt; default: `vagrant box update` to update.
...
</code></pre>
<h3 id="box-version-release-states"><strong>Box Version Release States</strong></h3>
<p><code>Create new versions of boxes without releasing them or without Vagrant seeing the update. This lets you prepare a box for release slowly. </code> <code>Box versions have three states:</code></p>
<p style="padding-left: 30px;"><strong><code>unreleased</code>:</strong> Vagrant cannot see this version yet, so it needs to be released. Versions can be released by editing them and clicking the release button at the top of the page</p>
<p style="padding-left: 30px;"><strong><code>active</code>:</strong> Vagrant is able to add and use this box version</p>
<p style="padding-left: 30px;"><strong><code>revoked</code>:</strong> Vagrant cannot see this version, and it cannot be re-released. You must create the version again</p>
<p>&nbsp;</p>2:["$","$Lb",null,{"data":{"trending":[{"id":2197,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p>The SAP Business Technology Platform (SAP BTP) is a set of advanced technology services for integrating business processes, managing data, doing analytics, and making apps. It helps businesses go digital by letting them use efficient cloud-based solutions that inspire new ideas and improve operating efficiency in a wide range of settings. Take a look at the questions below that are often asked in SAP BTP interviews. They will help you prepare.</p>","table_of_content":"<p><a title=\"For Freshers\" href=\"#for-freshers\"><strong>For Freshers</strong></a></p>\n<p><a title=\"For Experienced\" href=\"#for-experienced\"><strong>For Experienced</strong></a></p>","description":"$c","title":"SAP BTP Interview Questions","url_title":"sap-btp-interview-questions","image_url":"","meta_title":"▷ SAP BTP Interview Questions & Answers-2024","meta_desc":"▷ SAP BTP Interview Questions -✔️Freshers ✔️Experienced. ✔️Real time case study questions","views":1453,"rating":4.8,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2024-06-25T12:36:22.000Z","updated_at":"2024-06-25T12:36:22.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":1},{"id":2196,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p>Are you having trouble finding helpful study materials to help you prepare for a SolarWinds interview? With more jobs opening up for SolarWinds workers, it's essential to have the right questions to prepare for interviews. Unfortunately, there aren't many complete study guides online. We've compiled a list of the most common SolarWinds interview questions to fill in this blank. There is a thorough answer to every question, which will give you the information and ideas you need to do well in your interview. Get ready for your SolarWinds interview by reading this carefully-picked post. It will make you feel better about your abilities.</p>","table_of_content":"<p><a title=\"SolarWinds Interview Questions for Freshers\" href=\"#for-freshers\"><strong>For Freshers</strong></a></p>\n<p><a title=\"SolarWinds Interview Questions for Experienced\" href=\"#for-experienced\"><strong>For Experienced</strong></a></p>","description":"$d","title":"SolarWinds Interview Questions","url_title":"solarwinds-interview-questions","image_url":"","meta_title":"▷ SolarWinds Interview Questions & Answers-2024","meta_desc":"▷ SolarWinds Interview Questions -✔️Freshers ✔️Experienced. ✔️Real time case study questions","views":1642,"rating":4.7,"author":"1","top_level_cat_id":"26","author_desc":"","course_id":"0","created_at":"2024-06-25T10:29:31.000Z","updated_at":"2024-06-25T10:29:31.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":1},{"id":2194,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"<p>The business world changes quickly, so keeping ahead requires more than following the latest trends. It requires intentional innovation and digital change. Global firms employ integrated systems like SAP Business Technology Platform (BTP) to streamline processes, enhance productivity, and encourage long-term success. Here, we discuss what SAP BTP is and its tutorial.</p>","table_of_content":"<p><a title=\"What is SAP BTP?\" href=\"#what\"><strong>What is SAP BTP?</strong></a></p>\n<p><a title=\"SAP BTP Cloud Foundry\" href=\"#cloud-foundry\"><strong>SAP BTP Cloud Foundry</strong></a></p>\n<p><a title=\"SAP BTP Pricing Models\" href=\"#pricing-models\"><strong>SAP BTP Pricing Models</strong></a></p>\n<p><a title=\"SAP Business Application Studio (BAS)\" href=\"#bas\"><strong>SAP Business Application Studio (BAS)</strong></a></p>\n<p><a title=\"SAP BTP Kyma\" href=\"#kyma\"><strong>SAP BTP Kyma</strong></a></p>","description":"$e","title":"SAP BTP Tutorial","url_title":"sap-btp-tutorial","image_url":"","meta_title":"▷ SAP BTP Tutorial: What Is It? - Tekslate","meta_desc":"SAP BTP Tutorial: What is SAP BTP, Use Cases, Extension Suite, Integration Suite, Benefits, FAQs, and More.","views":1432,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2024-06-24T17:43:58.000Z","updated_at":"2024-06-24T17:43:58.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":2},{"id":2186,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"<p><span style=\"font-weight: 400;\">Both MuleSoft and SnapLogic are extremely capable integration systems that provide a wealth of capabilities and advantages. SnapLogic is renowned for its user-friendly drag-and-drop interface, a large selection of pre-built connectors, and powerful data management features. The modular architecture of </span><span style=\"font-weight: 400;\">MuleSoft</span><span style=\"font-weight: 400;\">, on the other hand, allows it to support a wide range of deployment types and data formats.</span></p>","table_of_content":"$f","description":"$10","title":"SnapLogic vs MuleSoft","url_title":"snaplogic-vs-mulesoft","image_url":"","meta_title":"SnapLogic vs MuleSoft | Integration Platforms Comparison ","meta_desc":"In this article, you will learn about What is SnapLogic? What is MuleSoft? SnapLogic Advantages, MuleSoft Advantages, Features and comparison, etc. ","views":2985,"rating":4.7,"author":"1","top_level_cat_id":"44","author_desc":"","course_id":"787","created_at":"2023-04-29T11:51:08.000Z","updated_at":"2023-04-29T11:51:08.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is the difference between SnapLogic and MuleSoft?","faq_schema_a1":"SnapLogic is a cloud-based integration platform that makes it simple for users to develop and deploy integrations by providing pre-built connectors and a drag-and-drop user interface. On the other side, MuleSoft provides more sophisticated analytics and monitoring capabilities, as well as the option for on-premise or cloud deployment.","faq_schema_q2":"How do SnapLogic and MuleSoft compare in terms of pricing?","faq_schema_a2":"Because SnapLogic's pricing is determined by the quantity of users, connectors, and data quantities, it is an affordable choice for smaller businesses. Because MuleSoft's pricing is based on the amount of cores and deployment options, it is more suitable for bigger, enterprise-level deployments.","faq_schema_q3":"Can SnapLogic and MuleSoft be integrated together?","faq_schema_a3":"Using unique connections and APIs, SnapLogic and MuleSoft can be combined. Organizations may then be able to build more intricate integration workflows by utilizing the advantages of both platforms.","like_counter":0},{"id":2180,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p>Are you switching your career to become a UML Designer? Then you&rsquo;re on the right page. In this article, we have provided you with all the knowledge that helps you clear the UMl Developer interview. We have covered all the concepts, from basics to advanced, and curated a list of UML Interview Questions. Let's dive into the article!</p>","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#uml-interview-questions\">UML Interview Questions</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#class-diagram-interview-questions\">Class Diagram Interview Questions</a></span></li>\n</ul>","description":"$11","title":"UML Interview Questions","url_title":"uml-interview-questions","image_url":"","meta_title":"Top 20+ UML Interview Questions and Answers (2023)","meta_desc":"Prepare for the best UML Interview Questions with Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":943,"rating":4.5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"206","created_at":"2023-04-10T07:12:26.000Z","updated_at":"2023-04-10T07:12:26.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2179,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p><span style=\"font-weight: 400;\">It's crucial to be well-prepared for interview questions if you want to work with SAP Analytics Cloud. Organizations frequently utilise SAP Analytics Cloud, a cloud-based analytics platform, to analyse data from many sources, produce visualizations and reports, and work in real-time collaboration with others. You should be well-versed in the elements, functions, and capabilities of the platform in order to perform well in an interview.</span></p>","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#interview-questions\"><span style=\"font-weight: 400;\">SAP Analytics Cloud Interview Questions</span></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#sac\"><span style=\"font-weight: 400;\">SAP SAC Interview Questions and Answers</span></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\"><span style=\"font-weight: 400;\">FAQs</span></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\"><span style=\"font-weight: 400;\">Tips</span></a></span></li>\n</ul>","description":"$12","title":"SAP Analytics Cloud Interview Questions","url_title":"sap-analytics-cloud-interview-questions","image_url":"","meta_title":"Top 30+ SAP Analytics Cloud Interview Questions (2023)","meta_desc":"Prepare for the best SAP Analytics Cloud Interview Questions with Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":741,"rating":4.6,"author":"1","top_level_cat_id":"19","author_desc":"","course_id":"782","created_at":"2023-03-27T08:00:46.000Z","updated_at":"2023-03-27T08:00:46.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Explain the  components of SAP Analytics Cloud?","faq_schema_a1":"Data visualisation, data modelling, planning, predictive analytics, and business intelligence are the core elements of SAP Analytics Cloud.","faq_schema_q2":"What is meant by SAP Analytics Cloud?","faq_schema_a2":"Users of the cloud-based analytics application SAP Analytics Cloud can analyse data from numerous sources, produce visualisations and reports, and work in real-time collaboration with others.","faq_schema_q3":"What is the purpose of SAP Analytics Cloud planning?","faq_schema_a3":"The what-if analysis and scenario planning capabilities, as well as the ability to design, manage, and evaluate financial plans and budgets, are all part of SAP Analytics Cloud planning.","like_counter":1},{"id":2173,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"<p><span style=\"font-weight: 400;\">This blog post is a comprehensive tutorial on SAP Analytics Cloud. It covers everything from the basics of SAP Analytics Cloud to its advanced features. The post includes key highlights of the prompt in the current market, including its growing popularity and how it is being used by businesses worldwide. Readers will gain a thorough understanding of the platform, its capabilities, and how it can help their business grow.</span></p>","table_of_content":"$13","description":"$14","title":"SAP Analytics Cloud Tutorial ","url_title":"sap-analytics-cloud-tutorial","image_url":"","meta_title":"SAP Analytics Cloud Tutorial | What is SAP Analytics Cloud?","meta_desc":"SAP Analytics Cloud Tutorial for Beginners ➔ In this Article, you will learn about Architecture✔️ Fundamentals✔️ Applications✔️ License and FAQs.","views":741,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"782","created_at":"2023-03-20T05:11:52.000Z","updated_at":"2023-03-20T05:11:52.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Is SAP Analytics Cloud easy to learn?","faq_schema_a1":" Yes. If you follow all the steps properly, SAP Analytics is easy to learn. ","faq_schema_q2":"What is SAP Analytics Cloud used for?","faq_schema_a2":"Creating data reports is the main function of SAP Analytics Cloud.","faq_schema_q3":"What is the SAP Analytics Cloud tutorial?","faq_schema_a3":"SAP Analytics Cloud tutorial is a go-to tool for business users for analytical and ad-hoc reporting. Business users can create a basic, medium, and complex dashboard from transactional data in the database to meet business requirements. ","like_counter":1},{"id":2171,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#interview-and-answers\"><span style=\"font-size: 14px;\">Clinical Data Analyst Interview Questions and Answers</span></a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#freshers\"><span style=\"font-size: 14px;\">Clinical Data Analyst Interview Questions for Freshers</span></a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#technical\"><span style=\"font-size: 14px;\">Data Analyst Technical Interview Questions and Answers</span></a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\">FAQs</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\">Tips</a></span></p>","description":"$15","title":"Clinical Data Analyst Interview Questions","url_title":"clinical-data-analyst-interview-questions","image_url":"","meta_title":"Top 60+ Clinical Data Analyst Interview Questions (2023)","meta_desc":"Clinical Data Analyst Interview Questions and Answers ➔ Real-time Case Study Questions ✔️Curated by Experts ✔️Interview Tips and ✔️FAQ's","views":1241,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"198","created_at":"2023-03-16T07:29:43.000Z","updated_at":"2023-03-16T07:29:43.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is CT?","faq_schema_a1":"Clinical Trials or CT is a comparative examination of medication with reference to any patient’s medical condition.","faq_schema_q2":"What is Pre-clinical study?","faq_schema_a2":"The pre-clinical study is a process involving in-vitro study on animals. In this process, a range of doses is given to animals to test the toxicity and efficacy parameters.","faq_schema_q3":"What is patient file?","faq_schema_a3":"A patient’s file contains the medical and treatment history of the patient and demographic data. It can also have paper records or a combination of both computer and paper records. ","like_counter":6},{"id":2168,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#freshers\">Kotlin Interview Questions for Freshers</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#coroutines\">Kotlin Coroutines Interview Questions</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#experienced\">Kotlin Coding Interview Questions for Experienced</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\">Tips</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\">FAQs&nbsp;</a></span></li>\n</ul>","description":"$16","title":"Kotlin Interview Questions","url_title":"kotlin-interview-questions","image_url":"","meta_title":"Top 50+ Kotlin Interview Questions and Answers (2023)","meta_desc":"Prepare for best Kotlin Interview Questions with Answers ➔ Real-time Case Study Questions ✔️Frequently Asked ✔️Curated by Experts and ✔️FAQ's.","views":47,"rating":4.4,"author":"1","top_level_cat_id":"4","author_desc":"","course_id":"501","created_at":"2023-03-08T12:37:29.000Z","updated_at":"2023-03-08T12:37:29.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is the definition of the visibility modifier?","faq_schema_a1":"The visibility modifier can be used to establish a function's extent, class or variable. The four types of visibility are private, internal, protected and public.","faq_schema_q2":"What is an enclosed class?","faq_schema_a2":"An enclosed class is a type of class which can only be extended by classes that are part of this same directory. It is usually employed in conjunction with expressions to make a limited subclass.","faq_schema_q3":"What is a \"companion object\"?","faq_schema_a3":"The term \"companion object\" refers to an object connected to a specific class and can be utilized to record static methods as well as properties.","like_counter":0},{"id":2165,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#basic\">Basic Grunt Interview Questions</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#intermediate\">Intermediate Grunt Interview&nbsp;Questions</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#advanced\">Advanced Grunt Interview Questions</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\">Frequently asked Questions on Grunt</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\">Tips to prepare for Grunt Interview</a></span></li>\n</ul>","description":"$17","title":"Grunt Interview Questions","url_title":"grunt-interview-questions","image_url":"","meta_title":"Top 50+ Grunt Interview Questions and Answers (2023)","meta_desc":"Prepare for best Grunt Interview Questions with Answers ➔ Real-time Case Study Questions ✔️Frequently Asked ✔️Curated by Experts and ✔️FAQ's.","views":451,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"348","created_at":"2023-03-01T12:26:16.000Z","updated_at":"2023-03-01T12:26:16.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is Grunt?","faq_schema_a1":"Grunt is a JavaScript task runner that helps automate repetitive actions, including minification, unit testing, compilation, etc.","faq_schema_q2":"What are the benefits of using Grunt in a project?","faq_schema_a2":"Benefits of Grunt in the project include:  Increase in productivity Enhance consistency Improve code quality Ease to automation Reduce time and cost","faq_schema_q3":"How do you install Grunt?","faq_schema_a3":"To install Grunt, you must first install Node.js and Node Package Manager ( npm).  Then run the command in the command prompt: 'npm install -grunt-cli.'","like_counter":0},{"id":2162,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p><span style=\"font-weight: 400;\">Knowing what you will be asked before the Interview can make you confident. We've compiled an extensive collection of&nbsp;</span>Full Stack Developer interview questions<span style=\"font-weight: 400;\">&nbsp;from freshers to experienced professionals. This article covers the question comprehensively from all the aspects of employer majorly, including the development of front, and back-end applications servers, databases, web security, and the use of version control systems. These Full Stack Developer interview questions are designed to test your skills and knowledge in both back-end and front-end development.</span></p>","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#basic\">Basic Full Stack Developer Interview Questions for Freshers</a></span></li>\n<li><span style=\"font-weight: 400; color: #000000;\"><a style=\"color: #000000;\" href=\"#intermediate\">Full Stack Interview Questions and Answers</a><br /></span></li>\n<li><span style=\"font-weight: 400; color: #000000;\"><a style=\"color: #000000;\" href=\"#advanced\">Java Full Stack Developer Interview Questions for Experienced</a><br /></span></li>\n<li><span style=\"font-weight: 400; color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\">FAQs</a><br /></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\"><span style=\"font-weight: 400;\">Tips</span></a></span></li>\n</ul>","description":"$18","title":"Full Stack Developer Interview Questions","url_title":"full-stack-developer-interview-questions","image_url":"","meta_title":"Top 50+ Full Developer Interview Questions and Answers (2023)","meta_desc":"Prepare for best Full Developer Interview Questions and Answers ➔ Real-time Case Study Questions ✔️Frequently Asked ✔️Curated by Experts and ✔️FAQ's. ","views":457,"rating":4.4,"author":"1","top_level_cat_id":"4","author_desc":"","course_id":"452","created_at":"2023-02-24T06:30:04.000Z","updated_at":"2023-02-24T06:30:04.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"How do I prepare for a full-stack developer interview?","faq_schema_a1":"Preparing for a full-stack developer interview may become challenging if you need to know the right way. Start with revising your basics and practicing coding. Polish your technical skill and go through the previously asked questions about full-stack development. Also, look for the tips mentioned above.","faq_schema_q2":"What are the basic skills required for a full-stack developer?","faq_schema_a2":"To become full-stack developer, basic skills required for a full-stack developer include:  Proficiency in front-end technologies such as HTML, CSS, JavaScript, and a front-end framework like React or Angular.  Knowledge of back-end technologies like Node.js, Java, or Python and a database like MySQL or MongoDB.  Familiarity with version control systems like Git, and experience working with APIs, web services, and cloud computing is also beneficial.","faq_schema_q3":"Is 3 months enough for a full-stack developer?","faq_schema_a3":"Yes, 3 months are enough for a full-stack developer. In some cases, if you are an extreme beginner, it may take longer.","like_counter":0},{"id":2158,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#basic\">Basic CouchBase Interview Questions for Freshers</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#advanced\">Advanced CouchBase Interview Questions for Experienced</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\" target=\"_blank\" rel=\"noopener\">FAQ&rsquo;s</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\">Tips</a></span></li>\n</ul>","description":"$19","title":"CouchBase Interview Questions","url_title":"couchbase-interview-questions","image_url":"","meta_title":"Top 40+ CouchBase Interview Questions and Answers (2023)","meta_desc":"Looking for best CouchBase Interview Questions with Answers: Ace your CouchBase interview with expert-curated, FAQ's and real-time case study questions.","views":124,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"426","created_at":"2023-02-20T05:43:29.000Z","updated_at":"2023-02-20T05:43:29.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Is Couchbase a SQL database?","faq_schema_a1":"No, Couchbase is a NoSQL database.","faq_schema_q2":"Does Couchbase support SQL?","faq_schema_a2":"No, Couchbase does not support SQL natively, but it offers a powerful query language called N1QL that has a SQL-like syntax.","faq_schema_q3":"What is N1QL in Couchbase?","faq_schema_a3":"N1QL is a SQL-like query language for querying JSON data in Couchbase.","like_counter":0},{"id":2157,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p><span style=\"font-weight: 400;\">Listed are the most common Vue.js interview questions with their responses and frequently asked questions. This post is for you if you're looking for an all-in-one interview escape. These questions are listed as per the difficulty level, which can be used by freshers, intermediaries, or experts. This list of interview questions will be highly beneficial to you in securing the most excellent position in the IT business.</span></p>","table_of_content":"<ul>\n<li><a href=\"#basic\"><span style=\"font-size: 16px; color: #236fa1;\"><span style=\"color: #000000;\">Basic Vue.js Interview Questions for Freshers</span></span></a></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#intermediate\"><span style=\"font-size: 16px;\">Intermediate Vue.js Interview Questions</span></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#advanced\"><span style=\"font-size: 16px;\">Advanced Vue.js Interview Questions for Experienced</span></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\"><span style=\"font-size: 16px;\">FAQs</span></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\"><span style=\"font-size: 16px;\">Tips</span></a></span></li>\n</ul>","description":"$1a","title":"Vue.js Interview Questions","url_title":"vuejs-interview-questions","image_url":"","meta_title":"Top 50+ Vue.js Interview Questions and Answers (2023)","meta_desc":"Prepare for best Vue.js Interview Questions and Answers ➔ Real-time Case Study Questions ✔️Frequently Asked ✔️Curated by Experts and ✔️FAQ's.","views":156,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"502","created_at":"2023-02-16T12:48:15.000Z","updated_at":"2023-02-16T12:48:15.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Is Vue.JS front end or back end?","faq_schema_a1":"Vue.js is a JavaScript front-end framework that assists in building user interfaces. It is used for the creation of single-page applications. Moreover, it enables the developers to establish reusable components and manage the state of applications. It functions in the browser and interacts with the users, updating the application based on their inputs. However, Vue.js could be more helpful in backend development.","faq_schema_q2":"What are Mixins in Vue?","faq_schema_a2":"Mixins refer to a versatile approach that offers a more convenient way of distributing functionalities for vue components. Mixin objects can comprise various component choices. ","faq_schema_q3":"What is VueJS mainly used for?","faq_schema_a3":"Vue.js is mainly used for creating web interfaces and single-page applications.","like_counter":0},{"id":2156,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#freshers\">RPA UiPath interview questions for Freshers</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#experienced\">RPA UiPath interview questions for Experienced</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#scenario-based\">Scenario-based UiPath interview questions</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\">FAQs</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\">Tips</a></span></li>\n</ul>","description":"$1b","title":"UiPath Interview Questions","url_title":"uipath-interview-questions","image_url":"","meta_title":"Top 60+ UiPath Interview Questions and Answers (2023)","meta_desc":"Looking for RPA UiPath interview Questions with Answers ➔ Get the best expert-curated list of top questions, UiPath FAQ's and tips.","views":450,"rating":4.7,"author":"1","top_level_cat_id":"9","author_desc":"","course_id":"108","created_at":"2023-02-14T11:25:37.000Z","updated_at":"2023-02-14T11:25:37.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What are the 3 key components of the UiPath platform?","faq_schema_a1":"There are majorly 3 key components of the UiPath platform, they are:  UiPath Studio: UiPath Studio is a visual and graphical interface that enables users to design and build automation workflows.  UiPath Robot: UiPatch Robot is a component that executes the automation workflows designed in UiPath Studio. The Robot can run either in attended mode (when a user is present at the computer) or unattended mode (when running as a background process).  UiPath Orchestrator: UiPath Orchestrator is a web-based platform that enables users to manage, monitor, and scale their automation.","faq_schema_q2":"2. What is UiPath's full form?","faq_schema_a2":"UiPath does not have a full form. It is a brand name.","faq_schema_q3":"What is UiPath TCS used for?","faq_schema_a3":"TCS (Tata Consultancy Services) is a global IT services company that provides a range of Tech services. TCS uses UiPath to help its clients automate their business processes and improve operational efficiency. Here are some other uses:  Uses UiPath Studio to design and build automation workflows. Uses UiPath Robots to execute automation. Uses UiPath Orchestrator to manage and monitor automation. Helps organizations reduce manual work. Improves data accuracy. Increases operational efficiency","like_counter":0},{"id":2154,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><a href=\"#freshers\"><span style=\"font-size: 15px;\"><span style=\"color: #000000; font-size: 14px;\">Golang Interview Questions for Freshers</span></span></a></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000; font-size: 14px;\"><a style=\"color: #000000;\" href=\"#experienced\">Golang Interview Questions for Experienced</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000; font-size: 14px;\"><a style=\"color: #000000;\" href=\"#advanced\">Advanced Golang Interview Questions</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000; font-size: 14px;\"><a style=\"color: #000000;\" href=\"#scenario-based\">Golang Scenario-Based Interview Questions</a></span></li>\n</ul>","description":"$1c","title":"Golang Interview Questions","url_title":"golang-interview-questions","image_url":"","meta_title":"Top 50+ Golang Interview Questions and Answers (2023)","meta_desc":"Prepare for your Golang (Go) interview Questions➔ with our expert-curated list of top questions, Golang FAQ's and tips.","views":545,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"169","created_at":"2023-02-10T13:23:32.000Z","updated_at":"2023-02-10T13:23:32.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"How to prepare for a Golang interview?","faq_schema_a1":"To prepare for a Golang interview, it's recommended to familiarize yourself with Go's syntax, data structures, concurrency, and standard library. You should also have a good understanding of the following topics: pointers, interface, error handling, garbage collection, and Go's strict typing. Practicing writing code, solving problems, and discussing your solutions with others will also help.","faq_schema_q2":"Why is Go frequently referred to as a post-OOP language?","faq_schema_a2":"Go is often referred to as a post-OOP language because it takes a different approach to solving problems compared to traditional OOP languages. Go emphasizes simplicity, concurrency, and scalability, and provides built-in support for concurrent programming with Goroutines and channels. Go's use of composition instead of inheritance, and its lack of classes, make it a different approach to solving problems compared to traditional OOP languages.","faq_schema_q3":"What are the several built-in supports in Go language?","faq_schema_a3":"Go has several built-in supports, including:  Concurrency primitives, such as Goroutines and channels, to handle and manage concurrent processing. A standard library that provides packages for various functions and features, such as net/http for handling HTTP requests, encoding/json for encoding and decoding JSON data, and fmt for formatting and printing output. Garbage collection for automatic memory management. Strict typing for improved code clarity and error handling. Built-in support for testing, benchmarking, and profiling.","like_counter":0},{"id":2153,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"$1d","description":"$1e","title":"Burp Suite Tutorial","url_title":"burp-suite-tutorial","image_url":"","meta_title":"Burp Suite Tutorial | What is Burp Suite?","meta_desc":"Burp Suite Tutorial for Beginners ➔ In this Article, you will learn about Features✔️ Enterprise✔️ Professional✔️ Community Editions✔️ Benefits, etc.","views":2112,"rating":4.4,"author":"1","top_level_cat_id":"8","author_desc":"","course_id":"767","created_at":"2023-02-10T08:02:42.000Z","updated_at":"2023-02-10T08:02:42.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2149,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#basic\"><span style=\"font-size: 18px;\"><span style=\"font-size: 16px;\">Basic Level</span></span></a></span></li>\n<li><span style=\"font-size: 16px; color: #000000;\"><a style=\"color: #000000;\" href=\"#freshers\">Fresher Level</a></span></li>\n<li><span style=\"font-size: 16px; color: #000000;\"><a style=\"color: #000000;\" href=\"#experienced\">Experienced Level</a></span></li>\n</ul>","description":"$1f","title":"Facets Interview Questions","url_title":"facets-interview-questions","image_url":"","meta_title":"Top 40+ Facets Interview Questions and Answers (2023)","meta_desc":"Best Facets Interview Questions with Answers: Ace your Facets interview with expert-curated, FAQ's and real-time case study questions.","views":453,"rating":4.5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"173","created_at":"2023-02-02T12:28:51.000Z","updated_at":"2023-02-02T12:28:51.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is a facet interview?","faq_schema_a1":"Using Facets, a management tool used to operate on medical and hospital transactions, and being skilled in answering some of the common Facets testing questions for interviews can enhance your chances for success in the interview.","faq_schema_q2":"What are facets in healthcare?","faq_schema_a2":"Facets is a central administration solution developed by TriZetto for health plans. Facets came from the requirement for a solution that made the health plans adapt to new industry drift without system restrictions. It includes different aspects of healthcare like healthcare costs, healthcare services, etc., and automates administrative tasks like billing, care management, claim processing, and network management workflow.","faq_schema_q3":"What are the 3 Facets? ","faq_schema_a3":"The three facets are problem method, problem structure, and problem solution.","like_counter":0},{"id":2147,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><a href=\"#basic\"><span style=\"font-size: 16px;\"><span style=\"color: #236fa1; font-size: 14px;\"><span style=\"color: #000000;\">Basic Guidewire Interview Questions</span></span></span></a></li>\n<li><span style=\"font-size: 14px; color: #000000;\"><a style=\"color: #000000;\" href=\"#policy-center\">Guidewire Policy Center Interview Questions</a></span></li>\n<li><span style=\"font-size: 14px; color: #000000;\"><a style=\"color: #000000;\" href=\"#advanced\">Advanced Guidewire Testing Interview Questions</a></span></li>\n<li><span style=\"font-size: 14px; color: #000000;\"><a style=\"color: #000000;\" href=\"#faqs\">Guidewire FAQs</a></span></li>\n<li><span style=\"font-size: 14px; color: #000000;\"><a style=\"color: #000000;\" href=\"#tips\">Tips</a></span></li>\n</ul>","description":"$20","title":"Guidewire Interview Questions","url_title":"guidewire-interview-questions","image_url":"","meta_title":"Top 30+ Guidewire Interview Questions and Answers (2025)","meta_desc":"Best Guidewire Interview Questions with Answers: Ace your Guidewire interview with expert-curated, real-time case study questions and answers. ","views":785,"rating":4.5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"237","created_at":"2023-01-31T09:51:21.000Z","updated_at":"2023-01-31T09:51:21.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Is guidewire a technology?","faq_schema_a1":"Guidewire is an enterprise software company serving the insurance and financial services industries. In its nearly 15-year history, the guidewire has created a leading system to help insurers (including Allstate Insurance Company, Nationwide Mutual Insurance Co., MetLife Auto & Home, and Erie Insurance) design, market, and administer their products.","faq_schema_q2":"Is Guidewire an ERP?","faq_schema_a2":"The guidewire is a CRM and ERP system.","faq_schema_q3":"What is Guidewire Claim Center?","faq_schema_a3":"Guidewire ClaimCenter is a claims management system that works with all types of insurance, including personal, commercial, and workers' compensation.","like_counter":5},{"id":2146,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"https://tekslate.com/workfusion-interview-questions#freshers\">WorkFusion Interview Questions for Freshers</a></span></li>\n<li aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"https://tekslate.com/workfusion-interview-questions#experienced\">WorkFusion Interview Questions for Experienced</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"https://tekslate.com/workfusion-interview-questions#rpa\">WorkFusion RPA Interview Questions</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"https://tekslate.com/workfusion-interview-questions#faqs\" target=\"_blank\" rel=\"noopener\">WorkFusion FAQs</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"https://tekslate.com/workfusion-interview-questions#tips\">Tips</a></span></li>\n</ul>","description":"$21","title":"WorkFusion Interview Questions","url_title":"workfusion-interview-questions","image_url":"","meta_title":"Top 40+ WorkFusion Interview Questions (2023)","meta_desc":"Best WorkFusion Interview Questions with Answers ➔ In this blog, you'll learn ✔️Real-time Case Study Questions ✔️FAQs ✔️Tips✔️Curated by Experts.","views":453,"rating":4.7,"author":"1","top_level_cat_id":"9","author_desc":"","course_id":"149","created_at":"2023-01-30T14:02:26.000Z","updated_at":"2023-01-30T14:02:26.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is RPA Testing?","faq_schema_a1":"RPA (Robotic Process Automation) testing is the process of ensuring that an RPA solution operates as intended and meets the criteria by testing its functionality and performance. RPA testing comprises functional testing, performance testing, and regression testing. This ensures the automation's stability, accuracy, and efficiency.","faq_schema_q2":"What is a Listener in WorkFusion?","faq_schema_a2":"In WorkFusion, a Listener is a component that enables the software robot to communicate with other systems and applications. The listener receives events or triggers from external systems and executes the associated automation flow based on the setup. This enables the automation of actions triggered by outside occurrences.","faq_schema_q3":"What are different RPA jobs?","faq_schema_a3":"Different RPA jobs include: RPA Developer, RPA Business Analyst, RPA Project Manager, RPA Solution Architect, RPA Quality Assurance Analyst, RPA Infrastructure Engineer, RPA Operations Manager, RPA Consultant, and RPA Trainer.","like_counter":0},{"id":2143,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"$22","description":"$23","title":"Cypress Tutorial","url_title":"cypress-tutorial","image_url":"","meta_title":"Cypress Tutorial | Cypress Automation Tutorial","meta_desc":"Cypress Tutorial for Beginners: Learn various Cypress Automation topics like Cypress Features, Installation Steps, Architecture and workflow.","views":5456,"rating":4.8,"author":"1","top_level_cat_id":"7","author_desc":"","course_id":"768","created_at":"2023-01-23T10:42:07.000Z","updated_at":"2023-01-23T10:42:07.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2141,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#postgresql\">What is PostgreSQL</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#features\">Features of PostgreSQL</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#history\">History of PostgreSQL</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#installation\">Installation Process</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#use-of-postgrsql\">Why is PostgreSQL best for you?</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#postgresql-for-beginners\">Is PostgreSQL suitable for beginners?</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#conclusion\">Conclusion</a></span></li>\n</ul>","description":"$24","title":"PostgreSQL Tutorial for Beginners","url_title":"postgresql-tutorial","image_url":"","meta_title":"PostgreSQL Tutorial | A Complete Guide to PostgreSQL Tutorial","meta_desc":"PostgreSQL Tutorial for Beginners ➔✔️What is PostgreSQL ✔️History ✔️Architecture ✔️Installation Guide ✔️Features and more.","views":464,"rating":4.6,"author":"1","top_level_cat_id":"10","author_desc":"","course_id":"500","created_at":"2023-01-20T10:30:13.000Z","updated_at":"2023-01-20T10:30:13.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2139,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p>Have you got a Saviynt interview to go to? Keep your anxiousness in check since this blog will teach you to be confident throughout the interview. This blog is a last-minute reference guide that may be used before your interview.</p>","table_of_content":"<ul>\n<li><a href=\"#freshers\"><span style=\"font-size: 16px; color: #236fa1;\"><strong>Saviynt Interview Questions for Freshers</strong></span></a></li>\n<li><a href=\"#experienced\"><span style=\"font-size: 16px; color: #236fa1;\"><strong>Saviynt Interview Questions for Experienced</strong></span></a></li>\n<li><a href=\"#certification\"><span style=\"font-size: 16px; color: #236fa1;\"><strong>Saviynt Certification Questions</strong></span></a></li>\n</ul>","description":"$25","title":"Saviynt Interview Questions","url_title":"saviynt-interview-questions","image_url":"","meta_title":"Top 45+ Saviynt Interview Questions and Answers (2023)","meta_desc":"Looking for Saviynt Interview Questions with Answers? ➔ Real-time Case Study Questions ✔️Frequently Asked ✔️Beginners ✔️Advanced and Saviynt FAQs.","views":1890,"rating":4.7,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"758","created_at":"2023-01-19T12:46:43.000Z","updated_at":"2023-01-19T12:46:43.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"How does Saviynt technology work?","faq_schema_a1":"Enterprises can protect apps, data, and infrastructure with Saviynt's unified platform for the cloud (Office 365, AWS, Salesforce, and Workday) (SAP, Oracle EBS). Saviynt is leading the development of IGA 2.0 by fusing sophisticated risk analytics and intelligence with fine-grained privilege control.","faq_schema_q2":"SailPoint or Saviynt—which is superior?","faq_schema_a2":"When compared, they each serve different purposes. SailPoint is the only option if you want a more extensive user base and sophisticated features. Additionally, you may choose Saviynt if you want superior features but only care a little about the community.","faq_schema_q3":"Saviynt is what sort of business?","faq_schema_a3":"Saviynt, Inc creates security software. The company provides administration, identity governance, and cloud security solutions. Enterprises can protect apps, data, and infrastructure on a single platform for cloud and enterprise thanks to Saviynt.","like_counter":3},{"id":2137,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#for-freshers\"><strong><span style=\"font-size: 16px;\">PostgreSQL Interview Questions for Freshers</span></strong></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#for-experienced\"><strong><span style=\"font-size: 16px;\">PostgreSQL Interview Questions for Experienced</span></strong></a></span></li>\n</ul>","description":"$26","title":"PostgreSQL Interview Questions","url_title":"postgresql-interview-questions","image_url":"","meta_title":"Top 30+ PostgreSQL Interview Questions and Answers (2023)","meta_desc":"Looking for the best PostgreSQL interview questions with answers? Learn from the best. We are here to help you crack the interview.","views":789,"rating":4.5,"author":"1","top_level_cat_id":"10","author_desc":"","course_id":"500","created_at":"2023-01-13T13:00:26.000Z","updated_at":"2023-01-13T13:00:26.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is PostgreSQL?","faq_schema_a1":"PostgreSQL is an open-source relational database management system (RDBMS) that is known for its powerful features and scalability. It is often used in high-demand applications such as data warehousing, business intelligence, and large-scale web applications.","faq_schema_q2":"What are some advantages of using PostgreSQL?","faq_schema_a2":"PostgreSQL offers a number of advantages, including:  support for advanced data types and indexing methods robust concurrency control support for stored procedures, triggers and views high performance and scalability High availability and disaster recovery Large and active community, which makes it a great choice for various use cases.","faq_schema_q3":"Can I use PostgreSQL in a production environment?","faq_schema_a3":"Yes, PostgreSQL is a stable and reliable database management system that is suitable for use in a production environment. Many large companies and organizations use PostgreSQL in their mission-critical applications.","like_counter":0},{"id":2133,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p>Preparing for a Cypress job interview requires familiarizing yourself with the tool's features and capabilities. Common questions might include explaining what Cypress is, demonstrating basic test-writing skills, and discussing best practices. Knowing how to handle asynchronous actions and debug failing tests can also be advantageous.</p>","table_of_content":"<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#basic\">Basic Cypress Interview Questions</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#experienced\">Cypress Interview Questions for Experienced</a></span></li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#automation\">Cypress Automation Interview Questions</a></span></li>\n</ul>","description":"$27","title":"Cypress Interview Questions","url_title":"cypress-interview-questions","image_url":"","meta_title":"Top 40+ Cypress Interview Questions and Answers (2023)","meta_desc":"Looking for Best Cypress Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":896,"rating":4.7,"author":"1","top_level_cat_id":"7","author_desc":"","course_id":"768","created_at":"2022-12-29T07:04:38.000Z","updated_at":"2022-12-29T07:04:38.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":2},{"id":2130,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p><span style=\"font-weight: 400;\">Are you preparing for New Relic interview? Are you sure you have covered all the basic advanced-level questions? If not, then our guide on New Relic interview questions 2022 will help you crack the interview. In this blog, we have prepared New Relic interview questions and answers prepared by industry experts so that you can ace your interview. </span><span style=\"font-weight: 400;\">But before moving on to the questions, let's know a little about New Relic.</span></p>","table_of_content":"","description":"$28","title":"New Relic Interview Questions","url_title":"new-relic-interview-questions","image_url":"","meta_title":"Top 30+ New Relic Interview Questions and Answers (2023)","meta_desc":"Done with New Relic Certification and looking for interview questions to prepare? Then you are in the right place. We are here to help you with the same. ","views":3111,"rating":4.7,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"158","created_at":"2022-11-04T10:55:14.000Z","updated_at":"2022-11-04T10:55:14.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is the infrastructure of New Relic?","faq_schema_a1":"New Relic gives the client complete details of the hosting environment and configuration of a website. If there is any change in those configurations, then there can be alerts to permit the change from the client.","faq_schema_q2":"Describe New Relic's APM?","faq_schema_a2":"The New Relic's APM allows monitoring of the performance statistics of various websites and applications. We can also sync the important and relevant data such as alerts, logs and so on to the New Relic mobile app to monitor those data from the app itself.","faq_schema_q3":"What is the use of Runbook in New Relic?","faq_schema_a3":"Runbook in New Relic allows the user to recover from any unexpected crashes or failures of the application or website.","like_counter":0},{"id":2128,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"<p><span style=\"font-weight: 400;\">Are you preparing for a Dynatrace interview? Are you 100% sure that you are well prepared? If not, there are Dynatrace interview questions that will come in handy; here are a few frequently asked Dynatrace Interview Questions in the world of Dynatrace. These questions will help you revise all the essential parts, making it easier for you to crack the interview.</span></p>","table_of_content":"","description":"$29","title":"Dynatrace Interview Questions","url_title":"dynatrace-interview-questions","image_url":"","meta_title":"Top Dynatrace Interview Questions (2023)","meta_desc":"Looking for the best Dynatrace interview questions? Learn from the best. We are here to help you crack the interview.","views":451,"rating":4.4,"author":"1","top_level_cat_id":"26","author_desc":"","course_id":"38","created_at":"2022-11-02T10:51:00.000Z","updated_at":"2022-11-02T10:51:00.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":3},{"id":2122,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$2a","title":"CISSP Interview Questions","url_title":"cissp-interview-questions","image_url":"","meta_title":"Top 20 CISSP Interview Question and Answers - 2023","meta_desc":"Done with CISSP Certification and looking for interview questions to prepare? Then you are in the right place. We are here to help you with the same.","views":0,"rating":5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"459","created_at":"2022-08-04T09:02:52.000Z","updated_at":"2022-08-04T09:02:52.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2119,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$2b","title":"Clojure Interview Questions","url_title":"clojure-interview-questions","image_url":"","meta_title":"Top 30 Clojure Interview Question and Answers - 2023","meta_desc":"It's common for all job searchers to want to nail their interviews. But to do that, you must be completely ready. So, keep reading.","views":0,"rating":5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"424","created_at":"2022-07-25T08:12:32.000Z","updated_at":"2022-07-25T08:12:32.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":2113,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"<p>Have you been automating the testing process of your websites, user interfaces and applications with Cypress? If so, you are aware of its pros and cons. This post lists some of the top Cypress alternatives that you may use for effective automated testing. Let&rsquo;s begin discovering.</p>","table_of_content":"$2c","description":"$2d","title":"Cypress Alternatives","url_title":"cypress-alternatives","image_url":"","meta_title":"Top 10 Cypress Alternatives in 2023","meta_desc":"Looking for the top alternatives of the Cypress test automation tool? We have listed the 10 tools that can be used for testing apart from Cypress.","views":0,"rating":5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"155","created_at":"2022-07-09T10:45:02.000Z","updated_at":"2022-07-09T10:45:02.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2112,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$2e","title":"TeamCity Interview Questions                                  ","url_title":"teamcity-interview-questions","image_url":"","meta_title":"Top 20 TeamCity Interview Question and Answers - Updated 2023","meta_desc":"Are you looking to prepare for TeamCity Interview? If yes then you need to go through these important TeamCity interview questions to ace your interview process.","views":0,"rating":5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"343","created_at":"2022-07-09T06:54:05.000Z","updated_at":"2022-07-09T06:54:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2110,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$2f","title":"SPARQL Interview Questions","url_title":"sparql-interview-questions","image_url":"","meta_title":"Top 20 SPARQL Interview Question and Answers - (2023)","meta_desc":"Looking for some important SPARQL interview questions that might be asked during an interview? Then you need to go through these questions.","views":452,"rating":4.8,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"497","created_at":"2022-07-07T11:00:13.000Z","updated_at":"2022-07-07T11:00:13.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2108,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$30","title":"Windchill Interview Questions","url_title":"windchill-interview-questions","image_url":"","meta_title":"Top Windchill Interview Questions and Answers (2023)","meta_desc":"Looking for best PTC Windchill Interview Questions with Answers➔ In this blog you'll learn ✔️Real-time Case Study Questions✔️FAQs ✔️Tips","views":2101,"rating":4.2,"author":"1","top_level_cat_id":"35","author_desc":"","course_id":"79","created_at":"2022-07-04T12:00:32.000Z","updated_at":"2022-07-04T12:00:32.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2107,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$31","title":"Cloud Analytics Tutorial","url_title":"cloud-analytics-tutorial","image_url":"","meta_title":"Cloud Analytics Tutorial | Introduction to Cloud Analytics","meta_desc":"In this tutorial, you will go through the introduction to cloud analytics, types of cloud analytics and why should you use it.","views":0,"rating":5,"author":"1","top_level_cat_id":"2","author_desc":"","course_id":"180","created_at":"2022-06-30T08:18:08.000Z","updated_at":"2022-06-30T08:18:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2104,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$32","title":"Apttus CPQ Interview Questions","url_title":"apttus-interview-questions-and-answers","image_url":"","meta_title":"Top 25+ Apttus CPQ Interview Questions and Answers 2023","meta_desc":"Best Apttus CPQ Interview Questions with Answers: Ace your Apttus CPQ interview with our list of top questions and answers.","views":0,"rating":5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"119","created_at":"2022-03-30T13:09:31.000Z","updated_at":"2022-03-30T13:09:31.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2100,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$33","title":"Hardware Design Development Interview Questions","url_title":"hardware-design-development-interview-questions-and-answers","image_url":"","meta_title":"Top 30+ Hardware Design Development Interview Questions (2023)","meta_desc":"Best Hardware Design interview Questions & Answers for ✔️freshers ✔️executives ✔️Curated by Experts ✔️technical interview questions to ace your interview!","views":2141,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"161","created_at":"2022-03-29T12:04:45.000Z","updated_at":"2022-03-29T12:04:45.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":3},{"id":2098,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$34","title":"SAP MDG Tutorial","url_title":"sap-mdg-tutorial","image_url":"","meta_title":"SAP MDG Tutorial | Introduction to SAP MDG","meta_desc":"In this SAP MDG Tutorial, we will provide an introduction to the basics of sap mdg, as well as discuss some key concepts and features. ","views":5410,"rating":4.8,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"739","created_at":"2022-03-16T06:21:53.000Z","updated_at":"2022-03-16T06:21:53.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2093,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$35","title":"Looker Interview Questions","url_title":"looker-interview-questions","image_url":"","meta_title":"Top 30+ Looker Interview Questions (2023)","meta_desc":"Best Looker Interview Questions and Answers: Ace your Looker interview with our list of top questions and answers.","views":1421,"rating":4.3,"author":"1","top_level_cat_id":"19","author_desc":"","course_id":"488","created_at":"2022-02-24T11:38:35.000Z","updated_at":"2022-02-24T11:38:35.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Describe the Data Flow.","faq_schema_a1":"It is mostly a task that is done with the assistance of an SSIS package and is responsible for data transformation. The source and destination are always clearly defined, and users may easily keep up with the amendments and modifications.","faq_schema_q2":"How Do You Define Logistic Regression?","faq_schema_a2":"It is essentially a method that is recognized for accurately verifying a dataset that contains unbiased variables. The validation level is determined by how accurately the final findings are dependent on these factors. It is not always appropriate to remove them as indicated.","faq_schema_q3":"What do you mean by Looker Business Intelligence?","faq_schema_a3":"The BI software from Looker assists in the exploration and analysis of data. We can bring together data from many sources to produce a cohesive perspective. Other than data, we can then create real-time metrics and simply distribute them. It has some impressive visuals and drill-down interfaces.","like_counter":0},{"id":2084,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$36","title":"Test -2 ","url_title":"test-tekslate","image_url":"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/mulesoft-training.png","meta_title":"test teklste","meta_desc":"test tekslate","views":5500,"rating":5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"2","created_at":"2022-01-25T11:52:08.000Z","updated_at":"2022-01-25T11:52:08.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"2024-08-25","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":113,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$37","title":"WebMethods Tutorial","url_title":"tutorialswebmethods","image_url":"","meta_title":"WebMethods Tutorial | A Complete Guide to WebMethods Tutorial","meta_desc":"WebMethods Tutorial for Beginners - Learn What is WebMethods, What is Integration Server in WEB METHODS, E-Standards read more.!","views":3291,"rating":4.3,"author":"1","top_level_cat_id":"6","author_desc":"","course_id":"131","created_at":"2016-06-28T06:16:06.000Z","updated_at":"2021-04-15T14:48:06.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":3},{"id":425,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#sap-hcm-interview-questions\">SAP HCM Interview Questions</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#sap-hr-interview-questions\">SAP HR Interview Questions</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#sap-hcm-interview-questions-experienced\">SAP HCM Interview Questions for Experienced</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#sap-hcm-payroll-interview-questions\">SAP HCM Payroll Interview Questions</a></span></li>\n</ul>","description":"$38","title":"SAP HCM Interview Questions","url_title":"sap-hcm-interview-questions","image_url":"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/articles/sap-hcm-interview-questions-10032023.png","meta_title":"Top 40+ SAP HCM Interview Questions and Answers (2023)","meta_desc":"Looking for SAP HCM Interview Questions with Answers? Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":2451,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2017-09-26T09:42:11.000Z","updated_at":"2021-04-14T15:57:28.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What Is the Client In The SAP System?","faq_schema_a1":"In the SAP R/3 (R stands for Real-time) system, a client is an organization and a legal entity. A client is positioned at the highest level among all the organizational units. It contains the master data of various business processes, such as customers, products, and vendors. A three-digit number is used to represent clients in the SAP R/3 system.","faq_schema_q2":"What Is the Company Code?","faq_schema_a2":"A company code is a unique four-character alphanumeric code that represents a legally independent enterprise.","faq_schema_q3":"What Is SAP HCM Workflow?","faq_schema_a3":"The SAP HCM Workflow automates business processes and assigns tasks to appropriate persons at the right time.","like_counter":7},{"id":416,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$39","title":"Embedded Systems Interview Questions","url_title":"interview-questions-on-embedded-systems","image_url":"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/articles/embedded-systems-interview-questions-10032023.png","meta_title":"TOP 50+ Embedded Systems Interview Questions and Answers (2023)","meta_desc":"Looking for Tricky Embedded Interview Questions? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":1547,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2017-09-18T05:46:38.000Z","updated_at":"2021-04-07T12:53:55.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is an embedded system? ","faq_schema_a1":"An embedded system is part of a more extensive electrical or mechanical system dedicated to a specific task. It is a microcontroller or microprocessor-based. ","faq_schema_q2":"What are real-time embedded systems? ","faq_schema_a2":"Real-time embedded systems are computer systems that monitor, respond, or control external environments. ","faq_schema_q3":"What is a microcontroller?","faq_schema_a3":"Microcontrollers are self-contained systems inserted in devices to control the actions and features of a product. They are also called embedded controllers.","like_counter":9},{"id":1214,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$3a","title":"Advantages and Disadvantages of C Language","url_title":"advantages-c-language","image_url":"","meta_title":"Advantages of C Language | Disadvantages of C - TekSlate","meta_desc":"These core tutorials that helps you to learn the fundamentals of C, features of C, advantages and disadvantages of C,etc","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:10:34.000Z","updated_at":"2021-04-07T10:48:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1270,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$3b","title":"Advantages and Disadvantages of C++ language","url_title":"c-explain-advantages-disadvantages","image_url":"","meta_title":"Advantages and Disadvantages of C++ language - Updated 2022","meta_desc":"In this tutorial,we will learn about Advantages and Disadvantages of C++ language,what are the uses, disadvantages and advantages of c++?","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-22T22:54:22.000Z","updated_at":"2021-04-05T18:24:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":2},{"id":391,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#freshers\">Oracle P2P Interview Questions for Freshers</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#experienced\">Oracle P2P Interview Questions For Experienced</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#purchasing\">Oracle Purchasing Interview Questions</a></span></li>\n</ul>","description":"$3c","title":"Oracle Procure To Pay Interview Questions","url_title":"interview-questions-on-oracle-procure-to-pay","image_url":"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/articles/p2p-interview-questions-10032023.png","meta_title":"TOP 50 Oracle Procure To Pay Interview Questions (2023)","meta_desc":"Looking for Oracle P2P Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":4352,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"338","created_at":"2016-11-22T05:37:44.000Z","updated_at":"2021-04-05T16:08:12.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":39},{"id":939,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"$3d","description":"$3e","title":"Salesforce Sample Triggers with different Scenarios","url_title":"15-sample-triggers-different-scenarios","image_url":"","meta_title":"Real Time Trigger Scenarios in Salesforce (2023)","meta_desc":"Salesforce trigger scenarios with examples - learn programs for the efficient implementation of complex trigger scenarios in salesforce with examples.","views":11712,"rating":4.7,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"116","created_at":"2014-11-15T05:23:18.000Z","updated_at":"2021-04-03T16:47:41.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":18},{"id":1225,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$3f","title":"Increment /Decrement operators in C","url_title":"brief-explanation-increment-decrement-operator-examples","image_url":"","meta_title":"Increment / Decrement operators in C - Updated 2023 - Tekslate","meta_desc":"Increment /Decrement operators in C - learn about increment/decrement operators in C with examples briefly. Read More...!","views":2693,"rating":4.2,"author":"1","top_level_cat_id":"4","author_desc":"","course_id":"231","created_at":"2014-12-08T18:19:43.000Z","updated_at":"2021-04-03T16:05:29.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2076,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#data-warehouse\">What is a Snowflake data warehouse</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#unique\">Why is Snowflake unique</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#architecture\">Architecture of Snowflake</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#features\">Snowflake Features</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#collaboration\">Collaboration and sharing</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#connecting\">Connecting to Snowflake</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#loading\">Loading of data in Snowflake</a></span></p>\n<p><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#benefits\">Benefits of Snowflake</a></span></p>","description":"$40","title":"Snowflake Tutorial","url_title":"snowflake-tutorial","image_url":"","meta_title":"Snowflake Tutorial | Snowflake Data Warehouse Overview","meta_desc":"Snowflake Tutorial - learn about snowflake data warehouse, Benefits of using snowflake, Snowflake architecture, Snowflake features and Snowflake loading.","views":758,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2021-02-23T13:24:36.000Z","updated_at":"2021-03-25T14:27:13.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":448,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$41","title":"OpenShift Interview Questions","url_title":"interview-questions-on-openshift","image_url":"","meta_title":"Top 50 OpenShift Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for OpenShift Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interview in Fortune 500 companies","views":1547,"rating":4.2,"author":"1","top_level_cat_id":"22","author_desc":"","course_id":"61","created_at":"2017-02-02T10:01:21.000Z","updated_at":"2020-12-21T13:25:40.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is Openshift?","faq_schema_a1":"Openshift is fundamentally a PC software product that is served by Red Hat. It is a cloud improvement administration and an open-source advancement stage for possible designers. The essentials of development and deployment of the applications over the cloud are led with Openshift.","faq_schema_q2":"Explain about gear in Openshift?","faq_schema_a2":"In terms of Openshift, isolated groups are called Gears. Gears perform the working of the application. Rather than a software product piece, the application is essentially performed by gears. Another significant term is a cartridge, which is fundamentally a build made up of reusable gears.","faq_schema_q3":"Define routes and services in Openshift?","faq_schema_a3":"A pod is comprising services and containers; subsequently, service in Openshift is a get together of coherent pods. The service is considered fundamentally as a REST object in Openshift. Routes are given in Openshift to externalize and investigate the services needed to reach the hostname remotely. It is achieved by utilizing the routes created by the admin commands.","like_counter":0},{"id":1385,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$42","title":"SilverLight LINQ Integration","url_title":"silverlight-linq-integration","image_url":"","meta_title":"SilverLight LINQ Integration | Tekslate","meta_desc":"In this tutorial, we will go over SilverLight LINQ Integration with examplse","views":820,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T23:13:03.000Z","updated_at":"2020-10-22T11:44:31.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1381,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$43","title":"SilverLight Data Type Animations","url_title":"silverlight-data-type-animations","image_url":"","meta_title":"SilverLight Data Type Animations | Tekslate","meta_desc":"In this tutorial, we will look at different types of SilverLight Data Type Animations.","views":876,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:24:20.000Z","updated_at":"2020-10-22T11:37:18.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1367,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$44","title":"Working with WCF services","url_title":"working-wcf-services","image_url":"","meta_title":"Working with WCF services | Tekslate","meta_desc":"In this tutorial, you will learn about working with WCF services and consuming the WCF service with diagrammatic representation. Learn .Net from Industry Experts!","views":1050,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:27:18.000Z","updated_at":"2020-10-22T11:27:38.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1344,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$45","title":"Working With Windows Based desktop Applications in WPF","url_title":"working-windows-based-desktop-applications-wcf","image_url":"","meta_title":"Create Modern Desktop Applications | Tekslate","meta_desc":"In this tutorial you will learn how to start working with windows based desktop applications and get to know about methods with windows class.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T18:17:58.000Z","updated_at":"2020-10-22T11:12:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1207,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$46","title":"View engine & Razor view engine","url_title":"view-engine-razor-view-engine","image_url":"","meta_title":"Difference between View engine & Razor view engine | Tekslate","meta_desc":"In this lesson, we will understand difference between View engine & Razor view engine. A view engine is the part of the asp.net mvc.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T18:03:40.000Z","updated_at":"2020-10-22T11:00:37.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1195,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$47","title":"Execute an MVC Application","url_title":"execute-mvc-application","image_url":"","meta_title":"How to Execute an MVC Application | Tekslate","meta_desc":"In this lesson, we will talk about how to execute an application in MVC ASP.net. Learn ASP.Net Training from Tekslate!","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"230","created_at":"2014-12-08T16:59:25.000Z","updated_at":"2020-10-21T18:10:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1188,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$48","title":"Types of views in MVC","url_title":"many-types-view-mvc","image_url":"","meta_title":"How many Types of view in MVC | Tekslate","meta_desc":"In this tutorial, we will discuss types of views in the MVC framework. View Page, Master Page, and Partial View are the 3 basic types of views we see in MVC.","views":1986,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"230","created_at":"2014-12-08T16:49:57.000Z","updated_at":"2020-10-21T17:29:56.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1182,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$49","title":"MVC Design Patterns","url_title":"mvc-design-patterns","image_url":"","meta_title":"MVC Design Patterns - ASP.Net | Tekslate","meta_desc":"In this tutorial, we will learn about different types of MVC Design Patterns in ASP.Net. In general 23 design patterns are developed by GOF (gang of four)","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"230","created_at":"2014-12-05T04:56:38.000Z","updated_at":"2020-10-21T17:16:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1569,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$4a","title":"Windows Forms Based Application in vb.net","url_title":"windows-forms-based-application-vb-net","image_url":"","meta_title":"Windows form based application in VB.Net","meta_desc":"In this tutorial, we will explain the windows form-based application in VB.Net in detail...Tekslate.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:05.000Z","updated_at":"2020-10-20T12:09:59.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1575,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$4b","title":"Code for Delete (button_click) (Manage Question) in vb.net","url_title":"code-delete-button_click-manage-question-vb-net","image_url":"","meta_title":"Code for delete in VB.Net","meta_desc":"In this tutorial, we will discuss the deletion code (button click) in VB.Net explained in detail...Tekslate.","views":768,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:40.000Z","updated_at":"2020-10-19T17:39:43.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1571,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$4c","title":"Working with typed Dataset in vb.net","url_title":"working-typed-dataset-vb-net","image_url":"","meta_title":"Working with typed dataset in VB.Net","meta_desc":"In this tutorial, we will discuss how to work with a typed dataset in VB.Net explained in detail...Tekslate.","views":318,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:18.000Z","updated_at":"2020-10-19T17:11:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1567,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$4d","title":"Working with Inheritance in vb.net","url_title":"working-inheritance-vb-net","image_url":"","meta_title":"Working Inheritance in VB.Net","meta_desc":"In this tutorial, we will discuss how to work with inheritance and its types in VB.Net explained in detail...Tekslate.","views":454,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:47:35.000Z","updated_at":"2020-10-19T16:29:50.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1568,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$4e","title":"Object Oriented Program Model in vb.net","url_title":"object-oriented-program-model-vb-net","image_url":"","meta_title":"Object oriented program model in VB.Net","meta_desc":"In this tutorial, we will discuss the object-oriented program model in VB.Net explained in detail...Tekslate.","views":203,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:02.000Z","updated_at":"2020-10-19T16:00:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1576,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$4f","title":"Accessing stored procedures using LINQ in vb.net","url_title":"accessing-stored-procedures-using-linq-vb-net","image_url":"","meta_title":"Accessing stored procedures using Linq VB.Net","meta_desc":"In this tutorial, we will discuss how to access the stored procedures using Linq in VB.Net explained in detail...Tekslate.","views":914,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:48.000Z","updated_at":"2020-10-19T13:30:45.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1574,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$50","title":"Filtering the Data based on LINQ queries in vb.net","url_title":"filtering-data-based-linq-queries-vb-net","image_url":"","meta_title":"Filtering the data based on Linq Queries in VB.NET","meta_desc":"In this tutorial, we will learn about filtering the database on Linq queries in VB.Net...Tekslate.","views":942,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:44.000Z","updated_at":"2020-10-19T12:23:06.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1573,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$51","title":"Working with Microsoft Agent Control in vb.net","url_title":"working-microsoft-agent-control-vb-net","image_url":"","meta_title":"Working with Microsoft agent in VB.Net","meta_desc":"In this tutorial, we will learn how to work with Microsoft agent control in VB.Net...Tekslate","views":290,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:37.000Z","updated_at":"2020-10-19T11:52:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1566,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$52","title":"Method Overloading in vb.net","url_title":"method-overloading-vb-net","image_url":"","meta_title":"Method overloading in VB.Net","meta_desc":"In this tutorial, we will learn about the method of overloading, shadowing explained in detail...Tekslate.","views":657,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:47:48.000Z","updated_at":"2020-10-19T11:41:49.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1604,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$53","title":"Ajax Extenders","url_title":"ajax-extenders","image_url":"","meta_title":"Ajax Extenders","meta_desc":"In this blog, we will learn that the Ajax extenders, and various types of ajax extenders...Tekslate.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:30:48.000Z","updated_at":"2020-10-19T10:54:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1638,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$54","title":"Ajax File Upload Control","url_title":"ajax-file-upload-control","image_url":"","meta_title":"Ajax File Upload Control | TekSlate Ajax Tutorials Online","meta_desc":"Ajax File Upload Control - In the Ajax tutorial we will learn about AJAX File Upload, Ajax File Upload Control, and its properties.","views":314,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:49:17.000Z","updated_at":"2020-10-19T10:40:50.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1562,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$55","title":"introduction to Class & Members in vb.net","url_title":"intoduction-class-members-vb-net","image_url":"","meta_title":"Class and Members in VB.Net","meta_desc":"In this tutorial, we will learn about class, members, shared members, modifiers, variable, object, etc; in VB.Net by Tekslate.","views":297,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:30.000Z","updated_at":"2020-10-19T10:27:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1561,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$56","title":"Types of applications developed by VB.Net","url_title":"types-applications-can-developed-using-vb-net","image_url":"","meta_title":"Types of applications that can be developed using VB.Net","meta_desc":"In this tutorial, we will discuss the types of applications developed by using VB.Net, Console applications explained in detail, Tekslate.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"188","created_at":"2018-01-09T10:48:54.000Z","updated_at":"2020-10-17T18:22:25.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":4},{"id":1560,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$57","title":"WCF [Windows Communication Foundation] in vb.net","url_title":"wcf-windows-communication-foundation-vb-net","image_url":"","meta_title":"Windows Communication Foundation in VB.Net","meta_desc":"In this tutorial, we will discuss WCF, WPF, WF, CS, LINQ, and are explained in detail...Tekslate.","views":167,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:48:59.000Z","updated_at":"2020-10-17T17:55:12.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":995,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$58","title":"Debugging web parts & Debugging From A Remote Machine","url_title":"debugging-web-parts-debugging-remote-machine","image_url":"","meta_title":"Debugging web parts & Debugging From A Remote Machine","meta_desc":"Setting break points and attaching asp.net w3wp.exe process to debugging web parts and debug a remote machine ensure remote server configured correctly","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-21T10:52:05.000Z","updated_at":"2020-10-17T12:12:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":40,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$59","title":"C# Tutorials","url_title":"c-sharp-tutorials","image_url":"","meta_title":"C# Tutorial | C Sharp Programming Tutorial","meta_desc":"C# tutorials discusses on concepts which consists of thousands of prebuilt classes and interfaces that lets programmer to write code in very less time.","views":975,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2015-05-31T06:36:54.000Z","updated_at":"2020-10-17T11:19:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1208,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$5a","title":"Working with Razor syntax","url_title":"working-razor-syntax","image_url":"","meta_title":"Working with Razor syntax - ASP.Net | Tekslate","meta_desc":"Working with Razor syntax - ASP.Net  - in this tutorial we will learn about Razor Syntax in ASP.Net.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T18:04:58.000Z","updated_at":"2020-10-17T09:33:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1198,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$5b","title":"Anonymous and Named types ASP.Net","url_title":"different-between-anonymous-and-named-types","image_url":"","meta_title":"Difference between Anonymous and Named types -ASP.Net","meta_desc":"In this tutorial, we will see the Difference between Anonymous and Named types ASP.Net in ASP.Net. In general anonymous types of declared with the var keyword.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"230","created_at":"2014-12-08T17:48:07.000Z","updated_at":"2020-10-16T17:01:03.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":149,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$5c","title":"OSB Tutorials","url_title":"tutorialsosb","image_url":"","meta_title":"OSB (Oracle Service Bus) Tutorials Designed By Industry Experts","meta_desc":"This tutorial gives a brief introduction on Basics of Weblogic Application Server,Domain and Clustering, Installing Admin Server (Weblogic)....","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"196","created_at":"2016-11-25T08:53:04.000Z","updated_at":"2020-10-15T15:13:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1393,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$5d","title":"Working with OOP synopsis concepts in C# .Net","url_title":"times-control-c-net","image_url":"","meta_title":"Working with OOP synopsis concepts in C# .Net |Tekslate","meta_desc":"Working with OOP synopsis concepts in C# .Net - in this tutorial learn about oops in detail.","views":508,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2018-01-09T12:11:10.000Z","updated_at":"2020-10-14T15:56:19.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1392,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$5e","title":"Enumerators in C# .Net","url_title":"working-enumerators-enum-c-net","image_url":"","meta_title":"Enumerators in C# .Net | Tekslate","meta_desc":"Enumerators in C# .Net - in this tutorial learn about enumerators in .net in detail with examples. Learn .Net from Experts!","views":804,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-31T07:02:26.000Z","updated_at":"2020-10-14T15:32:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1389,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$5f","title":"Conditional Statements in C# .Net","url_title":"conditional-statements-c-net","image_url":"","meta_title":"Conditional Statements in C# .Net | Tekslate","meta_desc":"Conditional Statements in C# .Net - in this tutorial we will learn about conditional statements in c#. Net with examples in detail.","views":265,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-31T06:50:45.000Z","updated_at":"2020-10-14T13:04:58.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1388,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$60","title":"Parsing in C# .Net","url_title":"parsing-in-c-net","image_url":"","meta_title":"Parsing in C# .Net | .Net Study  Guide |Tekslate","meta_desc":"Parsing in C# .Net - in this tutorial we will learn about parsing c# .net in detail. Learn .Net from Experts!","views":207,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-31T06:47:33.000Z","updated_at":"2020-10-14T12:42:06.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1387,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$61","title":"Type Casting in C# .Net","url_title":"type-casting-in-c-net","image_url":"","meta_title":"Type Casting in C# .Net | .Net Study Guide | Tekslate","meta_desc":"Type Casting in C# .Net - in this tutorial learn about  .Net type casting in .Net with details. Learn .Net  from Experts!","views":554,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-31T06:45:07.000Z","updated_at":"2020-10-13T18:09:36.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1183,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$62","title":"design patterns in .net","url_title":"design-patterns-in-net","image_url":"","meta_title":"Deesign Patterns in ASP.Net | Tekslate","meta_desc":"In this tutorial, we will see a list of design patterns in .net. Learn .Net from Industry Experts with real-time examples","views":475,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T17:29:05.000Z","updated_at":"2020-10-13T16:30:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":64,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$63","title":"Ruby on rails Tutorials","url_title":"ruby-rails-tutorials","image_url":"","meta_title":"Best Online Tutorials for Ruby On Rails Programming","meta_desc":"Ruby is a high-level programming language. Rails is a software library that extends the Ruby. Ruby On Rails tutorials will educate you like a trainer.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"78","created_at":"2016-06-04T10:50:17.000Z","updated_at":"2020-10-07T18:28:38.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":401,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$64","title":"Qlik Sense Interview Questions","url_title":"interview-questions-on-qliksense","image_url":"","meta_title":"TOP 50 Qlik Sense Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Qlik Sense Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":717,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"81","created_at":"2017-05-25T10:15:26.000Z","updated_at":"2020-10-06T16:16:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1003,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$65","title":"Configuring the Managed Metadata Service Application","url_title":"configuring-the-managed-metadata-service-application","image_url":"","meta_title":"Configuring The Managed Metadata Service Application in SharePoint","meta_desc":"Tekslate is the industry leader in sharepoint tutorial. Configuring the managed metadata service application is content management deploy to site collection","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-22T09:39:59.000Z","updated_at":"2020-10-03T18:30:32.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":998,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$66","title":"Creating Business Data Connectivity Service-Visual Studio 2010","url_title":"creating-business-data-connectivity-service-using-visual-studio-2010","image_url":"","meta_title":"Creating Business Data Connectivity Service-Visual Studio","meta_desc":"The tutorial explain creating business data connectivity service-visual studio with syntax and implementing in real-time scenarios for creating database","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-21T12:36:00.000Z","updated_at":"2020-10-03T18:20:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1013,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$67","title":"Records Center - A Place for Hierarchy, Driven By Metadata","url_title":"records-center-place-hierarchy-driven-metadata","image_url":"","meta_title":"Records Center | A Place For Hierarchy | SharePoint - Tekslate","meta_desc":"Tekslate offers Records Center tutorials which is intended to serve as a central repository in which an organization can store and manage all of its records","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-22T12:18:19.000Z","updated_at":"2020-10-03T17:52:18.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1004,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$68","title":"Features & Event Receivers_Institute Introduction","url_title":"features-event-receivers_institute-introduction","image_url":"","meta_title":"Features and Event Receivers Introduction | SharePoint","meta_desc":"Introduction to feature implementation of elements and how to use feature designer and adding feature dependencies in customized course catalogue","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-22T09:47:02.000Z","updated_at":"2020-10-03T16:56:36.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":970,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$69","title":"Application Pages Vs Site Content Pages Vs Custom aspx Pages Senario2","url_title":"application-pages-vs-site-content-pages-vs-custom-aspx-pages","image_url":"","meta_title":"Application Vs Site Content Pages Vs Custom aspx Pages","meta_desc":"The tutorial explains with the program Implementing Layouts page base class in the Sharepoint root directory which stored in WSS/MOSS file system.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-20T10:59:37.000Z","updated_at":"2020-10-03T12:00:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":411,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#liferay-interview-questions\">Liferay Interview Questions</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#dxp-interview-questions\">Liferay DXP Interview Questions</a></span></li>\n</ul>","description":"$6a","title":"Liferay Interview Questions","url_title":"interview-questions-on-liferay","image_url":"","meta_title":"TOP 30+ Liferay Interview Questions and Answers (2023)","meta_desc":"Looking for Liferay Interview Questions with Answers  ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":2652,"rating":4.7,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"422","created_at":"2017-09-14T09:44:03.000Z","updated_at":"2020-09-26T19:00:48.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Which all methods JSR-286 supports?","faq_schema_a1":"init(),render(),processAction(),processEvent(),serveResource(),destroy()","faq_schema_q2":"What class does LiferayMVCPortlet extend?","faq_schema_a2":"LiferayPortlet -> GenericPortlet","faq_schema_q3":"What are the differences between Portlet and Servlet?","faq_schema_a3":"A Portlet container is built on top Servlet container.","like_counter":3},{"id":79,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$6b","title":"J2EE Tutorials","url_title":"j2ee-tutorials","image_url":"","meta_title":"Learn J2EE From the Experts - Online Tutorials","meta_desc":"Java J2EE Tutorials – Explore the complete workflow of developing, debug, test and troubleshoot Java EE Applications rapidly with Eclipse IDE.","views":273,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-06-11T06:40:41.000Z","updated_at":"2020-09-26T13:31:40.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":308,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$6c","title":"IBM DB2 Interview Questions","url_title":"ibm-db2-interview-questions","image_url":"","meta_title":"TOP 50 IBM DB2 Interview Questions - Updated 2023","meta_desc":"Top IBM DB2 Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":5486,"rating":4.5,"author":"1","top_level_cat_id":"10","author_desc":"","course_id":"227","created_at":"2016-06-07T12:04:36.000Z","updated_at":"2020-09-26T13:02:27.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is DB2 ( IBM Database 2 )?","faq_schema_a1":"DB2 is a subsystem of the MVS operating system. It is a Database Management System ( DBMS ) for that operating system.","faq_schema_q2":"What is an access path?","faq_schema_a2":"The path that is used to get to data specified in SQL statements.","faq_schema_q3":"What is an alias?","faq_schema_a3":"It is an alternate name that can be used in SQL training Hyderabad statements to refer to a table or view in the same or remote DB2 subsystem","like_counter":1},{"id":404,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$6d","title":"MS Project Interview Questions","url_title":"interview-questions-on-ms-project","image_url":"","meta_title":"TOP MS Project Interview Questions and Answers - Tekslate","meta_desc":"Top MS Project Interview Questions with Answers - Here we have compiled a set of questions from the students who have attended interviews in Fortune 500 companies","views":567,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"356","created_at":"2017-05-26T06:20:11.000Z","updated_at":"2020-09-25T17:42:04.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":447,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$6e","title":"OpenSpan Interview Questions","url_title":"interview-questions-on-openspan","image_url":"","meta_title":"TOP 50 OpenSpan Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for OpenSpan Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":501,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"425","created_at":"2017-01-30T11:06:53.000Z","updated_at":"2020-09-25T15:59:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1572,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$6f","title":"Performing Data Manipulations using Disconnected Model","url_title":"performing-data-manipulations-using-disconnected-model","image_url":"","meta_title":"Performing Data Manipulations using Disconnected Model","meta_desc":"Performing Data Manipulations using Disconnected Model","views":467,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T10:37:24.000Z","updated_at":"2020-09-24T11:02:06.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":145,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$70","title":"SAP NetWeaver Tutorial","url_title":"sap-netweaver-tutorials","image_url":"","meta_title":"SAP NetWeaver Tutorials in Tekslate | Complete Guide-Get started","meta_desc":"SAP NetWeaver ✔️Smooth end-to-end Business, High process quality✔️efficiency are advantages✔️Gain knowledge from our tutorial.","views":4821,"rating":4.5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"754","created_at":"2016-08-03T10:57:59.000Z","updated_at":"2020-09-22T18:38:04.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":304,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$71","title":"SAP NetWeaver Interview Questions","url_title":"sap-netweaver-interview-questions","image_url":"","meta_title":"Top 20+ SAP NetWeaver Interview Questions and Answers (2023)","meta_desc":"Prepare for the Best SAP NetWeaver Interview Questions and Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":2854,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2016-06-07T10:10:33.000Z","updated_at":"2020-09-22T18:28:44.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is SAP NetWeaver?","faq_schema_a1":"SAP NetWeaver is SAP's integrated technology computing platform and is the technical foundation for many SAP applications since the SAP Business Suite. SAP NetWeaver is marketed as a service-oriented application and integration platform. SAP NetWeaver provides the development and runtime environment for SAP applications and can be used for custom development and integration with other applications and systems.","faq_schema_q2":"How to trigger the idoc? ","faq_schema_a2":"We can trigger the idoc by using T Code - WE19","faq_schema_q3":"What is the difference b/w Graphical mapping and XSLT mapping?","faq_schema_a3":"XSLT MAPPING Converts from XML to text, HTML, and DHTML.and the main difference is that XSLT Mapping itself generates the target structure.there is no other tool or mapping in convert in XML to text and Html.","like_counter":0},{"id":122,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$72","title":"SAP IM Tutorial","url_title":"sap-im-tutorials","image_url":"","meta_title":"SAP IM (Investment Management) Tutorials | Tekslate","meta_desc":"SAP IM online tutorials course teaches functions in procurement is a part in ✔️the MM module used for tracking inventory levels✔️orders,sales & deliveries.","views":1763,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2016-07-15T11:36:23.000Z","updated_at":"2020-09-22T18:25:09.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":73,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$73","title":"SAP Lumira Tutorial","url_title":"sap-lumira-tutorials","image_url":"","meta_title":"SAP Lumira Tutorial | Introduction to SAP Lumira","meta_desc":"SAP Lumira Tutorial - Lumira is used to visualize data and create data stories with graphical details. Learn more about Visualizing data!","views":2410,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2016-06-09T11:35:57.000Z","updated_at":"2020-09-22T13:41:39.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1835,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$74","title":"SAP Predictive Analysis","url_title":"sap-predictive-analysis","image_url":"","meta_title":"SAP Predictive Analytics | Data Analytics | Tekslate","meta_desc":"SAP Predictive Analytics ➡️Learn all about Statistical Analytics, Data mining and all various Predictive Modules Check Out Now","views":984,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"754","created_at":"2016-05-24T07:16:51.000Z","updated_at":"2020-09-22T13:35:20.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":376,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000; font-size: 14px;\"><a style=\"color: #000000;\" href=\"#sap-ps-interview-questions\">SAP PS Interview Questions</a></span></li>\n<li><span style=\"color: #000000; font-size: 14px;\"><a style=\"color: #000000;\" href=\"#sap-ps-module-interview-questions\">SAP PS Module Interview Questions</a></span></li>\n<li><span style=\"color: #000000; font-size: 14px;\"><a style=\"color: #000000;\" href=\"#SAP-ps-certification-questions\">SAP PS Certification Questions</a></span></li>\n</ul>","description":"$75","title":"SAP PS Interview Questions","url_title":"interview-questions-on-sap-ps","image_url":"","meta_title":"TOP 40+ SAP PS Interview Questions and Answers (2023)","meta_desc":"SAP PS Interview Questions and Answers➡️Learn real-time interview questions on SAP PS For freshers and experienced check out now!","views":2963,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"734","created_at":"2016-11-11T10:59:26.000Z","updated_at":"2020-09-22T13:27:55.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is Easy Cost Planning?","faq_schema_a1":"It is another function for planning costs at the WBS elements level. It uses the existing Controlling, purchasing, or MM data in the form of cost items. Also, you can have predefined costing models to simplify repeated entries.","faq_schema_q2":"What do you understand by Project?","faq_schema_a2":"A project is a system that involves 1. project, sub-project, activities & tasks. It will have good integration with the other modules like MM, Fi/co, & PM modules.","faq_schema_q3":"What is SAP-Project System?","faq_schema_a3":"Project System is a Project management tool from SAP. Which has very good integration with the other modules of SAP like FI, CO, MM, SD, PP, HR, and DMS? This module basically coordinates and controls all the phases of a project, in direct coordination with purchasing and controlling, from quotation to design and approval to resource management and cost settlement.  Also besides the integration with the SAP module, this Project system also has an integration with third-party popular Project management tools like Microsoft Projects and Primavera.","like_counter":4},{"id":292,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$76","title":"SAP UI5 Interview Questions","url_title":"sapui5-interview-questions","image_url":"","meta_title":"Top 20+ SAP UI5 Interview Questions And Answers (2023)","meta_desc":"Prepare for the Best SAP UI5 Interview Questions and Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":3854,"rating":4.5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2016-06-02T08:26:26.000Z","updated_at":"2020-09-22T13:26:48.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is SAPUI5?","faq_schema_a1":"Just like any other HTML5 client-side rendering library, SAPUI5 is also one. SAPUI5 strictly follows RIA (Rich Internet Application) standards. It is based on JavaScript which provides a lightweight programming model for desktop as well as mobile applications.","faq_schema_q2":"Why SAPUI5?","faq_schema_a2":"As the HTML5 world is the new age front technology across all aspects of internet applications SAP was kind of trailing in this age because SAP was using age-old Web Dynpro for building SAP Web Applications which lacks rich and user-friendly UI. SAP identified this and came up with its own custom HTML5 library i.e. SAPUI5.","faq_schema_q3":"What are the SAPUI5 Fragments?","faq_schema_a3":"Fragments are very lightweight UI controls and part of another UI. Fragments are not completely like views but they act as a view. Fragments are defined similar to views and are names like “myFragment.fragment.xml“.","like_counter":0},{"id":315,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$77","title":"SAP B1 Interview Questions","url_title":"sap-b1-interview-questions","image_url":"","meta_title":"Top 30+ SAP B1 Interview Questions and Answers (2023)","meta_desc":"Looking for SAP B1 Interview Questions and Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":1961,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2016-06-08T15:02:05.000Z","updated_at":"2020-09-22T13:12:10.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is SAP B1?","faq_schema_a1":"B1 = Business One SAP Business One is an integrated enterprise resource planning (ERP) solution for small and medium-sized businesses, as well as divisions and subsidiaries of larger companies.","faq_schema_q2":"What is used in SDK for developing a form?","faq_schema_a2":"Screen painter is used for developing forms in SAP Business One SDK. Screen Painter is provided as an add-on by SAP and it can be used to design and develop forms. The files created by the screen painter have srf extension and these files should be renamed to XML for deploying them in SAP Business One.","faq_schema_q3":"Is it possible to alter the standard behaviour of SAP Business One using SDK?","faq_schema_a3":"The standard behaviour or the conventional flow of SAP Business One can not be altered using SDK. Some or other errors will occur. So it is advisable not to disturb the conventional flow of SAP Business One using SDK.","like_counter":1},{"id":147,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$78","title":"SAP MRS Tutorial","url_title":"sap-mrs-tutorials","image_url":"","meta_title":"SAP MRS Tutorial | Multiresource Scheduling | Learn SAP MRS","meta_desc":"SAP MRS Tutorial ➔ Learn briefly about MRS, easily manages the planning, utilization of resources & CRM service orders, Features of MRS and etc.","views":635,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2016-08-04T09:16:54.000Z","updated_at":"2020-09-22T12:53:14.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":327,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$79","title":"SAP Lumira Interview Questions","url_title":"sap-lumira-interview-questions","image_url":"","meta_title":"Top 15+ SAP Lumira Interview Questions and Answers (2023) ","meta_desc":"Prepare for the Best SAP Lumira Interview Questions and Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":2281,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"754","created_at":"2016-06-21T13:33:58.000Z","updated_at":"2020-09-22T12:28:00.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"Is SAP Lumira Server generally available?","faq_schema_a1":"Yes. SAP Lumira Server is generally available (GA) and customers can download it from SAP Service Marketplace.","faq_schema_q2":"Can I publish data sets on SAP Lumira Server?","faq_schema_a2":"Yes, you can combine and enrich data from multiple sources (xlsx, relational databases, SAP BusinessObjects universes) and then publish the resulting dataset to SAP Lumira Server.","faq_schema_q3":"Can SAP Lumira Server be accessed via a mobile device?","faq_schema_a3":"SAP Lumira Server can be accessed from any mobile device supporting HTML5. SAP Lumira Server is also integrated with SAP BusinessObjects Mobile, which you can download from Apple’s App Store.","like_counter":0},{"id":1834,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$7a","title":"SAP LUMIRA","url_title":"sap-lumira","image_url":"","meta_title":"SAP LUMIRA  | SAP LUMIRA Data Manipulation | Tekslate","meta_desc":"SAP LUMIRA SAP➔ Lumira is data manipulation and visualization tool. You can connect to various data sources, select and clean data manipulate.","views":2619,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2016-05-24T04:35:03.000Z","updated_at":"2020-09-22T12:25:04.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":2068,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$7b","title":"Swift Interview Questions","url_title":"swift-interview-questions","image_url":"","meta_title":"Top 40 Swift Interview Questions and Answers","meta_desc":"Here is the list of top 40 Swift Interview Questions for beginners and professionals with detail answers.","views":699,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"159","created_at":"2020-08-02T05:28:39.000Z","updated_at":"2020-08-02T11:20:19.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":137,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$7c","title":"Computer Networking Tutorial","url_title":"windows-networking-tutorials","image_url":"","meta_title":"Computer Networking Tutorial | Online Study Guide For Computer Networking ","meta_desc":"Understand from fundamentals of Computer Networking with free tutorials. ","views":854,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-07-30T05:29:50.000Z","updated_at":"2020-05-26T00:00:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":275,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$7d","title":"IOS Interview Questions","url_title":"ios-development-interview-questions","image_url":"","meta_title":"TOP 50 IOS Interview Questions [UPDATED] !!!","meta_desc":"Looking for IOS Development Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":239,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"159","created_at":"2016-05-24T09:51:32.000Z","updated_at":"2020-05-16T00:00:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":35,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$7e","title":"HTML Tutorial","url_title":"html-tutorials","image_url":"","meta_title":"Best HTML Online Tutorial For Beginners And Programmers","meta_desc":"HTML Tutorial explain briefly about fundamentals of html. It also covers topics on Elements, Tags & Attributes and Usage of HTML to Make Your Own Web Page.","views":7852,"rating":4.4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2015-03-27T09:37:22.000Z","updated_at":"2020-05-15T00:00:00.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":2},{"id":90,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$7f","title":"Crystal Report Tutorials","url_title":"crystal-report-tutorials","image_url":"","meta_title":"Become Expert In Crystal Reports | Crystal Reports Tutorials","meta_desc":"Crystal Reports tutorial discusses on introduction to SAP Crystal Reports using business reporting scenario and will enable you to create your first report.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"220","created_at":"2016-06-14T05:16:53.000Z","updated_at":"2020-02-28T00:00:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":429,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#automation-anywhere-interview-questions\"><span style=\"font-size: 14px;\">Automation Anywhere Interview Questions</span></a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#rpa-automation-anywhere-interview-questions\"><span style=\"font-size: 14px;\">RPA Automation Anywhere Interview Questions</span></a></span></li>\n</ul>","description":"$80","title":"Automation Anywhere Interview Questions","url_title":"interview-questions-on-automation-anywhere","image_url":"","meta_title":"Automation Anywhere Interview Questions and Answers (2023)","meta_desc":"RPA Automation Anywhere Interview Questions with Answers? Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":1586,"rating":4.5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"75","created_at":"2017-11-21T05:13:48.000Z","updated_at":"2019-03-21T00:00:00.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is Image Recognition in Terms of AA?","faq_schema_a1":"Image Recognition is another feature of the Visualize Technology available in Automation Anywhere Enterprise. Using the Visualize Technology, Image Recognition allows the recognition and comparison of images from files or windows.","faq_schema_q2":"What are the Typical steps Involved in Automation Anywhere process?","faq_schema_a2":"Selecting or choosing the testing tools like Automation Anywhere, and Blue Prism is the primary thing. After that, the next step is defining the automation scope followed by the phases of planning, designing as well as development. Testing execution is the next step and maintenance is the final step. It is crucial to follow steps while defining the sequence thus eliminating confusion.","faq_schema_q3":"What are the Significant factors to Consider while planning Automation Anywhere?","faq_schema_a3":"The first thing before considering anything is to pay attention and select the automation tool that is beneficial. It also requires paying attention to the framework in the case where it is present. Identifying the test deliverables is the other factor to consider. Also, other factors such as project timelines, execution, etc. must be taken care of during the planning phase.","like_counter":0},{"id":491,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$81","title":"Groovy Interview Questions And Answers","url_title":"groovy-interview-questions-and-answers","image_url":"","meta_title":"TOP 50 Groovy Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Groovy Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":861,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-03-24T05:53:58.000Z","updated_at":"2019-01-10T11:32:07.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":884,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$82","title":"Creation of Item in Oracle Apps","url_title":"creation-item","image_url":"","meta_title":"Creation of an item in Oracle Apps r12","meta_desc":"In this Oracle Apps tutorial, you will learn about Creation of an item in Oracle Apps and also see all the steps involved in creation of an item.","views":1053,"rating":4.4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T07:16:23.000Z","updated_at":"2018-11-05T06:20:36.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":1},{"id":493,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$83","title":"Subversion SVN Interview Questions And Answers","url_title":"subversion-svn-interview-questions-and-answers","image_url":"","meta_title":"TOP 50 Subversion SVN Interview Questions [UPDATED] - TCS !!!","meta_desc":"Looking for Subversion SVN Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":320,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"423","created_at":"2018-03-24T06:52:00.000Z","updated_at":"2018-10-31T06:05:25.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1011,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$84","title":"What is InfoPath?","url_title":"what-is-infopath","image_url":"","meta_title":"What is InfoPath?","meta_desc":"Tekslate teach about what is infopath? Infopath is a MS Office tool that lets you define and use XML based forms with Microsoft SharePoint technology","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-22T11:59:53.000Z","updated_at":"2018-10-29T12:48:14.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1009,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$85","title":"Feature Stapling & ActivationDependency Element (Feature)","url_title":"feature-stapling-activationdependency-element-feature","image_url":"","meta_title":"Features Stapling and Activation Dependency Element","meta_desc":"Introduction to feature stapling to create a feature and site definition to staple and learn the basics of events in sharepoint foundation with examples","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-22T10:14:42.000Z","updated_at":"2018-10-29T12:32:47.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":994,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$86","title":"Getting start with a Silver light application using VS2010","url_title":"getting-start-silver-light-application-using-vs2010","image_url":"","meta_title":"Getting start with a Silver light application using VS2010","meta_desc":"Step-by-step implementation of code in mainpage.xaml to deploy silverlight in sharepoint and deploy applications with adding module and web part to project","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-21T10:47:16.000Z","updated_at":"2018-10-29T11:42:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":990,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$87","title":"Create a Visual Web Part Project with Visual Studio server controls","url_title":"create-visual-web-part-project-visual-studio-server-controls","image_url":"","meta_title":"Create a Visual Web Part Project Visual Studio Server Control","meta_desc":"In this task, you create a Visual Web Part project in Microsoft Visual Studio 2010. Start Visual Studio 2010, click File, point to New, and then click Proje","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-21T07:15:10.000Z","updated_at":"2018-10-29T11:30:37.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":988,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$88","title":"Creating a Class Library Web Part","url_title":"creating-class-library-web-part","image_url":"","meta_title":"Creating a Class Library Web Part","meta_desc":"The tutorial explains creating a class library web part to perform operations like user-defined text overriding create child controls methods is implemented","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-21T06:38:59.000Z","updated_at":"2018-10-29T11:23:26.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":985,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$89","title":"Registering Content Types in a Site Definition Configuration","url_title":"registering-content-types-site-definition-configuration","image_url":"","meta_title":"Registering Content Types in a Site Definition Configuration","meta_desc":"In-depth explaination with the examples of real-time scenarios for creating the site content type and using feature activated method by using server code.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-21T05:59:55.000Z","updated_at":"2018-10-29T10:49:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":961,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$8a","title":"Background Services","url_title":"background-services","image_url":"","meta_title":"Background Services","meta_desc":"Tekslate provides Android Background Services Tutorial. A background service is a computer process that runs behind the scenes and without user intervention","views":243,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"236","created_at":"2014-11-20T07:37:59.000Z","updated_at":"2018-10-29T08:55:41.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":950,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$8b","title":"VISUALFORCE Pages part-2","url_title":"tags-used-create-visualforce-pages-part-ii","image_url":"","meta_title":"Visualforce Pages","meta_desc":"Here is the continuation of creating visualforce pages scenarios with real-time examples and easy to understand the syntax in implementing in pages","views":1053,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-19T07:31:41.000Z","updated_at":"2018-10-27T10:09:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":949,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$8c","title":"Tags used to Create VISUALFORCE Pages","url_title":"tags-used-create-visualforce-pages","image_url":"","meta_title":"Tags used to Create VISUALFORCE Pages","meta_desc":"Determining the wide-range of tags to create visual force page with implementing scenarios opportunity view, account retain examples","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-15T13:04:30.000Z","updated_at":"2018-10-27T10:06:36.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":947,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$8d","title":"Introduction to Visual Force","url_title":"introduction-visualforce","image_url":"","meta_title":"Introduction to Visual Force","meta_desc":"Salesforce is a comprehensive platform for building sophisticated applications defining structure of data model in the visual force and its limitations","views":718,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"116","created_at":"2014-11-15T10:03:11.000Z","updated_at":"2018-10-27T10:04:36.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":945,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$8e","title":"Apex Scheduler","url_title":"apex-scheduler","image_url":"","meta_title":"Apex Scheduler","meta_desc":"Students learn to invoke apex scheduler classes in the step by step process to run at scheduled interface for the class and methods for scheduling jobs.","views":844,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-15T09:30:29.000Z","updated_at":"2018-10-27T09:58:15.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":943,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$8f","title":"Understanding Testing in Apex","url_title":"understanding-testing-apex","image_url":"","meta_title":"Understanding Testing in Apex | Learn Salesforce Online","meta_desc":"Understanding Testing in Apex -Testing plays key role in the development phase to identify the errors in system debug and deploying APEX.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-15T05:54:02.000Z","updated_at":"2018-10-26T13:09:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":941,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$90","title":"Governors Limits","url_title":"governors-limit-salesforece","image_url":"","meta_title":"Governors Limit in Apex","meta_desc":"The tutorial explains the governors limit applied in a APEX run-time engine which runs in multitenant environment where run-time exceptions can be handled","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-15T05:28:31.000Z","updated_at":"2018-10-26T13:04:30.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":938,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$91","title":"Triggers Introduction","url_title":"apex-triggers-introduction","image_url":"","meta_title":"Triggers Introduction","meta_desc":"Explanation of Triggers introduction which are functional actions get fired on particular events and variables present in the system. trigger class syntax","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-14T13:03:06.000Z","updated_at":"2018-10-26T12:56:26.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":935,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$92","title":"Sample Relationship Queries","url_title":"sample-relationship-queries","image_url":"","meta_title":"Sample Relationship Queries in Salesforce","meta_desc":"Here are the examples of sample relationship queries which are updating for standard objects and fetching for custom objects implementing in multiple record","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-14T12:36:06.000Z","updated_at":"2018-10-26T12:48:33.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":934,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$93","title":"Standard formats of Relationship Queries","url_title":"standard-formats-relationship-queries","image_url":"","meta_title":"Standard Formats of Relationship Queries","meta_desc":"In this tutorial students learn syntax of the standard formats to be implemented using relationship queries for fetching and updating records with examples","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-14T12:27:54.000Z","updated_at":"2018-10-26T12:45:31.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":930,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$94","title":"SOQL and SOSL Difference","url_title":"soql-sosl-difference-examples","image_url":"","meta_title":"SOQL and SOSL Difference in Salesforce With Examples","meta_desc":"TekSlate offers Salesforce CRM free tutorials covers the topics to solve the queries using SOQL bindings and SOSL, SOQL and SOSL difference between them.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-14T11:00:06.000Z","updated_at":"2018-10-26T12:36:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":929,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$95","title":"Apex Data Manipulation (DML) Operations","url_title":"apex-data-manipulation-dml-operations","image_url":"","meta_title":"Apex Data Manipulation (DML) Operations","meta_desc":"The Robust framework called \"APEX Data Manipulation Language\", in this tutorial students learn to to insert, update and restore data in database using DML","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-14T10:50:59.000Z","updated_at":"2018-10-26T12:33:24.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":928,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"<ul>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#primitive-data-types\">Primitive Data types</a></span></li>\n<li><span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#sobject-types\">sObject Types</a></span></li>\n</ul>","description":"$96","title":"Data types","url_title":"apex-data-types","image_url":"","meta_title":"Data types in APEX | Primitive Data types | sObject Types","meta_desc":"This tutorial explains data types which are determining and classification identifying one of the various types of data, such as primitive and sObjects types.","views":3826,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"98","created_at":"2014-11-14T10:48:43.000Z","updated_at":"2018-10-26T12:31:25.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":927,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$97","title":"Access Modifiers And OOPS Concepts","url_title":"access-modifier-and-oops-concepts","image_url":"","meta_title":"Access Modifiers And OOPS Concepts - Salesforce Apex","meta_desc":"Tekslate tutorials explain full-fledged concepts on access modifiers and OOPS Concepts defining apex class with examples in salesforce CRM virtual tutorial","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-14T10:46:15.000Z","updated_at":"2018-10-26T12:29:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":877,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$98","title":"Terminology & WLS Architecture","url_title":"terminology-wls-architecture","image_url":"","meta_title":"Terminology & WLS Architecture","meta_desc":"Terminology & WLS Architecture","views":184,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T05:04:14.000Z","updated_at":"2018-10-26T11:52:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":880,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$99","title":"Template Builder Pack and Unpack Command","url_title":"template-builder-pack-unpack-command","image_url":"","meta_title":"Template Builder Pack and Unpack Command","meta_desc":"In this tutorial, you will learn about template builder pack and unpack command. you will also learn about starting a managed server on a remote machine.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T06:13:59.000Z","updated_at":"2018-10-26T11:42:03.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":882,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$9a","title":"Managing Server Startup and Shutdown","url_title":"managing-server-startup-shutdown","image_url":"","meta_title":"Managing Server Startup and Shutdown","meta_desc":"In this tutorial you will learn about managing Server Startup and Shutdown, it also discusses on starting state and standby state","views":188,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"98","created_at":"2014-11-11T06:33:53.000Z","updated_at":"2018-10-26T11:39:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":885,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$9b","title":"System Administration Tools","url_title":"system-administration-tools","image_url":"","meta_title":"System Administration Tools","meta_desc":"This tutorial discusses on system administration tools, uses of the admin console, elements of the admin console, dynamic and non-dynamic changes.","views":373,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T07:15:47.000Z","updated_at":"2018-10-26T11:33:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":890,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$9c","title":"Network Channels","url_title":"network-channels","image_url":"","meta_title":"Network Channels","meta_desc":"This tutorial gives you information about network channels and also gives you a representation of configuring network channels with an example.","views":877,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T09:54:59.000Z","updated_at":"2018-10-26T11:14:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":891,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$9d","title":"JNDI Startup and Shutdown Classes","url_title":"jndi-startup-shutdown-classes","image_url":"","meta_title":"JNDI Startup and Shutdown Classes","meta_desc":"In this tutorial you will learn about starting and stopping a JNDI server. It gives an example of viewing the JNDI Tree, listing JNDI contents etc.","views":990,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T10:11:59.000Z","updated_at":"2018-10-26T11:08:57.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":892,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$9e","title":"Deploying Applications","url_title":"deploying-applications","image_url":"","meta_title":"Deploying Applications in Weblogic","meta_desc":"In this tutorial you will learn about deploying applications in WebLogic and configuring an application for multiple deployment environments","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T11:34:38.000Z","updated_at":"2018-10-26T11:06:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":902,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$9f","title":"Common Issues in Client Environments","url_title":"common-issues-client-environments","image_url":"","meta_title":"Common Issues in Weblogic","meta_desc":"This tutorial gives you a brief about Common Issues in client environment. It describes about all the issues in detail with examples.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-12T06:09:08.000Z","updated_at":"2018-10-26T10:53:51.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":898,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a0","title":"Getting Started with ANT Tool","url_title":"getting-started-ant-tool","image_url":"","meta_title":"Getting Started with ANT Tool","meta_desc":"In this tutorial you will be introduced to ANT tool in a brief and also compiling source files and copying them to destination folder.","views":906,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-12T05:26:13.000Z","updated_at":"2018-10-26T10:09:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":897,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a1","title":"Virtual Host Configuration in WLS","url_title":"virtual-host-configuration-wls","image_url":"","meta_title":"Virtual Host Configuration in WLS","meta_desc":"In this tutorial you will be learning about Virtual Host configuration in WLS and also discuss the requirement for creating a virtual host.","views":447,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"192","created_at":"2014-11-12T05:15:03.000Z","updated_at":"2018-10-26T09:49:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":815,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a2","title":"Final Code in AM, Update Page, and Patient Entry Page Controller","url_title":"final-code-update-page-patient-entry-page-controller","image_url":"","meta_title":"Final Code in AM, Update Page, and Patient Entry Page Controller","meta_desc":"In this tutorial, we will learn about Final Code in AM, Update Page, and Patient Entry Page Controller","views":641,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"99","created_at":"2014-11-07T11:15:21.000Z","updated_at":"2018-10-25T11:02:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":813,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a3","title":"Creating Update Page","url_title":"creating-update-page","image_url":"","meta_title":"Creating Update Page","meta_desc":"Creating Update Page - In this article you will learn more about Creating Update Page and read more...","views":323,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T11:12:26.000Z","updated_at":"2018-10-25T10:56:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":812,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a4","title":"Creating Search Page","url_title":"creating-search-page","image_url":"","meta_title":"Creating Search Page","meta_desc":"Creating Search Page - In this article you will learn more about Creating Search Page and read more...","views":260,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T11:06:41.000Z","updated_at":"2018-10-25T10:46:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":809,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a5","title":"Manual Search","url_title":"manual-search","image_url":"","meta_title":"Manual Search","meta_desc":"Manual Search","views":151,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T10:45:14.000Z","updated_at":"2018-10-25T09:46:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":806,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a6","title":"Automatic Search External LOV","url_title":"automatic-search-external-lov","image_url":"","meta_title":"Automatic Search External LOV","meta_desc":"Automatic Search External LOV - In this article you will learn more about Automatic Search External LOV and read more...","views":246,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T10:26:42.000Z","updated_at":"2018-10-25T09:30:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":805,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a7","title":"Automatic Search Inline LOV","url_title":"automatic-search-inline-lov","image_url":"","meta_title":"Automatic Search Inline LOV","meta_desc":"Automatic Search Inline LOV - In this article you will learn more about Automatic Search Inline LOV and read more...","views":865,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T10:13:06.000Z","updated_at":"2018-10-25T09:23:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":800,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a8","title":"Displaying Data From Data Base","url_title":"displaying-data-data-base","image_url":"","meta_title":"Displaying Data From Data Base","meta_desc":"Displaying Data From Data Base","views":1047,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T09:07:24.000Z","updated_at":"2018-10-25T08:53:47.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":799,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$a9","title":"Swapping The Value From One Field to Another Field","url_title":"swapping-value-one-field-another-field","image_url":"","meta_title":"Swapping The Value From One Field to Another Field","meta_desc":"In this tutorial, we will learn about how to swap values from one field to another.","views":319,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"99","created_at":"2014-11-07T08:48:10.000Z","updated_at":"2018-10-25T08:52:17.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":798,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$aa","title":"Displaying Exception Messages Based on Condition","url_title":"displaying-exception-messages-based-condition","image_url":"","meta_title":"Displaying Exception Messages Based on Condition","meta_desc":"Displaying Exception Messages Based on Condition","views":809,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T08:39:04.000Z","updated_at":"2018-10-25T07:38:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":797,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ab","title":"Image Item","url_title":"image-item","image_url":"","meta_title":"Image Item","meta_desc":"Image Item - In this article you will learn more about Image Item and read more...","views":218,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T07:44:18.000Z","updated_at":"2018-10-25T07:35:07.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":796,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ac","title":"Message Rich Text Editor","url_title":"message-rich-text-editor","image_url":"","meta_title":"Message Rich Text Editor","meta_desc":"Message Rich Text Editor","views":721,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T07:28:40.000Z","updated_at":"2018-10-25T07:31:50.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":795,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ad","title":"Submit Button","url_title":"submit-button","image_url":"","meta_title":"Submit Button","meta_desc":"In this tutorial, we will learn about how to create submit button in OAF page.","views":106,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"99","created_at":"2014-11-07T07:23:49.000Z","updated_at":"2018-10-25T07:28:32.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":794,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$ae","title":"Message Choice in OAF page","url_title":"message-choice","image_url":"","meta_title":"Message Choice item in OAF page","meta_desc":"Message Choice item in the OAF page - In this article you will learn more about Message Choice and read more...","views":2893,"rating":4.2,"author":"1","top_level_cat_id":"4","author_desc":"","course_id":"99","created_at":"2014-11-07T07:17:48.000Z","updated_at":"2018-10-25T07:25:47.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":793,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$af","title":"Message Radio Button","url_title":"message-radio-button","image_url":"","meta_title":"Message Radio Button","meta_desc":"Message Radio Button - In this article you will learn more about Message Radio Button and read more...","views":430,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T07:04:13.000Z","updated_at":"2018-10-25T07:18:28.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":792,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b0","title":"Message Check Box","url_title":"message-check-box","image_url":"","meta_title":"Message Check Box","meta_desc":"Message Check Box -  In this Article you will learn more about Message Check Box Read more...","views":385,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:59:16.000Z","updated_at":"2018-10-25T07:08:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":791,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<p>In this lesson we are going to see how the Query Region is going to look in OAF page and what is the use of the Query Region in OAF. Generally we use Query Region in search pages. So therefore we are going to see how to create this Query region in the next coming chapter called &ldquo;Search Pages in OAF&rdquo;. We have four types of searches in OAF.</p>\n<ol>\n<li>Automatic Search Inline LOV</li>\n<li>Automatic Search External LOV</li>\n<li>Result Base Search</li>\n<li>Manual Search</li>\n</ol>\n<p><strong>Check out our Popular Trainings&nbsp;</strong> <a href=\"https://tekslate.com/structure-oaf//\" target=\"_blank\" rel=\"noopener\">Structure of OAF</a> <a href=\"https://tekslate.com/advantages-disadvantages-oaf/\">Advantages and Dis-Advantages of OAF</a> <a href=\"https://tekslate.com/oracle-soa-training/\" target=\"_blank\" rel=\"noopener\">Oracle SOA Training in Dallas</a> <a href=\"https://tekslate.com/creating-first-oaf-page-project/\">Creating First OAF Page in Project</a></p>","title":"Query Region","url_title":"query-region","image_url":"","meta_title":"Query Region -Tekslate","meta_desc":"Looking to learn about Query Region You've come to the right place! In this course, we will discuss  about Query Region in detail.","views":136,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"69","created_at":"2014-11-07T06:56:17.000Z","updated_at":"2018-10-25T06:51:37.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":790,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<p><img class=\"alignnone size-medium wp-image-874\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/211-460x193.png\" alt=\"21\" width=\"300\" height=\"125\" /> <img class=\"alignnone size-medium wp-image-875\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/221-460x386.png\" alt=\"22\" width=\"300\" height=\"251\" /> <strong>Check out our Popular Trainings&nbsp;</strong> <a href=\"https://tekslate.com/structure-oaf//\" target=\"_blank\" rel=\"noopener\">Structure of OAF</a> <a href=\"https://tekslate.com/advantages-disadvantages-oaf/\">Advantages and Dis-Advantages of OAF</a> <a href=\"https://tekslate.com/oracle-soa-training/\" target=\"_blank\" rel=\"noopener\">Oracle SOA Training in Houston</a> <a href=\"https://tekslate.com/creating-first-oaf-page-project/\">Creating First OAF Page in Project</a></p>","title":"Message Styled Text","url_title":"message-styled-text","image_url":"","meta_title":"Message Styled Text","meta_desc":"Message Styled Text - In this article you will learn more about Message Styled Text and read more...","views":1055,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:55:10.000Z","updated_at":"2018-10-25T06:43:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":789,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b1","title":"Message Text Input","url_title":"message-text-input","image_url":"","meta_title":"Message Text Input","meta_desc":"Message Text Input - In this article you will learn more about Message Text Input and read more...","views":1020,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:53:10.000Z","updated_at":"2018-10-25T06:31:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":788,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b2","title":"Page Button Bar","url_title":"page-button-bar","image_url":"","meta_title":"Page Button Bar","meta_desc":"Page Button Bar -  In this Article you will learn more about Page Button Bar Read more...","views":984,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:49:34.000Z","updated_at":"2018-10-25T06:27:24.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":787,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b3","title":"Default Single Column","url_title":"default-single-column","image_url":"","meta_title":"Default Single Column","meta_desc":"In this lesson we see how to create Default Single column and how the items inside the Default Single column appears in the OAF page.","views":938,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"96","created_at":"2014-11-07T06:44:21.000Z","updated_at":"2018-10-25T06:24:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":786,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b4","title":"Default Double Column","url_title":"default-double-column","image_url":"","meta_title":"Default Double Column","meta_desc":"Default Double Column - In this article you will learn more about Default Double Column Region and read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:41:19.000Z","updated_at":"2018-10-25T06:11:53.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":785,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b5","title":"Row Layout Region","url_title":"row-layout-region","image_url":"","meta_title":"Row Layout Region","meta_desc":"Row Layout Region - In this article you will learn more about Row Layout Region and read more...","views":997,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:37:41.000Z","updated_at":"2018-10-25T06:07:40.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":784,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b6","title":"Header Region","url_title":"header-region","image_url":"","meta_title":"Header Region","meta_desc":"Header Region -  In this Article you will learn more about Header Region Read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:35:24.000Z","updated_at":"2018-10-25T05:47:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":783,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b7","title":"Message Component Layout Region","url_title":"message-component-layout-region","image_url":"","meta_title":"Message Component Layout Region","meta_desc":"In this tutorial, we will learn how to use Message Component Layout Region in OAF to display messages and notifications on your pages. Maximize user experience now!","views":141,"rating":4.1,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"96","created_at":"2014-11-07T06:27:43.000Z","updated_at":"2018-10-25T05:22:15.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":782,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$b8","title":"Introduction","url_title":"introduction","image_url":"","meta_title":"Introduction","meta_desc":"Introduction","views":893,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T06:22:03.000Z","updated_at":"2018-10-25T05:14:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":780,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$b9","title":"Creating Items and Regions In a Page","url_title":"creating-items-regions-page-2","image_url":"","meta_title":"Creating Items and Regions In a Page","meta_desc":"Creating Items and Regions In a Page","views":255,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"10","created_at":"2014-11-07T06:07:07.000Z","updated_at":"2018-10-24T12:37:03.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":779,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ba","title":"Creating Items and Regions In a Page","url_title":"creating-items-regions-page","image_url":"","meta_title":"Creating Items and Regions on OAF Pages","meta_desc":"In this Tutorial, You will learn how to create and manage items and regions on Oracle Application Framework (OAF) pages with this helpful guide. ","views":473,"rating":4.1,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T05:37:49.000Z","updated_at":"2018-10-24T12:18:49.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":777,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$bb","title":"Welcome (or) Sample Page Creation","url_title":"welcome-sample-page-creation","image_url":"","meta_title":"Welcome (or) Sample Page Creation","meta_desc":"Welcome (or) Sample Page Creation - In this article you will learn more about Welcome (or) Sample Page Creation and read more...","views":157,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-07T05:08:57.000Z","updated_at":"2018-10-24T11:57:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":776,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$bc","title":"JDeveloper Configuration Steps","url_title":"jdeveloper-configuration-steps","image_url":"","meta_title":"JDeveloper Configuration Steps","meta_desc":"In this tutorial, we will learn about how to configure JDeveloper in our system, we are here discussing in Windows environment stepwise.","views":884,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"99","created_at":"2014-11-06T13:00:11.000Z","updated_at":"2018-10-24T11:44:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":775,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$bd","title":"Installation Process of JDeveloper","url_title":"installation-process-jdeveloper","image_url":"","meta_title":"Installation Process of JDeveloper","meta_desc":"Installation Process of JDeveloper -  In this Article you will learn more about Installation Process of JDeveloper Read more...","views":1059,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-06T12:44:00.000Z","updated_at":"2018-10-24T11:40:31.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":774,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$be","title":"Identifying JDdeveloper Version","url_title":"identifying-jddeveloper-version","image_url":"","meta_title":"Identifying JDdeveloper Version","meta_desc":"In this tutorial, we will learn about how to identify the JDeveloper for the Oracle Apps Instance Version.","views":776,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"90","created_at":"2014-11-06T12:38:44.000Z","updated_at":"2018-10-24T11:35:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":773,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$bf","title":"BC4J File Structure","url_title":"bc4j-file-structure","image_url":"","meta_title":"BC4J File Structure","meta_desc":"BC4J File Structure - In this article you will learn more about BC4J File Structure and read more...","views":248,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-06T12:19:08.000Z","updated_at":"2018-10-24T11:32:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":772,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c0","title":"About Controller","url_title":"controller","image_url":"","meta_title":"About Controller","meta_desc":"About Controller","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-06T12:16:33.000Z","updated_at":"2018-10-24T11:27:13.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":771,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c1","title":"About View","url_title":"view","image_url":"","meta_title":"About View","meta_desc":"About View -  In this Article you will learn more About View Read more...","views":1076,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-06T12:04:04.000Z","updated_at":"2018-10-24T11:20:28.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":769,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c2","title":"Entity Objects and Entity Association","url_title":"entity-objects-entity-association","image_url":"","meta_title":"Entity Objects and Entity Association","meta_desc":"Entity Objects and Entity Association - In this article you will learn more about Entity Objects and Entity Association and read more...","views":935,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-06T11:53:30.000Z","updated_at":"2018-10-24T10:52:17.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":768,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c3","title":"About Model","url_title":"model","image_url":"","meta_title":"About Model","meta_desc":"About Model","views":731,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-06T11:48:58.000Z","updated_at":"2018-10-24T10:48:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":258,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c4","title":"Microsoft Azure Interview Questions and Answers","url_title":"azure-interview-questions-answers","image_url":"","meta_title":"TOP 50 Microsoft Azure Interview Questions and Answers [UPDATED-2023] - TCS & Cognizant !!!","meta_desc":"Looking for Azure Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"76","created_at":"2016-03-10T09:57:59.000Z","updated_at":"2018-10-24T10:29:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":754,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<h2><span style=\"color: #000000;\"><strong>Fronting with a Web Server</strong></span></h2>\n<p>Performance: dynamic vs. static content Scalability and High Availability: load balancing and fail over Security: web servers are simpler and easier to protect Stability: proven, more robust Features: URL rewriting, fine-grained access control, etc.</p>\n<pre style=\"text-align: center;\"><em><strong>Interested in mastering JBOSS&nbsp;Training? Enroll now for FREE demo on <a href=\"https://tekslate.com/jboss-training/\" target=\"_blank\" rel=\"noopener\">JBOSS&nbsp;Training</a>.</strong></em></pre>\n<p>Although the embedded Tomcat service lets <a href=\"https://tekslate.com/jboss-training/\">JBoss Application Server</a> function as a stand-alone web server, there are many advantages (as outline above) to fronting JBoss AS with a real web server like Apache HTTPD. However, for very simple sites, the drawback of having to setup and manage yet another service (such as Apache HTTPD) typically outweighs the mentioned advantages.</p>","title":"Fronting with a Web Server","url_title":"fronting-with-a-web-server","image_url":"","meta_title":"Fronting with a Web Server","meta_desc":"TekSlate is the pioneers in JBoss tutorials deliver the complete understanding of fronting with a web server and its advantages in the real-world.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-03T21:44:02.000Z","updated_at":"2018-10-24T09:11:41.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":421,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c5","title":"Automation Testing interview questions","url_title":"interview-questions-on-automation-testing","image_url":"","meta_title":"TOP 50 Automation Testing Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Automation Testing Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":215,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"326","created_at":"2017-09-20T06:54:46.000Z","updated_at":"2018-10-23T11:59:45.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":734,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c6","title":"JMX Architecture","url_title":"jmx-architecture","image_url":"","meta_title":"JMX Architecture - Tekslate","meta_desc":"In-depth explanation of JMX architecture in which layers module is covered with JMX specifications and Interfaces functionality to establish connections.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"59","created_at":"2014-10-31T19:49:32.000Z","updated_at":"2018-10-23T11:08:47.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":731,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c7","title":"JMS Architecture","url_title":"jms-architecture","image_url":"","meta_title":"JMS Architecture","meta_desc":"In this tutorial student grasp complete knowledge on JMS architecture. JMS provider is a messaging system implement the interfaces and provides control.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-10-31T19:40:07.000Z","updated_at":"2018-10-23T10:39:54.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":730,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c8","title":"Introduction to JMS","url_title":"introduction-to-jms","image_url":"","meta_title":"Introduction to JMS","meta_desc":"TekSlate is the final destination for JBoss tutorials teach introduction to JMS and JMS in Java EE. JMS is used when asynchronous reliable communication is needed .","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-10-31T19:32:00.000Z","updated_at":"2018-10-23T10:30:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":711,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$c9","title":"MQ Series Logging and Recovery","url_title":"mq-series-logging-and-recovery","image_url":"","meta_title":"logging and recovery","meta_desc":"In this tutorial you will learn about MQ series logging and recovery. It also dicusses about state of queue manager in WebSphere mq","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-10-28T19:43:06.000Z","updated_at":"2018-10-23T07:23:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":709,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ca","title":"Understanding Queues & Queue Manager in MQ Series","url_title":"queues-queue-manager-in-mq-series","image_url":"","meta_title":"Understanding WebSphere MQ queue managers","meta_desc":"This tutorial gives you knowledge on queue managers and queues. It also explains about the properties of the local queues.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"278","created_at":"2014-10-28T19:23:03.000Z","updated_at":"2018-10-23T07:17:04.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":700,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<h2><span style=\"font-size: 24px; color: #236fa1;\"><strong>How to Start and Stop Queue Manager in WebSphere MQ</strong></span></h2>\n<p><strong>Start &amp; Stop Queue Manager</strong> <strong>Start</strong></p>\n<p>Right click on the queue manager's name and choose start option.</p>\n<p><img class=\" wp-image-368 aligncenter\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/10/MQ_Start.png\" alt=\"MQ_Start\" width=\"342\" height=\"250\" /></p>\n<p><strong>Stop&nbsp;</strong></p>\n<p>If you want to stop queue manager, then right click on queue manager and choose stop option.</p>\n<p><img class=\" wp-image-369 aligncenter\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/10/MQ_Stop.jpg\" alt=\"MQ_Stop\" width=\"407\" height=\"262\" /></p>","title":"How to Start and Stop Queue Manager","url_title":"how-to-start-and-stop-queue-manager","image_url":"","meta_title":"How to Start and Stop Queue Manager in WebSphere MQ","meta_desc":"Queue Manager in WebSphere MQ - In this article you will learn more about How to Start and Stop Queue Manager in WebSphere MQ and read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-10-27T22:28:37.000Z","updated_at":"2018-10-23T06:35:58.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1063,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$cb","title":"Creation Of Tables","url_title":"creation-tables","image_url":"","meta_title":"Creation Of Tables","meta_desc":"In this article we will learn about the Creation Of Tables Using Tables with Navigation Bars and Tabs","views":606,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-27T07:58:39.000Z","updated_at":"2018-09-24T04:56:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1069,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$cc","title":"UI Activity Indicator","url_title":"alerts","image_url":"","meta_title":"UI Activity Indicator","meta_desc":"UI Activity Indicator -  In this Article you will learn more about Activity Progress and Alerting Users, Read more...","views":574,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-27T13:22:28.000Z","updated_at":"2018-09-24T04:55:14.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1074,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$cd","title":"Architecture of O/S","url_title":"architecture-os","image_url":"","meta_title":"Architecture of Unix O/S","meta_desc":"Architecture of O/S -  In this Article you will learn more about Architecture of Unix O/S,   Difference between UNIX & WINDOWS Read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-27T13:45:35.000Z","updated_at":"2018-09-24T04:54:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1076,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$ce","title":"Using Badges And Buttons","url_title":"using-badges-buttons","image_url":"","meta_title":"Using Badges And Buttons","meta_desc":"In this article we will learn about the Using Badges And Buttons, adding badges, controls and more","views":363,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"2","created_at":"2014-11-28T06:00:30.000Z","updated_at":"2018-09-24T04:54:27.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1079,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$cf","title":"Basic Commands","url_title":"basic-commands-unix","image_url":"","meta_title":"List of Basic Commands in Unix","meta_desc":"Commands in Unix -  In this Article you will learn more about List of Basic Commands in Unix Read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"13","author_desc":"","course_id":"0","created_at":"2014-11-28T06:32:30.000Z","updated_at":"2018-09-24T04:53:51.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1077,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d0","title":"UI Slider","url_title":"ui-slider","image_url":"","meta_title":"UI Slider ","meta_desc":"UI Slider -  In this Article you will learn more about UISlider Using a Switch and a Slider,  Read more...","views":114,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-28T06:32:49.000Z","updated_at":"2018-09-24T04:53:33.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":839,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d1","title":"Patching","url_title":"patching","image_url":"","meta_title":"Patching","meta_desc":"Patching","views":754,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-08T14:24:12.000Z","updated_at":"2018-09-24T04:44:04.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":847,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d2","title":"Cloning","url_title":"cloning","image_url":"","meta_title":"Cloning","meta_desc":"Cloning","views":776,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T05:02:03.000Z","updated_at":"2018-09-24T04:43:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":874,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$d3","title":"FNDCPASS","url_title":"fndcpass","image_url":"","meta_title":"FNDCPASS to change the APPS password","meta_desc":"FNDCPASS ➔ Learn how to use the FNDCPASS command to change the password of an APPS user in Oracle.","views":1026,"rating":4.1,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T13:18:37.000Z","updated_at":"2018-09-24T04:43:07.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":931,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d4","title":"Collections","url_title":"apex-collections","image_url":"","meta_title":"APEX Collections","meta_desc":"In this collections tutorial students learn to implement appropriate syntax to be used to organise the groups of similar types of Apex like lists and maps","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-14T11:57:42.000Z","updated_at":"2018-09-24T04:37:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":948,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d5","title":"Controllers","url_title":"controllers-in-saleforce","image_url":"","meta_title":"Controllers","meta_desc":"Learn how controllers specifies the user interacts with UI components and functionality to develop standard list controller and uses of VF page.","views":0,"rating":4,"author":"1","top_level_cat_id":"0","author_desc":"","course_id":"0","created_at":"2014-11-15T10:39:31.000Z","updated_at":"2018-09-24T04:36:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1029,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d6","title":"UITAB","url_title":"uitab","image_url":"","meta_title":"UITAB","meta_desc":"UITAB -  In this Article you will learn more about UITabBar and UITabBarController,  Read more...","views":719,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-26T05:05:40.000Z","updated_at":"2018-09-24T04:36:03.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1040,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d7","title":"UINavigation","url_title":"uinavigation","image_url":"","meta_title":"UINavigation","meta_desc":"UINavigation - In this article you will learn more about UINavigation and read more...","views":431,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-26T07:51:52.000Z","updated_at":"2018-09-24T04:35:47.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1075,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d8","title":"Alerts","url_title":"alerts-3","image_url":"","meta_title":"Alerts","meta_desc":"Alerts - In this article you will learn more about Alerts and read more...","views":864,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-28T05:19:20.000Z","updated_at":"2018-09-24T04:34:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1197,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$d9","title":"LINQ","url_title":"linq","image_url":"","meta_title":"LINQ","meta_desc":"LINQ","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:43:57.000Z","updated_at":"2018-09-24T04:27:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":826,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$da","title":"Key File Locations","url_title":"key-files-locations","image_url":"","meta_title":"Key File Locations In Oracle","meta_desc":"Key File Locations","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-08T04:11:59.000Z","updated_at":"2018-09-22T09:08:19.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":827,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$db","title":"Installation (OS & APPS)","url_title":"installation-os-apps","image_url":"","meta_title":"Installation (OS & APPS)","meta_desc":"Installation (OS & APPS) - In this article you will learn more about Installation (OS & APPS) and read more...","views":1025,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-08T05:10:29.000Z","updated_at":"2018-09-22T09:06:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":830,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$dc","title":"Installation (OS & APPS) part-II","url_title":"installation-os-apps-part-ii","image_url":"","meta_title":"Installation (OS & APPS) part-II","meta_desc":"Installation (OS & APPS) part-II - In this article you will learn more about Installation (OS & APPS) part-II and read more...","views":295,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-08T08:06:35.000Z","updated_at":"2018-09-22T09:05:12.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":836,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$dd","title":"Start & Stop Services","url_title":"start-stop-services","image_url":"","meta_title":"Start & Stop Services","meta_desc":"Start & Stop Services","views":136,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-08T11:00:35.000Z","updated_at":"2018-09-22T09:01:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":849,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$de","title":"Statistics Gathering","url_title":"statistics-gathering","image_url":"","meta_title":"Statistics Gathering","meta_desc":"Statistics Gathering","views":716,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T05:12:18.000Z","updated_at":"2018-09-22T08:00:24.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":850,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$df","title":"Concurrent Manager","url_title":"concurrent-manager","image_url":"","meta_title":"Concurrent Manager","meta_desc":"Concurrent Manager - In this article you will learn more about Concurrent Manager and read more...","views":206,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T05:19:26.000Z","updated_at":"2018-09-22T07:58:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":852,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e0","title":"VNC Configuration","url_title":"vnc-configuration","image_url":"","meta_title":"VNC Configuration","meta_desc":"In this article you will learn complete about the Virtual Network Computing Configuration","views":139,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T05:39:51.000Z","updated_at":"2018-09-22T07:57:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":855,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e1","title":"Display Settings","url_title":"display-setings","image_url":"","meta_title":"Display Settings","meta_desc":"Display Settings -  In this Article you will learn more about Display Settings Read more...","views":508,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T06:15:26.000Z","updated_at":"2018-09-22T07:52:21.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":856,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<p><strong>1. Setting Auto Login on Linux</strong> You may be interested that the server should be auto login as Oracle user in case of restart. <strong>1.1</strong>. Login as root user and open Login Screen, Linux: Applications <strong>&gt;</strong> System Settings <strong>&gt;</strong> Login Screen <img class=\"alignnone wp-image-2028\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/164.png\" alt=\"16\" width=\"446\" height=\"556\" /> 1.2. Provide the information by clicking Automatic Login, <img class=\"alignnone wp-image-2029\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/11/174-460x353.png\" alt=\"17\" width=\"464\" height=\"356\" /> <strong>Note:</strong> To make sure that Oracle user will be logged in always the Timed Login settings are&nbsp;shown in the screen. These are for DISPLAY SETTINGS as you always need the Oracle user&nbsp;to be logged in. &nbsp;</p>","title":"OS Auto login","url_title":"os-auto-login","image_url":"","meta_title":"OS Auto login","meta_desc":"OS Auto login","views":782,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T07:03:10.000Z","updated_at":"2018-09-22T07:52:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":858,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e2","title":"Reports Integration","url_title":"reports-integration","image_url":"","meta_title":"Reports Integration","meta_desc":"Reports Integration - In this article you will learn more about Reports Integration and read more...","views":1054,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T07:56:11.000Z","updated_at":"2018-09-22T07:45:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":861,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e3","title":"Browser Settings","url_title":"browser-settings","image_url":"","meta_title":"Browser Settings","meta_desc":"In this blog you will learn complete information about the browser settings.","views":1087,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T09:30:31.000Z","updated_at":"2018-09-22T07:44:14.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":864,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e4","title":"Forms Personalization","url_title":"forms-personalization-2","image_url":"","meta_title":"Forms Personalization","meta_desc":"Forms Personalization -  In this Article you will learn more about Personalize fields properties and  Read more...","views":822,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T10:36:29.000Z","updated_at":"2018-09-22T07:41:50.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":866,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e5","title":"Change Color Scheme","url_title":"change-color-scheme","image_url":"","meta_title":"Change Color Scheme","meta_desc":"Change Color Scheme - In this article you will learn more about Change Color Scheme and read more...","views":356,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T10:50:01.000Z","updated_at":"2018-09-22T07:41:37.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":867,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e6","title":"Printer Configuration","url_title":"printer-configuration","image_url":"","meta_title":"Printer Configuration","meta_desc":"Printer Configuration - In this article you will learn more about Printer Configuration and read more...","views":524,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T11:21:40.000Z","updated_at":"2018-09-22T07:41:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":868,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e7","title":"Testing the Web Service","url_title":"testing-web-service","image_url":"","meta_title":"Testing the Web Service","meta_desc":"In this Article you will learn more about Testing the Web Service  Read more...","views":462,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"192","created_at":"2014-11-10T11:29:24.000Z","updated_at":"2018-09-22T07:41:03.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":869,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e8","title":"Printer Page Customization","url_title":"printer-page-customization","image_url":"","meta_title":"Printer Page Customization","meta_desc":"Printer Page Customization -  In this Article you will learn more about Page Size Customization Read more...","views":640,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T11:48:00.000Z","updated_at":"2018-09-22T07:40:49.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":872,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$e9","title":"Descriptive Flexfields(DFF)","url_title":"descriptive-flexfieldsdff","image_url":"","meta_title":"Descriptive Flexfields(DFF)","meta_desc":"In this tutorial, we will learn about what is Descriptive Flexfields","views":756,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"215","created_at":"2014-11-10T13:06:00.000Z","updated_at":"2018-09-22T07:38:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":870,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ea","title":"Menu, Responsibility & User","url_title":"menu-responsibility-user","image_url":"","meta_title":"Menu, Responsibility & User","meta_desc":"Menu, Responsibility & User","views":723,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T11:57:04.000Z","updated_at":"2018-09-22T07:38:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":871,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$eb","title":"Human Workflow","url_title":"human-workflow","image_url":"","meta_title":"Human Workflow","meta_desc":"Human Workflow - In this article you will learn more about Human Workflow and read more...","views":605,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-10T12:13:02.000Z","updated_at":"2018-09-22T07:38:19.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":883,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ec","title":"Administering BPEL Process Service Components and Engines","url_title":"administering-bpel-process-service-components-engines","image_url":"","meta_title":"Administering BPEL Process Service Components and Engines","meta_desc":"Administering BPEL Process Service Components and Engines","views":937,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-11T07:06:58.000Z","updated_at":"2018-09-22T07:14:40.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1016,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ed","title":"Messaging concept","url_title":"messaging-concept","image_url":"","meta_title":"Messaging concept","meta_desc":"Messaging concept -  In this Article you will learn more about Nested Arguments, Class and Instance Methods, Read more...","views":151,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-25T05:46:13.000Z","updated_at":"2018-09-22T04:46:22.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1025,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ee","title":"User Interface Application","url_title":"user-interface-application","image_url":"","meta_title":"User Interface Application","meta_desc":"User Interface Application - In this article you will learn more about User Interface Application and read more...","views":834,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-25T07:25:19.000Z","updated_at":"2018-09-22T04:42:24.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1028,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$ef","title":"UIView and UIViewController","url_title":"ui-view","image_url":"","meta_title":"UIView and UIViewController","meta_desc":"UIView and UIViewController - In this article you will learn more about UIView and UIViewController and read more...","views":639,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-25T07:51:41.000Z","updated_at":"2018-09-22T04:37:50.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1038,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f0","title":"Create a Calculation Measure Using a Function","url_title":"create-calculation-measure-using-function","image_url":"","meta_title":"Create a Calculation Measure Using a Function | TekSlate OBIEE 11g Tutorials","meta_desc":"In this tutorial, you will learn about creating a calculation measure using a function in obiee 11g through step-by-step process by our industrial experts.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-25T13:38:56.000Z","updated_at":"2018-09-22T04:33:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1050,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f1","title":"Create a Parent-Child Logical Dimension & Define Parent-Child Settings","url_title":"create-parent-child-logical-dimension-define-parent-child-settings","image_url":"","meta_title":"Create a Parent-Child Logical Dimension in OBIEE11g","meta_desc":"In this tutorial, you will learn in detail about creation of parent-child logical dimension in obiee 11g through step-by-step procedure by our experts.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"64","created_at":"2014-11-26T11:15:45.000Z","updated_at":"2018-09-22T04:25:52.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1052,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f2","title":"Creating Logical Dimensions with Ragged and Skipped- Level Hierarchies","url_title":"creating-logical-dimensions-ragged-skipped-level-hierarchies","image_url":"","meta_title":"Creating Dimensions with Ragged and Skipped-Level Hierarchies","meta_desc":"In this tutorial, you will learn about Creating Dimensions with Ragged and Skipped-Level Hierarchies through step-by-step procedure by our experts.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-26T11:52:53.000Z","updated_at":"2018-09-22T04:22:15.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1055,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f3","title":"Create New Logical Table Sources & Set Aggregate Content","url_title":"create-new-logical-table-sources-set-aggregate-content","image_url":"","meta_title":"Create New Logical Table Sources & Set Aggregate Content","meta_desc":"In this tutorial, you will learn about creating a new logical table sources and setting an aggregate content through step-by-step procedure by our experts.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-26T12:47:01.000Z","updated_at":"2018-09-22T04:21:38.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1056,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f4","title":"Using Initialization Blocks and Variables & Create Variables","url_title":"using-initialization-blocks-variables-create-variables","image_url":"","meta_title":"OBIEE11g-Using Initialization Blocks and Variables","meta_desc":"You can use variables in a repository to streamline administrative tasks and modify metadata content dynamically to adjust to a changing data environment.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-26T13:02:23.000Z","updated_at":"2018-09-22T04:18:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1057,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f5","title":"Creating Time Series Measures &  Create a Measure Using the AGO Function","url_title":"creating-time-series-measures-create-measure-using-ago-function","image_url":"","meta_title":"Creating Time Series Measures Using the AGO Function","meta_desc":"In this topic you create time series calculation measures using Oracle BI time series functions.Time series functions include AGO, TODATE, and PERIODROLLING","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"64","created_at":"2014-11-26T13:30:21.000Z","updated_at":"2018-09-22T04:18:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1045,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f6","title":"UITable View","url_title":"uitable-view","image_url":"","meta_title":"UITable View - Tekslate","meta_desc":"In this article we will learn about the Tables Using UITableView and UITableViewController","views":973,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-27T05:20:43.000Z","updated_at":"2018-09-22T04:17:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1059,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f7","title":"Grouping and Indexing","url_title":"grouping-indexing","image_url":"","meta_title":"Grouping and Indexing","meta_desc":"Grouping and Indexing","views":920,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-27T06:56:51.000Z","updated_at":"2018-09-22T04:13:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1062,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f8","title":"Reviewing User's Roles in Identity Manager Within the Administration Tool","url_title":"reviewing-users-roles-identity-manager-within-administration-tool","image_url":"","meta_title":"Reviewing User's Roles in Identity Manager Within the Administration Tool","meta_desc":"Reviewing User's Roles in Identity Manager Within the Administration Tool","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-27T07:04:51.000Z","updated_at":"2018-09-22T04:12:51.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1081,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$f9","title":"Web View","url_title":"web-view","image_url":"","meta_title":"Web View","meta_desc":"Web View","views":175,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-28T06:51:21.000Z","updated_at":"2018-09-21T13:06:21.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1084,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$fa","title":"I/O Redirection with Examples","url_title":"io-redirection-examples","image_url":"","meta_title":"I/O Redirection with Examples","meta_desc":"In this blog we will discuss about the I/O Redirection with Examples","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-28T07:23:46.000Z","updated_at":"2018-09-21T13:05:51.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1085,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$fb","title":"Line pattern","url_title":"line-pattern","image_url":"","meta_title":"Line pattern in Unix","meta_desc":"In this tutorial you will learn about Line pattern in detail.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"54","created_at":"2014-11-28T07:26:37.000Z","updated_at":"2018-09-21T13:05:30.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1083,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$fc","title":"Use Of Pickers And Camera","url_title":"5302","image_url":"","meta_title":"Use Of Pickers And Camera","meta_desc":"Use Of Pickers And Camera - In this article you will learn more about Use Of Pickers And Camera and read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-28T08:11:05.000Z","updated_at":"2018-09-21T13:02:02.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1093,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$fd","title":"Networking","url_title":"networking","image_url":"","meta_title":"Networking","meta_desc":"Networking - In this article you will learn more about Networking and read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-28T11:56:21.000Z","updated_at":"2018-09-21T12:53:30.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1089,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$fe","title":"Picker View Processing","url_title":"use-picker","image_url":"","meta_title":"Picker View Processing","meta_desc":"Picker View Processing","views":138,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-28T12:59:32.000Z","updated_at":"2018-09-21T12:44:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1099,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$ff","title":"Image Controller","url_title":"image-controller","image_url":"","meta_title":"Image Controller - Tekslate","meta_desc":"In this blog you will learn Image Controller Using the Camera-UIImagePickerController","views":779,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"270","created_at":"2014-11-29T06:39:02.000Z","updated_at":"2018-09-21T12:39:11.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1103,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$100","title":"Data Persistence","url_title":"data-persistence","image_url":"","meta_title":"Data Persistence","meta_desc":"In this blog you will learn Data Persistence Using SQLite, Adding SQLite Database, Creating a Simple Database and more.","views":469,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-11-29T07:08:25.000Z","updated_at":"2018-09-21T12:38:40.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1105,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$101","title":"Modifying SQLite","url_title":"modifying-sqlite","image_url":"","meta_title":"Modifying SQLite","meta_desc":"Modifying SQLite -  In this Article you will learn more about SQLite Binding, Inserting, Updating, and Deleting Read more...","views":972,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-01T05:59:51.000Z","updated_at":"2018-09-21T12:32:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1107,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$102","title":"Introduction To Multimedia","url_title":"introduction-multimedia","image_url":"","meta_title":"Introduction To Multimedia","meta_desc":"Introduction To Multimedia - In this article you will learn more about Multimedia and read more...","views":483,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-01T06:46:39.000Z","updated_at":"2018-09-21T12:27:36.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1115,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$103","title":"OLEDB  COMMAND TRASFORMATION","url_title":"oledb-command-trasformation","image_url":"","meta_title":"Steps to configure OLEDB Command transformation","meta_desc":"The objective of this tutorial is to configure OLEDB Command transformation in MSBI. Open Business Intelligence Development Studio, create a new package","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-01T10:48:27.000Z","updated_at":"2018-09-21T12:23:57.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1116,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$104","title":"WMI (windows Management Instrumentation) Data reader task","url_title":"wmi-windows-management-instrumentation-data-reader-task","image_url":"","meta_title":"Steps to Configure WMI Data reader task","meta_desc":"In this tutorial we will learn how to configure WMI Data reader task. (windows Management Instrumentation) Data reader task is used to read the Data about","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"92","created_at":"2014-12-01T10:53:54.000Z","updated_at":"2018-09-21T12:23:43.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1126,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$105","title":"WSDL(web service description language)","url_title":"wsdlweb-service-description-language","image_url":"","meta_title":"WSDL(web service description language)","meta_desc":"WSDL(web service description language)","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-02T06:58:31.000Z","updated_at":"2018-09-21T12:11:51.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1127,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$106","title":"10g Installation steps: (10g – windows XP 32 bit)","url_title":"10g-installation-steps-10g-windows-xp-32-bit","image_url":"","meta_title":"10g Installation steps: (10g – windows XP 32 bit)","meta_desc":"10g Installation steps: (10g – windows XP 32 bit) - In this article you will learn more about 10g Installation steps and read more...","views":849,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-02T07:02:00.000Z","updated_at":"2018-09-21T12:11:02.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1129,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$107","title":"Explanation of 10g – BPEL Console(Mozilla fire fox)","url_title":"10g-bpel-consolemozilla-fire-fox","image_url":"","meta_title":"Explanation of 10g – BPEL Console(Mozilla fire fox)","meta_desc":"Here you will get complete Explanation of 10g – BPEL Console Mozilla fire fox","views":858,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"1","created_at":"2014-12-02T07:34:38.000Z","updated_at":"2018-09-21T12:09:53.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1137,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$108","title":"Oracle 11g installation step by step process","url_title":"11g-installation","image_url":"","meta_title":"Oracle 11g installation step by step process - Tekslate","meta_desc":"Looking to learn about Oracle 11g installation step by step process You've come to the right place!","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"69","created_at":"2014-12-02T09:25:23.000Z","updated_at":"2018-09-21T11:58:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1160,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$109","title":"When do we use Automation in our project","url_title":"automation-project","image_url":"","meta_title":"Automation in our project","meta_desc":"Automation in our project -  In this Article you will learn more about Automation in our project Read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-03T07:14:10.000Z","updated_at":"2018-09-21T11:36:52.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1180,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$10a","title":"Introduction to MVC","url_title":"introduction-mvc","image_url":"","meta_title":"Introduction to MVC","meta_desc":"Introduction to MVC - In this article you will learn more about MVC and read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-05T04:36:59.000Z","updated_at":"2018-09-21T11:18:13.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1190,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$10b","title":"MVC HTML helper class controllers","url_title":"mvc-html-helper-class-controllers","image_url":"","meta_title":"MVC HTML helper class controllers with Example","meta_desc":"In this lesson, we will discuss about MVC HTML helper class controllers.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T16:56:51.000Z","updated_at":"2018-09-21T11:14:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1186,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<p><img class=\"alignnone size-full wp-image-6064\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/411.png\" alt=\"4\" width=\"386\" height=\"1053\" /></p>","title":"Structure of MVC","url_title":"structure-mvc","image_url":"","meta_title":"Structure of MVC","meta_desc":"Structure of MVC - In this article you will learn more about Structure of MVC and read more...","views":905,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:24:00.000Z","updated_at":"2018-09-21T11:13:39.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1194,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$10c","title":"MVC Models","url_title":"mvc-models-example","image_url":"","meta_title":"How to work with MVC models with an example","meta_desc":"In this lesson, we will lean how to create an MVC Model application","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:26:49.000Z","updated_at":"2018-09-21T11:13:21.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1187,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$10d","title":"c# code in view","url_title":"c-code-in-view","image_url":"","meta_title":"How to Integrating c# code in view","meta_desc":"In this lesson, we will learn integrating c# code in views. To integrity the C# code in a view we write the code complicity in source part of .asp x file","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T17:34:02.000Z","updated_at":"2018-09-21T11:09:47.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1191,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$10e","title":"HTML forms in MVC","url_title":"work-html-forms-mvc","image_url":"","meta_title":"How to Work with HTML forms in MVC","meta_desc":"In this blog we will learn working with HTML forms in MVC with examples.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-08T17:38:47.000Z","updated_at":"2018-09-21T11:09:15.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1196,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$10f","title":"Adding a record into data base using MVC","url_title":"adding-a-record-into-data-base-using-mvc","image_url":"","meta_title":"Adding a record into data base using MVC","meta_desc":"Adding a record into data base using MVC ","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:40:30.000Z","updated_at":"2018-09-21T11:06:38.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1192,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$110","title":"Execute Action Method","url_title":"execute-action-method-asp","image_url":"","meta_title":"How to Execute Action Method - ASP.net","meta_desc":"Execute Action Method -  In this Article you will learn more about action method execution, and Read more...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:41:53.000Z","updated_at":"2018-09-21T11:06:22.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1193,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$111","title":"User entered data in text box","url_title":"user-entered-data-in-text-box","image_url":"","meta_title":"ASP.Net - User entered data in text box","meta_desc":"ASP.Net - User entered data in text box","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:43:12.000Z","updated_at":"2018-09-21T11:06:04.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1201,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$112","title":"How to Implement LINQ  Queries in Collection Data","url_title":"how-to-implement-linq-queries-in-collection-data","image_url":"","meta_title":"How to Implement LINQ Queries in Collection Data - Tekslate","meta_desc":"In this lesson, we will talk about How to Implement LINQ Queries in Collection Data ASP.net. Learn ASP.Net Training from Tekslate!","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"230","created_at":"2014-12-08T17:53:59.000Z","updated_at":"2018-09-21T11:02:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1202,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$113","title":"LAMBDA EXPRESION IN LINQ","url_title":"explain-lambda-expresion-linq","image_url":"","meta_title":"What is LAMBDA EXPRESION IN LINQ","meta_desc":"Lambda expression in LINQ are used to work on same group of data in general used with agitate function. A lambda expression is a function with out a name","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:55:17.000Z","updated_at":"2018-09-21T11:02:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1203,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$114","title":"Edit records in MVC","url_title":"edit-records-in-mvc","image_url":"","meta_title":"Example to edit the records in MVC","meta_desc":"Edit records in MVC","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T17:56:20.000Z","updated_at":"2018-09-21T11:02:06.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1205,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$115","title":"Entity framework & Model class","url_title":"entity-framework-model-class","image_url":"","meta_title":"Entity framework & Model class - ASP.Net","meta_desc":"In this blog you will learn example to display the data in mvc with out using entity frame work(With out using model class)","views":147,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"206","created_at":"2014-12-08T17:59:31.000Z","updated_at":"2018-09-21T10:59:33.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1206,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$116","title":"Display data using entity framework model class","url_title":"display-data-using-entity-framework-model-class","image_url":"","meta_title":"Display data using entity framework model class","meta_desc":"In this lesson, we will talk about Display data using entity framework model class ASP.net. Learn ASP.Net Training from Tekslate!","views":739,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"230","created_at":"2014-12-08T18:01:20.000Z","updated_at":"2018-09-21T10:59:19.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1209,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$117","title":"Razor syntax","url_title":"example-razor-syntax-data-type-comparison-methods","image_url":"","meta_title":"Razor syntax","meta_desc":"Here we will discuss performing same example with Razor syntax and more","views":322,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"164","created_at":"2014-12-08T18:04:09.000Z","updated_at":"2018-09-21T10:58:48.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1210,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$118","title":"Display data using Razor syntax","url_title":"display-data-using-razor-syntax","image_url":"","meta_title":"Display data using Razor syntax - Tekslate","meta_desc":"In this lesson, we will talk about Display data using Razor syntax. Learn ASP.Net Training from Tekslate!","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"230","created_at":"2014-12-08T18:05:48.000Z","updated_at":"2018-09-21T10:53:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1212,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$119","title":"What is a Software?","url_title":"ia-software-many-softwares","image_url":"","meta_title":"What is a Software?","meta_desc":"What is a Software-  In this Article you will learn more about Software and Read more...","views":631,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T18:08:07.000Z","updated_at":"2018-09-21T10:53:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1213,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$11a","title":"Translators and Programming Languages","url_title":"translatorand-programming-language","image_url":"","meta_title":"Translators and Programming Languages","meta_desc":"In this lesson, we will understand the concepts of Translators. Translator is a system software which is used to convert programming language code into a bin","views":320,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:09:57.000Z","updated_at":"2018-09-21T10:53:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1215,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$11b","title":"The History of the C Language: From Its Inception to Modern Use","url_title":"history-c-language","image_url":"","meta_title":"History of C Programing Language","meta_desc":"C is one of the oldest programming languages in use today. Here's a look at its history and how it's evolved over time.","views":947,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:10:58.000Z","updated_at":"2018-09-21T10:49:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1217,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$11c","title":"Operators in ‘C’","url_title":"explain-operators-c-language","image_url":"","meta_title":"Guide to Operators in ‘C’","meta_desc":"Check out this comprehensive guide to operators in the C programming language!","views":353,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:13:24.000Z","updated_at":"2018-09-21T10:48:52.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1219,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$11d","title":"Declare variables in C","url_title":"declare-variables-c-language","image_url":"","meta_title":"How to declare variables in C language","meta_desc":"Learn how to declare variables in the C programming language with this helpful guide.","views":262,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:14:40.000Z","updated_at":"2018-09-21T10:48:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1220,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$11e","title":"Control flow statements in C","url_title":"explain-control-flow-statements-c-language","image_url":"","meta_title":"Control flow statements in C language","meta_desc":"If you are new to programming and want to learn control flow statements in the C language, this tutorial is for you.","views":953,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:15:43.000Z","updated_at":"2018-09-21T10:43:46.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1222,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$11f","title":"Scanf ,Printf, CLRSCR, Getch, & Comments in C","url_title":"scanf-printf-clrscr-getch-comments-c-language","image_url":"","meta_title":"Scanf ,Printf, CLRSCR, Getch, & Comments in C","meta_desc":"In this article you will learn what are Scanf, Printf, CLRSCR, Getch, and Comments in C Language","views":598,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T18:17:52.000Z","updated_at":"2018-09-21T10:43:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1221,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$120","title":"Conditional operators in C","url_title":"conditional-operators-in-c","image_url":"","meta_title":"Conditional operators in C","meta_desc":"In this post, we'll take a look at the conditional operators available in the C programming language.","views":909,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:18:22.000Z","updated_at":"2018-09-21T10:43:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1223,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$121","title":"Looping statements in C","url_title":"looping-statements-in-c","image_url":"","meta_title":"Looping statements in C - Tekslate","meta_desc":"Looping statements in C - learn about Looping statements in C with examples briefly. Read More...!","views":162,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:19:12.000Z","updated_at":"2018-09-21T10:42:50.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1224,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$122","title":"Nested Loops in C","url_title":"explain-nested-loops-examples-c-language","image_url":"","meta_title":"Nested Loops in C Language","meta_desc":"Nested Loops in C","views":898,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T18:20:44.000Z","updated_at":"2018-09-21T10:39:40.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1226,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$123","title":"Dummies in C","url_title":"dummies-in-c-example","image_url":"","meta_title":"Dummies in C - Tekslate","meta_desc":"Dummies in C - learn about Dummies in C with examples briefly. Read More...!","views":885,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:22:08.000Z","updated_at":"2018-09-21T10:39:25.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1227,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$124","title":"Break and continue Statements in C","url_title":"explain-break-continue-statements-c-language","image_url":"","meta_title":"About Break and continue Statements in C Language","meta_desc":"About Break and continue Statements in C Language - learn about About Break and continue Statements in C Language with examples briefly. Read More...!","views":534,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:22:58.000Z","updated_at":"2018-09-21T10:39:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1228,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$125","title":"Different types of loops in C","url_title":"explain-different-types-loops-c-language","image_url":"","meta_title":"Different types of loops in C language","meta_desc":"Explains the different types of loops that can be used in C programming. These include while, do-while, for and nested loops.","views":2905,"rating":4.2,"author":"1","top_level_cat_id":"4","author_desc":"","course_id":"231","created_at":"2014-12-08T18:26:20.000Z","updated_at":"2018-09-21T10:38:49.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1230,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$126","title":"Data types in C","url_title":"explain-data-types-c-language","image_url":"","meta_title":"Data types in C language - Tekslate","meta_desc":"Data types in C language - learn about Data types in C language with examples briefly. Read More...!","views":416,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:31:24.000Z","updated_at":"2018-09-21T10:31:52.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1231,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$127","title":"Type Cast operator and Number System in C","url_title":"explain-type-cast-operator-number-systerm-give-suitable-example","image_url":"","meta_title":"Type Cast operator and Number System with Examples in C","meta_desc":"Type Cast operator and Number System with Examples in C","views":437,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"2","created_at":"2014-12-08T18:34:15.000Z","updated_at":"2018-09-21T10:31:38.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1232,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$128","title":"Sizeof() operator in C","url_title":"explain-sizeof-operator-c-language","image_url":"","meta_title":"Sizeof() operator in C Language","meta_desc":"Sizeof() operator in C","views":837,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-08T18:35:03.000Z","updated_at":"2018-09-21T10:31:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":2},{"id":1233,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$129","title":"Priority of operators in c Language","url_title":"explain-priority-operators-c-language","image_url":"","meta_title":"Priority of operators in C Language - Tekslate","meta_desc":"Priority of operators in C Language - learn about Priority of operators in C Language with examples briefly. Read More...!","views":796,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:35:40.000Z","updated_at":"2018-09-21T10:31:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1234,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$12a","title":"Operators in C","url_title":"explain-operator-c-language","image_url":"","meta_title":"Operators in C Language - Tekslate","meta_desc":"Operators in C Language - learn about Operators in C Language with examples briefly. Read More...!","views":378,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:36:44.000Z","updated_at":"2018-09-21T10:30:53.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1239,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$12b","title":"Functions in C","url_title":"explain-functions-advantages-c-language","image_url":"","meta_title":"Functions and its Advantages in C Language","meta_desc":"Functions in C Self containing block of one or more statements or a sub-program which is designed for a particular task is called functions.","views":387,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-08T18:42:15.000Z","updated_at":"2018-09-21T10:27:33.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1245,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$12c","title":"Storage classes in C","url_title":"storage-classes-in-c","image_url":"","meta_title":"Storage Classes in C by C Experts","meta_desc":"In this tutorial, we will learn about Storage Classes in C. According to the storage classes of “c” the lifetime of the auto variable is restricted within","views":478,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-09T18:09:48.000Z","updated_at":"2018-09-21T10:05:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1246,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$12d","title":"Stacks in Data Structures","url_title":"stacks-in-datastructures","image_url":"","meta_title":"Stacks in Data Structures by Data Structures Experts","meta_desc":"In this tutorial, we will discuss about stacks in data structures. A stack is an ordered list in which items may be added or removed only at one end, called","views":278,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-09T18:26:21.000Z","updated_at":"2018-09-21T10:04:45.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1253,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$12e","title":"Bubble Sort","url_title":"bubble-sort-example","image_url":"","meta_title":"Study Bubble Sort with an Example From Experts","meta_desc":"In this lesson, we will talk about Bubble sort and we will go over few examples. The bubble sort is a simple and well-known sorting algorithm.","views":125,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-09T18:36:45.000Z","updated_at":"2018-09-21T10:04:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1247,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$12f","title":"Stack Applications in Data Structures","url_title":"stack-applications-in-data-stuctures","image_url":"","meta_title":"Stack Applications in Data Structures","meta_desc":"In this article you will learn Implementation of Stack Applications in Data Structures using array.","views":845,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-09T20:11:38.000Z","updated_at":"2018-09-21T10:01:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1252,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$130","title":"Binary search in Data Structures","url_title":"binary-search-in-datastructures","image_url":"","meta_title":"Binary search in DataStructures","meta_desc":"What is binary search? How does it work? And why do we even need to use a method like this in data structures? Let's answer these questions!","views":805,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-09T20:48:16.000Z","updated_at":"2018-09-21T10:01:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1276,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$131","title":"I/O operation in C++","url_title":"perform-io-operation-c","image_url":"","meta_title":"How to perform I/O operation in c++","meta_desc":"In this tutorial we will learn about performing I/O operation in C++. Information given to the program, is called input. Information given by the program is","views":1054,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T17:28:38.000Z","updated_at":"2018-09-21T09:17:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1295,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$132","title":"Static, Dynamic Binding and Virtual Function in C++","url_title":"static-dynamic-binding-virtual-function-c-language","image_url":"","meta_title":"Static, Dynamic Binding & Virtual Function in C++ Language","meta_desc":"Want to learn more about static, dynamic binding and virtual functions in C++? This article is for you!","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T17:33:08.000Z","updated_at":"2018-09-21T09:14:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1294,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$133","title":"Multi Level Inheritance in C++","url_title":"multi-level-inheritance-in-c","image_url":"","meta_title":"Multi Level Inheritance in C++","meta_desc":"In this tutorial, we will learn about Multi Level Inheritance in C++. The mechanism of deriving a class from another derived class is known as multilevel","views":926,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T17:37:08.000Z","updated_at":"2018-09-21T09:14:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1289,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$134","title":"Static members in C++","url_title":"static-members-in-c-with-examples","image_url":"","meta_title":"Static members in C++ with Examples","meta_desc":"In this tutorial, we will learn about Static Members in C++ with Examples. The members of class can be declared as static in C++. Static members are of","views":199,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T17:45:13.000Z","updated_at":"2018-09-21T09:14:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1288,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$135","title":"Constant Member Function in C++","url_title":"constant-member-function-in-c","image_url":"","meta_title":"Constant Member Function in C++ Language","meta_desc":"In this tutorial, we will learn about Constant Member Function in C++. Members of class can be declared as constants. Constant members are of two types. Co","views":795,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T17:56:57.000Z","updated_at":"2018-09-21T09:14:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1287,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$136","title":"Constructor overloading in C++ Language","url_title":"constructor-overloading-c-language","image_url":"","meta_title":"Constructor overloading in C++ Language","meta_desc":"In this tutorial, we will discuss about Constructor overloading in C++ Language. Defining more than one constructor within class by changing it parameters i","views":565,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T18:02:20.000Z","updated_at":"2018-09-21T09:13:53.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1283,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$137","title":"Functions in C++","url_title":"functions-in-c","image_url":"","meta_title":"Functions in C++ Language","meta_desc":"In this tutorial, we will discuss in detail about Functions in C++ language. Class is a data type or user defined data type. It is a collection of members,","views":241,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T18:37:23.000Z","updated_at":"2018-09-21T09:11:15.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1291,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$138","title":"Aggregation in C++","url_title":"aggregation-in-c","image_url":"","meta_title":"Aggregation in C++ Language","meta_desc":"The objective of this C++ Tutorial is to gain understanding of Aggregation in C++. Aggregation is a special type of composition. In this contained object","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T20:28:49.000Z","updated_at":"2018-09-21T09:11:02.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1293,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$139","title":"Inheritance in C++ Language","url_title":"inheritance-in-c-language","image_url":"","meta_title":"Inheritance in C++ Language","meta_desc":"In this tutorial we will discuss in details about Inheritance in C++. Inheritance is a process of acquiring the properties and behavior of one class inside","views":965,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T20:28:57.000Z","updated_at":"2018-09-21T09:10:41.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1292,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$13a","title":"Friend Function and Friend Classes in C++","url_title":"friend-function-and-friend-classes-in-c","image_url":"","meta_title":"Friend Function and Friend Classes in C++ Language","meta_desc":"In this tutorial, we will discuss in detail bout Friend function and Friend Classes in C++ with examples. A non-member function cannot access private member","views":276,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T20:33:03.000Z","updated_at":"2018-09-21T09:10:28.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1284,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$13b","title":"Modifiers in C++ Language","url_title":"modifiers-in-c-language","image_url":"","meta_title":"Modifiers in C++ Language","meta_desc":"Modifiers in C++ Language - learn about Modifiers in C++ Language with examples briefly. Read More...!","views":400,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T20:45:10.000Z","updated_at":"2018-09-21T09:10:14.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1282,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$13c","title":"C++ Function Overloading","url_title":"c-function-overloading","image_url":"","meta_title":"C++ Function Overloading Tutorial","meta_desc":"In this C++ Tutorial, we will discuss in detail about Function Overloading with examples. Defining more than one function with same name by changing it para","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T20:51:06.000Z","updated_at":"2018-09-21T08:24:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1281,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$13d","title":"Functions in C++ - Part II","url_title":"functions-in-c-with-examples","image_url":"","meta_title":"Tutorial: Functions in C++ by C++ Experts","meta_desc":"In this tutorial, we will discuss in detail about Functions in C++ with examples. Function is a self-contained block which contain set of instructions. It","views":277,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T21:02:43.000Z","updated_at":"2018-09-21T08:24:01.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1272,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$13e","title":"Objects and Classes in C++","url_title":"difference-object-class","image_url":"","meta_title":"Objects and Classes in C++ - Tekslate","meta_desc":"Objects and Classes in C++ - learn about Objects and Classes in C++ with examples briefly. Read More...!","views":994,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T21:31:50.000Z","updated_at":"2018-09-21T08:23:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1273,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$13f","title":"OOP's concepts in C++","url_title":"explain-oops-concept-c","image_url":"","meta_title":"OOP's concepts in C++","meta_desc":"OOP's concepts in C++ - learn about OOP's concepts in C++ with examples briefly. Read More...!","views":1012,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T21:34:48.000Z","updated_at":"2018-09-21T08:23:28.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1300,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$140","title":"C++ Exception Handling","url_title":"c-exception-handling","image_url":"","meta_title":"C++ Exception Handling by C++ Experts","meta_desc":"In this C++ Tutorial, we will discuss in detail about C++ Exception Handling with various examples. Exceptions are unusual conditions in a program. They ma","views":463,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T21:48:10.000Z","updated_at":"2018-09-21T08:23:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1298,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$141","title":"IO Streams in C++","url_title":"io-streams-in-c","image_url":"","meta_title":"IO Streams in C++ by C++ Experts","meta_desc":"The intent of this tutorial is to provide in depth understanding of IO Streams in C++. C++ uses the concept of stream and stream classes to implement I/O o","views":3607,"rating":4.4,"author":"1","top_level_cat_id":"4","author_desc":"","course_id":"231","created_at":"2014-12-12T22:07:05.000Z","updated_at":"2018-09-21T08:20:01.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1297,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$142","title":"Templates in C++","url_title":"templates-in-c","image_url":"","meta_title":"Templates in C++ by C++ Experts","meta_desc":"The intent of this tutorial is to provide in depth understanding of Templates in C++ concepts with examples. Template is a key word. It constructs a family","views":754,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T22:12:26.000Z","updated_at":"2018-09-21T08:19:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1296,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$143","title":"(Polymorphism) Operator Overloading in C++","url_title":"operator-overloading-in-c","image_url":"","meta_title":"(Polymorphism) Operator Overloading in C++ by C++ Experts","meta_desc":"In this tutorial, we will discuss about Operator Overloading in C++ with examples. Creating a new definition of an existing operations is called operator o","views":362,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-12T22:19:46.000Z","updated_at":"2018-09-21T08:19:24.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1279,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$144","title":"Pointers in C++ Language","url_title":"pointers-in-c-language","image_url":"","meta_title":"Pointers in C++ with Examples","meta_desc":"In this C++ Tutorial, we will discuss in detail about Pointers in C++ with Examples. Pointer is a derived data type. A variable of type of pointer is called","views":349,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-12T22:51:34.000Z","updated_at":"2018-09-21T08:19:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1299,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$145","title":"File concepts in C++","url_title":"files-concepts-c-language","image_url":"","meta_title":"File concepts in C++ by C++ Experts","meta_desc":"In this tutorial, we will learn about working with Files in C++ with examples.","views":675,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-15T17:01:05.000Z","updated_at":"2018-09-21T08:18:53.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1286,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$146","title":"Constructors in C++","url_title":"constructors-in-c-with-examples","image_url":"","meta_title":"Constructors in C++ with Examples","meta_desc":"In this tutorial, we will discuss in detail about Constructors in C++ with Examples. We will cover topics such as types of constructors and difference betwe","views":643,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-15T20:38:01.000Z","updated_at":"2018-09-21T08:16:12.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1285,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$147","title":"Array of Objects in C++ Language","url_title":"array-of-objects-in-c","image_url":"","meta_title":"Array of Objects in C++ Language","meta_desc":"In this tutorial, we will discuss in details about Array of Objects in C++ Language. Creating more than one object of similar type is called Array of object","views":191,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-15T20:41:39.000Z","updated_at":"2018-09-21T08:15:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1278,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$148","title":"Unary Operator in C++","url_title":"unary-operator-in-c-with-example","image_url":"","meta_title":"Unary Operator in C++ with examples - Tekslate","meta_desc":"Unary Operator in C++ with examples - learn about Unary Operator in C++ with examples with examples briefly. Read More...!","views":322,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-15T21:08:59.000Z","updated_at":"2018-09-21T08:15:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1277,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$149","title":"Types of variables in C++","url_title":"types-of-variables-in-c-with-examples","image_url":"","meta_title":"Different types of variables in C++","meta_desc":"In this tutorial, we will discuss in detail about types of variables in C++ with examples. The variable declared inside function is called local variable in","views":717,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-15T21:16:12.000Z","updated_at":"2018-09-21T08:15:13.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1441,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$14a","title":"SAS Interact With Oracle","url_title":"7917","image_url":"","meta_title":"SAS Interact With Oracle","meta_desc":"SAS Interact With Oracle","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T06:04:59.000Z","updated_at":"2018-09-21T07:10:54.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1364,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$14b","title":"WCF Introduction","url_title":"wcf","image_url":"","meta_title":"WCF Introduction","meta_desc":"In this tutorial you will learn about introduction to WCF, homogeneous and heterogeneous applications and advantages of object oriented programming.","views":644,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:25:23.000Z","updated_at":"2018-09-21T07:02:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1376,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"<h2><strong>WCF Architecture</strong></h2>\n<p>&nbsp; <img class=\"alignnone wp-image-7462\" src=\"https://newtekslateassets.s3.us-west-2.amazonaws.com/wp-content/uploads/2014/12/Untitled-460x640.png\" alt=\"Untitled\" width=\"554\" height=\"773\" /></p>","title":"WCF Architecture","url_title":"wcf-architecture","image_url":"","meta_title":"WCF Architecture","meta_desc":"In this tutorial you will learn about WCF architecture with all the elements and the sub-elements represented with a diagrammatic view.","views":326,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"106","created_at":"2014-12-19T17:25:54.000Z","updated_at":"2018-09-21T07:02:27.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1365,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$14c","title":"Service in WCF","url_title":"service-wcf","image_url":"","meta_title":"Service in WCF","meta_desc":"In this tutorial you will learn about service in wcf and also know the reasons on how WCF is widely used for various applications.","views":199,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:26:54.000Z","updated_at":"2018-09-21T07:02:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1369,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$14d","title":"Create WCF service with database","url_title":"example-create-wcf-service-data-base","image_url":"","meta_title":"Create WCF service with database","meta_desc":"In this tutorial you will learn how to create a wcf service with database and an example to create a client to perform the database operations.","views":441,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:29:18.000Z","updated_at":"2018-09-21T06:59:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1370,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$14e","title":"WCF service from Windows Forms Applications","url_title":"example-consume-wcf-service-windows-forms-applications","image_url":"","meta_title":"WCF service from Windows Forms Applications","meta_desc":"In this tutorial you will learn, with an example to consume the WCF service from windows forms applications and basic terminology used in WCF services.","views":1080,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:30:31.000Z","updated_at":"2018-09-21T06:59:19.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1374,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$14f","title":"Transactions in WCF","url_title":"transactions-wcf","image_url":"","meta_title":"Transactions in WCF","meta_desc":"This tutorial gives you knowledge on transactions in WCF and shows an example to implement transactions using WCF services.","views":709,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:33:12.000Z","updated_at":"2018-09-21T06:59:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1375,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$150","title":"WCF Transaction Example","url_title":"create-client-application-consume-3-services-created-transactions","image_url":"","meta_title":"WCF Transaction Example","meta_desc":"In this tutorial you will learn about creating a client application to consume the 3 services created by the transactions.","views":312,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:35:15.000Z","updated_at":"2018-09-21T06:58:50.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1371,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$151","title":"Contracts in WCF","url_title":"contracts-wcf","image_url":"","meta_title":"Contracts in WCF","meta_desc":"This tutorial gives you information about contracts and types of contracts in wcf. Also explains structure of a service with endpoints.","views":1006,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:36:02.000Z","updated_at":"2018-09-21T06:58:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1368,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$152","title":"Data Contract in WCF services","url_title":"example-perform-arithmetic-operations-using-data-contract-wcf-services","image_url":"","meta_title":"Data Contract in WCF services","meta_desc":"This tutorial teaches you about data contract in WCF services and explains with an example on consuming the WCF service / creating client component.","views":342,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:37:07.000Z","updated_at":"2018-09-21T06:56:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1372,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$153","title":"Hosting options with WCF services","url_title":"hosting-options-wcf-services","image_url":"","meta_title":"Hosting Services","meta_desc":"In this tutorial you will learn about hosting with wcf services and also learn hosing with console applications or managed application.","views":700,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:38:49.000Z","updated_at":"2018-09-21T06:55:57.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1366,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$154","title":"Remoting concept and its Architecture in WCF","url_title":"remoting-concept-architecture-wcf","image_url":"","meta_title":"Remoting concept and its Architecture in WCF","meta_desc":"In this tutorial you will learn about remoting concept and its architecture in WCF, with detailed explanation, diagrammatic view.","views":943,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:39:10.000Z","updated_at":"2018-09-21T06:55:41.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1373,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$155","title":"Hosting service on IIS Vs Console Applications","url_title":"difference-hosting-service-iis-console-applications","image_url":"","meta_title":"Hosting service on IIS Vs Console Applications","meta_desc":"In this tutorial you will learn hosting service on IIS Vs console applications and also know the differences between basis http binding and ws http sending","views":384,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T17:40:56.000Z","updated_at":"2018-09-21T06:55:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1347,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$156","title":"Working With Layouts in WCF","url_title":"working-layouts-wcf","image_url":"","meta_title":"Layouts in WCF","meta_desc":"This tutorial discusses on how WCF Visual Studio templates provide a basic class structure for service development, data contract and configuration.","views":236,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T18:20:54.000Z","updated_at":"2018-09-21T06:43:59.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1350,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$157","title":"Working with Grid layout In WCF","url_title":"working-grid-layout-wcf","image_url":"","meta_title":"grid layout in wpf","meta_desc":"This tutorial will help you learn how to allow your end-users to resize the cells of your WPF Grid and gives a brief on working with grid layouts","views":364,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-19T18:26:33.000Z","updated_at":"2018-09-21T06:37:13.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1351,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$158","title":"Events with media elements control in WCF","url_title":"events-media-elements-control-wcf","image_url":"","meta_title":"configuring events over wcf","meta_desc":"In this tutorial you will get to learn events with media elements control and know all the requirements of EG with media element.","views":220,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"55","created_at":"2014-12-19T18:27:01.000Z","updated_at":"2018-09-21T06:36:54.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1497,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$159","title":"Prerequisite to Create a Planning Application","url_title":"prerequisite-create-planning-application","image_url":"","meta_title":"Prerequisite to create a planning application","meta_desc":"In this article you will learn Prerequisite to create a planning application","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-21T12:12:54.000Z","updated_at":"2018-09-21T05:27:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1271,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$15a","title":"Advantages and Disadvantages of C++","url_title":"explain-history-c-advantages-disadvantages","image_url":"","meta_title":"Advantages and disadvantages of C++","meta_desc":"In this article, you'll gain knowledge on brief history about C++. It also discusses advantages and disadvantages of using it in different scenarios.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-22T22:52:11.000Z","updated_at":"2018-09-20T12:40:39.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1274,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$15b","title":"C++ compilers & Structure of C++ Program","url_title":"c-compilers-structure-c-program","image_url":"","meta_title":"C++ compilers & Structure of C++ Program - Tekslate","meta_desc":"learn about C++ compilers & Structure of C++ Program with examples briefly. Read More...!","views":990,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-22T22:53:48.000Z","updated_at":"2018-09-20T12:36:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1275,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$15c","title":"Data Types in C++ Language","url_title":"data-types-c-plus-plus","image_url":"","meta_title":"Data Types in C++","meta_desc":"Learn about the different data types available in the C++ programming language.","views":825,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2014-12-22T22:54:10.000Z","updated_at":"2018-09-20T12:35:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1361,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$15d","title":"SilverLight Animations","url_title":"silverlight-animations","image_url":"","meta_title":"SilverLight Animations","meta_desc":"An animation is an illusion that is created by quickly cycling through a series of images, where each image is slightly different from the last. An animatio","views":100,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:21:57.000Z","updated_at":"2018-09-20T12:32:29.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1378,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$15e","title":"SilverLight Layouts","url_title":"silverlight-layouts","image_url":"","meta_title":"SilverLight Layouts","meta_desc":"In this tutorial, we will discuss about types of SilverLight Layouts with examples.","views":899,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:27:21.000Z","updated_at":"2018-09-20T12:31:57.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1379,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$15f","title":"SilverLight Brushes","url_title":"silverlight-brushes","image_url":"","meta_title":"SilverLight Brushes","meta_desc":"In this tutorial, we will go over through different types of SilverLight Brushes with examples","views":635,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:29:37.000Z","updated_at":"2018-09-20T12:31:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1380,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$160","title":"Media Elements in SilverLight","url_title":"media-elements-silverlight","image_url":"","meta_title":"Media Elements in SilverLight","meta_desc":"Media Elements in SilverLight","views":378,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:33:15.000Z","updated_at":"2018-09-20T12:24:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1360,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$161","title":"SilverLight Transforms","url_title":"silverlight-transforms","image_url":"","meta_title":"SilverLight Transforms","meta_desc":"In this tutorial, we will go over through types of SilverLight Transforms with examples. Transforms are used to apply the required effects to the 2D and","views":812,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:38:19.000Z","updated_at":"2018-09-20T12:24:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1382,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$162","title":"Silverlight Key Frame Animation","url_title":"silverlight-key-frame-animation","image_url":"","meta_title":"Silverlight Key Frame Animations","meta_desc":"In this tutorial, we will go over through different types of Silverlight Key Frame Animations with examples","views":178,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:41:10.000Z","updated_at":"2018-09-20T12:23:45.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1363,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$163","title":"SilverLight 3D Effects to Images","url_title":"silverlight-3d-effects-to-images","image_url":"","meta_title":"SilverLight 3D Effects to Images","meta_desc":"In this tutorial, we will go through on Applying 3D effects to the Controls to the Images with examplese","views":313,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:59:06.000Z","updated_at":"2018-09-20T12:22:04.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1362,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$164","title":"Types of Data Binding in SilverLight","url_title":"types-of-data-binding-in-silverlight","image_url":"","meta_title":"Types of Data Binding in SilverLight","meta_desc":"In this tutorial, we will cover different Types of Data Binding in SilverLight with examples.","views":934,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T08:44:05.000Z","updated_at":"2018-09-20T12:09:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1383,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$165","title":"WCF Integration with SilverLight","url_title":"wcf-integration-silverlight","image_url":"","meta_title":"WCF Integration with SilverLight","meta_desc":"In this tutorial, we will go through the WCF Integration with SilverLight with examples","views":141,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-24T23:07:38.000Z","updated_at":"2018-09-20T12:03:36.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1384,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$166","title":"Adding WCF Features in the SilverLight Application","url_title":"distributing-adding-wcf-features-silver-light-application","image_url":"","meta_title":"Adding WCF Features in the SilverLight Application","meta_desc":"The objective of this tutorial is to how to Add WCF Features in the SilverLight Application with examplse","views":1060,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"41","created_at":"2014-12-24T23:10:33.000Z","updated_at":"2018-09-20T12:03:21.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1319,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$167","title":"Data Set with Oracle Enterprise in Data Stage","url_title":"data-set-oracle-enterprise-data-stage","image_url":"","meta_title":"Data Set with Oracle Enterprise in Data Stage","meta_desc":"In this blog you will learn about Data Set with Oracle Enterprise in Data Stage","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-25T11:06:04.000Z","updated_at":"2018-09-20T11:53:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1318,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$168","title":"Oracle Enterprise in Data Stage","url_title":"oracle-enterprise-data-stage","image_url":"","meta_title":"Oracle Enterprise in Data Stage - Tekslate","meta_desc":"Enhance your skills with Oracle Enterprise in Data Stage and related articles","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"156","created_at":"2014-12-25T11:07:35.000Z","updated_at":"2018-09-20T11:53:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1578,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$169","title":"HTML Attributes","url_title":"html-attributes","image_url":"","meta_title":"HTML Attributes Tutorial by HTML Experts","meta_desc":"In this tutorial, we will learn about different types of HTML Attributes with examples.","views":1075,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T08:52:26.000Z","updated_at":"2018-09-20T11:13:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1579,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$16a","title":"HTML Elements and Tags","url_title":"html-elements-tags","image_url":"","meta_title":"HTML Elements and Tags","meta_desc":"In this tutorial, we will learn about different types of HTML Elements and Tags with examplese","views":745,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T08:54:53.000Z","updated_at":"2018-09-20T11:12:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1580,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$16b","title":"Style Sheets in HTML","url_title":"style-sheets-html","image_url":"","meta_title":"Style Sheets in HTML","meta_desc":"HTML Table Tags - In this Article you will learn more about External Style Sheet, Internal Style Sheet, and Inline Style Sheet Read more...","views":403,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T08:56:02.000Z","updated_at":"2018-09-20T11:12:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1584,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$16c","title":"HTML – Formatting Elements & Tags","url_title":"html-formatting-elements-tags","image_url":"","meta_title":"HTML – Formatting Elements & Tags ","meta_desc":"HTML – Formatting Elements & Tags - In this Article you will learn more about HTML – Formatting Element W/Tags, Color Coding System, HTML Coloring System Read more...","views":724,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T09:08:14.000Z","updated_at":"2018-09-20T11:12:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1581,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$16d","title":"HTML Script Tags","url_title":"html-script-tags","image_url":"","meta_title":"HTML Script Tags","meta_desc":"In this tutorial we will learn about HTML Script Tags, External Script, Internal Script tags and more.","views":672,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T09:09:30.000Z","updated_at":"2018-09-20T11:12:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1586,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$16e","title":"HTML Table Tags","url_title":"html-table-tags","image_url":"","meta_title":"HTML Table Tags","meta_desc":"HTML Table Tags - In this Article you will learn more about Colspan and Rowspan Attributes, Tables Backgrounds and Table Height and Width Read more...","views":362,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T09:13:25.000Z","updated_at":"2018-09-20T11:09:51.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1585,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$16f","title":"HTML Forms","url_title":"html-forms","image_url":"","meta_title":"HTML Forms Tutorial by HTML Experts","meta_desc":"In this lesson, we will learn about various type of HTML Forms with examples. HTML forms are required when you want to collect some data from the site visit","views":922,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T09:19:04.000Z","updated_at":"2018-09-20T11:09:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1587,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$170","title":"HTML Frames","url_title":"html-frames","image_url":"","meta_title":"HTML Frames Tutorial by HTML Experts","meta_desc":"In this tutorial, we will learn about HTML Frames with examples","views":922,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T09:22:43.000Z","updated_at":"2018-09-20T11:09:22.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1583,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$171","title":"HTML Lists","url_title":"html-lists","image_url":"","meta_title":"HTML Lists Tutorial by HTML Experts","meta_desc":"In this tutorial, we will learn about HTML Lists with various examples.","views":205,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T09:26:40.000Z","updated_at":"2018-09-20T11:09:06.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1582,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$172","title":"HTML Event Handlers","url_title":"html-event-handlers","image_url":"","meta_title":"HTML Event Handlers","meta_desc":"HTML Event Handlers - In this article you will learn Event Handler, Scripting Language, HTML Meta Tag Read more...","views":1058,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T09:28:28.000Z","updated_at":"2018-09-20T11:08:51.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1591,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$173","title":"CSS Style Element","url_title":"embedded-css-element-css","image_url":"","meta_title":"CSS Style Element - Tekslate","meta_desc":"Here you will learn CSS Style Element like Attributes, Inline CSS-the Style Attribute","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T21:57:08.000Z","updated_at":"2018-09-20T11:05:49.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1593,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$174","title":"CSS Comments & Units","url_title":"css-comments-units","image_url":"","meta_title":"CSS Comments & Units","meta_desc":"CSS Comments & Units - In this blog we will discuss about the CSS Comments, CSS Units deeply with examples.","views":848,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T21:58:07.000Z","updated_at":"2018-09-20T11:05:33.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1594,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$175","title":"CSS Fonts","url_title":"css-font-style-size-weight","image_url":"","meta_title":"CSS Fonts - Tekslate","meta_desc":"Here you will learn CSS Fonts like Font style, Font Variant, Font Size, Font Weight","views":113,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:04:14.000Z","updated_at":"2018-09-20T11:05:12.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1592,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$176","title":"CSS Colors & Background","url_title":"css-colors-background","image_url":"","meta_title":"CSS Colors & Background","meta_desc":"CSS Colors & Background -  In this Article you will learn more about CSS Colors, Background Shorthand Property, Setting Fonts using CSS, CSS Font Families Read more...","views":683,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T22:07:55.000Z","updated_at":"2018-09-20T11:04:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1598,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$177","title":"CSS Images Properties","url_title":"css-images-properties","image_url":"","meta_title":"CSS Images Properties - Tekslate","meta_desc":"Here you will learn CSS Images Properties like Image Border Property, Image Height Property","views":1051,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:11:27.000Z","updated_at":"2018-09-20T11:04:40.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1597,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$178","title":"CSS Tables & Cursors","url_title":"css-tables-properties","image_url":"","meta_title":"CSS Tables & Cursors","meta_desc":"Here we will learn complete about CSS Tables, Borders, Alignment, Cursors and more with examples.","views":459,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:13:45.000Z","updated_at":"2018-09-20T11:02:26.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1595,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$179","title":"CSS Lists Properties","url_title":"css-lists-types","image_url":"","meta_title":"CSS Lists Properties - Tekslate","meta_desc":"Here you will learn CSS Lists Properties and Technology updates","views":890,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:16:38.000Z","updated_at":"2018-09-20T11:02:06.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1600,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$17a","title":"CSS Positioning","url_title":"css-positioning-types","image_url":"","meta_title":"CSS Positioning","meta_desc":"CSS Positioning -  In this Article you will learn more about Positioning, Static Positioning, Fixed Positioning and Relative Positioning  and Absolute Positioning Read more...","views":786,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T22:18:57.000Z","updated_at":"2018-09-20T11:01:36.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1601,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$17b","title":"CSS Floats","url_title":"css-floats-examples","image_url":"","meta_title":"CSS Floats - Tekslate Guides and Tutorials","meta_desc":"CSS Floats - Here we will learn what is CSS Float, Elements Float, Nested Tables, Alignments and more.","views":420,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:21:44.000Z","updated_at":"2018-09-20T11:01:17.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1603,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$17c","title":"CSS Attribute Selectors","url_title":"css-attribute-selectors","image_url":"","meta_title":"CSS Attribute Selectors - Tekslate","meta_desc":"Here you will learn CSS Attribute Selectors like Attribute Selector and Technology updates","views":798,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:23:19.000Z","updated_at":"2018-09-20T11:00:58.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1599,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$17d","title":"CSS Element Visbility","url_title":"css-element-visbility","image_url":"","meta_title":"CSS Element Visbility - Tekslate","meta_desc":"Here you will learn CSS Element Visbility like Display, Css Display","views":808,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:26:21.000Z","updated_at":"2018-09-20T10:56:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1602,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$17e","title":"Cross Browser Compatibility Issues in CSS","url_title":"cross-browser-compatibility-issues-css","image_url":"","meta_title":"Cross Browser Compatibility Issues in CSS - Tekslate","meta_desc":"Here you will learn Cross Browser Compatibility Issues in CSS and Technology updates","views":629,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"36","created_at":"2014-12-27T22:29:15.000Z","updated_at":"2018-09-20T10:56:27.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1596,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$17f","title":"CSS Margins & Paddings","url_title":"css-margins-paddingsproperties","image_url":"","meta_title":"CSS Margins & Paddings","meta_desc":"CSS Margins & Paddings -  In this Article you will learn more about CSS Outlines, CSS Margin, CSS Margin Property and CSS Margin Top Property Read more...","views":1042,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-27T22:33:49.000Z","updated_at":"2018-09-20T10:56:13.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1605,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$180","title":"Ajax Calendar Extender","url_title":"ajax-calendar-extender","image_url":"","meta_title":"Ajax Calendar Extender - Tekslate","meta_desc":"This tutorial helps you to know in detailed view of Ajax Calendar Extender, format with example.","views":597,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:31:56.000Z","updated_at":"2018-09-20T10:55:38.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1606,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$181","title":"Ajax Collapsible Panel Extender","url_title":"ajax-collapsible-panel-extender","image_url":"","meta_title":"Ajax Collapsible Panel Extender - Tekslate","meta_desc":"In this tutorial we will learn about Ajax Collapsible Panel Extender with examples","views":833,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:32:58.000Z","updated_at":"2018-09-20T10:50:21.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1608,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$182","title":"Ajax Confirm Button Extender","url_title":"ajax-confirm-button-extender-example","image_url":"","meta_title":"Ajax Confirm Button Extender - Tekslate","meta_desc":"Here you will get detailed view of Ajax Confirm Button Extender","views":847,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:35:11.000Z","updated_at":"2018-09-20T10:49:54.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1609,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$183","title":"Ajax Modal Popup Extender","url_title":"ajax-modal-popup-extender-example","image_url":"","meta_title":"Ajax Modal Popup Extender - Tekslate","meta_desc":"Here you will get detail information on Ajax Modal Popup Extender with Example.","views":287,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:36:21.000Z","updated_at":"2018-09-20T10:49:39.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1610,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$184","title":"Ajax Drag Panel Extender","url_title":"ajax-drag-panel-extender-with-example","image_url":"","meta_title":"Ajax Drag Panel Extender - Tekslate ","meta_desc":"In this tutorial we will learn about Ajax Drag Panel Extender with Example.","views":775,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:37:13.000Z","updated_at":"2018-09-20T10:49:23.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1611,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$185","title":"Ajax Drop Shadow Extender","url_title":"ajax-drop-shadow-extender-with-example","image_url":"","meta_title":"Ajax Drop Shadow Extender","meta_desc":"Here we will know about Ajax Drop Shadow Extender with Example","views":934,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:38:32.000Z","updated_at":"2018-09-20T10:46:28.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1612,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$186","title":"Ajax Filtered TextBox Extender","url_title":"ajax-filtered-textbox-extender-with-example","image_url":"","meta_title":"Ajax Filtered TextBox Extender - Teksalte","meta_desc":"Here we will know about Ajax Filtered TextBox Extender with Code and Examples","views":266,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:39:48.000Z","updated_at":"2018-09-20T10:46:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1613,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$187","title":"Ajax HOVER Menu Extender","url_title":"ajax-hover-menu-extender-with-example","image_url":"","meta_title":"Ajax HOVER Menu Extender - Tekslate","meta_desc":"In this Article we will learn about Ajax HOVER Menu Extender that includes Properties targercontrolID, Offset x & Offset y with Example.","views":409,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:40:50.000Z","updated_at":"2018-09-20T10:45:58.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1614,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$188","title":"Ajax Drop Down Extender","url_title":"ajax-drop-down-extender-with-example","image_url":"","meta_title":"Ajax Drop Down Extender - Tekslate","meta_desc":"In this Ajax Drop Down Extender tutorial you will know about Drop DownControlID with Example.","views":158,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:42:12.000Z","updated_at":"2018-09-20T10:45:42.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1615,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$189","title":"Ajax Dynamic Populate Extender","url_title":"ajax-dynamic-populate-extender-with-example","image_url":"","meta_title":"Ajax Dynamic Populate Extender","meta_desc":"In this Tutorial we will learn about Ajax Dynamic Populate Extender","views":454,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:43:10.000Z","updated_at":"2018-09-20T10:45:25.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1616,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$18a","title":"Ajax List Search Extender","url_title":"ajax-list-search-extender-with-example","image_url":"","meta_title":"Ajax List Search Extender - Tekslate","meta_desc":"Here you will get information on Ajax List Search Extender with example.","views":707,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:45:23.000Z","updated_at":"2018-09-20T10:44:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1617,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$18b","title":"Ajax Masked Edit Extender","url_title":"ajax-masked-edit-extender-with-example","image_url":"","meta_title":"Ajax Masked Edit Extender","meta_desc":"In this Tutorial detailed information on Ajax Masked Edit Extender, Masked Edit Validate with Example.","views":1084,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:47:57.000Z","updated_at":"2018-09-20T10:41:21.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1618,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$18c","title":"Ajax Mutually Exclusive Checkbox Extender","url_title":"ajax-mutually-exclusive-checkbox-extender","image_url":"","meta_title":"Ajax Mutually Exclusive Checkbox Extender - Tekslate","meta_desc":"In this tutorial we will learn Ajax Mutually Exclusive Checkbox Extender and Exculsive CheckBOXExtender Control","views":227,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:49:48.000Z","updated_at":"2018-09-20T10:40:53.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1619,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$18d","title":"Numericup Down Extender","url_title":"numericup-down-extender-with-example","image_url":"","meta_title":"Numericup Down Extender","meta_desc":"In this tutorial we will discuss Numericup Down Extender with examples.","views":754,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-28T08:51:35.000Z","updated_at":"2018-09-20T10:40:22.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1620,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$18e","title":"Ajax Paging Bulleted List Extender","url_title":"ajax-paging-bulleted-list-extender","image_url":"","meta_title":"Ajax Paging Bulleted List Extender","meta_desc":"In this article we will learn about Ajax Paging Bulleted List Extender with example","views":1009,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:54:42.000Z","updated_at":"2018-09-20T10:39:45.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1621,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$18f","title":"Ajax Popup Control Extender","url_title":"ajax-popup-control-extender-with-example","image_url":"","meta_title":"Ajax Popup Control Extender - Tekslate","meta_desc":"Here you will know about Ajax Popup Control Extender with example.","views":703,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:56:08.000Z","updated_at":"2018-09-20T10:37:28.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1622,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$190","title":"Ajax Resizable Control Extender","url_title":"ajax-resizable-control-extender-with-example","image_url":"","meta_title":"Ajax Resizable Control Extender","meta_desc":"In this tutorial you will learn about resizable control extender and an example to demonstrate how the resizable control extender is used","views":389,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:58:04.000Z","updated_at":"2018-09-20T10:37:15.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1623,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<h2>Rounder Corners Extender</h2>\n<p><strong>&nbsp;</strong>This control is used to make corners of a control as a rounded corners and it has the properties. <strong>TargetControlID</strong> <strong>Radious</strong> The property Radius is used to specify the radius to make corners of the targetcontrol rounded. <strong>Example&nbsp;</strong> The following example demonstrates how to use RoundedcornerExtender. Add a page to the website, take a toolkit scriptManager and on a panel on the page &amp; set a background color and within the panel take one Login control. Within HTML source of the page drag &amp; drop a rounded corners Extender &amp; set following to it. &lt;asp:RoundedcornersExtender ID=&rdquo;RoundedcornersExtender&rdquo; runat=&rdquo;server&rdquo; TargetcontrolID=&rdquo;panel1&rdquo; Radius=&rdquo;20&rdquo;&gt; &lt;/asp:RoundedcornersExtender&gt;</p>","title":"Ajax Rounder Corners Extender","url_title":"ajax-rounder-corners-extender","image_url":"","meta_title":"Ajax Rounder Corners Extender","meta_desc":"This tutorial explains you about how the rounder corner controls and gives a brief for its properties, it is also described with an example","views":729,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T08:59:14.000Z","updated_at":"2018-09-20T10:37:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1624,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$191","title":"Ajax Slider Extender","url_title":"ajax-slider-extender","image_url":"","meta_title":"Ajax Slider Extender","meta_desc":"In this tutorial you will learn how slider extender control is used to provide a slider on the page and allow the user to select a value","views":396,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:00:59.000Z","updated_at":"2018-09-20T10:36:42.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1625,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$192","title":"Ajax Slide Show Extender","url_title":"ajax-slide-show-extender-with-example","image_url":"","meta_title":"Ajax Slide Show Extender","meta_desc":"This tutorial explains about how control is used to create a slideshow of images and allow the user to navigate between the slides next and previous","views":683,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:02:45.000Z","updated_at":"2018-09-20T10:36:26.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1626,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$193","title":"Ajax TextBox WaterMark Extender","url_title":"ajax-textbox-watermark-extender","image_url":"","meta_title":"Ajax TextBox WaterMark Extender","meta_desc":"In this tutorial you will learn how to watermark for the textbox Indicating what value to input in the textbox without using a label","views":150,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:04:03.000Z","updated_at":"2018-09-20T10:33:12.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1627,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$194","title":"Ajax Toggle Button Extender","url_title":"ajax-toggle-button-extender-with-example","image_url":"","meta_title":"Ajax Toggle Button Extender","meta_desc":"In this tutorial you will learn about toggle button extender and learn all the properties of it in detail with an example.","views":579,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:05:43.000Z","updated_at":"2018-09-20T10:32:57.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1628,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$195","title":"Ajax Validator Callout Extender","url_title":"ajax-validator-callout-extender","image_url":"","meta_title":"Ajax Validator Callout Extender","meta_desc":"In this tutorial the example demonstrates how to use Validator Callout Extender","views":367,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"6","created_at":"2014-12-28T09:07:29.000Z","updated_at":"2018-09-20T10:32:36.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1629,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$196","title":"Ajax Update Panel Animation Extender","url_title":"ajax-update-panel-animation-extender-with-example","image_url":"","meta_title":"Ajax Update Panel Animation Extender - Tekslate","meta_desc":"This tutorial will give you a detailed information on how to Update Panel Animation Extender with examples.","views":986,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:08:38.000Z","updated_at":"2018-09-20T10:32:22.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1630,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$197","title":"Ajax Rating Control","url_title":"ajax-rating-control-with-example","image_url":"","meta_title":"Ajax Rating Control - Tekslate","meta_desc":"In this tutorial we will learn about Ajax Rating Control that includes Starcss class, Empty starcssclass, Filledstarcssclass, CurrentRating and example.","views":763,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:17:53.000Z","updated_at":"2018-09-20T10:32:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1631,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$198","title":"Ajax Password Strength Control","url_title":"ajax-password-strength-control-with-example","image_url":"","meta_title":"Ajax Password Strength Control","meta_desc":"In this article we will learn about Ajax Password Strength Control with example","views":755,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:19:44.000Z","updated_at":"2018-09-20T10:28:58.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1590,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$199","title":"Ajax Tab Container Tool Kit","url_title":"ajax-tabcontainer-tool-kit","image_url":"","meta_title":"Ajax Tab Container Tool Kit - Tekslate","meta_desc":"Here we will learn about Ajax Tab Container Tool Kit that includes Tab Container, Tab Strip Placement and Active Tab Index with Example.","views":560,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:20:02.000Z","updated_at":"2018-09-20T10:28:41.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1633,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$19a","title":"Ajax Animation Extender","url_title":"ajax-animation-extender-with-example","image_url":"","meta_title":"Ajax Animation Extender - Tekslate","meta_desc":"This tutorial will give you a detailed information on Ajax Animation Extender with example.","views":612,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:32:03.000Z","updated_at":"2018-09-20T10:28:12.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1634,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$19b","title":"Ajax Auto Complete Extender","url_title":"ajax-auto-complete-extender-with-example","image_url":"","meta_title":"Ajax - Ajax Auto Complete Extender| TekSlate Tutorials","meta_desc":"Ajax Auto Complete Extender - In this tutorials we will learn about Ajax Auto Complete Extender, Service Method, Minimum prefix Length.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:33:14.000Z","updated_at":"2018-09-20T10:27:55.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1635,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$19c","title":"Ajax Balloon Popup Extender","url_title":"ajax-balloon-popup-extender-with-example","image_url":"","meta_title":"Ajax Balloon Popup Extender","meta_desc":"In this Tutorial we will learn about Ajax Balloon Popup Extender","views":970,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:37:38.000Z","updated_at":"2018-09-20T10:25:03.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1636,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$19d","title":"Ajax Accordion Control","url_title":"ajax-accordion-control-with-example","image_url":"","meta_title":"Ajax Accordion Control","meta_desc":"In this tutorial you will learn about Ajax Accordion Control","views":433,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:45:05.000Z","updated_at":"2018-09-20T10:24:45.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1639,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$19e","title":"Ajax Cascading Drop Down Control","url_title":"ajax-cascading-drop-control","image_url":"","meta_title":"Ajax Cascading Drop Down Control | TekSlate Online Trainings","meta_desc":"Ajax Cascading Drop Down Control - In this tutorial we will learn about Cascading Drop Down and Cascading drop down control in ajax.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2014-12-28T09:51:45.000Z","updated_at":"2018-09-20T10:23:53.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1678,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$19f","title":"DataWarehousing Fundamentals","url_title":"datawarehousing-fundamentals","image_url":"","meta_title":"DataWarehousing Fundamentals","meta_desc":"DataWarehousing Fundamentals","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2014-12-30T18:13:38.000Z","updated_at":"2018-09-20T09:33:28.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1771,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a0","title":"Junk,Degenerate,Confirmed,Slowly changing dimension","url_title":"junk-degenerate-confirmed-slowly-changing-dimension","image_url":"","meta_title":"Junk,Degenerate,Confirmed,Slowly changing dimension in QlikView","meta_desc":"Junk,Degenerate,Confirmed,Slowly changing dimension - Here you will learn about what are the Junk,Degenerate,Confirmed,Slowly changing dimension in QlikView","views":770,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-01-20T12:40:27.000Z","updated_at":"2018-09-20T08:31:26.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":175,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a1","title":"WCF Interview Questions & Answers","url_title":"wcf-interview-questions-answers","image_url":"","meta_title":"TOP 50 WCF Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for WCF Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-02-19T11:44:49.000Z","updated_at":"2018-09-20T07:19:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":237,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a2","title":"Business Objects Interview Questions and Answers","url_title":"business-objects-interview-questions-answers","image_url":"","meta_title":"TOP 50 Business Objects Interview Questions [UPDATED] !!!","meta_desc":"Looking for Business Objects Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":725,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-03-07T07:06:56.000Z","updated_at":"2018-09-20T05:42:20.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":241,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1a3","title":"WebMethods Interview Questions and Answers","url_title":"webmethods-interview-questions-answers","image_url":"","meta_title":"TOP 50 WebMethods Interview Questions [UPDATED] - TCS&Cognizant!!","meta_desc":"Looking for WebMethods Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":2693,"rating":4.3,"author":"1","top_level_cat_id":"6","author_desc":"","course_id":"131","created_at":"2016-03-08T06:20:08.000Z","updated_at":"2018-09-20T05:41:18.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":2},{"id":266,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a4","title":"IT HR Interview Questions","url_title":"it-hr-interview-questions","image_url":"","meta_title":"TOP 50 IT HR Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for IT HR Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":449,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-05-11T07:01:19.000Z","updated_at":"2018-09-20T04:44:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1812,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a5","title":"Vagrant Installation","url_title":"vagrant-installation","image_url":"","meta_title":"How to install Vagrant by Vagrant Experts | TekSlate Vagrant Tutorials","meta_desc":"How to install Vagrant by Vagrant Experts - In this tutorial,we will cover step by step procedure to install Vagrant with examples.","views":872,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-05-18T07:20:28.000Z","updated_at":"2018-09-19T12:43:31.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1813,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a6","title":"Vagrant Provision","url_title":"vagrant-provision","image_url":"","meta_title":"Vagrant Provision | TekSlate Vagrant Tutorials Onlline","meta_desc":"Vagrant Provision - In Vagrant tutorial we will learn about Vagrant Provision, Validation Key Path, Specifying the Run List.","views":609,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-05-18T09:13:26.000Z","updated_at":"2018-09-19T12:43:16.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1817,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a7","title":"Angular Directive","url_title":"angular-directive","image_url":"","meta_title":"Angular Directive | TekSlate AngularJS Tutorials","meta_desc":"Angular Directive - In AngularJS Tutorial we will learn about Angular Directive, Directive types, AngularJS Routing, MVC Architecture.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"1","created_at":"2016-05-19T05:34:39.000Z","updated_at":"2018-09-19T12:39:26.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":274,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1a8","title":"QTP Interview Questions","url_title":"qtp-interview-questions","image_url":"","meta_title":"TOP 50+ QTP Interview Questions and Answers (2023)","meta_desc":"Looking for QTP Interview Questions with Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":2740,"rating":4.6,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"235","created_at":"2016-05-24T06:42:20.000Z","updated_at":"2018-09-19T12:22:16.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":1853,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1a9","title":"Cross Table Load","url_title":"cross-table-load","image_url":"","meta_title":"Explain Cross Table Load - TekSlate QlikView Tutorials","meta_desc":"Cross Table Load - Here you will learn about hoe to create Cross Table Load,","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"211","created_at":"2016-05-25T09:46:19.000Z","updated_at":"2018-09-19T12:03:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1867,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1aa","title":"Vagrant boxes","url_title":"vagrant-boxes","image_url":"","meta_title":"How to Install Vagrant Boxes | Installation of Vagrant Boxes","meta_desc":"Vagrant Boxes are prepackaged development environments that are the foundation of Vagrant. In most cases, this is usually just astripped and naked...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-05-26T11:28:58.000Z","updated_at":"2018-09-19T11:50:48.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1873,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1ab","title":"Vagrant VirtualBox","url_title":"vagrant-virtualbox","image_url":"","meta_title":"How to Install Vagrant VirtualBoX | TekSlate Vagrant Tutorials","meta_desc":"The virtual machine created in VirtualBox can use any configuration you would like, but Vagrant has some hard requirements.","views":749,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-05-27T11:44:03.000Z","updated_at":"2018-09-19T11:42:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1875,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1ac","title":"Installation of ESXI","url_title":"installation-of-esxi","image_url":"","meta_title":"How to Install ESXI? | Learn VMware Online With Free Tutorials","meta_desc":"Virtualization is a software layer between Hardware and Operating System.Virtualization allows multiple Operating System (OS)instances to run concurrently..","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-05-28T04:58:01.000Z","updated_at":"2018-09-19T11:40:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1883,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1ad","title":"SAP Testing Interview Questions","url_title":"sap-testing","image_url":"","meta_title":"TOP 50 SAP Testing Interview Questions [UPDATED] !!!","meta_desc":"Looking for SAP Testing Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":3784,"rating":4.5,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"754","created_at":"2016-05-30T06:22:15.000Z","updated_at":"2018-09-19T11:30:03.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":316,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1ae","title":"Greenplum Interview Questions","url_title":"greenplum-interview-questions","image_url":"","meta_title":"Greenplum Interview Questions [Updated]- Tekslate","meta_desc":"Here you will get, Greenplum Interview Questions, Difference between Oracle and Greenplum and Various questions related to Greenplum","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"289","created_at":"2016-06-08T16:07:37.000Z","updated_at":"2018-09-17T13:09:41.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1917,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1af","title":"J Boss 7 Installation","url_title":"j-boss-7-installation","image_url":"","meta_title":"Installation of JBoss 7","meta_desc":"This is an introduction to the newest JBoss AS 7 which appeared in the download section for the first time in Nov 2010.JBoss application server can be...","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"59","created_at":"2016-06-14T07:20:03.000Z","updated_at":"2018-09-17T12:50:35.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1933,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b0","title":"MVC Architecture","url_title":"mvc-architecture","image_url":"","meta_title":"MVC Architecture","meta_desc":"Here you will learn complete overview on Model, View, Controller","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-07-05T09:46:05.000Z","updated_at":"2018-09-17T12:33:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":334,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b1","title":"Windows Networking Interview Questions","url_title":"interview-questions-in-windows-networking","image_url":"","meta_title":"TOP 50 Windows Networking Interview Questions [UPDATED] !!!","meta_desc":"Looking for Windows Networking Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":288,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-08-02T11:00:10.000Z","updated_at":"2018-09-17T12:19:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1947,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b2","title":"Nexus Interview Question And Answers","url_title":"nexus-interview-question-and-answers","image_url":"","meta_title":"TOP 50 Nexus Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Nexus Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"141","created_at":"2016-10-17T11:04:39.000Z","updated_at":"2018-09-17T12:02:25.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":383,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b3","title":"Citrix Netscaler Interview Questions","url_title":"interview-questions-on-citrix-netscaler","image_url":"","meta_title":"TOP 50 Citrix Netscaler Interview Questions [UPDATED] !!!","meta_desc":"Looking for Citrix Netscaler Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"217","created_at":"2016-11-17T04:24:45.000Z","updated_at":"2018-09-17T10:59:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1280,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b4","title":"Arrays Concept in C++ Language","url_title":"wap-swapping-two-numbers-c-language","image_url":"","meta_title":"Understand C++ Arrays With Examples | C++ Language","meta_desc":"An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique..","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2016-12-16T08:31:30.000Z","updated_at":"2018-09-17T10:14:09.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":462,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1b5","title":"KnockoutJS Interview Questions","url_title":"interview-questions-on-knockoutjs","image_url":"","meta_title":"TOP 10+ KnockoutJS Interview Questions and Answers (2023)","meta_desc":"Looking for KnockoutJS Interview Questions with Answers ➔ Real-time Case Study Questions✔️ Curated by Experts✔️ FAQs✔️ Interview Tips.","views":3765,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2017-03-05T04:25:59.000Z","updated_at":"2018-09-17T09:35:28.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"What is Knockout JS?","faq_schema_a1":"Knockout JS is a JavaScript library based totally on MVVM (Model View ViewModel) pattern that lets you create a wealthy, responsive show and editor person interfaces with a clean underlying data model.  Knockout JS is a small mild weighted JavaScript library this is usually used for designing a SPA.","faq_schema_q2":"Define dependency tracking.","faq_schema_a2":"The KnockoutJS will automatically update the UI (DOM) when your data model is changed.","faq_schema_q3":" What is observable Arrays in Knockout JS?","faq_schema_a3":"The Observable cluster is KnockoutJs properties that contain the thing gathering in the view model and this property is tied with UI (View) in two-way binding.","like_counter":1},{"id":472,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b6","title":"Windows Networking Interview Questions With Answers","url_title":"interview-questions-on-windows-networking","image_url":"","meta_title":"TOP 50 Windows Networking Interview Questions [UPDATED] !!!","meta_desc":"Looking for Windows Networking Interview Questions Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":558,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"276","created_at":"2017-03-07T06:08:06.000Z","updated_at":"2018-09-17T09:28:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":1977,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b7","title":"Boost Your Site’s Star Rankings by Adding Reviews","url_title":"boost-sites-star-rankings-adding-reviews","image_url":"","meta_title":"Boost Your Site’s Star Rankings by Adding Reviews - TekSlate","meta_desc":"This tutorials briefs you how you can boost your website ranking by adding the user reviews, Roles of Schema markup and how it will impact organic CTR.","views":303,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2017-03-08T08:00:30.000Z","updated_at":"2018-09-17T09:23:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1983,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b8","title":"Hive Data Types And Partitioning","url_title":"hive-data-types-and-partitioning","image_url":"","meta_title":"Hive Data Types | Hive Partitioning | Add, Rename and Drop","meta_desc":"Hive data types that include both primitive and complex types, along with hive partitioning operations like add, rename and drop with examples.","views":624,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"2","created_at":"2017-08-10T09:36:14.000Z","updated_at":"2018-09-17T08:38:40.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":413,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1b9","title":"Groovy Interview Questions","url_title":"interview-questions-on-groovy","image_url":"","meta_title":"TOP 50 Groovy Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Groovy Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":657,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2017-09-15T11:52:02.000Z","updated_at":"2018-09-17T07:24:56.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":414,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1ba","title":"Networking Interview Questions","url_title":"interview-questions-on-networking","image_url":"","meta_title":"TOP 50 Networking Testing Interview Questions [UPDATED] !!!","meta_desc":"Looking for Networking Testing Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":649,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2017-09-15T12:29:20.000Z","updated_at":"2018-09-17T07:24:39.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1989,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1bb","title":"Automation Anywhere Resume","url_title":"automation-anywhere-resume","image_url":"","meta_title":"Sample Automation Anywhere Resume","meta_desc":"We here share an Automation Anywhere Fresher and Experienced Sample Resume for Job Interview and also discuss few Resume Writing Tips.","views":590,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2017-09-16T11:27:46.000Z","updated_at":"2018-09-17T07:23:45.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":415,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1bc","title":"Shell Scripting Interview Questions","url_title":"interview-questions-on-shell-scripting","image_url":"","meta_title":"TOP 50 Shell Scripring Interview Questions [UPDATED] !!!","meta_desc":"Looking for Shell Scripring Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":1758,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"19","created_at":"2017-09-18T04:11:23.000Z","updated_at":"2018-09-17T07:18:10.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":418,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1bd","title":"Subversion SVN Interview Questions","url_title":"interview-questions-on-subversion","image_url":"","meta_title":"TOP 50 Subversion Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Subversion Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":563,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"423","created_at":"2017-09-19T06:48:03.000Z","updated_at":"2018-09-17T07:12:57.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":419,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1be","title":"Ajax Interview Questions","url_title":"interview-questions-on-ajax","image_url":"","meta_title":"TOP 50 Ajax Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Ajax Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":780,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2017-09-19T08:46:41.000Z","updated_at":"2018-09-17T07:12:26.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":420,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1bf","title":"Web Services Interview Questions","url_title":"interview-questions-on-web-services","image_url":"","meta_title":"TOP 50 Web Services Interview Questions [UPDATED] !!!","meta_desc":"Looking for Web Services Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":135,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2017-09-20T06:16:16.000Z","updated_at":"2018-09-17T07:11:57.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":422,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c0","title":"Ember JS Interview Questions","url_title":"interview-questions-on-ember-js","image_url":"","meta_title":"TOP 50 Ember JS Interview Questions [UPDATED] - TCS & Cognizant !!!","meta_desc":"Looking for Ember JS Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":568,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2017-09-20T08:25:29.000Z","updated_at":"2018-09-17T07:05:34.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1997,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c1","title":"SAP HANA Resume","url_title":"sap-hana-resume","image_url":"","meta_title":"SAP HANA Sample Resume","meta_desc":"We here share a SAP HANA Fresher and Experienced Sample Resume for Job Interview and also discuss few Resume Writing Tips.","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"736","created_at":"2017-09-21T05:58:21.000Z","updated_at":"2018-09-17T07:00:49.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":1},{"id":436,"blog_category":300,"blog_type":2,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c2","title":"Octopus Deploy Interview Questions","url_title":"interview-questions-on-octopus-deploy","image_url":"","meta_title":"TOP 50 Octopus Deploy Interview Questions [UPDATED] !!!","meta_desc":"Looking for Octopus Deploy Interview Questions with Answers? Here we have compiled set of questions from the students who have attended interviews in Fortune 500 companies","views":920,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"427","created_at":"2017-09-23T12:25:10.000Z","updated_at":"2018-09-17T06:47:33.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2015,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c3","title":"Angular JS Resume","url_title":"angular-js-resume","image_url":"","meta_title":"Angular JS Sample Resume","meta_desc":"We here share an Anjular JS Fresher and Experienced Sample Resume for Job Interview and also discuss on few Resume Writing Tips.","views":419,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"1","created_at":"2017-09-25T11:51:20.000Z","updated_at":"2018-09-17T06:44:12.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2031,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c4","title":"Application Package and Virtualization","url_title":"application-package-and-virtualization","image_url":"","meta_title":"Application Package and Virtualization Sample Resume","meta_desc":"We here share an Application Package and Virtualization Fresher and Experienced Sample Resume for Job Interview and also discuss on few Resume Writing Tips.","views":745,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2017-09-28T10:43:10.000Z","updated_at":"2018-09-17T06:20:08.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2055,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c5","title":"Automation Anywhere Examples","url_title":"automation-anywhere-examples","image_url":"","meta_title":"Automation Anywhere Examples - Tekslate","meta_desc":"In this lesson you can learn Automation Anywhere Examples from Tekslate!","views":0,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"75","created_at":"2017-11-17T04:30:51.000Z","updated_at":"2018-09-17T05:55:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1767,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"<p>Settings for determining the credit control area of a document.&nbsp;The settings of items 1 - 4 are taken into account according to their priority.&nbsp;The credit control area found is stored in field <strong>VBAK-KKBER.</strong> &nbsp;</p>","title":"How to configure Credit Management Function","url_title":"configure-credit-management-function","image_url":"","meta_title":"How to configure Credit Management Function","meta_desc":"How to configure Credit Management Function","views":1066,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:07:18.000Z","updated_at":"2018-09-17T05:42:38.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1762,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c6","title":"Logical backup’s reg & incr exports","url_title":"logical-backups-reg-incr-exports","image_url":"","meta_title":"Logical backup’s reg & incr exports","meta_desc":"In this article you will learn complete about Logical backup’s reg & incr exports.","views":619,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:12:20.000Z","updated_at":"2018-09-17T05:42:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1738,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c7","title":"Steps to provide customized validation messages","url_title":"steps-provide-customized-validation-messages","image_url":"","meta_title":"Steps to provide customized validation messages","meta_desc":"Steps to provide customized validation messages","views":246,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:17:19.000Z","updated_at":"2018-09-17T05:11:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1716,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c8","title":"SYSTEM CALENDAR FUNCTIONS","url_title":"system-calendar-functions","image_url":"","meta_title":"System Calendar Functions","meta_desc":"In this blog you will learn about the System Calendar Functions, Layout, Table and more","views":209,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:26:43.000Z","updated_at":"2018-09-17T04:53:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1713,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1c9","title":"IMPORTING DATA INTO A TABLE[FIXED FAXMAT]","url_title":"importing-data-tablefixed-faxmat","image_url":"","meta_title":"IMPORTING DATA INTO A TABLE[FIXED FAXMAT]","meta_desc":"IMPORTING DATA INTO A TABLE[FIXED FAXMAT]","views":510,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:26:47.000Z","updated_at":"2018-09-17T04:52:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1709,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1ca","title":"FAST Load error Handling in Tera","url_title":"fast-load-error-handling-tera","image_url":"","meta_title":"FAST Load error Handling in Tera","meta_desc":"FAST Load error Handling in Tera","views":393,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:28:50.000Z","updated_at":"2018-09-17T04:48:25.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1703,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1cb","title":"IMPORTANT STEPS TO REMEMBER WHILE EXPORTING THE DATA","url_title":"important-steps-remember-exporting-data","image_url":"","meta_title":"Important Steps To Remember While Exporting The Data","meta_desc":"In this blog we will discuss Important Steps To Remember While Exporting The Data","views":656,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:39:32.000Z","updated_at":"2018-09-17T04:47:49.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1691,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1cc","title":"Converting NOPI to PI table","url_title":"converting-nopi-pi-table","image_url":"","meta_title":"Converting NOPI to PI table","meta_desc":"In this blog you will learn about Converting NOPI to PI table, differences between primary index and primary key and more","views":747,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:39:55.000Z","updated_at":"2018-09-12T07:04:11.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1687,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1cd","title":"Data distribution in other RDBMS","url_title":"data-distribution-rdbms","image_url":"","meta_title":"Data distribution in other RDBMS","meta_desc":"Data distribution in other RDBMS","views":312,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T09:39:59.000Z","updated_at":"2018-09-12T07:03:54.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1589,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1ce","title":"AJAX controlKit webserver controls","url_title":"ajax-controlkit-webserver-controls","image_url":"","meta_title":"AJAX controlKit webserver controls - Tekslate","meta_desc":"In this tutorial you will learn about AJAX controlKit webserver controls that includes Accordion, AsyncFileupload with thieir Properties","views":406,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2018-01-09T10:26:06.000Z","updated_at":"2018-09-12T06:57:44.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1588,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1cf","title":"Working with multiple Update panels in AJAX","url_title":"working-multiple-update-panels-ajax","image_url":"","meta_title":"Working with multiple Update panels in AJAX","meta_desc":"In this article you will learn about Working with multiple Update panels in AJAX","views":456,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"245","created_at":"2018-01-09T10:38:02.000Z","updated_at":"2018-09-12T06:48:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1413,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1d0","title":"Example on Data Reader in C# .ne","url_title":"example-data-reader-c-ne","image_url":"","meta_title":"Example on Data Reader in C#","meta_desc":"Want to learn how to use the data reader in c#? This example will teach you everything you need to know!","views":267,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2018-01-09T11:22:58.000Z","updated_at":"2018-09-12T06:20:10.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1503,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1d1","title":"Working with user Defined controls, Properties, events","url_title":"working-user-defined-controls-properties-events","image_url":"","meta_title":"Working with user Defined controls, Properties, events","meta_desc":"Working with user Defined controls, Properties, events","views":1053,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-01-09T11:24:10.000Z","updated_at":"2018-09-12T06:15:00.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1505,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1d2","title":"Working with crypto Graphy","url_title":"working-crypto-graphy","image_url":"","meta_title":"Working with crypto Graphy - Tekslate","meta_desc":"In this Blog, you can learn - Working with crypto Graphy and More!  ","views":578,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"111","created_at":"2018-01-09T11:24:20.000Z","updated_at":"2018-09-12T06:14:25.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":1269,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1d3","title":"Explain about Merge Sort in DataStructures","url_title":"explain-merge-sort-datastructures","image_url":"","meta_title":"Explain about Merge Sort in DataStructures","meta_desc":"Merge Sort in DataStructures - learn about Merge Sort in DataStructures with examples briefly. Read More...!","views":155,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2018-01-09T12:50:18.000Z","updated_at":"2018-09-12T06:05:38.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":2056,"blog_category":300,"blog_type":3,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1d4","title":"Small Business Internet Security Tips","url_title":"small-business-internet-security-tips","image_url":"","meta_title":"Small Business Internet Security Tips - TekSlate Cyber Security Tutorials","meta_desc":"Small Business Internet Security Tips - Cybersecurity tips for small businesses that need to follow for security purpose and stay secure from hackers. Steps to be followed for data protection - Password securing, Recovery plan, Encryption, Up to date on security threats.....","views":399,"rating":4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2018-02-22T09:49:52.000Z","updated_at":"2018-09-12T06:05:05.000Z","status":1,"video_schema_name":null,"video_schema_upload_date":null,"video_schema_description":null,"faq_schema_q1":null,"faq_schema_a1":null,"faq_schema_q2":null,"faq_schema_a2":null,"faq_schema_q3":null,"faq_schema_a3":null,"like_counter":0},{"id":33,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1d5","title":"Data Structures Tutorial","url_title":"datastructures-tutorials","image_url":"","meta_title":"Data Structures tutorial | A Complete Beginners Guide","meta_desc":"Data Structures tutorial explains the topics from basics to expert level. It discusses on concepts such as stack, queue, searching and sorting techniques with examples.","views":2604,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2015-05-24T23:36:05.000Z","updated_at":"2018-02-14T09:04:03.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":36,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1d6","title":"CSS Tutorial","url_title":"css-tutorials","image_url":"","meta_title":"CSS Tutorial | CSS Basics | Learn CSS | CSS Beginners Tutorial","meta_desc":"Have you always wanted to learn to build your own website but are afraid? CSS Tutorials help you to teach all the basics that are needed for development.","views":1848,"rating":4.1,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"192","created_at":"2015-06-27T22:41:28.000Z","updated_at":"2018-02-14T05:43:25.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":1},{"id":29,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1d7","title":"C++ Tutorial","url_title":"c-plus-plus-tutorials","image_url":"","meta_title":"C++ Tutorial | What is C++? (2023)","meta_desc":"C++ Tutorial for Beginners  ➔ In this Article, you will learn about History✔️ Applications✔️ History✔️ Programming Concepts✔️ Advantages, and FAQs.","views":212,"rating":4.1,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"231","created_at":"2015-08-22T22:50:15.000Z","updated_at":"2018-02-13T11:56:06.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":31,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1d8","title":"WCF Tutorial","url_title":"wcf-tutorials","image_url":"","meta_title":"Windows Communication Foundation (WCF) Tutorial | WCF Service Tutorial","meta_desc":"WCF is a technology used to implement SOA Programming.Learn WCF Introduction,Architecture,Hosting,Contracts and more topics from our free tutorials.","views":1284,"rating":4.4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"276","created_at":"2015-07-24T23:22:38.000Z","updated_at":"2018-02-13T06:17:22.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":153,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1d9","title":"Octopus Deploy Tutorial","url_title":"tutorials-octopus-deploy-tutorials","image_url":"","meta_title":"Introduction To Octopus Deploy | Octopus DeployTutorials Online","meta_desc":"Octopus Deploy Tutorials gives a brief introduction and works with your applications as NuGet packages and distributes them to the appropriate server.","views":1335,"rating":4.3,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"427","created_at":"2016-07-23T09:47:11.000Z","updated_at":"2018-01-23T10:53:44.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":30,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":"","table_of_content":"","description":"$1da","title":"SilverLight Tutorial","url_title":"silverlight-tutorials","image_url":"","meta_title":"SilverLight Online Tutorials and Learning Resources","meta_desc":"SilverLight tutorials is no less than classroom training giving insight details of topics like Architecture,Brushes,Layouts,Data bindings etc.","views":1319,"rating":4.2,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"72","created_at":"2015-12-24T08:53:26.000Z","updated_at":"2017-12-20T12:16:07.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0},{"id":53,"blog_category":300,"blog_type":1,"wp_id":1,"excerpt":null,"table_of_content":null,"description":"$1db","title":"Vagrant Tutorial","url_title":"vagrant-tutorials","image_url":"","meta_title":"Vagrant Tutorial | What is Vagrant Tutorial","meta_desc":"This Vagrant tutorial will guide you through the basics of using Vagrant to create and manage virtual development environments, allowing you to easily reproduce your production environment locally.","views":764,"rating":4.4,"author":"1","top_level_cat_id":"50","author_desc":"","course_id":"0","created_at":"2016-05-18T07:40:16.000Z","updated_at":"2016-09-07T08:26:12.000Z","status":1,"video_schema_name":"","video_schema_upload_date":"","video_schema_description":"","faq_schema_q1":"","faq_schema_a1":"","faq_schema_q2":"","faq_schema_a2":"","faq_schema_q3":"","faq_schema_a3":"","like_counter":0}],"type":"blog-cat","categories":[]},"urlName":"general"}]
a:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"general"}],["$","meta","3",{"name":"description","content":"TekSlate provides all the essential resources to help you become a skilled salesforce professional. Here is the list of informative resources that include tutorials, interview questions, and other technical blogs to make it easy for you to master general."}],["$","meta","4",{"name":"application-name","content":"tekslatetutor"}],["$","meta","5",{"name":"generator","content":"tekslatetutor"}],["$","link","6",{"rel":"canonical","href":"https://tekslate.com/general"}],["$","meta","7",{"property":"og:title","content":"general"}],["$","meta","8",{"property":"og:description","content":"TekSlate provides all the essential resources to help you become a skilled salesforce professional. Here is the list of informative resources that include tutorials, interview questions, and other technical blogs to make it easy for you to master general."}],["$","meta","9",{"property":"og:url","content":"https://tekslate.com/general"}],["$","meta","10",{"property":"og:site_name","content":"tekslatetutor"}],["$","meta","11",{"property":"og:locale","content":"en_US"}],["$","meta","12",{"property":"og:image","content":"https://tekslateassets.s3.amazonaws.com/images/TekSlate_New+Colour.svg"}],["$","meta","13",{"property":"og:image:width","content":"1200"}],["$","meta","14",{"property":"og:image:height","content":"628"}],["$","meta","15",{"property":"og:type","content":"website"}],["$","meta","16",{"name":"twitter:card","content":"summary"}],["$","meta","17",{"name":"twitter:creator","content":"@tekslatetutor"}],["$","meta","18",{"name":"twitter:title","content":"general"}],["$","meta","19",{"name":"twitter:description","content":"TekSlate provides all the essential resources to help you become a skilled salesforce professional. Here is the list of informative resources that include tutorials, interview questions, and other technical blogs to make it easy for you to master general."}],["$","meta","20",{"name":"twitter:image","content":"https://tekslateassets.s3.amazonaws.com/images/TekSlate_New+Colour.svg"}],["$","link","21",{"rel":"icon","href":"https://tekslateassets.s3.amazonaws.com/images/favicon.svg"}]]
1:null
